:root {
  --bg: #f6f0e8;
  --bg-layer: #fcf8f3;
  --bg-layer-soft: #f3ede4;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #fffaf5;
  --text: #34271f;
  --muted: #6d5b4c;
  --line: rgba(90, 66, 43, 0.14);
  --brand: #b79068;
  --brand-deep: #8e6847;
  --accent: #6f8c68;
  --shadow: 0 20px 70px rgba(84, 57, 31, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 2rem));
  --header-bg: rgba(248, 243, 236, 0.74);
  --header-border: rgba(107, 84, 62, 0.08);
  --button-secondary-bg: rgba(255, 255, 255, 0.68);
  --button-secondary-border: rgba(111, 140, 104, 0.24);
  --brand-mark-bg: rgba(255, 255, 255, 0.82);
  --menu-bg: rgba(255, 249, 242, 0.96);
  --footer-bg: rgba(58, 43, 32, 0.96);
  --footer-text: rgba(255, 246, 236, 0.86);
  --brand-panel: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(245, 236, 224, 0.96));
  --brand-panel-border: rgba(150, 116, 82, 0.12);
  --hero-overlay-top: rgba(47, 31, 19, 0.15);
  --hero-overlay-bottom: rgba(47, 31, 19, 0.7);
  --map-overlay-a: rgba(111, 140, 104, 0.18);
  --map-overlay-b: rgba(183, 144, 104, 0.2);
}

:root[data-theme="dark"] {
  --bg: #161311;
  --bg-layer: #221b17;
  --bg-layer-soft: #1b1613;
  --surface: rgba(34, 28, 24, 0.86);
  --surface-strong: #241d19;
  --text: #f3e7dc;
  --muted: #c9b6a4;
  --line: rgba(240, 216, 194, 0.12);
  --brand: #c6a078;
  --brand-deep: #e0be97;
  --accent: #91a784;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --header-bg: rgba(24, 19, 17, 0.82);
  --header-border: rgba(234, 214, 198, 0.08);
  --button-secondary-bg: rgba(255, 255, 255, 0.03);
  --button-secondary-border: rgba(198, 160, 120, 0.26);
  --brand-mark-bg: rgba(255, 255, 255, 0.05);
  --menu-bg: rgba(28, 23, 20, 0.98);
  --footer-bg: #100d0b;
  --footer-text: rgba(243, 231, 220, 0.82);
  --brand-panel: linear-gradient(180deg, rgba(245, 236, 224, 0.96), rgba(231, 214, 194, 0.94));
  --brand-panel-border: rgba(255, 233, 208, 0.14);
  --hero-overlay-top: rgba(14, 10, 8, 0.2);
  --hero-overlay-bottom: rgba(14, 10, 8, 0.82);
  --map-overlay-a: rgba(20, 25, 20, 0.42);
  --map-overlay-b: rgba(65, 46, 31, 0.48);
}

:root[data-theme="dark"] .brand-mark {
  padding: 0.55rem 0.75rem;
  border-radius: 22px;
  background: var(--brand-panel);
  border: 1px solid var(--brand-panel-border);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(195, 158, 118, 0.16), transparent 24%),
    radial-gradient(circle at right 20%, rgba(121, 145, 108, 0.16), transparent 22%),
    linear-gradient(180deg, var(--bg-layer) 0%, var(--bg) 40%, var(--bg-layer-soft) 100%);
  line-height: 1.6;
  transition: background 240ms ease, color 240ms ease;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading p,
.section-copy p,
.hero-text,
.highlight-card p,
.service-copy p,
.testimonial-card p,
.contact-card p,
.footer-grid p {
  max-width: 66ch;
}

.section-copy,
.contact-card,
.highlight-card,
.testimonial-card,
.service-copy,
.gallery-card figcaption {
  text-align: left;
}

.section-heading h2,
.page-hero h2 {
  margin: 0.4rem 0 1rem;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 214px;
  height: 82px;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(82, 55, 32, 0.12));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 48px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--button-secondary-border);
  border-radius: 999px;
  color: var(--text);
  background: var(--button-secondary-bg);
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.theme-toggle-icon svg {
  width: 18px;
  height: 18px;
}

