/* ============================================================================
   Dr. Babar's Dental & Implant Clinic — public website
   Blue brand, 3D depth: sculpted spheres, a tilted ring, a glossy tooth and a
   portrait panel that sits in perspective. All shapes are drawn here in code.
   ========================================================================== */

:root {
  --night:     #051B31;
  --navy:      #082B4C;
  --navy-2:    #0E4C86;
  --primary:   #1488D1;
  --primary-dk:#0B61A6;
  --primary-lt:#49B6F0;
  --sky:       #7FD4FB;
  --ink:       #102A44;
  --muted:     #566F87;
  --line:      #DCEAF6;
  --tint:      #E9F4FD;
  --tint-2:    #F5FAFE;
  --page:      #F1F8FD;
  --card:      #FFFFFF;
  --ok:        #17895A;
  --danger:    #C93545;
  --wa:        #1FAF57;

  --radius:    22px;
  --radius-sm: 13px;
  --shadow-1:  0 1px 2px rgba(8,43,76,.06), 0 3px 8px rgba(8,43,76,.06);
  --shadow-2:  0 10px 26px rgba(11,97,166,.12), 0 2px 6px rgba(8,43,76,.06);
  --shadow-3:  0 26px 56px rgba(11,97,166,.20), 0 8px 18px rgba(8,43,76,.08);

  --maxw:      1180px;
  --gutter:    clamp(16px, 4vw, 40px);
  --ease:      cubic-bezier(.16,.84,.24,1);

  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--sans);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--page);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
