:root {
  --bg: #fbf9f6;
  --bg-soft: #f5f2eb;
  --surface: rgba(255, 252, 248, 0.82);
  --surface-strong: #fffdf9;
  --text: #2a2a2a;
  --muted: #6f6a63;
  --line: rgba(52, 44, 37, 0.12);
  --accent: #8f9f8a;
  --accent-strong: #71806a;
  --earth: #b69b82;
  --shadow: 0 14px 34px rgba(57, 45, 34, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  padding-top: 118px;
  background:
    radial-gradient(circle at 15% 0%, rgba(143, 159, 138, 0.16), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(182, 155, 130, 0.14), transparent 22%),
    linear-gradient(180deg, var(--bg), var(--bg-soft) 65%, #faf7f2 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.18;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 88%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 0 0 44px;
}

.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--max-width));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border: 1px solid rgba(42, 42, 42, 0.08);
  border-radius: 999px;
  background: rgba(251, 249, 246, 0.55);
  backdrop-filter: blur(18px);
}

.topbar--fixed {
  box-shadow: 0 10px 24px rgba(57, 45, 34, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(42, 42, 42, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong,
.hero h1,
.section-heading h2,
.philosophy-copy h2,
.contact-card h2,
.panel-card h2,
.pillar-card h3,
.service-card h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(143, 159, 138, 0.95), rgba(182, 155, 130, 0.9));
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-tab,
.site-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 300ms ease, transform 300ms ease, opacity 300ms ease;
}

.nav-tab {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.34);
}

.nav-tab:hover,
.nav-tab:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
  border-color: rgba(42, 42, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.nav-tab--active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(42, 42, 42, 0.08);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(42, 42, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--text) important;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 16px;
  background: rgba(251, 249, 246, 0.55);
  transition: transform 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(251, 249, 246, 0.9);
  box-shadow: 0 14px 30px rgba(57, 45, 34, 0.08);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 250ms ease, opacity 250ms ease, background-color 250ms ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2),
.menu-toggle.is-active span:nth-child(3) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(4) {
  transform: translateY(-10px) rotate(-45deg);
}

.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;
}

.section {
  padding: 38px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 30px;
  align-items: start;
  padding-top: 12px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.2rem, 7.6vw, 6rem);
  line-height: 0.96;
}

.hero-text {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 300ms ease, background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.button-secondary {
  background: transparent;
  border-color: rgba(42, 42, 42, 0.18);
  color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta span {
  padding: 9px 12px;
  border: 1px solid rgba(42, 42, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1.1fr 0.72fr;
  gap: 14px;
  align-items: stretch;
}

.hero-image-block {
  border-radius: 24px;
  border: 1px solid rgba(42, 42, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02)),
    linear-gradient(160deg, rgba(143, 159, 138, 0.42), rgba(182, 155, 130, 0.3));
  min-height: 240px;
}

.hero-image-block-large {
  min-height: 360px;
}

.hero-image-block-small {
  min-height: 280px;
  transform: translateY(44px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(182, 155, 130, 0.34), rgba(143, 159, 138, 0.36));
}

.glass,
.contact-card,
.philosophy-panel,
.panel-card,
.pillar-card,
.service-card {
  background: var(--surface);
  border: 1px solid rgba(42, 42, 42, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease, background-color 280ms ease;
}

.panel-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(57, 45, 34, 0.12);
}

.panel-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.panel-tag,
.pillar-kicker,
.service-category {
  display: inline-flex;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-card h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.05;
}

.panel-card h4 {
  margin: 14px 0 12px;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.05;
}

.panel-card p,
.section-heading p,
.philosophy-copy p,
.philosophy-panel li,
.contact-card p,
.service-card p,
.pillar-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.philosophy-copy h2,
.contact-card h2 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.section-heading p {
  margin: 0;
}

.pillar-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.pillar-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  padding: 28px;
  border-radius: 26px;
  overflow: hidden;
}

.pillar-card-med {
  min-height: 410px;
}

.pillar-card-eye {
  min-height: 460px;
  margin-top: 34px;
}

.pillar-card-drip {
  min-height: 370px;
  margin-top: 84px;
}

.pillar-card h3 {
  margin: 10px 0 10px;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
}

.pillar-visual {
  border-radius: 22px;
  border: 1px solid rgba(42, 42, 42, 0.08);
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.44), transparent 24%),
    linear-gradient(145deg, rgba(143, 159, 138, 0.35), rgba(182, 155, 130, 0.3));
}

.pillar-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 350ms ease;
}

.pillar-visual:hover img {
  transform: scale(1.05);
}

.pillar-visual-surface {
  min-height: 220px;
}

.pillar-visual-offset {
  min-height: 260px;
  transform: translateY(18px);
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.36), transparent 20%),
    linear-gradient(145deg, rgba(182, 155, 130, 0.32), rgba(143, 159, 138, 0.38));
}

