:root {
  --bg: #f7f3eb;
  --surface: #ffffff;
  --surface-2: #f0e7db;
  --text: #23323f;
  --muted: #5e6b76;
  --primary: #9e6330;
  --primary-dark: #754423;
  --accent: #2c5d4f;
  --border: rgba(35, 50, 63, 0.12);
  --shadow: 0 18px 45px rgba(35, 50, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
  line-height: 1.6;
  animation: fadeIn 0.35s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(158, 99, 48, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 0.2rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.nav-cta {
  padding: 0.6rem 0.95rem;
  margin-left: 0.25rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

main {
  padding: 0 1rem 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 3rem;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0.3rem 0 1rem;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 650px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.hero-highlights li {
  background: rgba(158, 99, 48, 0.1);
  color: var(--primary-dark);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.measure-cta {
  margin-top: 0.85rem;
}

.measure-cta a {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.15rem;
}

.floating-actions {
  position: sticky;
  bottom: 1rem;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem auto 0;
  max-width: 1180px;
  padding: 0 1rem;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.call-btn {
  background: var(--primary);
  color: #fff;
}

.whatsapp-btn {
  background: #25D366;
  color: #fff;
}

.footer-cta {
  margin-top: 1rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--primary-dark);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card,
.card,
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.hero-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.hero-card ul {
  padding-left: 1rem;
  color: var(--muted);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 0;
}

.section-header {
  margin-bottom: 1.4rem;
}

.section-header h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-header p {
  color: var(--muted);
  max-width: 700px;
}

.about-grid,
.services-grid,
.gallery-grid,
.reviews-grid {
  display: grid;
  gap: 1rem;
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 1.25rem;
}

.card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery-item {
  padding: 0;
  min-height: 220px;
  border-radius: 20px;
  color: var(--text);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(35, 50, 63, 0.18);
}

.gallery-photo {
  cursor: pointer;
}

.gallery-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 1.25rem;
  border: 1px dashed var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  text-align: center;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.before-after-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.before-after-label {
  width: 100%;
  padding: 0.9rem 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(158, 99, 48, 0.08);
}

.before-after-video {
  width: min(100%, 420px);
  max-height: 60vh;
  height: auto;
  object-fit: contain;
  display: block;
  background: #e8e0d2;
  margin: 0 auto;
}

.before-after-caption {
  width: 100%;
  padding: 0.9rem 1rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0;
}

.trust-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(35, 50, 63, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 100;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 960px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  background: white;
}

.reviews-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.review-card p {
  color: var(--muted);
}

.review-card strong {
  display: block;
  margin-top: 0.75rem;
}

.quote-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  padding: 1.5rem;
}

.quote-card h2 {
  margin: 0.3rem 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.quote-card p {
  color: var(--muted);
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(158, 99, 48, 0.12), rgba(44, 93, 79, 0.12));
  border: 1px solid var(--border);
  border-radius: 24px;
}

.cta-banner h2 {
  margin: 0.25rem 0 0.4rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.cta-banner p {
  margin: 0;
  color: var(--muted);
}

.map-section {
  padding-top: 1rem;
}

.map-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-embed {
  min-height: 320px;
  background: #f0e7db;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.map-details {
  padding: 1.5rem;
  background: #fcfbf7;
}

.map-details h3 {
  margin-top: 0;
}

.service-list {
  padding-left: 1.1rem;
  color: var(--muted);
  margin: 0.75rem 0 1rem;
}

.service-list li {
  margin-bottom: 0.4rem;
}

.quote-form {
  display: grid;
  gap: 0.85rem;
}

.quote-form label {
  font-weight: 600;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  background: #fcfbf7;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-status.pending {
  color: var(--primary-dark);
}

.form-status.success {
  color: var(--accent);
}

.form-status.error {
  color: #b0413e;
}

.quote-form button {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  background: var(--accent);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 1rem 1rem 2rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero,
  .quote-card {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .before-after-grid,
  .about-grid,
  .services-grid,
  .gallery-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 2rem;
  }

  .map-card {
    grid-template-columns: 1fr;
  }

  .before-after-grid,
  .about-grid,
  .services-grid,
  .gallery-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
