/* ==========================================================================
   Premium Design System & Styles - Dra. Marília Dalprá
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  /* Color Palette */
  --color-sage-deep: #49645C;
  --color-sage-soft: #AABAB2;
  --color-ivory: #F8F5F0;
  --color-sand: #E9DED2;
  --color-terracotta: #B86F5A;
  --color-graphite: #27302D;
  --color-white: #FFFFFF;
  
  /* Fonts */
  --font-serif: 'Lora', serif;
  --font-sans: 'Manrope', sans-serif;

  /* Spacings */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-ivory);
  color: var(--color-graphite);
  line-height: 1.6;
  overflow-x: hidden;
}

body.access-locked {
  overflow: hidden;
}

.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;
}

/* Liquid Glass access gate */
.access-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 22% 18%, rgba(184, 111, 90, 0.22), transparent 30%),
    radial-gradient(circle at 78% 78%, rgba(73, 100, 92, 0.28), transparent 34%),
    rgba(6, 8, 8, 0.62);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.access-gate::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(41, 200, 102, 0.72) 0%, rgba(41, 200, 102, 0.5) 28%, rgba(41, 200, 102, 0.18) 58%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.18);
  transition: opacity 0.48s ease, transform 1.15s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.access-gate.is-expanding::before {
  opacity: 0.22;
  transform: translate(-50%, -50%) scale(18);
}

.access-gate.is-unlocking {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.access-liquid-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.access-liquid-bg span {
  position: absolute;
  width: 34vw;
  height: 34vw;
  min-width: 230px;
  min-height: 230px;
  border-radius: 44% 56% 62% 38% / 45% 41% 59% 55%;
  background: rgba(255, 255, 255, 0.075);
  filter: blur(4px);
  opacity: 0.65;
  animation: liquidFloat 13s ease-in-out infinite alternate;
}

.access-liquid-bg span:nth-child(1) {
  top: 8%;
  left: 10%;
  background: rgba(184, 111, 90, 0.16);
}

.access-liquid-bg span:nth-child(2) {
  right: 12%;
  bottom: 8%;
  animation-delay: -3s;
  background: rgba(170, 186, 178, 0.14);
}

.access-liquid-bg span:nth-child(3) {
  top: 44%;
  left: 52%;
  width: 24vw;
  height: 24vw;
  animation-delay: -7s;
  background: rgba(255, 255, 255, 0.08);
}

.access-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  min-height: 520px;
  padding: 4.3rem clamp(1.4rem, 5vw, 4rem) 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.045) 42%, rgba(255, 255, 255, 0.11)),
    linear-gradient(180deg, rgba(160, 230, 238, 0.12), rgba(73, 100, 92, 0.1) 58%, rgba(255, 255, 255, 0.06)),
    rgba(16, 17, 18, 0.56);
  backdrop-filter: blur(38px) saturate(205%) brightness(1.08);
  -webkit-backdrop-filter: blur(38px) saturate(205%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -44px 90px rgba(255, 255, 255, 0.04),
    inset 0 0 48px rgba(255, 255, 255, 0.045),
    0 34px 95px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}

.access-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(220deg, rgba(255, 255, 255, 0.13), transparent 26%),
    linear-gradient(92deg, transparent 0%, rgba(255, 255, 255, 0.09) 48%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.72;
  animation: waterSheen 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.access-card .access-copy::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 148px;
  width: min(430px, 80vw);
  height: 235px;
  border-radius: 44% 56% 52% 48% / 46% 44% 56% 54%;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(178deg, rgba(139, 224, 233, 0.22), rgba(255, 255, 255, 0.08) 45%, rgba(73, 100, 92, 0.12));
  filter: blur(18px);
  opacity: 0.5;
  transform: translateX(-50%);
  animation: waterSurface 7.6s ease-in-out infinite alternate;
  pointer-events: none;
}

.access-card .access-handle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 112px;
  width: min(420px, 72vw);
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 45%, rgba(255, 255, 255, 0.1), transparent 8%),
    conic-gradient(from 130deg, transparent 0deg, rgba(255, 255, 255, 0.12) 44deg, transparent 88deg, rgba(242, 192, 173, 0.08) 142deg, transparent 210deg, rgba(170, 186, 178, 0.09) 270deg, transparent 360deg);
  filter: blur(18px);
  opacity: 0.55;
  transform: translateX(-50%) rotate(-4deg);
  animation: waterLens 9s ease-in-out infinite alternate;
  pointer-events: none;
}

.access-card::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 58%;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(45, 225, 122, 0.48) 0 18%, rgba(41, 200, 102, 0.28) 42%, rgba(41, 200, 102, 0.1) 64%, transparent 72%);
  filter: blur(1px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.12);
  transition: opacity 0.32s ease, transform 1.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-gate.is-expanding .access-card::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(8.6);
}

.access-handle {
  position: absolute;
  top: 1.45rem;
  left: 50%;
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
}

.access-copy,
.otp-grid,
.access-status,
.access-success {
  position: relative;
  z-index: 1;
}

.access-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: rgba(242, 192, 173, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.access-title {
  margin-bottom: 0.85rem;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: clamp(2rem, 6vw, 3.05rem);
  font-weight: 800;
  line-height: 1.04;
}

.access-text {
  max-width: 370px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
  max-width: 430px;
  margin: 3.8rem auto 2.1rem;
}

.otp-box {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 10px 28px rgba(0, 0, 0, 0.12);
  transform-origin: center;
  transition:
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.36s ease;
}

.otp-box:focus-within,
.otp-box.is-filled {
  border-color: rgba(242, 192, 173, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(242, 192, 173, 0.26),
    0 0 24px rgba(184, 111, 90, 0.22);
}

.otp-input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 700;
  text-align: center;
  caret-color: #f2c0ad;
}

.access-status {
  min-height: 1.4rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  font-weight: 650;
}

.access-gate.is-error .access-status {
  color: #f2c0ad;
}

.access-gate.is-error .otp-grid {
  animation: accessShake 0.38s ease;
}

.access-gate.is-verifying .access-copy-start,
.access-gate.is-verifying .access-status {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.access-gate.is-verifying .otp-grid {
  position: relative;
  height: 150px;
  display: block;
  max-width: 260px;
}

.access-gate.is-verifying .otp-grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 188px;
  height: 188px;
  border: 1px dashed rgba(242, 192, 173, 0.28);
  border-radius: 50%;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  animation: accessRingSpin 1.75s linear forwards;
  transition: opacity 0.36s ease, transform 0.52s ease;
}

.access-gate.is-verifying .otp-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  z-index: 2;
  transform: rotate(var(--orbit-angle)) translateX(92px) rotate(calc(-1 * var(--orbit-angle))) rotate(var(--orbit-r));
  animation: accessOrbit 1.7s cubic-bezier(0.52, 0, 0.34, 1) forwards;
}

