:root {
  --primary: #0f766e;
  --secondary: #f97316;
  --accent: #2563eb;
  --deep: #102a43;
  --ink: #12212f;
  --muted: #627084;
  --paper: #fffaf3;
  --surface: #ffffff;
  --soft: #e0f7f2;
  --line: rgba(18, 33, 47, 0.13);
  --shadow: 0 28px 70px rgba(16, 42, 67, 0.18);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Premium 4D enhancement layer */
body {
  --scene-x: 0px;
  --scene-y: 0px;
  --scroll-depth: 0px;
  background:
    radial-gradient(circle at calc(50% + var(--mouse-x)) calc(8% + var(--mouse-y)), color-mix(in srgb, var(--primary) 17%, transparent), transparent 28rem),
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--secondary) 16%, transparent), transparent 34rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.66)),
    linear-gradient(145deg, var(--paper), #f5fbff 45%, #fff8ef);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.28) 48%, transparent 54%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 9px);
  background-size: 220% 100%, 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.42;
  animation: ambient-scan 11s ease-in-out infinite alternate;
}

.site-header {
  box-shadow: 0 12px 34px rgba(18, 33, 47, 0.07);
}

.brand-mark {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 18px 38px rgba(18, 33, 47, 0.2),
    0 0 0 5px color-mix(in srgb, var(--primary) 13%, transparent);
}

.brand-mark::after {
  position: absolute;
  inset: -40% -80%;
  content: "";
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.8), transparent 62%);
  transform: translateX(-56%) rotate(12deg);
  animation: light-sweep 4.8s ease-in-out infinite;
}

.nav-action,
.primary-button,
.secondary-button,
.footer-whatsapp,
.whatsapp-inline-button {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nav-action::after,
.primary-button::after,
.secondary-button::after,
.footer-whatsapp::after,
.whatsapp-inline-button::after {
  position: absolute;
  inset: -120% -40%;
  content: "";
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.42), transparent 62%);
  transform: translateX(-76%) rotate(13deg);
  transition: transform 620ms ease;
}

.nav-action:hover,
.primary-button:hover,
.secondary-button:hover,
.footer-whatsapp:hover,
.whatsapp-inline-button:hover {
  transform: translateY(-2px);
}

.nav-action:hover::after,
.primary-button:hover::after,
.secondary-button:hover::after,
.footer-whatsapp:hover::after,
.whatsapp-inline-button:hover::after {
  transform: translateX(72%) rotate(13deg);
}

.cinematic-hero {
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(circle at 78% 22%, color-mix(in srgb, var(--primary) 13%, transparent), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 62%);
}

.cinematic-hero::before {
  animation: prism-float 9s ease-in-out infinite alternate;
}

.cinematic-hero::after {
  animation: kinetic-stripes 12s linear infinite;
}

.hero-copy {
  transform: translate3d(calc(var(--scene-x) * -0.18), calc(var(--scene-y) * -0.12), 0);
}

.hero-copy h1 {
  text-shadow: 0 20px 52px color-mix(in srgb, var(--deep) 12%, transparent);
}

.hero-copy h1::selection,
.hero-copy p::selection {
  color: #fff;
  background: var(--primary);
}

.hero-visual {
  isolation: isolate;
  transform-style: preserve-3d;
  filter: drop-shadow(0 30px 54px rgba(18, 33, 47, 0.08));
}

.hero-depth-field,
.orbital-ring,
.motion-particle,
.depth-grid,
.visual-badge {
  position: absolute;
  pointer-events: none;
}

.hero-depth-field {
  inset: 3% -4% 1% -6%;
  z-index: 0;
  border-radius: calc(var(--radius) * 2);
  background:
    radial-gradient(circle at 22% 18%, color-mix(in srgb, var(--primary) 28%, transparent), transparent 15rem),
    radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--secondary) 24%, transparent), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  transform: translate3d(calc(var(--scene-x) * 0.35), calc(var(--scene-y) * 0.35 + var(--depth-y, 0px)), -90px) rotateX(58deg) rotateZ(-9deg);
  opacity: 0.92;
  animation: depth-breathe 7.5s ease-in-out infinite alternate;
}

.depth-grid {
  inset: 8% 0 6%;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: calc(var(--radius) * 1.5);
  background-image:
    linear-gradient(color-mix(in srgb, var(--deep) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--deep) 9%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 50%, black 18%, transparent 76%);
  transform: translate3d(calc(var(--scene-x) * -0.22), calc(var(--scene-y) * -0.2 + var(--depth-y, 0px)), -50px) rotateX(58deg) rotateZ(4deg);
  opacity: 0.44;
}