.pillar-visual-tall {
  min-height: 320px;
  transform: translateY(34px);
  background:
    radial-gradient(circle at 45% 18%, rgba(255, 255, 255, 0.4), transparent 18%),
    linear-gradient(160deg, rgba(143, 159, 138, 0.34), rgba(182, 155, 130, 0.28));
}

.strip {
  padding-top: 22px;
}

.services-carousel {
  position: relative;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}

.carousel-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(42, 42, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  font-size: 1.4rem;
  transition: transform 300ms ease, background-color 300ms ease, border-color 300ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(42, 42, 42, 0.2);
  background: rgba(255, 255, 255, 0.8);
}

.carousel-viewport {
  overflow: hidden;
  outline: none;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 22vw, 280px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 24px;
  min-height: 260px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.service-card::after {
  content: '';
  position: absolute;
  right: -24px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(143, 159, 138, 0.14), transparent 72%);
}

.service-badge {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(143, 159, 138, 0.12);
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.5;
  border: 1px solid rgba(143, 159, 138, 0.22);
}

.service-card h3 {
  margin: 10px 0 10px;
  font-size: 1.3rem;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(42, 42, 42, 0.18);
  transition: transform 300ms ease, background-color 300ms ease, width 300ms ease;
}

.carousel-dot.is-active {
  width: 26px;
  background: var(--accent-strong);
}

.philosophy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.team-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.team-section.team-section--reverse {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
}

.team-section.team-section--reverse .team-image {
  order: 2;
}

.team-section.team-section--reverse .team-copy {
  order: 1;
}

.team-image {
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(145deg, rgba(182, 155, 130, 0.18), rgba(143, 159, 138, 0.14));
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-summary {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .philosophy,
  .team-section,
  .service-features {
    grid-template-columns: 1fr;
  }
}

.quote-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.quote-box p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.philosophy-panel {
  padding: 28px;
  border-radius: 26px;
}

.philosophy-panel h3 {
  margin: 0 0 16px;
  font-size: 1.4rem;
}

.philosophy-panel ul {
  margin: 0;
  padding-left: 18px;
}

.philosophy-panel li + li {
  margin-top: 12px;
}

.contact-section {
  padding-bottom: 10px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 253, 249, 0.72);
}

.contact-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.footer {
  padding: 36px 0 18px;
  border-top: 1px solid rgba(42, 42, 42, 0.08);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-bottom: 18px;
}

.footer-brand {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.footer-heading {
  margin: 0 0 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
}

.footer-nav,
.footer-social {
  display: grid;
  gap: 10px;
}

.footer-nav a,
.footer-social a {
  color: var(--muted);
  transition: color 220ms ease, transform 220ms ease;
}

.footer-nav a:hover,
.footer-social a:hover,
.footer-nav a:focus-visible,
.footer-social a:focus-visible {
  color: var(--text);
  transform: translateX(2px);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a span[aria-hidden="true"] {
  margin-right: 8px;
  display: inline-flex;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.34);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
}

.location-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 24px;
  align-items: start;
}

.location-panel,
.map-panel {
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(42, 42, 42, 0.08);
  box-shadow: var(--shadow);
}

.location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.location-badges span {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(42, 42, 42, 0.08);
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
}

.map-panel {
  display: grid;
  gap: 16px;
}

.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #e9e1d6;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location-actions .button {
  flex: 1 1 220px;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  body {
    padding-top: 112px;
  }

  .hero,
  .philosophy,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .pillar-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar-card-drip {
    grid-column: span 2;
    margin-top: 0;
  }

  .carousel-track {
    grid-auto-columns: minmax(240px, 72vw);
  }

  .location-hero {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    border-radius: 24px;
    width: calc(100% - 20px);
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(251, 249, 246, 0.96);
    border: 1px solid rgba(42, 42, 42, 0.08);
    box-shadow: var(--shadow);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: max-height 320ms ease, opacity 320ms ease, transform 320ms ease;
    pointer-events: none;
  }

  .site-nav.is-open {
    max-height: 520px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.52);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 320ms ease, transform 320ms ease;
  }

  .site-nav.is-open a {
    opacity: 1;
    transform: none;
  }

  .nav-cta {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .hero-image-block-small {
    transform: none;
  }

  .pillar-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    grid-auto-columns: minmax(220px, 84vw);
  }

  .pillar-card-med,
  .pillar-card-eye,
  .pillar-card-drip {
    grid-column: auto;
    margin-top: 0;
    min-height: auto;
  }

  .contact-actions {
    justify-items: stretch;
  }

  .button {
    width: 100%;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .location-actions .button {
    flex-basis: 100%;
  }

  .service-card {
    aspect-ratio: auto;
    min-height: 290px;
  }
}

@media (min-width: 781px) {
  .menu-toggle {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