.access-gate.is-verifying .otp-box:nth-child(1) { --orbit-angle: 210deg; --orbit-r: -36deg; }
.access-gate.is-verifying .otp-box:nth-child(2) { --orbit-angle: 270deg; --orbit-r: 18deg; }
.access-gate.is-verifying .otp-box:nth-child(3) { --orbit-angle: 330deg; --orbit-r: 36deg; }
.access-gate.is-verifying .otp-box:nth-child(4) { --orbit-angle: 30deg; --orbit-r: -26deg; }
.access-gate.is-verifying .otp-box:nth-child(5) { --orbit-angle: 90deg; --orbit-r: 24deg; }
.access-gate.is-verifying .otp-box:nth-child(6) { --orbit-angle: 150deg; --orbit-r: -18deg; }

.access-gate.is-colliding .otp-grid::before,
.access-gate.is-success .otp-grid::before {
  animation: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.48);
}

.access-gate.is-colliding .otp-box {
  animation: accessCollapse 1.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0.88;
  box-shadow:
    inset 0 0 0 1px rgba(242, 192, 173, 0.22),
    0 0 30px rgba(184, 111, 90, 0.24);
}

.access-gate.is-success .otp-box {
  opacity: 0;
  transition: opacity 0.42s ease;
}

.access-success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding-top: 4.9rem;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.access-success::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 58%;
  width: 128px;
  height: 128px;
  border: 2px solid rgba(41, 200, 102, 0.5);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.38);
  transition: opacity 0.36s ease, transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-gate.is-success .access-success {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.access-gate.is-success .access-success::before {
  opacity: 0.7;
  transform: translate(-50%, -50%) scale(2.4);
}

.access-check {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 2px solid #2de17a;
  border-radius: 21px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(11, 18, 15, 0.62);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  color: var(--color-white);
  font-size: 2.4rem;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 34px rgba(45, 225, 122, 0.3),
    0 14px 35px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition:
    opacity 0.48s ease,
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.72s ease,
    border-color 0.72s ease,
    box-shadow 0.72s ease;
}

.access-gate.is-success .access-check {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.access-success strong {
  margin-top: 0;
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1;
}

.access-success span {
  position: absolute;
  left: 50%;
  top: calc(58% + 110px);
  color: #29c866;
  font-weight: 800;
  letter-spacing: 0.4px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.access-success strong::after {
  content: 'Sua visualizacao foi liberada.';
  display: block;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

@keyframes liquidFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    border-radius: 44% 56% 62% 38% / 45% 41% 59% 55%;
  }
  100% {
    transform: translate3d(28px, -22px, 0) rotate(16deg);
    border-radius: 61% 39% 42% 58% / 39% 58% 42% 61%;
  }
}

@keyframes accessShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

@keyframes accessOrbit {
  0% {
    transform: rotate(var(--orbit-angle)) translateX(0) rotate(calc(-1 * var(--orbit-angle))) rotate(var(--orbit-r)) scale(0.92);
  }
  18% {
    transform: rotate(var(--orbit-angle)) translateX(92px) rotate(calc(-1 * var(--orbit-angle))) rotate(var(--orbit-r)) scale(1);
  }
  78% {
    transform: rotate(calc(var(--orbit-angle) + 320deg)) translateX(92px) rotate(calc(-1 * (var(--orbit-angle) + 320deg))) rotate(calc(var(--orbit-r) + 300deg)) scale(1);
  }
  100% {
    transform: rotate(calc(var(--orbit-angle) + 360deg)) translateX(92px) rotate(calc(-1 * (var(--orbit-angle) + 360deg))) rotate(calc(var(--orbit-r) + 360deg)) scale(1);
  }
}

@keyframes accessRingSpin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

@keyframes waterSheen {
  0% {
    transform: translate3d(-12px, -6px, 0) scale(1.02) skewX(-2deg);
    opacity: 0.52;
  }
  100% {
    transform: translate3d(14px, 8px, 0) scale(1.06) skewX(3deg);
    opacity: 0.78;
  }
}

@keyframes waterLens {
  0% {
    transform: translateX(-50%) rotate(-5deg) scale(0.96, 1.02);
    border-radius: 46% 54% 58% 42% / 42% 48% 52% 58%;
  }
  100% {
    transform: translateX(-50%) rotate(6deg) scale(1.06, 0.98);
    border-radius: 58% 42% 44% 56% / 56% 44% 58% 42%;
  }
}

@keyframes waterSurface {
  0% {
    transform: translateX(-50%) translateY(-5px) scale(0.96, 1.04) skewX(-3deg);
    border-radius: 42% 58% 50% 50% / 48% 44% 56% 52%;
  }
  100% {
    transform: translateX(-50%) translateY(8px) scale(1.05, 0.98) skewX(4deg);
    border-radius: 58% 42% 48% 52% / 44% 56% 50% 50%;
  }
}

@keyframes accessCollapse {
  0% {
    transform: rotate(calc(var(--orbit-angle) + 360deg)) translateX(92px) rotate(calc(-1 * (var(--orbit-angle) + 360deg))) rotate(calc(var(--orbit-r) + 360deg)) scale(1);
    opacity: 1;
  }
  62% {
    transform: rotate(calc(var(--orbit-angle) + 430deg)) translateX(22px) rotate(calc(-1 * (var(--orbit-angle) + 430deg))) rotate(calc(var(--orbit-r) + 410deg)) scale(0.86);
    opacity: 0.9;
  }
  100% {
    transform: translate(0, 0) rotate(500deg) scale(0.72);
    opacity: 0.18;
  }
}

@keyframes accessCollapseMobile {
  0% {
    transform: rotate(calc(var(--orbit-angle) + 360deg)) translateX(72px) rotate(calc(-1 * (var(--orbit-angle) + 360deg))) rotate(calc(var(--orbit-r) + 360deg)) scale(1);
    opacity: 1;
  }
  62% {
    transform: rotate(calc(var(--orbit-angle) + 430deg)) translateX(18px) rotate(calc(-1 * (var(--orbit-angle) + 430deg))) rotate(calc(var(--orbit-r) + 410deg)) scale(0.86);
    opacity: 0.9;
  }
  100% {
    transform: translate(0, 0) rotate(500deg) scale(0.72);
    opacity: 0.18;
  }
}

@keyframes accessOrbitMobile {
  0% {
    transform: rotate(var(--orbit-angle)) translateX(0) rotate(calc(-1 * var(--orbit-angle))) rotate(var(--orbit-r)) scale(0.92);
  }
  18% {
    transform: rotate(var(--orbit-angle)) translateX(72px) rotate(calc(-1 * var(--orbit-angle))) rotate(var(--orbit-r)) scale(1);
  }
  78% {
    transform: rotate(calc(var(--orbit-angle) + 320deg)) translateX(72px) rotate(calc(-1 * (var(--orbit-angle) + 320deg))) rotate(calc(var(--orbit-r) + 300deg)) scale(1);
  }
  100% {
    transform: rotate(calc(var(--orbit-angle) + 360deg)) translateX(72px) rotate(calc(-1 * (var(--orbit-angle) + 360deg))) rotate(calc(var(--orbit-r) + 360deg)) scale(1);
  }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-ivory);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c4836f, var(--color-terracotta));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9f5f4e;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-sage-deep);
  line-height: 1.2;
}