.orbital-ring {
  z-index: 3;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--primary) 34%, rgba(255, 255, 255, 0.5));
  border-radius: 999px;
  box-shadow:
    inset 0 0 28px color-mix(in srgb, var(--primary) 12%, transparent),
    0 0 36px color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translate3d(0, var(--depth-y, 0px), 90px) rotateX(62deg) rotateZ(var(--ring-rotation, 0deg));
  animation: orbit-spin 15s linear infinite;
}

.orbital-ring.one {
  top: 8%;
  right: 3%;
  --ring-rotation: 18deg;
}

.orbital-ring.two {
  width: 54%;
  left: -6%;
  bottom: 10%;
  --ring-rotation: -16deg;
  animation-duration: 20s;
  animation-direction: reverse;
  opacity: 0.72;
}

.motion-particle {
  z-index: 5;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--primary) 18%, transparent),
    0 0 30px color-mix(in srgb, var(--accent) 56%, transparent);
  transform: translate3d(0, var(--depth-y, 0px), 130px);
  animation: particle-float 6s ease-in-out infinite alternate;
}

.motion-particle.one {
  top: 16%;
  left: 20%;
}

.motion-particle.two {
  right: 10%;
  top: 46%;
  width: 8px;
  height: 8px;
  animation-delay: -1.8s;
}

.motion-particle.three {
  left: 12%;
  bottom: 18%;
  width: 9px;
  height: 9px;
  animation-delay: -3.2s;
}

.visual-badge {
  z-index: 6;
  display: grid;
  right: 6%;
  top: 2%;
  min-width: 92px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--deep) 82%, transparent), color-mix(in srgb, var(--primary) 78%, transparent));
  box-shadow: 0 20px 50px rgba(18, 33, 47, 0.2);
  backdrop-filter: blur(18px);
  transform: translate3d(0, var(--depth-y, 0px), 150px) rotate(-2deg);
}

.visual-badge strong {
  font-size: 1.3rem;
  line-height: 1;
}

.visual-badge span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portrait-panel {
  box-shadow:
    0 42px 90px rgba(18, 33, 47, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.42),
    0 0 48px color-mix(in srgb, var(--primary) 12%, transparent);
  transform:
    translate3d(calc(var(--scene-x) * 0.2), calc(var(--scene-y) * 0.16 + var(--depth-y, 0px)), 70px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
}

.portrait-panel::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  background:
    linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, 0.24) 45%, transparent 56%),
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(255, 255, 255, 0.08) 9px 10px);
  background-size: 260% 100%, 100% 100%;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: glass-sweep 5.6s ease-in-out infinite;
}

.depth-ribbon {
  filter: saturate(1.12);
}

.motif-band {
  box-shadow:
    0 22px 52px rgba(18, 33, 47, 0.12),
    0 0 36px color-mix(in srgb, var(--primary) 14%, transparent);
}

.depth-card {
  box-shadow:
    0 26px 60px rgba(18, 33, 47, 0.17),
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 34px color-mix(in srgb, var(--accent) 12%, transparent);
  transform: translate3d(calc(var(--scene-x) * -0.12), calc(var(--scene-y) * -0.12 + var(--depth-y, 0px)), 120px);
}

.stat,
.service-card,
.profile-card,
.principle-card,
.positioning-card,
.journey-step,
.hours-card,
.quote-card,
.faq-item,
.form-panel {
  position: relative;
  overflow: hidden;
}

.stat::after,
.profile-card::after,
.hours-card::after,
.faq-item::after,
.form-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), color-mix(in srgb, var(--primary) 16%, transparent), transparent 36%);
  transition: opacity 180ms ease;
}

.stat:hover::after,
.profile-card:hover::after,
.hours-card:hover::after,
.faq-item:hover::after,
.form-panel:hover::after {
  opacity: 1;
}

.section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--primary) 8%, transparent), transparent 20rem),
    radial-gradient(circle at 86% 78%, color-mix(in srgb, var(--secondary) 8%, transparent), transparent 22rem);
  transform: translateY(calc(var(--scroll-depth) * 0.02));
}

.proof-strip {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--deep) 5%, transparent), transparent 48%),
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent), color-mix(in srgb, var(--secondary) 8%, transparent));
}

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

.proof-card,
.matrix-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68)),
    color-mix(in srgb, var(--soft) 40%, #ffffff);
  box-shadow:
    0 20px 46px rgba(18, 33, 47, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform: perspective(980px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px));
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.proof-card {
  min-height: 170px;
  padding: 22px;
}

.proof-card::before,
.matrix-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.proof-card::after,
.matrix-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, 0.36) 48%, transparent 60%),
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), color-mix(in srgb, var(--primary) 16%, transparent), transparent 34%);
  transition: opacity 180ms ease;
}