.theme-toggle-moon {
  display: none;
}

.theme-toggle-text {
  display: none;
}

:root[data-theme="dark"] .theme-toggle-sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle-moon {
  display: inline-flex;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 14px 30px rgba(142, 104, 71, 0.24);
}

.button-secondary {
  color: var(--text);
  background: var(--button-secondary-bg);
  border: 1px solid var(--button-secondary-border);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--button-secondary-bg);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  padding-top: 3rem;
}

.hero-grid,
.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0.5rem 0 1rem;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 640px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card,
.highlight-card,
.testimonial-card,
.contact-card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.stat-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "Bodoni Moda", serif;
  font-size: 2rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-image-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1.1rem 1.2rem;
  border-radius: 22px;
  color: white;
  background: linear-gradient(180deg, var(--hero-overlay-top), var(--hero-overlay-bottom));
}

.hero-overlay p,
.hero-overlay strong {
  margin: 0;
}

.intro-band {
  padding-top: 1rem;
}

.highlight-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.highlight-card,
.testimonial-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.highlight-card p,
.testimonial-card p,
.contact-card p,
.service-copy p,
.section-heading p,
.section-copy p {
  margin-bottom: 0;
}

.highlight-card h3,
.service-copy h3,
.contact-card h2,
.site-footer h3,
.site-footer h4 {
  margin-top: 0;
  font-family: "Bodoni Moda", serif;
  line-height: 1.1;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 320px);
  min-height: 134px;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 26px;
  background: var(--brand-panel);
  border: 1px solid var(--brand-panel-border);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.service-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-card,
.gallery-card {
  overflow: hidden;
  border-radius: 26px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.service-media img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.service-card:hover img,
.gallery-card:hover img {
  transform: scale(1.04);
}

.service-copy,
.gallery-card figcaption {
  padding: 1.35rem;
}

.service-copy {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.text-link,
.footer-link {
  color: var(--brand-deep);
  font-weight: 700;
}

.about-panel {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 30px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 92%, transparent), color-mix(in srgb, var(--surface) 84%, transparent));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-point span {
  width: 12px;
  height: 12px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card figcaption {
  display: grid;
  gap: 0.3rem;
}

.gallery-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-card,
.map-card {
  min-height: 100%;
  padding: 2rem;
  border-radius: 28px;
}

.contact-block {
  margin-top: 1.4rem;
}

.contact-block h3 {
  margin-bottom: 0.35rem;
  font-family: "Bodoni Moda", serif;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 2rem;
  text-align: center;
  border-radius: 22px;
  background:
    linear-gradient(135deg, var(--map-overlay-a), var(--map-overlay-b)),
    url("../assets/images/misc/contact-map.jpg") center/cover;
}

.map-placeholder p,
.map-placeholder strong,
.map-placeholder span {
  display: block;
  padding: 0.2rem 0;
  color: white;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.site-footer {
  padding: 2rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 30px;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-bottom {
  padding-top: 1rem;
  color: var(--muted);
  text-align: center;
}

.footer-grid > div {
  min-width: 0;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  color: white;
  background: #25d366;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.28);
  z-index: 30;
}

:root[data-theme="dark"] .whatsapp-float {
  box-shadow: 0 18px 36px rgba(10, 75, 34, 0.36);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: var(--menu-bg);
    box-shadow: var(--shadow);
  }

  .header-bar {
    align-items: center;
    flex-wrap: wrap;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .hero-grid,
  .two-column,
  .contact-grid,
  .highlight-grid,
  .testimonial-grid,
  .footer-grid,
  .gallery-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-card {
    min-height: 420px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .header-bar {
    min-height: 76px;
  }

  .brand-mark {
    width: 168px;
    height: 62px;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .section-heading h2,
  .page-hero h2 {
    line-height: 1.02;
  }

  .hero-image-card {
    min-height: 340px;
    border-radius: 28px;
  }

  .highlight-card,
  .testimonial-card,
  .contact-card,
  .map-card,
  .service-copy,
  .gallery-card figcaption {
    padding: 1.2rem;
  }

  .whatsapp-float span:last-child {
    display: none;
  }
}