p {
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-graphite);
  opacity: 0.9;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Custom Cursor (Desktop Only) */
.custom-cursor {
  display: none;
}

@media (min-width: 1024px) {
  body {
    cursor: auto;
  }
  a, button, .accordion-header, .whatsapp-float {
    cursor: pointer;
  }
  .custom-cursor {
    display: block;
    position: fixed;
    width: 32px;
    height: 32px;
    background-color: rgba(184, 111, 90, 0.08);
    border: 1px solid rgba(184, 111, 90, 0.4);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    box-shadow: 0 0 18px rgba(184, 111, 90, 0.12);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  }
  .custom-cursor::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-terracotta);
    transform: translate(-50%, -50%);
  }
  .custom-cursor.hover {
    width: 46px;
    height: 46px;
    background-color: rgba(184, 111, 90, 0.14);
    border-color: rgba(184, 111, 90, 0.58);
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
  background-color: transparent;
}

.site-header.scrolled {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(248, 245, 240, 0.52)),
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.9), transparent 34%),
    radial-gradient(circle at 82% 100%, rgba(184, 111, 90, 0.14), transparent 34%);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  padding: 1rem 0;
  box-shadow: 0 12px 35px rgba(39, 48, 45, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-sage-deep);
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-graphite);
  margin-top: 2px;
  opacity: 0.8;
}

.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-graphite);
  opacity: 0.8;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-terracotta);
  transition: var(--transition-fast);
}

.nav-link:hover {
  opacity: 1;
  color: var(--color-sage-deep);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: none;
}

/* Mobile Menu Button */
.menu-toggle {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-sage-deep);
  transition: var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--color-ivory);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 8rem 2.5rem 3rem 2.5rem;
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  list-style: none;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-sage-deep);
  font-weight: 500;
}

.mobile-cta {
  margin-top: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary,
.btn-terracotta {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before,
.btn-terracotta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-22deg);
  animation: btnContinuousLight 3.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes btnContinuousLight {
  0%, 20% {
    left: -120%;
  }
  60%, 100% {
    left: 180%;
  }
}

.btn-primary {
  background-color: #25D366;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.22);
}

.btn-primary:hover {
  background-color: #1EBE5D;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--color-sage-deep);
  color: var(--color-sage-deep);
}

.btn-secondary:hover {
  background-color: var(--color-sage-deep);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-terracotta {
  background-color: var(--color-terracotta);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(184, 111, 90, 0.18);
}

.btn-terracotta:hover {
  background-color: #a45e4a;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(184, 111, 90, 0.28);
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  background-color: var(--color-ivory);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.eyebrow-badge {
  display: inline-block;
  background-color: rgba(184, 111, 90, 0.08);
  border: 1px solid rgba(184, 111, 90, 0.2);
  color: var(--color-terracotta);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--color-sage-deep);
}

.hero-title span {
  color: #7b4a3e;
  font-style: italic;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.85;
}

/* Hero Meta Chips (High Visibility Highlights) */
.hero-meta-chips {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(39, 48, 45, 0.04);
}

.hero-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 48, 45, 0.08);
}

.hero-chip-warm {
  background-color: rgba(184, 111, 90, 0.09);
  border: 1px solid rgba(184, 111, 90, 0.25);
  color: var(--color-terracotta);
}

.hero-chip-sage {
  background-color: rgba(73, 100, 92, 0.08);
  border: 1px solid rgba(73, 100, 92, 0.22);
  color: var(--color-sage-deep);
}

.hero-chip-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  z-index: 1;
}

/* Organic Background Shape Behind Photo */
.organic-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(170,186,178,0.2) 0%, rgba(233,222,210,0.3) 100%);
  border-radius: 60% 40% 70% 30% / 40% 50% 30% 60%;
  z-index: -1;
  animation: morphing 15s ease-in-out infinite alternate;
}

@keyframes morphing {
  0% {
    border-radius: 60% 40% 70% 30% / 40% 50% 30% 60%;
  }
  50% {
    border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%;
  }
  100% {
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }
}