.proof-card:hover,
.matrix-card:hover {
  --lift: -7px;
  border-color: color-mix(in srgb, var(--primary) 34%, #ffffff);
  box-shadow:
    0 30px 70px rgba(18, 33, 47, 0.14),
    0 0 42px color-mix(in srgb, var(--primary) 12%, transparent);
}

.proof-card:hover::after,
.matrix-card:hover::after {
  opacity: 1;
}

.proof-card span,
.matrix-card span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--primary));
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-card h3,
.matrix-card h3 {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 1.08rem;
  line-height: 1.24;
}

.proof-card p,
.matrix-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.care-matrix {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--soft) 72%, #ffffff), rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--deep) 5%, transparent) 0 1px, transparent 1px 18px);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.matrix-card {
  min-height: 220px;
  padding: 22px;
}

.matrix-card:nth-child(even) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
    color-mix(in srgb, var(--primary) 8%, #ffffff);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--deep) 92%, transparent), color-mix(in srgb, var(--primary) 78%, transparent));
  color: #fff;
  box-shadow: 0 22px 54px rgba(18, 33, 47, 0.16);
}

.section-cta p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-weight: 700;
}

.section-cta strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 1.05rem;
}

.appointment-layout > .section-cta,
.faq-layout > .section-cta {
  grid-column: 1 / -1;
}

.whatsapp-float {
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 60px;
  height: 60px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.62), transparent 23%),
    linear-gradient(135deg, #25d366, #0b7f43);
  box-shadow:
    0 20px 46px rgba(18, 140, 74, 0.34),
    0 0 0 7px rgba(37, 211, 102, 0.13),
    0 0 36px rgba(37, 211, 102, 0.44);
  animation: whatsapp-flicker 2.9s steps(1, end) infinite, whatsapp-bob 4.2s ease-in-out infinite;
}

.whatsapp-float::before {
  inset: -10px;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 0 42px rgba(37, 211, 102, 0.22);
  animation: whatsapp-pulse 2s ease-out infinite;
}

.whatsapp-float::after {
  position: absolute;
  inset: -18px;
  content: "";
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, rgba(37, 211, 102, 0.22), transparent 36%);
  filter: blur(1px);
  animation: whatsapp-orbit 3.4s linear infinite;
}

.whatsapp-float svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.24));
}

.whatsapp-float:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow:
    0 26px 62px rgba(18, 140, 74, 0.42),
    0 0 0 9px rgba(37, 211, 102, 0.18),
    0 0 48px rgba(37, 211, 102, 0.56);
}

.reveal {
  transform: translateY(28px) scale(0.985);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.reveal-pop {
  transform: translateY(18px) scale(0.96);
}

.reveal.reveal-slide {
  transform: translateX(-24px);
}

.reveal.in-view {
  transform: translateY(0) scale(1);
}

.reveal.reveal-slide.in-view {
  transform: translateX(0);
}

@keyframes ambient-scan {
  from {
    background-position: 0% 0, 0 0;
  }
  to {
    background-position: 100% 0, 0 0;
  }
}

@keyframes light-sweep {
  0%,
  48% {
    transform: translateX(-70%) rotate(12deg);
  }
  78%,
  100% {
    transform: translateX(72%) rotate(12deg);
  }
}

@keyframes prism-float {
  from {
    translate: -8px -2px;
    rotate: -8deg;
  }
  to {
    translate: 18px 14px;
    rotate: -3deg;
  }
}

@keyframes kinetic-stripes {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 220px 160px;
  }
}

@keyframes depth-breathe {
  from {
    opacity: 0.72;
    scale: 0.98;
  }
  to {
    opacity: 1;
    scale: 1.04;
  }
}

@keyframes orbit-spin {
  to {
    rotate: 360deg;
  }
}

@keyframes particle-float {
  from {
    translate: -4px -8px;
  }
  to {
    translate: 9px 13px;
  }
}

@keyframes glass-sweep {
  0%,
  34% {
    background-position: 120% 0, 0 0;
  }
  72%,
  100% {
    background-position: -120% 0, 0 0;
  }
}

@keyframes whatsapp-flicker {
  0%,
  100% {
    filter: brightness(1);
  }
  47% {
    filter: brightness(1.22);
  }
  50% {
    filter: brightness(0.94);
  }
  53% {
    filter: brightness(1.18);
  }
}

@keyframes whatsapp-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -4px;
  }
}

@keyframes whatsapp-orbit {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 980px) {
  .proof-grid,
  .matrix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-badge {
    right: 12%;
  }
}