p, figure, dl, dd { margin: 0; }
svg:not(.art) { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---- browser surfaces ---- */
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--primary-lt); outline-offset: 3px; border-radius: 8px; }
html { scrollbar-color: #9CC9EA var(--tint); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--tint); }
::-webkit-scrollbar-thumb { background: #A9D0EE; border: 3px solid var(--tint); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
input, select, textarea { caret-color: var(--primary); accent-color: var(--primary); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section.band { background: var(--tint-2); border-block: 1px solid var(--line); }

/* ============================================================================
   BUTTONS — pressed-in-3D: lit top edge, shaded bottom, soft cast shadow
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: .94rem; letter-spacing: -0.01em;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn .i { width: 18px; height: 18px; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn.block { display: flex; width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #3DAEEB 0%, var(--primary) 48%, var(--primary-dk) 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.5), inset 0 -3px 6px rgba(5,40,80,.35), 0 10px 22px rgba(11,97,166,.34);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -3px 6px rgba(5,40,80,.35), 0 16px 30px rgba(11,97,166,.42); }
.btn-primary:active { transform: translateY(1px); box-shadow: inset 0 2px 6px rgba(5,40,80,.45), 0 4px 10px rgba(11,97,166,.3); }
.btn-ghost { background: var(--card); color: var(--primary-dk); border-color: var(--line); box-shadow: inset 0 -2px 4px rgba(8,43,76,.05), var(--shadow-1); }
.btn-ghost:hover { border-color: #B4D6F0; transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-white { background: linear-gradient(180deg, #fff, #E4F2FC); color: var(--navy); box-shadow: inset 0 1.5px 0 #fff, inset 0 -3px 6px rgba(8,43,76,.14), 0 12px 26px rgba(2,12,26,.4); }
.btn-white:hover { transform: translateY(-2px); }
.btn-white:active { transform: translateY(1px); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.07); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.6); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ============================================================================
   UTILITY BAR + HEADER
   ========================================================================== */
.utility { background: var(--night); color: #BBD6EC; font-size: .82rem; font-weight: 500; }
.util-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 5px; color: var(--sky); }
.util-right { display: flex; gap: 22px; }
.utility a { color: #fff; font-weight: 600; }
.utility a:hover { color: var(--sky); }

.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, #fff 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(8,43,76,.08); }
.bar { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--display); font-weight: 800; font-size: 1.16rem; color: var(--ink); letter-spacing: -0.03em; }
.brand-text small { font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-dk); margin-top: 4px; }
.nav { display: flex; gap: 2px; }
.nav a { font-weight: 600; font-size: .94rem; color: var(--muted); padding: 9px 14px; border-radius: 10px; transition: color .15s ease, background .15s ease; }
.nav a:hover { color: var(--primary-dk); background: var(--tint); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.staff { font-size: .9rem; padding: 10px 17px; }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--line); border-radius: 13px; color: var(--ink); box-shadow: var(--shadow-1); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.m-menu { display: none; }
.m-menu[hidden] { display: none !important; }

/* ============================================================================
   HERO — a deep-blue stage; objects float in front of it at different depths
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding-block: clamp(52px, 7vw, 92px) clamp(104px, 12vw, 156px);
  background:
    radial-gradient(820px 560px at 84% 20%, rgba(34,140,214,.75) 0%, transparent 62%),
    radial-gradient(640px 460px at -6% 104%, rgba(20,104,176,.6) 0%, transparent 62%),
    linear-gradient(160deg, #0B3560 0%, var(--navy) 52%, var(--night) 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; }
.blob-a { width: 420px; height: 420px; right: 4%; top: -120px; background: rgba(73,182,240,.34); }
.blob-b { width: 340px; height: 340px; left: -90px; bottom: -110px; background: rgba(20,136,209,.38); }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero-copy h1 { font-size: clamp(2.7rem, 6.4vw, 5.1rem); letter-spacing: -0.04em; text-shadow: 0 6px 30px rgba(2,12,26,.35); }
.hero-copy .grad { color: var(--sky); }
.lede { margin-top: 22px; font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: #D3E7F7; max-width: 54ch; }
.lede strong { color: #fff; font-weight: 600; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-primary { background: linear-gradient(180deg, #fff, #DCEEFB); color: var(--navy); box-shadow: inset 0 1.5px 0 #fff, inset 0 -3px 6px rgba(8,43,76,.16), 0 14px 30px rgba(2,12,26,.45); }
.hero .btn-primary:hover { box-shadow: inset 0 1.5px 0 #fff, inset 0 -3px 6px rgba(8,43,76,.16), 0 20px 38px rgba(2,12,26,.5); }
.hero .btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.34); box-shadow: none; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }

.trust { list-style: none; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.trust li {
  padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 24px rgba(2,12,26,.28);
}
.trust strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: #fff; letter-spacing: -0.02em; }
.trust span { display: block; font-size: .82rem; color: #BFDCF1; margin-top: 2px; }

/* the stage */
.hero-visual { position: relative; min-height: 548px; padding-bottom: 34px; display: grid; place-items: center; perspective: 1300px; --rx: 0deg; --ry: 0deg; }
.hero-visual::before {            /* back plate: gives the panel real thickness */
  content: ""; position: absolute; width: min(330px, 76%); aspect-ratio: 4 / 5; border-radius: 30px;
  background: linear-gradient(160deg, var(--primary-lt), var(--primary-dk));
  transform: rotateY(calc(-12deg + var(--ry))) rotateX(calc(5deg + var(--rx))) translate3d(30px, 26px, -60px);
  opacity: .6; box-shadow: 0 40px 60px rgba(2,12,26,.45);
  transition: transform .5s var(--ease);
}
.portrait-panel {
  position: relative; width: min(330px, 76%); aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden;
  background: #DCE8F2;
  transform: rotateY(calc(-12deg + var(--ry))) rotateX(calc(5deg + var(--rx)));
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), inset 0 0 0 6px rgba(255,255,255,.12), 0 44px 80px rgba(2,12,26,.6);
  transition: transform .5s var(--ease);
}
.portrait-panel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.portrait-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(255,255,255,.22) 0%, transparent 34%, rgba(5,27,49,.5) 100%); pointer-events: none; }
.tag-name {
  position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; padding: 12px 15px; border-radius: 17px;
  background: rgba(6,30,54,.74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16);
}
.tag-name strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1rem; color: #fff; letter-spacing: -0.02em; }
.tag-name span { display: block; font-size: .78rem; color: #BFE1F8; margin-top: 2px; }

/* sculpted objects */
/* his own logo, rendered in 3D, is the floating object */
.logo3d { position: absolute; z-index: 2; pointer-events: none; filter: drop-shadow(0 22px 24px rgba(2,12,26,.6)); }
.logo3d-a { width: 150px; left: -4%; top: 1%; rotate: -10deg; animation: bob-t 7s ease-in-out infinite; }
.logo3d-b { width: 96px; left: -3%; bottom: 2%; rotate: 14deg; animation: bob-t 8.5s ease-in-out -3s infinite; }
.ring {
  position: absolute; right: 4%; top: 3%; width: 118px; height: 118px; border-radius: 50%;
  border: 15px solid var(--primary-lt);
  box-shadow: inset 0 5px 7px rgba(255,255,255,.7), inset 0 -8px 12px rgba(4,30,60,.55), 0 5px 7px rgba(255,255,255,.35), 0 20px 26px rgba(2,12,26,.5);
  transform: rotateX(58deg) rotateZ(-20deg);
  animation: spin 16s linear infinite;
}
.floaty {
  position: absolute; right: 2%; bottom: 0; z-index: 3; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 17px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .86rem; color: var(--navy);
  background: linear-gradient(180deg, #fff, #E4F2FC);
  box-shadow: inset 0 1.5px 0 #fff, inset 0 -3px 6px rgba(8,43,76,.14), 0 18px 30px rgba(2,12,26,.45);
  animation: bob 6.5s ease-in-out -3s infinite;
}
.floaty svg { width: 18px; height: 18px; color: var(--primary); }

@keyframes bob   { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes bob-t { 0%,100% { translate: 0 0; scale: 1; } 50% { translate: 0 -14px; scale: 1.04; } }
@keyframes spin  { to { transform: rotateX(58deg) rotateZ(340deg); } }

/* the next section slides over the hero like a lifted sheet */
.hero + .section {
  margin-top: -52px; background: var(--page); z-index: 2;
  border-radius: 40px 40px 0 0; box-shadow: 0 -22px 44px rgba(2,12,26,.22);
}

/* ============================================================================
   SECTION HEADS
   ========================================================================== */
.sec-head { max-width: 60ch; margin-bottom: clamp(34px, 4.5vw, 56px); }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; max-width: 56ch; }

/* ============================================================================
   SERVICES — bento; cards lift toward you, icons are little 3D keys
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1400px; }
.svc {
  position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: inset 0 -3px 0 rgba(8,43,76,.03), var(--shadow-1);
  transition: transform .35s var(--ease), box-shadow .35s ease, border-color .25s ease;
}
.svc:hover { transform: translateY(-6px) rotateX(3deg); box-shadow: var(--shadow-3); border-color: #C4DFF4; }
.svc-ic {
  display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #fff;
  background: linear-gradient(160deg, #62C3F6 0%, var(--primary) 55%, var(--primary-dk) 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.5), inset 0 -5px 9px rgba(5,40,80,.38), 0 12px 20px rgba(11,97,166,.32);
  transform: rotate(-6deg); transition: transform .35s var(--ease);
}
.svc:hover .svc-ic { transform: rotate(0deg) translateY(-3px) scale(1.04); }
.svc-ic svg { width: 28px; height: 28px; }
.svc h3 { margin-top: 20px; font-size: 1.2rem; letter-spacing: -0.02em; }
.svc p { margin-top: 9px; color: var(--muted); font-size: .97rem; }

.svc.feature {
  grid-column: span 2; grid-row: span 2; color: #fff; border-color: transparent; padding: clamp(28px, 3.4vw, 44px);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px;
  background: radial-gradient(520px 380px at 96% 0%, rgba(73,182,240,.55) 0%, transparent 64%), linear-gradient(150deg, var(--navy-2), var(--navy) 62%, var(--night));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--shadow-3);
}
.svc.feature::before {            /* his 3D logo */
  content: ""; position: absolute; right: 18px; top: 14px; width: 250px; height: 250px;
  background: url("../img/logo-3d.png") center / contain no-repeat;
  filter: drop-shadow(0 28px 30px rgba(2,12,26,.6));
  transform: rotate(8deg); transition: transform .6s var(--ease);
}
.svc.feature::after {             /* ring orbiting it */
  content: ""; position: absolute; right: 250px; top: 150px; width: 84px; height: 84px; border-radius: 50%;
  border: 13px solid #8FD9FC;
  box-shadow: inset 0 4px 6px rgba(255,255,255,.75), inset 0 -7px 10px rgba(4,30,60,.5), 0 16px 22px rgba(2,12,26,.45);
  transform: rotateX(60deg) rotateZ(24deg); transition: transform .6s var(--ease);
}
.svc.feature:hover::before { transform: rotate(0deg) translateY(-8px) scale(1.06); }
.svc.feature:hover::after { transform: rotateX(60deg) rotateZ(84deg); }
.svc.feature > * { position: relative; z-index: 1; }
.svc.feature .svc-ic { background: linear-gradient(180deg, #fff, #DCEEFB); color: var(--primary-dk); box-shadow: inset 0 2px 0 #fff, inset 0 -5px 9px rgba(8,43,76,.18), 0 14px 22px rgba(2,12,26,.4); }
.svc.feature h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.03em; }
.svc.feature p { color: #CFE5F6; font-size: 1.04rem; max-width: 46ch; }
.svc-link {
  margin-top: 24px; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: .94rem; color: var(--navy);
  padding: 12px 20px; border-radius: 999px; background: linear-gradient(180deg, #fff, #DCEEFB);
  box-shadow: inset 0 1.5px 0 #fff, inset 0 -3px 6px rgba(8,43,76,.16), 0 12px 24px rgba(2,12,26,.4);
  transition: transform .2s var(--ease);
}
.svc-link::after, .foot-cta::after {
  content: ""; width: 7px; height: 7px; border-top: 2.2px solid currentColor; border-right: 2.2px solid currentColor;
  transform: rotate(45deg); transition: translate .2s var(--ease);
}
.svc-link:hover { transform: translateY(-2px); }
.svc-link:hover::after, .foot-cta:hover::after { translate: 3px 0; }

/* ============================================================================
   DOCTOR
   ========================================================================== */
.doctor-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.portrait { position: relative; max-width: 360px; width: 100%; justify-self: center; perspective: 1200px; }
.portrait::before {
  content: ""; position: absolute; inset: 0; border-radius: 30px;
  background: linear-gradient(160deg, var(--primary-lt), var(--primary-dk));
  transform: rotate(-6deg) translate(-12px, 10px); box-shadow: var(--shadow-3);
}
.portrait::after {
  content: ""; position: absolute; z-index: 2; left: -44px; bottom: -26px; width: 118px; height: 118px;
  background: url("../img/logo-3d.png") center / contain no-repeat;
  filter: drop-shadow(0 14px 16px rgba(8,43,76,.5)); transform: rotate(-10deg);
}
.portrait-photo {
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0%;
  border-radius: 30px; border: 6px solid #fff; box-shadow: var(--shadow-3); background: #DCE8F2;
}
.doctor-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.doctor-copy > p { margin-top: 18px; color: var(--muted); font-size: 1.07rem; max-width: 56ch; }
.creds { margin: 24px 0 30px; padding: 0; list-style: none; display: grid; gap: 13px; }
.creds li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.creds .i {
  flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; stroke-width: 3;
  background: linear-gradient(180deg, #35C489, var(--ok));
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.5), 0 6px 10px rgba(23,137,90,.3);
}

/* ============================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 12px; max-width: 840px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: inset 0 -3px 0 rgba(8,43,76,.03), var(--shadow-1); overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease; }
.faq details[open] { border-color: #BBDBF3; box-shadow: var(--shadow-2); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 22px; font-family: var(--display); font-weight: 700; font-size: 1.06rem; letter-spacing: -0.02em; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 12px 2.4px no-repeat,
    linear-gradient(#fff, #fff) center / 2.4px 12px no-repeat,
    linear-gradient(180deg, #3DAEEB, var(--primary-dk));
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.5), 0 6px 12px rgba(11,97,166,.3);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--primary-dk); }
.faq details p { padding: 0 22px 20px; color: var(--muted); max-width: 68ch; }

/* ============================================================================
   VISIT + BOOK
   ========================================================================== */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.visit-info h2, .book h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.info-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-ic {
  flex: none; display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; color: #fff;
  background: linear-gradient(160deg, #62C3F6 0%, var(--primary) 55%, var(--primary-dk) 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.5), inset 0 -4px 8px rgba(5,40,80,.36), 0 10px 18px rgba(11,97,166,.3);
}
.info-ic svg { width: 24px; height: 24px; }
.info-list dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.info-list dd { margin-top: 3px; font-weight: 600; font-size: 1.04rem; max-width: 34ch; }
.info-list a { color: var(--primary-dk); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #A9D0EE; text-decoration-thickness: 2px; }
.info-list a:hover { text-decoration-color: var(--primary); }
.fineprint { margin-top: 26px; color: var(--muted); font-size: .93rem; max-width: 46ch; }

.book { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.2vw, 38px); box-shadow: inset 0 -4px 0 rgba(8,43,76,.03), var(--shadow-3); }
.book-sub { margin-top: 8px; color: var(--muted); }
.form { margin-top: 24px; display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-weight: 600; font-size: .87rem; }
.field input, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--tint-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; box-shadow: inset 0 2px 4px rgba(8,43,76,.05);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field input::placeholder { color: #71869C; }
.field input:hover, .field select:hover { border-color: #B4D6F0; }
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(73,182,240,.22); }
.field input.bad { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(201,53,69,.13); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { min-height: 1.4em; font-size: .93rem; font-weight: 600; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--danger); }

/* ============================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center;
  padding-block: clamp(64px, 9vw, 108px);
  background: radial-gradient(700px 420px at 50% -10%, rgba(34,140,214,.7) 0%, transparent 66%), linear-gradient(160deg, #0B3560, var(--navy) 55%, var(--night));
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; z-index: -1;
  background: url("../img/logo-3d.png") center / contain no-repeat;
  filter: drop-shadow(0 24px 26px rgba(2,12,26,.6));
  animation: bob 7s ease-in-out infinite;
}
.cta-band::before { width: 170px; height: 170px; left: 6%; top: 16%; rotate: -12deg; }
.cta-band::after { width: 96px; height: 96px; right: 9%; bottom: 14%; rotate: 16deg; animation-delay: -3s; }
.cta-inner h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: -0.04em; }
.cta-inner p { margin: 16px auto 0; color: #D3E7F7; font-size: 1.1rem; max-width: 46ch; }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.foot { background: var(--night); color: #BBD6EC; padding-block: 56px 26px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; }
.foot-mark { flex: none; width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 15px; padding: 7px; box-shadow: 0 10px 20px rgba(0,0,0,.3); }
.foot-brand strong { font-family: var(--display); font-size: 1.12rem; color: #fff; letter-spacing: -0.02em; }
.foot-brand p { margin-top: 7px; font-size: .92rem; color: #A9C6DF; max-width: 44ch; }
.socials { margin-top: 16px; display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: transform .2s var(--ease), background .2s ease; }
.socials a:hover { background: var(--primary); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.foot-cols h3 { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8FB2D0; margin-bottom: 12px; }
.foot-cols a, .foot-cols p { display: block; font-size: .95rem; color: #D3E7F7; padding: 4px 0; }
.foot-cols a:hover { color: var(--sky); }
.foot-cols .foot-cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 8px; font-weight: 700; color: var(--sky); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 22px; font-size: .85rem; color: #8FB2D0; }

/* ---- floating WhatsApp ---- */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff;
  background: linear-gradient(180deg, #3BD377, var(--wa));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.45), inset 0 -4px 8px rgba(6,70,32,.4), 0 14px 26px rgba(15,110,54,.42);
  transition: transform .25s var(--ease);
}
.wa-fab:hover { transform: translateY(-4px) scale(1.05); }
.wa-fab svg { width: 28px; height: 28px; }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .logo3d, .ring, .floaty, .cta-band::before, .cta-band::after { animation: none; }
  .svc:hover { transform: none; }
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc.feature { grid-row: auto; min-height: 320px; }
}
@media (max-width: 900px) {
  .utility, .nav, .bar-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .bar { min-height: 66px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; margin-top: 8px; }
  .doctor-grid, .visit-grid, .foot-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 300px; }
  .m-menu:not([hidden]) { display: grid; gap: 4px; padding: 10px var(--gutter) 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); animation: drop .25s var(--ease); }
  .m-menu a { padding: 13px 10px; border-radius: 11px; font-weight: 600; color: var(--ink); }
  .m-menu a:not(.btn):hover { background: var(--tint); }
  .m-menu .btn { margin-top: 8px; color: #fff; }
  @keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .svc.feature { grid-column: auto; min-height: 340px; padding-top: 150px; }
  .svc.feature::before { width: 140px; height: 140px; right: 12px; top: 8px; }
  .svc.feature::after { right: 150px; top: 70px; width: 56px; height: 56px; border-width: 8px; }
  .row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .trust { gap: 8px; }
  .trust li { padding: 12px 10px; }
  .trust strong { font-size: .9rem; }
  .trust span { font-size: .74rem; }
  .hero-visual { min-height: 420px; }
  .ring { width: 88px; height: 88px; border-width: 11px; }
  .logo3d-a { width: 112px; left: -2%; }
  .logo3d-b { width: 74px; left: -1%; }
  .portrait::after { left: -26px; width: 96px; height: 96px; }
  .floaty { right: 0; font-size: .78rem; padding: 9px 13px; }
  .hero + .section { border-radius: 28px 28px 0 0; margin-top: -40px; }
  .foot-base { flex-direction: column; }
  .cta-band::before { width: 92px; height: 92px; left: -14px; top: 6%; }
  .cta-band::after { width: 70px; height: 70px; right: -8px; bottom: 5%; }
}