.hero-img-wrapper {
  overflow: hidden;
  border-radius: 200px 200px 30px 30px;
  border: 1px solid rgba(170, 186, 178, 0.4);
  box-shadow: 0 20px 40px rgba(39, 48, 45, 0.05);
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-img-wrapper:hover .hero-img {
  transform: scale(1.05);
}

.hero-photo-cta {
  width: fit-content;
  margin: 1.7rem auto 0;
}

@media (min-width: 768px) {
  .hero-photo-cta {
    display: none;
  }
}

/* Trust Bar */
.trust-bar {
  background-color: var(--color-sand);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(73, 100, 92, 0.05);
  border-bottom: 1px solid rgba(73, 100, 92, 0.05);
}

.trust-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .trust-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.trust-icon {
  width: 24px;
  height: 24px;
  color: var(--color-sage-deep);
  flex-shrink: 0;
}

.trust-text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--color-graphite);
}

/* Identification Section */
.identification {
  padding: 6rem 0;
  background:
    linear-gradient(180deg, rgba(248, 245, 240, 1), rgba(248, 245, 240, 0.94)),
    radial-gradient(circle at 18% 25%, rgba(184, 111, 90, 0.09), transparent 34%),
    radial-gradient(circle at 82% 68%, rgba(73, 100, 92, 0.08), transparent 36%);
  position: relative;
  overflow: hidden;
}

.identification::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10%;
  width: min(980px, 86vw);
  height: min(520px, 58vw);
  border: 1px solid rgba(184, 111, 90, 0.09);
  border-radius: 50%;
  transform: translateX(-50%) rotate(-4deg);
  pointer-events: none;
}

.identification .container {
  position: relative;
  z-index: 1;
}

.identification-eyebrow {
  display: table;
  margin: 0 auto 1rem;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 111, 90, 0.22);
  background: rgba(184, 111, 90, 0.07);
  color: var(--color-terracotta);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-sage-deep);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  opacity: 0.85;
}

.symptoms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.65rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.symptoms-grid::before {
  content: '';
  position: absolute;
  inset: 18% 5% auto 5%;
  height: 58%;
  border: 1px dashed rgba(184, 111, 90, 0.16);
  border-radius: 42px;
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 768px) {
  .symptoms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .symptoms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.symptom-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 16% 10%, rgba(184, 111, 90, 0.1), transparent 34%);
  padding: 2.7rem 2.15rem;
  border-radius: 12px;
  border: 1px solid rgba(233, 222, 210, 0.82);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 250px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(39, 48, 45, 0.035);
}

.symptom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(184, 111, 90, 0.65), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.symptom-card::after {
  content: '';
  position: absolute;
  right: -38px;
  bottom: -44px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(73, 100, 92, 0.045);
  transition: var(--transition-smooth);
}

.symptom-card:hover {
  transform: translateY(-7px);
  border-color: rgba(184, 111, 90, 0.38);
  box-shadow: 0 24px 54px rgba(73, 100, 92, 0.1), 0 0 34px rgba(184, 111, 90, 0.08);
}

.symptom-card:hover::before,
.symptom-card.is-scroll-lit::before {
  opacity: 1;
}

.symptom-card:hover::after,
.symptom-card.is-scroll-lit::after {
  transform: scale(1.18);
  background: rgba(184, 111, 90, 0.07);
}

.symptom-card.is-scroll-lit {
  transform: translateY(-7px);
  border-color: rgba(184, 111, 90, 0.38);
  box-shadow: 0 24px 54px rgba(73, 100, 92, 0.1), 0 0 34px rgba(184, 111, 90, 0.08);
}

.symptom-card-icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 14px;
  background: rgba(184, 111, 90, 0.08);
  border: 1px solid rgba(184, 111, 90, 0.14);
  color: var(--color-terracotta);
  transition: var(--transition-smooth);
}

.symptom-card:hover .symptom-card-icon,
.symptom-card.is-scroll-lit .symptom-card-icon {
  background: var(--color-terracotta);
  color: var(--color-white);
  box-shadow: 0 12px 26px rgba(184, 111, 90, 0.22);
}

.symptom-card-title {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  color: var(--color-sage-deep);
  font-weight: 600;
  max-width: 290px;
}

.symptom-card-text {
  font-size: 0.94rem;
  opacity: 0.8;
  max-width: 310px;
}

.section-footer {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.section-footer p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.28rem;
  color: var(--color-sage-deep);
  line-height: 1.55;
}

/* Authority Section */
.authority {
  padding: 6rem 0;
  background-color: var(--color-sand);
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .authority-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.authority-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.authority-title {
  font-size: 2.2rem;
}

.authority-text {
  font-size: 1.05rem;
  opacity: 0.85;
}

.authority-quote {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--color-terracotta);
  border-left: 3px solid var(--color-terracotta);
  padding-left: 1.5rem;
  margin: 1rem 0;
  line-height: 1.3;
}

.authority-img-wrapper {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(73, 100, 92, 0.1);
  box-shadow: 0 15px 35px rgba(39, 48, 45, 0.06);
}

.authority-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.authority-img-wrapper:hover .authority-img {
  transform: scale(1.05);
}

/* Services / Medical Care */
.services {
  padding: 6rem 0;
  background-color: var(--color-sage-deep);
  color: var(--color-ivory);
}

.journey-eyebrow {
  display: table;
  margin: 0 auto 1.25rem auto;
  padding: 0.5rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.journey-eyebrow-warm {
  color: var(--color-terracotta);
  background: rgba(184, 111, 90, 0.08);
  border-color: rgba(184, 111, 90, 0.22);
}

.services-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .services-header-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .services-header-left {
    text-align: left;
  }

  .services-header-left .journey-eyebrow {
    margin-left: 0;
    margin-right: auto;
  }

  .services-header-left .services-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .services-header-grid-reverse {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .services-header-grid-reverse .services-header-left {
    grid-column: 1;
    grid-row: 1;
  }

  .services-header-grid-reverse .services-header-right-text {
    grid-column: 2;
    grid-row: 1;
  }
}

.services-img-wrapper {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  max-height: 320px;
  position: relative;
}

.services-header-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.services-img-wrapper:hover .services-header-img {
  transform: scale(1.04);
}

.services-subtitle {
  color: var(--color-white);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin: 0 auto 1.5rem auto;
  text-align: center;
  line-height: 1.25;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(170, 186, 178, 0.2);
  padding: 3rem 2rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
  min-height: 300px;
  position: relative;
}

.service-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--color-sage-soft);
  transform: translateY(-4px);
}

.service-card-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-terracotta);
  margin-bottom: 1.5rem;
  display: block;
}