@media (max-width: 640px) {
  body::after {
    opacity: 0.28;
  }

  .cinematic-hero {
    min-height: auto;
  }

  .hero-copy {
    transform: none;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-visual-compact {
    min-height: 390px;
  }

  .hero-depth-field {
    inset: 8% 0 4%;
  }

  .orbital-ring.one {
    top: 10%;
    right: 4%;
  }

  .orbital-ring.two {
    left: -8%;
    bottom: 16%;
  }

  .visual-badge {
    top: 4%;
    right: 5%;
    min-width: 78px;
    padding: 10px 11px;
  }

  .visual-badge strong {
    font-size: 1.08rem;
  }

  .proof-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .section-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .whatsapp-float {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  --mouse-x: 0px;
  --mouse-y: 0px;
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7)),
    radial-gradient(circle at 18% 16%, var(--soft), transparent 32rem),
    linear-gradient(145deg, var(--paper), #f5fbff 45%, #fff8ef);
  overflow-x: hidden;
  animation: page-rise 720ms ease both;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(18, 33, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 33, 47, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary), var(--accent)),
    var(--primary);
  box-shadow: 0 16px 36px rgba(18, 33, 47, 0.2);
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.nav-toggle svg {
  width: 21px;
  height: 21px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-1px);
}

.nav-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.nav-action,
.primary-button {
  padding: 13px 18px;
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary), var(--accent)),
    var(--primary);
  box-shadow: 0 18px 38px rgba(18, 33, 47, 0.18);
}

.secondary-button {
  padding: 13px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.primary-button svg,
.secondary-button svg,
.nav-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 82px);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 7% -8% auto auto;
  width: min(48vw, 620px);
  height: min(48vw, 620px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
    linear-gradient(45deg, color-mix(in srgb, var(--primary) 18%, transparent), transparent);
  clip-path: polygon(12% 0, 100% 16%, 88% 100%, 0 82%);
  transform: translate3d(var(--mouse-x), var(--mouse-y), 0) rotate(-8deg);
  filter: blur(0.2px);
}

.hero::after {
  inset: auto auto 3% -12%;
  width: min(42vw, 540px);
  height: min(38vw, 480px);
  background:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--secondary) 24%, transparent) 0 12px, transparent 12px 26px);
  clip-path: polygon(0 10%, 76% 0, 100% 78%, 16% 100%);
  opacity: 0.42;
}

.hero-grid {
  position: relative;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--deep);
  font-size: clamp(2.15rem, 5.2vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  overflow-wrap: break-word;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.hero-copy > p {
  max-width: 680px;
  color: #35465a;
  font-size: clamp(1.04rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  max-width: 720px;
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  min-height: 98px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 36px rgba(18, 33, 47, 0.08);
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  color: var(--deep);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  perspective: 1200px;
  min-width: 0;
  max-width: 100%;
}

.cinematic-hero {
  overflow: hidden;
}

.page-hero {
  min-height: min(640px, calc(100vh - 72px));
  padding-top: clamp(34px, 5vw, 70px);
  padding-bottom: clamp(34px, 5vw, 70px);
}

.page-hero h1 {
  max-width: 700px;
  font-size: clamp(2.05rem, 4.7vw, 4rem);
  line-height: 1.04;
}

.hero-visual-compact {
  min-height: 460px;
}

.portrait-panel {
  position: absolute;
  inset: 3% 0 5% 9%;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--primary) 28%, #ffffff), #ffffff 54%),
    #ffffff;
  box-shadow: var(--shadow);
  transform: translate3d(0, var(--depth-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
  transition: transform 220ms ease;
}

.portrait-panel::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(180deg, transparent 42%, rgba(9, 20, 31, 0.58)),
    linear-gradient(110deg, rgba(255, 255, 255, 0.34), transparent 28%);
  pointer-events: none;
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.03);
}

.depth-card {
  position: absolute;
  z-index: 4;
  width: min(250px, 56vw);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 52px rgba(18, 33, 47, 0.15);
  backdrop-filter: blur(14px);
  transform: translate3d(0, var(--depth-y, 0px), 0);
}

.depth-card strong {
  display: block;
  color: var(--deep);
  font-size: 0.98rem;
}

.depth-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.depth-card.one {
  top: 10%;
  left: 0;
}

.depth-card.two {
  right: -2%;
  bottom: 10%;
}

.depth-ribbon {
  position: absolute;
  z-index: 1;
  width: 68%;
  height: 26%;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--secondary), color-mix(in srgb, var(--accent) 72%, #ffffff));
  box-shadow: 0 28px 58px rgba(18, 33, 47, 0.16);
  opacity: 0.72;
  transform: translate3d(0, var(--depth-y, 0px), 0) rotate(var(--ribbon-rotation, 0deg));
}

.depth-ribbon.top {
  top: 1%;
  right: -7%;
  --ribbon-rotation: 9deg;
}

.depth-ribbon.bottom {
  bottom: 2%;
  left: 0;
  --ribbon-rotation: -9deg;
  opacity: 0.48;
}

.motif-band {
  position: absolute;
  z-index: 2;
  width: 72%;
  height: 16%;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 22%, transparent), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 2px, transparent 2px 16px);
  box-shadow: 0 22px 52px rgba(18, 33, 47, 0.12);
  transform: translate3d(0, var(--depth-y, 0px), 0) skewY(var(--band-skew, -5deg));
  animation: band-drift 7s ease-in-out infinite alternate;
}