.service-card-phase {
  position: absolute;
  top: 3rem;
  right: 2rem;
  padding: 0.42rem 0.76rem;
  border-radius: 999px;
  background: rgba(184, 111, 90, 0.78);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--color-ivory);
  opacity: 0.8;
}

.services-cta-wrapper {
  text-align: center;
}

/* Dermatology Section Variant (Bege Claro #F8F5F0) */
.services-dermatology {
  background-color: var(--color-ivory);
  color: var(--color-graphite);
  border-top: 1px solid rgba(73, 100, 92, 0.1);
  padding: 6rem 0;
}

.services-dermatology .journey-eyebrow {
  color: var(--color-sage-deep);
  border-color: rgba(73, 100, 92, 0.25);
  background: rgba(73, 100, 92, 0.08);
}

.services-dermatology .services-subtitle {
  color: var(--color-sage-deep);
}

.services-dermatology .service-card {
  background-color: var(--color-white);
  border: 1px solid rgba(73, 100, 92, 0.12);
  box-shadow: 0 10px 28px rgba(39, 48, 45, 0.04);
}

.services-dermatology .service-card:hover {
  background-color: var(--color-white);
  border-color: var(--color-terracotta);
  box-shadow: 0 16px 36px rgba(39, 48, 45, 0.09);
}

.services-dermatology .service-card-title {
  color: var(--color-graphite);
}

.services-dermatology .service-card-desc {
  color: var(--color-graphite);
  opacity: 0.85;
}

.services-dermatology .journey-progress-track {
  background: rgba(73, 100, 92, 0.12);
}

.services-dermatology .journey-progress-percent {
  color: var(--color-graphite);
}

.service-card-list {
  margin-top: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.service-card-list li {
  font-size: 0.92rem;
  color: var(--color-graphite);
  opacity: 0.88;
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.service-card-list li::before {
  content: '•';
  color: var(--color-terracotta);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* Scroll-driven pinned journeys */
.scroll-journey {
  min-height: 285vh;
  padding: 0;
  --journey-progress: 0;
}

.journey-sticky {
  position: sticky;
  top: 72px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 5rem 0;
  overflow: hidden;
}

.journey-progress {
  max-width: 620px;
  margin: 3.5rem auto 4rem auto;
  padding: 0 1.5rem;
}

.journey-progress-track {
  position: relative;
  height: 4px;
  border-radius: 999px;
  margin-right: 4rem;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.3) 0 13px,
      rgba(255, 255, 255, 0.06) 13px 24px
    );
}

.how-it-works .journey-progress-track {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(184, 111, 90, 0.18) 0 13px,
      rgba(73, 100, 92, 0.09) 13px 24px
    );
}

.journey-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--journey-progress) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-terracotta), #f2c0ad);
  box-shadow: 0 0 22px rgba(184, 111, 90, 0.36);
  transition: width 0.25s ease-out;
}

.journey-progress-arrow {
  position: absolute;
  top: 50%;
  left: calc(var(--journey-progress) * 100%);
  width: 16px;
  height: 16px;
  border-top: 2px solid #f2c0ad;
  border-right: 2px solid #f2c0ad;
  filter: drop-shadow(0 0 10px rgba(242, 192, 173, 0.55));
  transform: translate(-50%, -50%) rotate(45deg);
  transition: left 0.25s ease-out;
}

.journey-progress-percent {
  position: absolute;
  top: 50%;
  left: calc(var(--journey-progress) * 100%);
  min-width: 44px;
  padding-left: 1.2rem;
  color: #f2c0ad;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-align: left;
  text-shadow: 0 0 16px rgba(242, 192, 173, 0.38);
  transform: translate(8px, -50%);
  transition: left 0.25s ease-out;
}

.how-it-works .journey-progress-percent {
  color: var(--color-terracotta);
  text-shadow: none;
}

.services .journey-card,
.services .journey-card.reveal.revealed {
  opacity: 0.045;
  transform: translateY(58px) scale(0.94);
  filter: blur(5px) saturate(0.62);
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.55s ease,
    border-color 0.55s ease,
    box-shadow 0.55s ease;
}

.services .journey-card.is-visible,
.services .journey-card.reveal.revealed.is-visible {
  opacity: 0.16;
  transform: translateY(0) scale(1);
  filter: blur(3px) saturate(0.78);
}

.services .journey-card.is-active,
.services .journey-card.reveal.revealed.is-active {
  opacity: 1;
  filter: blur(0) saturate(1.12);
  pointer-events: auto;
  border-color: rgba(242, 192, 173, 0.78);
  box-shadow:
    inset 0 0 56px rgba(242, 192, 173, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.12),
    0 0 54px rgba(184, 111, 90, 0.24);
}

.services .journey-card.is-active {
  background:
    radial-gradient(circle at 22% 18%, rgba(242, 192, 173, 0.2), transparent 42%),
    radial-gradient(circle at 78% 82%, rgba(184, 111, 90, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.04);
}

.services .journey-card.is-active .service-card-num {
  color: #f2c0ad;
  text-shadow: 0 0 18px rgba(242, 192, 173, 0.42);
}

/* Separador ornamental entre About e Passo a passo */
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 0 2rem;
  background-color: var(--color-sand);
}

.ornament-line {
  flex: 1;
  max-width: 220px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(184, 111, 90, 0.5),
    transparent
  );
}

.ornament-diamond {
  width: 10px;
  height: 10px;
  color: var(--color-terracotta);
  opacity: 0.7;
  flex-shrink: 0;
}

/* About / Biography */
.about {
  padding: 3.5rem 0 3rem;
  background-color: var(--color-sand);
  border-top: none;
}

/* Bloco de título — aparece em ambos os contextos, mas posicionado pelo grid */
.about-heading {
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Desktop: foto esq | título + bio dir */
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "photo heading"
      "photo body";
    column-gap: 4.5rem;
    row-gap: 2rem;
    align-items: start;
  }

  .about-img-container {
    grid-area: photo;
  }

  .about-heading {
    grid-area: heading;
    align-self: end;
  }

  .about-body {
    grid-area: body;
    align-self: start;
  }
}