.motif-band.band-one {
  top: 24%;
  left: -2%;
  --band-skew: -6deg;
}

.motif-band.band-two {
  right: -5%;
  bottom: 28%;
  --band-skew: 5deg;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--secondary) 28%, transparent), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0 2px, transparent 2px 14px);
  animation-delay: -2s;
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 108px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  margin-bottom: 30px;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.56fr);
  gap: 24px;
  align-items: end;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--deep);
  font-size: clamp(1.65rem, 3.1vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 760px;
}

.identity-strip {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, transparent), transparent 44%),
    linear-gradient(225deg, color-mix(in srgb, var(--secondary) 12%, transparent), transparent 42%);
}

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

.feature-panel {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68)),
    color-mix(in srgb, var(--soft) 42%, #ffffff);
  box-shadow: 0 18px 44px rgba(18, 33, 47, 0.09);
}

.feature-panel::after {
  position: absolute;
  right: -18px;
  bottom: -24px;
  content: attr(data-mark);
  width: 120px;
  height: 120px;
  border: 1px solid color-mix(in srgb, var(--primary) 24%, transparent);
  transform: rotate(14deg);
}

.feature-panel span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.feature-panel h3 {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 1.15rem;
}

.feature-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.split-showcase {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--deep) 6%, transparent), transparent 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-grid,
.profile-grid,
.principle-grid,
.positioning-grid,
.journey-grid,
.hours-grid,
.testimonial-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.service-card,
.profile-card,
.principle-card,
.positioning-card,
.journey-step,
.hours-card,
.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(18, 33, 47, 0.08);
}

.service-card,
.principle-card,
.positioning-card,
.journey-step,
.hours-card,
.quote-card {
  min-height: 180px;
  padding: 22px;
}

.service-card,
.feature-panel,
.principle-card,
.positioning-card,
.journey-step,
.quote-card {
  position: relative;
  overflow: hidden;
  --lift: 0px;
  transform: perspective(980px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift));
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.service-card::after,
.principle-card::after,
.positioning-card::after,
.journey-step::before,
.quote-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), color-mix(in srgb, var(--primary) 16%, transparent), transparent 36%);
  transition: opacity 180ms ease;
}

.service-card:hover,
.feature-panel:hover,
.principle-card:hover,
.positioning-card:hover,
.journey-step:hover,
.quote-card:hover {
  --lift: -6px;
  box-shadow: 0 24px 56px rgba(18, 33, 47, 0.13);
  border-color: color-mix(in srgb, var(--primary) 34%, var(--line));
}

.service-card:hover::after,
.principle-card:hover::after,
.positioning-card:hover::after,
.journey-step:hover::before,
.quote-card:hover::before {
  opacity: 1;
}

.icon-chip {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, var(--primary), var(--accent)),
    var(--primary);
  font-weight: 900;
}

.service-card h3,
.principle-card h3,
.positioning-card h3,
.profile-card h3,
.journey-step h3,
.hours-card h3,
.quote-card h3 {
  margin-bottom: 10px;
  color: var(--deep);
  font-size: 1.05rem;
  line-height: 1.25;
}

.service-card p,
.principle-card p,
.positioning-card p,
.profile-card p,
.journey-step p,
.hours-card p,
.quote-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.knowledge-band {
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--soft) 72%, #ffffff), transparent 58%),
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--primary) 7%, transparent) 0 1px, transparent 1px 24px);
}

.principle-card {
  min-height: 260px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    color-mix(in srgb, var(--soft) 56%, #ffffff);
}

.principle-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent));
}

.principle-card span,
.positioning-card span {
  display: inline-flex;
  width: max-content;
  margin-bottom: 16px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--deep);
  background: color-mix(in srgb, var(--soft) 72%, #ffffff);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.positioning-section {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--deep) 5%, transparent), transparent 52%),
    linear-gradient(270deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 48%);
}

.positioning-card {
  min-height: 230px;
  background:
    linear-gradient(145deg, #ffffff, color-mix(in srgb, var(--soft) 36%, #ffffff));
}

.positioning-card span {
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--primary));
}

.profile-grid {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
}

.profile-card {
  padding: clamp(24px, 4vw, 38px);
}