.about-img-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.about-img-wrapper {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(170, 186, 178, 0.4);
  box-shadow: 0 15px 35px rgba(39, 48, 45, 0.04);
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-eyebrow {
  display: inline-block;
  padding: 0.48rem 1.15rem;
  border-radius: 999px;
  background: rgba(184, 111, 90, 0.12);
  border: 1px solid rgba(184, 111, 90, 0.28);
  color: var(--color-terracotta);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 14px rgba(184, 111, 90, 0.06);
}

.about-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: var(--color-sage-deep);
  line-height: 1.15;
}

.about-text {
  font-size: 1rem;
  opacity: 0.85;
}

.about-credentials {
  display: flex;
  gap: 20px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-sage-deep);
  border-top: 1px solid rgba(184, 111, 90, 0.2);
  border-bottom: 1px solid rgba(184, 111, 90, 0.2);
  padding: 1rem 0;
  margin-top: 0.5rem;
}

.about-cta {
  margin-top: 0.5rem;
}

/* ==========================================
   MOBILE: Título → Foto → Bio
   ========================================== */
@media (max-width: 767px) {
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .about-heading {
    display: block;
    order: 1;
    text-align: center;
  }

  .about-img-container {
    order: 2;
  }

  .about-body {
    order: 3;
    text-align: center;
  }

  .about-cta {
    width: 100%;
  }

  .about-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .about-credentials {
    justify-content: center;
  }
}

/* How It Works */
.how-it-works {
  padding: 0;
  background-color: var(--color-sand);
  position: relative;
}

.how-it-works.scroll-journey {
  min-height: 230vh;
}

.how-it-works .journey-sticky {
  min-height: calc(100vh - 72px);
  padding: 2.6rem 0 3rem;
}

.how-it-works .container {
  display: flex;
  min-height: calc(100vh - 72px - 5.6rem);
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 3rem;
}

.how-it-works .section-header {
  margin-bottom: 2.7rem;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.8rem;
  position: relative;
  max-width: 1080px;
  margin: 0 auto 2.4rem auto;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 12%;
  right: 12%;
  height: 26px;
  opacity: 0.72;
  background-image: url("data:image/svg+xml,%3Csvg width='420' height='28' viewBox='0 0 420 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 15 C55 -4 89 33 143 14 S235 -2 289 15 S366 30 418 12' fill='none' stroke='%23B86F5A' stroke-width='2.4' stroke-linecap='round' stroke-dasharray='8 12'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 420px 28px;
  pointer-events: none;
  z-index: 4;
}

@media (min-width: 768px) {
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.8rem;
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  min-height: 270px;
  padding: 2.55rem 2.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 45px rgba(73, 100, 92, 0.06);
}

.step-num-circle {
  position: relative;
  z-index: 5;
}

.how-it-works .journey-card,
.how-it-works .journey-card.reveal.revealed {
  opacity: 0.28;
  transform: translateY(18px) scale(0.98);
  filter: blur(3px) saturate(0.78);
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.55s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.55s ease,
    border-color 0.55s ease,
    box-shadow 0.55s ease;
}

.how-it-works .journey-card.is-visible,
.how-it-works .journey-card.reveal.revealed.is-visible {
  opacity: 0.48;
  background: rgba(255, 255, 255, 0.68);
  filter: blur(2px) saturate(0.9);
  transform: translateY(0) scale(1);
}

.how-it-works .journey-card.is-active,
.how-it-works .journey-card.reveal.revealed.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.86);
  filter: blur(0) saturate(1);
  pointer-events: auto;
  box-shadow: 0 24px 54px rgba(184, 111, 90, 0.14), 0 10px 30px rgba(73, 100, 92, 0.08);
}

.step-num-circle {
  width: 56px;
  height: 56px;
  background-color: var(--color-white);
  border: 1px solid var(--color-sage-soft);
  color: var(--color-sage-deep);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.7rem;
  box-shadow: 0 5px 15px rgba(73, 100, 92, 0.05);
  transition: var(--transition-smooth);
}

.step-card.is-active .step-num-circle {
  background-color: var(--color-terracotta);
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--color-white);
  box-shadow: 0 12px 30px rgba(184, 111, 90, 0.32), 0 0 0 8px rgba(184, 111, 90, 0.1);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-sage-deep);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.step-desc {
  font-size: 0.85rem;
  opacity: 0.8;
}

.how-support-text {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-sage-deep);
  margin-bottom: 2rem;
}

.how-cta {
  text-align: center;
}

/* FAQ (Accordion) */
.faq {
  padding: 6rem 0;
  background-color: var(--color-ivory);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid rgba(233, 222, 210, 0.8);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--color-sage-soft);
}

.accordion-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-sage-deep);
}

.accordion-icon {
  font-size: 1.2rem;
  color: var(--color-terracotta);
  transition: var(--transition-fast);
  flex-shrink: 0;
  margin-left: 10px;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 2rem;
}

.faq-item.active .accordion-content {
  max-height: 1000px;
  padding: 0 2rem 1.8rem 2rem;
  transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-text {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Final CTA */
.final-cta {
  padding: 8rem 0;
  position: relative;
  background-image: linear-gradient(rgba(73, 100, 92, 0.9), rgba(73, 100, 92, 0.92)), url('images/dra_marilia_cta_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-ivory);
  text-align: center;
}

.final-cta-container {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.final-cta-title {
  color: var(--color-white);
  font-size: 2.5rem;
}

.final-cta-text {
  font-size: 1.1rem;
  color: var(--color-ivory);
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background-color: var(--color-graphite);
  color: var(--color-ivory);
  padding: 5rem 0 2.5rem 0;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-white);
}

.footer-desc {
  opacity: 0.7;
  max-width: 320px;
}

.footer-credentials {
  font-weight: 600;
  color: var(--color-sage-soft);
}

.footer-links-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  opacity: 0.7;
}

.footer-link:hover {
  opacity: 1;
  color: var(--color-sage-soft);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--color-sage-soft);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  opacity: 0.8;
  font-size: 0.8rem;
}

.wsx-signature {
  justify-self: end;
  width: max-content;
  min-width: 240px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(115deg, rgba(184, 111, 90, 0.22), rgba(170, 186, 178, 0.25), rgba(73, 100, 92, 0.22), rgba(184, 111, 90, 0.22));
  background-size: 300% 100%;
  animation: signatureField 5.6s ease-in-out infinite;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 34px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease;
}

.wsx-signature:hover {
  transform: translateY(-2px);
}

.wsx-signature span {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  white-space: nowrap;
}

.wsx-signature strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

@keyframes signatureField {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 34px rgba(184, 111, 90, 0.18);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 38px rgba(73, 100, 92, 0.28);
  }
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Pulsing micro-animation */
.whatsapp-pulse {
  animation: pulse-ring 2s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Intersection Observer Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Sequential delay utility classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Responsive adjustments */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .main-nav {
    display: block;
  }
  .header-cta {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-meta-chips {
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.5rem;
  }

  .hero-chip {
    font-size: 0.78rem;
    padding: 0.48rem 0.95rem;
  }

  .access-card {
    min-height: 500px;
    padding: 3.9rem 1.2rem 2.1rem;
    border-radius: 34px;
  }

  .otp-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 250px;
    gap: 0.74rem;
    margin-top: 2.6rem;
  }

  .access-gate.is-verifying .otp-grid {
    max-width: 220px;
  }

  .access-gate.is-verifying .otp-grid::before {
    width: 150px;
    height: 150px;
  }

  .access-gate.is-verifying .otp-box {
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    transform: rotate(var(--orbit-angle)) translateX(72px) rotate(calc(-1 * var(--orbit-angle))) rotate(var(--orbit-r));
    animation-name: accessOrbitMobile;
  }

  .access-gate.is-colliding .otp-box {
    animation-name: accessCollapseMobile;
  }

  .access-gate.is-verifying .otp-box:nth-child(1) { --orbit-angle: 210deg; --orbit-r: -36deg; }
  .access-gate.is-verifying .otp-box:nth-child(2) { --orbit-angle: 270deg; --orbit-r: 18deg; }
  .access-gate.is-verifying .otp-box:nth-child(3) { --orbit-angle: 330deg; --orbit-r: 36deg; }
  .access-gate.is-verifying .otp-box:nth-child(4) { --orbit-angle: 30deg; --orbit-r: -26deg; }
  .access-gate.is-verifying .otp-box:nth-child(5) { --orbit-angle: 90deg; --orbit-r: 24deg; }
  .access-gate.is-verifying .otp-box:nth-child(6) { --orbit-angle: 150deg; --orbit-r: -18deg; }

  .hero-photo-cta {
    width: 100%;
    margin-top: 1.35rem;
  }

  .final-cta {
    background-image: linear-gradient(rgba(73, 100, 92, 0.76), rgba(73, 100, 92, 0.82)), url('images/dra_marilia_cta_bg.jpg');
    background-attachment: scroll;
    background-position: 24% center;
  }

  .scroll-journey {
    min-height: 240vh;
  }

  .journey-sticky {
    top: 64px;
    min-height: calc(100vh - 64px);
    padding: 4.25rem 0;
  }

  .journey-progress {
    margin: -1rem auto 2.25rem auto;
    padding: 0 0.5rem;
  }

  .journey-grid {
    gap: 1.25rem;
  }

  .steps-container::before {
    top: 58px;
    left: 50%;
    right: auto;
    width: 2px;
    height: calc(100% - 42px);
    transform: translateX(-50%);
    background-image: repeating-linear-gradient(
      180deg,
      rgba(184, 111, 90, 0.42) 0 8px,
      transparent 8px 18px
    );
    background-size: auto;
  }

  .journey-card {
    transform: translateY(26px) scale(0.98);
  }

  .how-it-works.scroll-journey {
    min-height: 220vh;
  }

  .how-it-works .journey-sticky {
    top: 64px;
    min-height: calc(100vh - 64px);
    padding: 2.25rem 0;
  }

  .how-it-works .container {
    min-height: calc(100vh - 64px - 4.5rem);
  }

  .how-it-works .section-header {
    margin-bottom: 2rem;
  }

  .steps-container {
    margin-bottom: 1.8rem;
  }
}

/* Accessibility features */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .organic-bg {
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-journey {
    min-height: auto !important;
    padding: 6rem 0 !important;
  }
  .journey-sticky {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    padding: 0 !important;
  }
  .journey-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .journey-progress {
    display: none !important;
  }
}

/* Final access animation: calm glass morph instead of animating real inputs */
.access-morph {
  position: relative;
  z-index: 2;
  height: 150px;
  width: 100%;
  max-width: 430px;
  margin: -11.5rem auto 2.1rem;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px) scale(0.94);
  pointer-events: none;
  transition: opacity 0.48s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-morph::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(45, 225, 122, 0.14);
  border: 1px solid rgba(45, 225, 122, 0.36);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.22);
  transition: opacity 0.55s ease, transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-morph-glass {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 38px rgba(0, 0, 0, 0.18);
  transform: scale(0.72);
  transition:
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.72s ease,
    background 0.72s ease,
    box-shadow 0.72s ease;
}

.access-morph-glass::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.75;
}

.access-morph-glass::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  box-shadow:
    -38px -18px 0 rgba(255, 255, 255, 0.12),
    -22px 18px 0 rgba(255, 255, 255, 0.1),
    26px -12px 0 rgba(255, 255, 255, 0.11),
    38px 18px 0 rgba(255, 255, 255, 0.09);
  opacity: 0.65;
  transition: opacity 0.4s ease;
}

.access-morph-check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--color-white);
  font-size: 2.25rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.5s ease 0.12s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.access-gate.is-verifying .access-copy-start,