.doctor-card {
  display: grid;
  min-height: 100%;
  align-content: end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(9, 20, 31, 0.04), rgba(9, 20, 31, 0.78)),
    linear-gradient(135deg, var(--primary), var(--deep));
}

.doctor-card p,
.doctor-card h2,
.doctor-card h3 {
  color: #fff;
}

.doctor-card .profile-note {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.78);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pill {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--deep);
  background: color-mix(in srgb, var(--soft) 78%, #ffffff);
  font-size: 0.84rem;
  font-weight: 800;
}

.approach-list {
  display: grid;
  gap: 14px;
}

.approach-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.approach-item:last-child {
  border-bottom: 0;
}

.approach-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  font-weight: 900;
}

.journey-grid {
  counter-reset: journey;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journey-step {
  position: relative;
  overflow: hidden;
}

.journey-step::after {
  position: absolute;
  right: 16px;
  bottom: -8px;
  counter-increment: journey;
  content: "0" counter(journey);
  color: color-mix(in srgb, var(--primary) 17%, transparent);
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
}

.hours-grid {
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
}

.hours-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.hours-list strong {
  color: var(--deep);
}

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

.wide-stats {
  max-width: none;
}

.wide-stats .stat {
  min-height: 122px;
}

.wide-stats .stat strong {
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  overflow-wrap: anywhere;
}

.faq-layout {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(18, 33, 47, 0.08);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--deep);
  font-weight: 900;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.quote-card {
  min-height: 220px;
}

.quote-card blockquote {
  margin: 0 0 18px;
  color: #35465a;
  line-height: 1.7;
}

.quote-card cite {
  color: var(--deep);
  font-style: normal;
  font-weight: 900;
}

.appointment {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, transparent), transparent 38%),
    linear-gradient(225deg, color-mix(in srgb, var(--secondary) 16%, transparent), transparent 42%);
}

.appointment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.9fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
}

.appointment-copy h2 {
  max-width: 620px;
  color: var(--deep);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.08;
}