.access-gate.is-verifying .access-status {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.access-gate.is-verifying .otp-grid {
  display: grid;
  height: auto;
  max-width: 430px;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(4px) scale(0.9);
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-gate.is-verifying .otp-grid::before {
  display: none;
}

.access-gate.is-verifying .otp-box,
.access-gate.is-colliding .otp-box,
.access-gate.is-success .otp-box {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  margin: 0;
  opacity: 1;
  animation: none;
  transform: none;
}

.access-gate.is-verifying .access-morph {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.access-gate.is-verifying .access-morph-glass {
  transform: scale(1);
}

.access-gate.is-success .access-morph-glass {
  border-color: rgba(45, 225, 122, 0.82);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(21, 104, 58, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 34px rgba(45, 225, 122, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.2);
}

.access-gate.is-success .access-morph-glass::after {
  opacity: 0;
}

.access-gate.is-success .access-morph-check {
  opacity: 1;
  transform: scale(1);
}

.access-gate.is-expanding .access-morph::before {
  opacity: 0.8;
  transform: translate(-50%, -50%) scale(2.55);
}

/* Final access animation: calm glass morph instead of animating real inputs */
.access-morph {
  position: relative;
  z-index: 2;
  height: 150px;
  width: 100%;
  max-width: 430px;
  margin: -11.5rem auto 2.1rem;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px) scale(0.94);
  pointer-events: none;
  transition: opacity 0.48s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-morph::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(45, 225, 122, 0.14);
  border: 1px solid rgba(45, 225, 122, 0.36);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.22);
  transition: opacity 0.55s ease, transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-morph-glass {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px) saturate(190%);
  -webkit-backdrop-filter: blur(22px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 18px 38px rgba(0, 0, 0, 0.18);
  transform: scale(0.72);
  transition:
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.72s ease,
    background 0.72s ease,
    box-shadow 0.72s ease;
}

.access-morph-glass::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.75;
}

.access-morph-glass::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  box-shadow:
    -38px -18px 0 rgba(255, 255, 255, 0.12),
    -22px 18px 0 rgba(255, 255, 255, 0.1),
    26px -12px 0 rgba(255, 255, 255, 0.11),
    38px 18px 0 rgba(255, 255, 255, 0.09);
  opacity: 0.65;
  transition: opacity 0.4s ease;
}

.access-morph-check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--color-white);
  font-size: 2.25rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.5s ease 0.12s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.access-gate.is-verifying .access-copy-start,
.access-gate.is-verifying .access-status {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.access-gate.is-verifying .otp-grid {
  display: grid;
  height: auto;
  max-width: 430px;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(4px) scale(0.9);
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-gate.is-verifying .otp-grid::before {
  display: none;
}

.access-gate.is-verifying .otp-box,
.access-gate.is-colliding .otp-box,
.access-gate.is-success .otp-box {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  margin: 0;
  opacity: 1;
  animation: none;
  transform: none;
}

.access-gate.is-verifying .access-morph {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.access-gate.is-verifying .access-morph-glass {
  transform: scale(1);
}

.access-gate.is-success .access-morph-glass {
  border-color: rgba(45, 225, 122, 0.82);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(21, 104, 58, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 34px rgba(45, 225, 122, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.2);
}

.access-gate.is-success .access-morph-glass::after {
  opacity: 0;
}

.access-gate.is-success .access-morph-check {
  opacity: 1;
  transform: scale(1);
}

.access-gate.is-expanding .access-morph::before {
  opacity: 0.8;
  transform: translate(-50%, -50%) scale(2.55);
}

.access-gate.is-expanding .access-card::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(7.8);
}

.access-gate.is-success .access-success {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* Revised access sequence: numbers orbit, return aligned, fade, then check */
.access-gate.is-verifying .otp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: auto;
  max-width: 430px;
  opacity: 1;
  filter: none;
  transform: none;
  transition: opacity 0.52s ease, filter 0.52s ease, transform 0.68s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-gate.is-verifying .otp-box,
.access-gate.is-colliding .otp-box,
.access-gate.is-success .otp-box {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  margin: 0;
  opacity: 1;
  transform: none;
}

.access-gate.is-verifying .otp-box {
  animation: codeOrbitReturn 2.15s cubic-bezier(0.42, 0, 0.2, 1) forwards;
}

.access-gate.is-verifying .otp-box:nth-child(1) { --orbit-x: -36px; --orbit-y: -54px; --spin: -18deg; }
.access-gate.is-verifying .otp-box:nth-child(2) { --orbit-x: -10px; --orbit-y: -82px; --spin: 28deg; }
.access-gate.is-verifying .otp-box:nth-child(3) { --orbit-x: 48px; --orbit-y: -38px; --spin: -32deg; }
.access-gate.is-verifying .otp-box:nth-child(4) { --orbit-x: -48px; --orbit-y: 38px; --spin: 32deg; }
.access-gate.is-verifying .otp-box:nth-child(5) { --orbit-x: 10px; --orbit-y: 82px; --spin: -28deg; }
.access-gate.is-verifying .otp-box:nth-child(6) { --orbit-x: 36px; --orbit-y: 54px; --spin: 18deg; }

.access-gate.is-hiding-code .otp-grid {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(5px) scale(0.92);
}

.access-gate.is-hiding-code .otp-box,
.access-gate.is-success .otp-box {
  animation: none;
  transform: none;
}

.access-gate.is-verifying .access-morph {
  opacity: 0;
  transform: translateY(8px) scale(0.94);
}

.access-gate.is-success .access-morph {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.access-gate.is-success .access-morph-glass {
  transform: scale(1);
}

@keyframes codeOrbitReturn {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  18% {
    transform: translate(var(--orbit-x), var(--orbit-y)) rotate(var(--spin)) scale(1.04);
  }
  62% {
    transform: translate(calc(var(--orbit-x) * -0.62), calc(var(--orbit-y) * -0.62)) rotate(calc(var(--spin) + 330deg)) scale(1.02);
  }
  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

@media (max-width: 767px) {
  .access-gate.is-verifying .otp-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 250px;
  }

  .access-gate.is-verifying .otp-box:nth-child(1) { --orbit-x: -28px; --orbit-y: -42px; }
  .access-gate.is-verifying .otp-box:nth-child(2) { --orbit-x: 0px; --orbit-y: -60px; }
  .access-gate.is-verifying .otp-box:nth-child(3) { --orbit-x: 28px; --orbit-y: -42px; }
  .access-gate.is-verifying .otp-box:nth-child(4) { --orbit-x: -28px; --orbit-y: 42px; }
  .access-gate.is-verifying .otp-box:nth-child(5) { --orbit-x: 0px; --orbit-y: 60px; }
  .access-gate.is-verifying .otp-box:nth-child(6) { --orbit-x: 28px; --orbit-y: 42px; }
}

.footer-contact-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-contact-link:hover {
  color: var(--color-sand);
  opacity: 0.9;
}