.appointment-copy p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.form-panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.appointment-form {
  display: grid;
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group label {
  color: var(--deep);
  font-size: 0.88rem;
  font-weight: 900;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.field-group textarea {
  min-height: 118px;
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent);
}

.field-error {
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 800;
}

.field-group [aria-invalid="true"] {
  border-color: #b42318;
}

.form-success {
  display: none;
  padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 42%, #ffffff);
  border-radius: var(--radius);
  color: var(--deep);
  background: color-mix(in srgb, var(--soft) 70%, #ffffff);
  font-weight: 800;
}

.form-success.visible {
  display: block;
}

.site-footer {
  padding: 46px 0 20px;
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 22%, transparent), transparent 34%),
    linear-gradient(145deg, var(--deep), #07131f);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
  opacity: 0.7;
}

.footer-inner {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-inner strong {
  color: #fff;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(170px, 0.75fr));
  gap: 22px;
}

.footer-brand-block,
.footer-column {
  display: grid;
  gap: 10px;
}

.footer-brand-block strong {
  max-width: 420px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.02;
}

.footer-brand-block p,
.footer-column p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer-kicker {
  color: color-mix(in srgb, var(--secondary) 70%, #ffffff);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.95rem;
}

.footer-links a {
  width: max-content;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.footer-links a:hover {
  color: #fff;
}

.footer-whatsapp,
.whatsapp-inline-button,
.whatsapp-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  color: #fff;
  background: #128c4a;
  box-shadow: 0 18px 44px rgba(18, 140, 74, 0.28);
  font-weight: 900;
}

.footer-whatsapp {
  width: max-content;
  min-height: 46px;
  margin-top: 8px;
  padding: 12px 15px;
}

.footer-whatsapp svg,
.whatsapp-inline-button svg,
.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.whatsapp-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, #128c4a 28%, #ffffff);
  border-radius: var(--radius);
  background: color-mix(in srgb, #128c4a 8%, #ffffff);
}

.whatsapp-inline-button {
  min-height: 44px;
  padding: 11px 14px;
}

.whatsapp-inline span {
  color: var(--deep);
  font-weight: 900;
}

.whatsapp-float {
  display: inline-flex !important;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483000;
  width: 52px;
  height: 52px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  gap: 0;
  opacity: 1;
  visibility: visible;
  transform: translateZ(0);
  will-change: transform;
  transition: transform 180ms ease, box-shadow 180ms ease, outline-color 180ms ease;
}

.whatsapp-float::before {
  position: absolute;
  inset: -7px;
  content: "";
  border: 1px solid rgba(18, 140, 74, 0.28);
  border-radius: inherit;
  animation: whatsapp-pulse 2.6s ease-out infinite;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 24px 56px rgba(18, 140, 74, 0.36);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes page-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes band-drift {
  from {
    translate: -4px 0;
  }
  to {
    translate: 12px 10px;
  }
}

@keyframes whatsapp-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.88);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

.motion-reduced *,
.motion-reduced *::before,
.motion-reduced *::after {
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-action {
    display: none;
  }

  .hero-grid,
  .section-heading,
  .profile-grid,
  .hours-grid,
  .appointment-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
    order: -1;
  }

  .portrait-panel {
    inset: 0 8% 0 8%;
  }

  .service-grid,
  .feature-grid,
  .principle-grid,
  .positioning-grid,
  .journey-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    max-width: 100%;
    font-size: 1.82rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .page-hero h1 {
    font-size: 1.74rem;
    line-height: 1.12;
  }

  .section-heading h2,
  .appointment-copy h2 {
    font-size: 1.58rem;
    line-height: 1.16;
  }

  .brand span:last-child {
    max-width: 196px;
  }

  .hero-grid,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 460px;
    overflow: hidden;
  }

  .portrait-panel {
    inset: 0;
  }

  .depth-card {
    width: min(214px, 64vw);
    padding: 13px;
  }

  .depth-card.one {
    top: 5%;
  }

  .depth-card.two {
    right: 0;
    bottom: 5%;
  }

  .hero-stats,
  .service-grid,
  .feature-grid,
  .principle-grid,
  .positioning-grid,
  .journey-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .service-card,
  .journey-step,
  .hours-card,
  .quote-card {
    min-height: auto;
  }

  .hours-list li {
    display: grid;
    gap: 4px;
  }

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

  .footer-bottom {
    width: min(100% - 24px, 1180px);
    flex-direction: column;
    padding-bottom: 62px;
  }

  .footer-whatsapp,
  .whatsapp-inline-button {
    width: 100%;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    left: auto;
    width: 48px;
    height: 48px;
  }
}

/* Final cascade for the premium 4D layer */
html {
  overflow-x: clip;
  overflow-y: auto;
}

body {
  min-height: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

.page-shell {
  overflow-x: clip;
  overflow-y: visible;
}

body {
  color: #17212f;
  background:
    radial-gradient(circle at 16% 12%, color-mix(in srgb, var(--soft) 78%, transparent), transparent 30rem),
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--secondary) 14%, transparent), transparent 32rem),
    linear-gradient(135deg, color-mix(in srgb, var(--paper) 78%, #ffffff), #ffffff 42%, color-mix(in srgb, var(--soft) 32%, #ffffff));
}

.site-header {
  border-bottom: 1px solid rgba(18, 33, 47, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  box-shadow:
    0 16px 44px rgba(18, 33, 47, 0.07),
    inset 0 -1px 0 rgba(255, 255, 255, 0.86);
}

.nav-wrap {
  min-height: 78px;
}

.brand {
  color: var(--deep);
  letter-spacing: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(135deg, var(--secondary), var(--primary) 54%, var(--deep));
}

.nav-links a {
  position: relative;
  color: #536277;
}

.nav-links a::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.nav-links a.active {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 9%, #ffffff), color-mix(in srgb, var(--secondary) 7%, #ffffff));
}

.primary-button,
.nav-action {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(135deg, var(--secondary), var(--primary) 52%, var(--deep));
  box-shadow:
    0 18px 42px color-mix(in srgb, var(--primary) 22%, transparent),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

.secondary-button {
  color: var(--deep);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), color-mix(in srgb, var(--soft) 30%, #ffffff));
  box-shadow: 0 14px 34px rgba(18, 33, 47, 0.08);
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.32) 58%, transparent),
    radial-gradient(circle at 78% 28%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 22rem),
    radial-gradient(circle at 26% 76%, color-mix(in srgb, var(--secondary) 9%, transparent), transparent 24rem);
}

.hero-grid {
  width: min(1240px, calc(100% - 48px));
}

.hero-copy {
  padding: clamp(8px, 2vw, 18px) 0;
}

.eyebrow {
  color: color-mix(in srgb, var(--deep) 80%, var(--primary));
  font-size: 0.83rem;
}

h1 {
  color: color-mix(in srgb, var(--deep) 88%, #1f130d);
  font-size: clamp(2.35rem, 5.6vw, 5.15rem);
}

.hero-copy > p {
  color: #35455a;
  font-weight: 500;
}

.hero-stats {
  gap: 14px;
}

.stat {
  border-color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58)),
    color-mix(in srgb, var(--soft) 26%, #ffffff);
  box-shadow:
    0 18px 42px rgba(18, 33, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.stat strong {
  color: var(--deep);
}

.section {
  padding: clamp(72px, 8.5vw, 122px) 0;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2 {
  font-size: clamp(1.85rem, 3.3vw, 3.12rem);
}

.section-heading p {
  color: #59687a;
  font-weight: 500;
}

.service-card,
.feature-panel,
.profile-card,
.principle-card,
.positioning-card,
.journey-step,
.hours-card,
.quote-card,
.proof-card,
.matrix-card,
.faq-item,
.form-panel {
  border-color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.68)),
    color-mix(in srgb, var(--soft) 28%, #ffffff);
  box-shadow:
    0 20px 48px rgba(18, 33, 47, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.service-card:hover,
.feature-panel:hover,
.profile-card:hover,
.principle-card:hover,
.positioning-card:hover,
.journey-step:hover,
.hours-card:hover,
.quote-card:hover,
.proof-card:hover,
.matrix-card:hover,
.faq-item:hover,
.form-panel:hover {
  box-shadow:
    0 34px 80px rgba(18, 33, 47, 0.14),
    0 0 46px color-mix(in srgb, var(--primary) 13%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.icon-chip,
.feature-panel span {
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.36), transparent 30%),
    linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--primary) 22%, transparent);
}

.doctor-card {
  background:
    linear-gradient(180deg, rgba(9, 20, 31, 0.03), rgba(9, 20, 31, 0.8)),
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--secondary) 36%, transparent), transparent 28rem),
    linear-gradient(135deg, var(--primary), var(--deep));
}

.site-footer {
  background:
    radial-gradient(circle at 16% 0%, color-mix(in srgb, var(--secondary) 22%, transparent), transparent 28rem),
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 25%, transparent), transparent 34%),
    linear-gradient(145deg, var(--deep), #060e18);
}

.footer-brand-block strong {
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.hero-copy {
  transform: translate3d(calc(var(--scene-x) * -0.18), calc(var(--scene-y) * -0.12), 0);
}

.portrait-panel {
  box-shadow:
    0 42px 90px rgba(18, 33, 47, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.42),
    0 0 48px color-mix(in srgb, var(--primary) 12%, transparent);
  transform:
    translate3d(calc(var(--scene-x) * 0.2), calc(var(--scene-y) * 0.16 + var(--depth-y, 0px)), 70px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
}

.depth-card {
  box-shadow:
    0 26px 60px rgba(18, 33, 47, 0.17),
    0 0 0 1px rgba(255, 255, 255, 0.34),
    0 0 34px color-mix(in srgb, var(--accent) 12%, transparent);
  transform: translate3d(calc(var(--scene-x) * -0.12), calc(var(--scene-y) * -0.12 + var(--depth-y, 0px)), 120px);
}

.stat,
.service-card,
.feature-panel,
.profile-card,
.principle-card,
.positioning-card,
.journey-step,
.hours-card,
.quote-card,
.proof-card,
.matrix-card,
.faq-item,
.form-panel {
  transform-style: preserve-3d;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.reveal-pop {
  transform: translateY(18px) scale(0.96);
}

.reveal.reveal-slide {
  transform: translateX(-24px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal.reveal-slide.in-view {
  transform: translateX(0);
}

.whatsapp-float {
  display: inline-flex !important;
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  width: 60px;
  height: 60px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  gap: 0;
  color: #fff;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.62), transparent 23%),
    linear-gradient(135deg, #25d366, #0b7f43);
  box-shadow:
    0 20px 46px rgba(18, 140, 74, 0.34),
    0 0 0 7px rgba(37, 211, 102, 0.13),
    0 0 36px rgba(37, 211, 102, 0.44);
  opacity: 1;
  visibility: visible;
  transform: translateZ(0);
  will-change: transform, filter;
  animation: whatsapp-flicker 2.9s steps(1, end) infinite, whatsapp-bob 4.2s ease-in-out infinite;
  transition: transform 180ms ease, box-shadow 180ms ease, outline-color 180ms ease;
}

.whatsapp-float::before {
  position: absolute;
  inset: -10px;
  content: "";
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: inherit;
  box-shadow: 0 0 42px rgba(37, 211, 102, 0.22);
  animation: whatsapp-pulse 2s ease-out infinite;
}

.whatsapp-float::after {
  position: absolute;
  inset: -18px;
  content: "";
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, rgba(37, 211, 102, 0.22), transparent 36%);
  filter: blur(1px);
  animation: whatsapp-orbit 3.4s linear infinite;
}

.whatsapp-float svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.24));
}

.whatsapp-float:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow:
    0 26px 62px rgba(18, 140, 74, 0.42),
    0 0 0 9px rgba(37, 211, 102, 0.18),
    0 0 48px rgba(37, 211, 102, 0.56);
}

@media (max-width: 640px) {
  .hero-copy {
    transform: none;
  }

  .whatsapp-float {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: auto;
    width: 52px;
    height: 52px;
  }
}
