/* =========================================================
   Happy Smile Clinic — Sections below the hero
   ========================================================= */
html { scroll-behavior: smooth; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }

/* ---------------- Shared headings ---------------- */

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head--center { max-width: 1040px; margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .sec-lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.sec-title {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 50px); font-weight: 700;
  line-height: 1.12; letter-spacing: -.02em;
  color: var(--blue);
}
.sec-title--xl { font-size: clamp(38px, 5.6vw, 80px); }
.sec-lead { margin: 18px 0 0; font-size: 17px; line-height: 1.7; color: var(--muted); }

/* ---------------- Scroll reveal ---------------- */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------------- Small buttons ---------------- */
.sbtn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 16px;
  border-radius: 999px;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  transition: background .25s, color .25s, transform .25s;
}
.sbtn svg { width: 18px; height: 18px; flex: none; transition: transform .35s ease; }
.sbtn:hover svg { transform: rotate(-12deg) scale(1.12); }

.sbtn--wa { background: #fff; color: var(--blue); }
.sbtn--wa svg { color: var(--wa); }
.sbtn--wa:hover { background: var(--wa); color: #fff; }
.sbtn--wa:hover svg { color: #fff; }
.sbtn--book { background: var(--cyan); color: #fff; }
.sbtn--book:hover { background: var(--blue-dark); color: #fff; }
.sbtn--light { background: #fff; color: var(--blue); }
.sbtn--light:hover { background: var(--blue); color: #fff; }

/* ---------------- Services ---------------- */
.services { background: #fff; }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.svc {
  display: flex; flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: var(--blue);
  border: 1.5px solid var(--blue);
  color: #fff;
  transition: opacity .8s, transform .8s, background .3s, color .3s;
}
.svc:not(.svc--cta):hover { background: #fff; }
.svc:not(.svc--cta):hover .svc__name { color: var(--blue); }
.svc:not(.svc--cta):hover .svc__seo { color: #1c1f24; }
.svc:not(.svc--cta):hover .sbtn--wa { background: var(--wa); color: #fff; }
.svc:not(.svc--cta):hover .sbtn--wa svg { color: #fff; }
.svc:not(.svc--cta):hover .sbtn--wa:hover { background: #1da851; }
.svc:not(.svc--cta):hover .sbtn--book { background: var(--blue); color: #fff; }
.svc:not(.svc--cta):hover .sbtn--book:hover { background: var(--blue-dark); }
.svc__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__body {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column;
  padding: 24px 22px 22px;
}
.svc__body::before { /* cyan accent line grows on hover */
  content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 3px;
  background: var(--cyan); border-radius: 0 0 3px 3px;
  transform: scaleX(.18); transform-origin: left;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.svc:hover .svc__body::before { transform: scaleX(1); }
.svc__name { transition: color .3s; margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.svc__seo { transition: color .3s; margin: 0 0 20px; flex: 1; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.svc__btns { display: grid; grid-template-columns: auto 1fr; gap: 10px; }

/* last tile: consultation CTA */
.svc--cta {
  justify-content: center;
  padding: clamp(28px, 3vw, 40px);
  background: linear-gradient(150deg, var(--cyan) 0%, var(--blue) 75%);
}
.svc-cta__icon {
  position: relative;
  width: 76px; height: 76px; margin-bottom: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff; color: var(--blue);
  font-size: 38px;
}
.svc-cta__title { margin: 0 0 10px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.2; }
.svc-cta__text { margin: 0 0 26px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .85); }


/* ---------------- About (SEO) ---------------- */
.about { background: var(--bg); overflow: hidden; }
.about__grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__media { position: relative; }
.about__frame { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; aspect-ratio: 929 / 887; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; z-index: 2; left: -18px; bottom: 34px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
}
.about__badge-ico {
  position: relative;
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--blue); color: #fff; font-size: 22px;
}
.about__badge strong { display: block; font-size: 16px; color: var(--blue); }
.about__badge small { display: block; font-size: 13px; color: var(--muted); }

.about__text p { margin: 20px 0 0; font-size: 16.5px; line-height: 1.75; color: var(--muted); }
.about__text p strong { color: var(--blue); }
.ticks {
  list-style: none; margin: 28px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px;
}
.ticks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--blue); }
.ticks svg {
  width: 26px; height: 26px; flex: none; padding: 5px;
  border-radius: 50%; background: var(--cyan); color: #fff;
}
.about__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* ---------------- Why choose us ---------------- */
.why {
  color: #fff; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(110deg, rgba(8, 47, 102, .94) 0%, rgba(13, 76, 161, .82) 42%, rgba(0, 120, 200, .55) 75%, rgba(0, 166, 224, .45) 100%),
    url("../images/happy-smile-reception.jpg") center / cover no-repeat;
}
@media (min-width: 1025px) and (hover: hover) {
  .why { background-attachment: scroll, fixed; } /* gentle parallax on desktop */
}
.why__grid { display: grid; grid-template-columns: .82fr 1.7fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.why__intro { position: sticky; top: 40px; }
.why .sec-title { color: #fff; }
.why__intro p { margin: 20px 0 32px; font-size: 16.5px; line-height: 1.75; color: #fff; }
.why__book { font-size: 15.5px; }

.why__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { /* frosted glass */
  padding: 30px 26px 32px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background .35s, border-color .35s, opacity .8s, transform .8s;
}
.feat:hover { background: linear-gradient(145deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .1)); border-color: rgba(255, 255, 255, .5); }
.feat h3 { margin: 22px 0 8px; font-size: 19px; font-weight: 700; line-height: 1.3; color: #fff; }
.feat p { margin: 0; font-size: 15px; line-height: 1.65; color: #fff; }

.feat__ico { width: 64px; height: 64px; display: grid; place-items: start; }
.feat__ico svg {
  width: 64px; height: 64px; overflow: visible;
  fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feat__ico svg * { transform-box: fill-box; }

/* 1 — tooth scan line */
.feat__ico--scan .scan-line { stroke: #fff; stroke-width: 2.4; opacity: .8; animation: scan 2.4s ease-in-out infinite; }
.feat.is-in .draw { stroke-dasharray: 160; animation: draw 1.8s ease forwards; }
@keyframes scan { 0%, 100% { transform: translateY(-14px); opacity: .3; } 50% { transform: translateY(14px); opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }

/* 2 — heartbeat */
.feat__ico--beat .heart { transform-origin: center; animation: beat 1.4s ease-in-out infinite; }
.feat__ico--beat .pulse { stroke: #fff; stroke-dasharray: 44; animation: trace 1.4s linear infinite; }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 28% { transform: scale(1.04); } }
@keyframes trace { from { stroke-dashoffset: 88; } to { stroke-dashoffset: 0; } }

/* 3 — swinging medal + twinkles */
.feat__ico--medal .medal { transform-origin: 50% 0; animation: swing 3s ease-in-out infinite; }
.feat__ico--medal .spark { stroke: #fff; transform-origin: center; animation: twinkle 1.8s ease-in-out infinite; }
.feat__ico--medal .spark--2 { animation-delay: .9s; }
@keyframes swing { 0%, 100% { transform: rotate(7deg); } 50% { transform: rotate(-7deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.4); opacity: 0; } 50% { transform: scale(1.1); opacity: 1; } }

/* 4 — flipping coin */
.feat__ico--coin .coin { transform-origin: center; animation: flip 3.2s ease-in-out infinite; }
@keyframes flip { 0%, 55%, 100% { transform: scaleX(1); } 65% { transform: scaleX(.05); } 75% { transform: scaleX(-1); } 85% { transform: scaleX(.05); } 95% { transform: scaleX(1); } }

/* 5 — calendar tick draws in */
.feat__ico--cal .tick { stroke: #fff; stroke-width: 2.8; stroke-dasharray: 24; animation: tick 2.6s ease-in-out infinite; }
@keyframes tick { 0%, 15% { stroke-dashoffset: 24; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 24; } }

/* 6 — family bounce */
.feat__ico--family g { animation: hop 2.4s ease-in-out infinite; }
.feat__ico--family .p2 { animation-delay: .2s; }
.feat__ico--family .p3 { animation-delay: .4s; stroke: #fff; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }

/* ---------------- Before / After ---------------- */
.results { background: var(--bg); }
.results .sec-head { margin-bottom: clamp(30px, 4vw, 48px); }
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 2320 / 1046;
  border-radius: 26px;
  overflow: hidden;
  user-select: none; -webkit-user-select: none;
  background: #e9edf2;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: clamp(14px, 2vw, 26px); z-index: 2;
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #fff;
  pointer-events: none;
}
.ba__tag--before { left: clamp(14px, 2vw, 26px); background: var(--blue); }
.ba__tag--after { right: clamp(14px, 2vw, 26px); background: var(--cyan); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 3px; margin-left: -1.5px;
  background: #fff;
  pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%;
  width: clamp(58px, 6vw, 76px); height: clamp(58px, 6vw, 76px);
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--blue); color: #fff;
  border: 3px solid #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  transition: transform .25s, background .25s;
}
.ba__knob::before, .ba__knob::after { /* little arrows */
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px;
  border: solid #fff; border-width: 0 0 2.5px 2.5px;
}
.ba__knob::before { left: -20px; transform: translateY(-50%) rotate(45deg); }
.ba__knob::after { right: -20px; transform: translateY(-50%) rotate(-135deg); }
.ba:hover .ba__knob, .ba.is-drag .ba__knob { background: var(--cyan); transform: translate(-50%, -50%) scale(1.08); }
.ba__range {
  position: absolute; inset: 0; z-index: 4;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.ba__range:focus-visible + * , .ba:focus-within .ba__knob { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---------------- Booking modal ---------------- */
.modal {
  width: min(900px, calc(100% - 32px));
  max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 0; background: transparent;
  overflow: visible;
}
.modal::backdrop { background: rgba(6, 30, 70, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] .modal__card { animation: pop .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.modal[open]::backdrop { animation: fade .3s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal__card {
  position: relative;
  display: grid; grid-template-columns: .9fr 1.3fr;
  max-height: calc(100dvh - 32px); overflow: auto;
  border-radius: 26px;
  background: #fff;
  color: var(--blue);
}
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #EEF3F9; color: var(--blue);
  transition: transform .3s, background .3s, color .3s;
}
.modal__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.modal__close:hover { transform: rotate(90deg); background: var(--blue); color: #fff; }

.modal__side {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 44px 34px;
  background: linear-gradient(160deg, var(--blue) 0%, #0a3a80 100%);
  color: #fff;
}
.modal__tooth {
  position: relative;
  width: 76px; height: 76px; margin-bottom: 26px;
  display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--blue); font-size: 38px;
}
.modal__side h3 { margin: 0 0 10px; font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.modal__side p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .8); }
.modal__info { list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(230, 231, 233, .2); display: grid; gap: 12px; }
.modal__info li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.modal__info svg { width: 18px; height: 18px; flex: none; color: #7fd8f7; }

.modal__form, .modal__done { padding: 44px 36px 36px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: var(--blue); }
.field__ctrl { position: relative; }
.field__ctrl > svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--cyan); pointer-events: none;
}
.field__ctrl > svg[viewBox] { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.field input, .field select {
  width: 100%; height: 52px;
  padding: 0 16px 0 46px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: #F7F9FC;
  font: 500 15px var(--font-body); color: var(--blue);
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #93a3ba; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(0, 166, 224, .14); }
.field input.is-invalid, .field select.is-invalid { border-color: #e5484d; }
.field__ctrl--select select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D4CA1' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { margin: 0 0 12px; font-size: 13.5px; font-weight: 600; color: #d63a40; }

.btn-book--submit { --h: 58px; width: 100%; justify-content: center; margin-top: 6px; font-size: 16px; }
.btn-book--submit .btn-book__icon { position: absolute; left: 7px; top: 7px; color: var(--wa); font-size: 22px; }

.modal__done { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.modal__done[hidden] { display: none; }
.modal__done h3 { margin: 22px 0 8px; font-size: 26px; font-weight: 700; }
.modal__done p { margin: 0 0 26px; max-width: 32ch; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.done__ico svg { width: 92px; height: 92px; fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done__ico circle { stroke-dasharray: 150; animation: draw-c .8s ease forwards; }
.done__ico path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw-p .5s .6s ease forwards; }
@keyframes draw-c { from { stroke-dashoffset: 150; } to { stroke-dashoffset: 0; } }
@keyframes draw-p { to { stroke-dashoffset: 0; } }
.modal__done .sbtn { min-width: 160px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1200px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__intro { position: static; max-width: 680px; }
  .why__list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }
  .why__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .modal__card { grid-template-columns: 1fr; }
  .modal__side { padding: 28px 24px 26px; }
  .modal__tooth { width: 58px; height: 58px; font-size: 28px; margin-bottom: 16px; }
  .modal__side h3 { font-size: 24px; padding-right: 40px; }
  .modal__info { display: none; }
  .modal__close { background: #fff; }
  .modal__form, .modal__done { padding: 26px 22px 24px; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc__body { padding: 22px 18px 18px; }
  .svc__btns { gap: 8px; }
  .sbtn { padding: 0 12px; gap: 6px; font-size: 13.5px; }
  .ticks { grid-template-columns: 1fr; }
  .about__badge { left: 12px; bottom: 16px; }
  .about__actions .cta { flex: 1 1 100%; }
  .why__list { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 4 / 3; border-radius: 20px; }
  .ba__tag { font-size: 12.5px; padding: 6px 12px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* =========================================================
   Doctor
   ========================================================= */
.doctor { background: #fff; }
.doctor__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.doctor__media { position: relative; }
.doctor__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 22% 30%;
  border-radius: 28px;
}

.doctor__role { margin: 10px 0 0; font-size: 18px; font-weight: 600; color: var(--cyan); }
.doctor__text > p:not(.doctor__role) { margin: 20px 0 0; font-size: 16.5px; line-height: 1.75; color: var(--muted); }

.focus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.focus__item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 16px;
  border: 1.5px solid var(--line); border-radius: 18px;
  transition: border-color .3s, background .3s;
}
.focus__item:hover { border-color: var(--cyan); background: #F5FBFE; }
.focus__ico {
  width: 44px; height: 44px; margin-bottom: 10px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--blue); color: #fff;
  transition: transform .4s;
}
.focus__item:hover .focus__ico { transform: rotate(-10deg) scale(1.06); }
.focus__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.focus__item strong { font-size: 15.5px; color: var(--blue); }
.focus__item small { font-size: 13px; line-height: 1.5; color: var(--muted); }

.cta--wa .cta__icon { background: var(--wa); }
.cta--wa .cta__icon::after { border-color: var(--wa); }
.cta--wa::before { background: var(--wa); }
.cta--wa:hover { border-color: var(--wa); }
.cta--wa:hover .cta__icon { color: var(--wa); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq__col { display: flex; flex-direction: column; gap: 16px; }
.faq__item {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s;
}
.faq__item:hover { border-color: rgba(0, 166, 224, .5); }
.faq__item.is-open { border-color: var(--blue); }
.faq__q { margin: 0; }
.faq__q button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 22px 22px 24px;
  text-align: left;
  font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--blue);
}
.faq__plus {
  position: relative; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: #EEF3F9;
  transition: background .3s, transform .4s;
}
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px;
  background: var(--blue);
  transition: transform .35s, background .3s;
}
.faq__plus::after { transform: rotate(90deg); }
.faq__item.is-open .faq__plus { background: var(--blue); transform: rotate(180deg); }
.faq__item.is-open .faq__plus::before,
.faq__item.is-open .faq__plus::after { background: #fff; }
.faq__item.is-open .faq__plus::after { transform: rotate(0deg); }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.2, .7, .2, 1);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  margin: 0 24px 22px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.7; color: var(--muted);
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: clamp(64px, 8vw, 96px);
  background: linear-gradient(165deg, #082f66 0%, var(--blue) 70%, #0b5bb8 100%);
  color: #fff;
}

.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(48px, 6vw, 72px) 0 clamp(36px, 4vw, 48px);
}
.footer__logo { width: 150px; height: auto; }
.footer__brand p { margin: 20px 0 0; max-width: 30ch; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.footer__col h3 { margin: 6px 0 20px; font-size: 17px; font-weight: 700; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin: 0 0 12px; }
.footer__col a { font-size: 15px; color: rgba(255, 255, 255, .8); transition: color .2s, padding .25s; }
.footer__col:not(.footer__contact) a:hover { color: var(--cyan); padding-left: 6px; }
.footer__contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.footer__contact a:hover { color: #fff; }
.footer__contact a:hover .ltr-num { color: var(--cyan); }
.footer__contact .ltr-num { font-size: 16.5px; font-weight: 700; color: #fff; transition: color .2s; }
.footer__contact small { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.footer__ico {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px;
}

.footer__map { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); }
.footer__map iframe { display: block; width: 100%; height: 300px; border: 0; }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap;
  margin-top: 36px; padding: 22px 0 28px;
  border-top: 1px solid rgba(230, 231, 233, .18);
  font-size: 14px; color: rgba(255, 255, 255, .7);
}
.footer__bottom p { margin: 0; }

/* responsive: doctor / faq / footer */
@media (max-width: 1024px) {
  .doctor__grid { grid-template-columns: 1fr; }
  .doctor__media { max-width: 520px; }
  .faq__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .focus { grid-template-columns: 1fr; }
  .focus__item { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; row-gap: 2px; align-items: center; }
  .focus__ico { grid-row: span 2; margin-bottom: 0; }
  .faq__q button { padding: 18px 16px 18px 18px; font-size: 16px; }
  .faq__a p { margin: 0 18px 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__map iframe { height: 240px; }
}

/* =========================================================
   Round 6 refinements
   ========================================================= */
:root { --blue-dark: #08356f; }

/* ---- About: photo fills the whole left half ---- */
@media (min-width: 1025px) {
  .about { padding: 0; }
  .about__grid { min-height: 680px; }
  .about__media { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; }
  .about__frame { height: 100%; aspect-ratio: auto; border-radius: 0; }
  .about__text { grid-column: 2; padding: clamp(72px, 8vw, 120px) 0; }
  .about__badge { left: auto; right: 32px; bottom: 32px; }
}
@media (max-width: 1024px) {
  .about { padding-top: 0; }
  .about__media { max-width: none; margin: 0 calc(-1 * var(--gutter)); }
  .about__frame { aspect-ratio: 3 / 2; border-radius: 0; }
  .about__badge { left: var(--gutter); bottom: 18px; }
}

/* ---- Doctor: shorter photo ---- */
.doctor__media img { height: auto; aspect-ratio: 1 / 1; object-position: 18% 22%; }

/* ---- Doctor focus cards: big bare animated icons, dark-blue hover ---- */
.focus__item { transition: border-color .3s, background .3s; }
.focus__ico { width: auto; height: auto; margin-bottom: 14px; background: none; color: var(--blue); place-items: start; }
.focus__ico svg { width: 46px; height: 46px; stroke-width: 1.4; }
.focus__item:hover .focus__ico { transform: none; color: #fff; }
.focus__item:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.focus__item:hover strong, .focus__item:hover small { color: #fff; }
.focus__item strong, .focus__item small { transition: color .3s; }
.focus__item:nth-child(1) .focus__ico svg { animation: tooth-bounce 2.4s ease-in-out infinite; }
.focus__item:nth-child(2) .focus__ico svg { animation: sparkle 2.8s ease-in-out infinite; }
.focus__item:nth-child(3) .focus__ico svg { animation: screw 2.6s ease-in-out infinite; }
@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.15) rotate(12deg); }
  60% { transform: scale(.95) rotate(-6deg); }
}
@keyframes screw {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(3px) rotate(-8deg); }
}
@media (max-width: 640px) {
  .focus__item { grid-template-columns: 52px 1fr; }
  .focus__ico { margin-bottom: 0; }
}

/* ---- FAQ: dark-blue hover ---- */
.faq__item { transition: border-color .3s, background .3s; }
.faq__q button, .faq__a p { transition: color .3s, border-color .3s; }
.faq__item:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.faq__item:hover .faq__q button { color: #fff; }
.faq__item:hover .faq__plus { background: rgba(255, 255, 255, .16); }
.faq__item:hover .faq__plus::before,
.faq__item:hover .faq__plus::after { background: #fff; }
.faq__item:hover .faq__a p { color: #fff; border-top-color: rgba(255, 255, 255, .2); }

/* ---- Book now: form left, photo right ---- */
.booking { background: #fff; }
.booking__card {
  display: grid; grid-template-columns: 1.05fr .95fr;
  border-radius: 28px; overflow: hidden;
}
.booking__panel {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 4vw, 56px);
  background: linear-gradient(150deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff;
}
.booking__title { margin: 0; font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.booking__lead { margin: 14px 0 28px; font-size: 16px; line-height: 1.7; color: #fff; }
.booking__form .field label { color: #fff; }
.booking__form .field input, .booking__form .field select { background-color: #fff; border-color: transparent; }
.booking__form .field input:focus, .booking__form .field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 166, 224, .35); }
.booking__form .form-error { color: #ffd0d2; }
.booking__form .btn-book--submit { margin-top: 10px; background: linear-gradient(110deg, var(--cyan) 0%, #23b5ea 50%, var(--cyan) 100%); background-size: 200% 100%; }

.booking__done { display: flex; flex-direction: column; align-items: flex-start; padding-top: 10px; }
.booking__done[hidden] { display: none; }
.booking__done .done__ico svg { stroke: #fff; }
.booking__done h3 { margin: 18px 0 8px; font-size: 26px; }
.booking__done p { margin: 0 0 24px; max-width: 36ch; font-size: 15.5px; line-height: 1.65; color: #fff; }

.booking__media { position: relative; min-height: 420px; }
.booking__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.booking__chips {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.booking__chip {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 10px;
  background: #fff; border-radius: 18px;
}
.booking__chip-ico {
  position: relative; width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--cyan); color: #fff; font-size: 20px;
}
.booking__chip-ico svg { animation: ring 2s ease-in-out infinite; }
.booking__chip small { display: block; font-size: 12.5px; color: var(--muted); }
.booking__chip strong { display: block; font-size: 17px; color: var(--blue); }
.booking__chip { transition: background .25s; }
.booking__chip:hover { background: #F1F5FA; }
.booking__chip--wa .booking__chip-ico { background: var(--wa); }
.booking__chip--wa .booking__chip-ico svg { animation: wobble 2.6s ease-in-out infinite; }

@media (max-width: 1024px) {
  .booking__card { grid-template-columns: 1fr; }
  .booking__media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .booking .container { padding: 0; }
  .booking__card { border-radius: 0; }
  .booking__chips { left: 12px; right: 12px; bottom: 12px; gap: 8px; }
  .booking__chip { padding: 8px 14px 8px 8px; gap: 10px; }
  .booking__chip-ico { width: 38px; height: 38px; font-size: 17px; }
  .booking__chip strong { font-size: 15px; }
}

/* ---- Footer: all-white text, bare icons ---- */
.footer__brand p,
.footer__col a,
.footer__contact small,
.footer__bottom { color: #fff; }
.footer__ico { width: 24px; height: 24px; margin-top: 1px; background: none; font-size: 22px; }
.footer__contact li { gap: 14px; }
.footer { padding-top: 0; }

/* ---- footer link arrows ---- */
.footer__col:not(.footer__contact) a { display: inline-flex; align-items: center; gap: 10px; }
.footer__col:not(.footer__contact) a::before {
  content: ""; width: 7px; height: 7px; flex: none;
  border: solid var(--cyan); border-width: 2px 2px 0 0;
  transform: rotate(45deg);
  transition: transform .25s, border-color .25s;
}
.footer__col:not(.footer__contact) a:hover::before { transform: translateX(3px) rotate(45deg); border-color: #fff; }

/* ---- doctor photo matches the text column height ---- */
@media (min-width: 1025px) {
  .doctor__grid { align-items: stretch; }
  .doctor__media img { height: 100%; min-height: 520px; aspect-ratio: auto; object-position: 18% 25%; }
  .doctor__text { align-self: center; }
}
@media (max-width: 1024px) {
  .doctor__media img { height: auto; aspect-ratio: 4 / 4.6; }
}

/* =========================================================
   Offers
   ========================================================= */
.offers { background: var(--bg); }

.poster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.poster {
  display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden;
  transition: border-color .3s, opacity .6s, transform .6s;
}
.poster:hover { border-color: var(--cyan); }
.poster img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.poster__btns { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px; }
.poster .sbtn--book { background: var(--blue); }
.poster .sbtn--book:hover { background: var(--blue-dark); }
.poster .sbtn--wa { background: var(--wa); color: #fff; }
.poster .sbtn--wa svg { color: #fff; }
.poster .sbtn--wa:hover { background: #1da851; }
.offers__sub { margin: clamp(36px, 4vw, 52px) 0 0; font-size: clamp(22px, 2vw, 28px); font-weight: 700; color: var(--blue); letter-spacing: -.01em; }

.offer__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: clamp(16px, 2vw, 24px); }
.offer {
  display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid var(--line); border-radius: 22px; overflow: hidden;
  transition: border-color .3s, opacity .6s, transform .6s;
}
.offer:hover { border-color: var(--cyan); }
.offer__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.offer__badge {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 12px; border-radius: 6px;
  background: var(--cyan); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.offer__body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 22px; }
.offer__title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--blue); }
.offer__sub { flex: 1; margin: 8px 0 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.offer .sbtn--book { background: var(--blue); }
.offer .sbtn--book:hover { background: var(--blue-dark); }
.offer__wa { background: var(--wa); color: #fff; }
.offer__wa svg { color: #fff; }
.offer__wa:hover { background: #1da851; }

.offers__terms { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

@media (max-width: 1024px) {
  .poster-grid { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer__btns .sbtn { flex: 1 1 0; }
  .poster-grid { grid-template-columns: 1fr; }
}

/* service card titles link to their pages */
.svc__name a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- offer posters: click to enlarge ---- */
.poster__zoom { position: relative; display: block; width: 100%; padding: 0; cursor: zoom-in; }
.poster__zoom img { display: block; }
.poster__zoom-ico {
  position: absolute; right: 12px; top: 12px;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(8, 53, 111, .85); color: #fff;
  transition: background .25s;
}
.poster__zoom:hover .poster__zoom-ico, .poster__zoom:focus-visible .poster__zoom-ico { background: var(--cyan); }
.poster__zoom-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(6, 20, 45, .94);
  overflow: hidden;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(6, 20, 45, .6); }
.lightbox__stage {
  width: min(960px, 94vw); max-height: 84vh; max-height: 84dvh;
  overflow: auto; border-radius: 14px; background: #fff;
  overscroll-behavior: contain;
}
.lightbox__img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.lightbox.is-zoomed .lightbox__img { width: 200%; max-width: none; cursor: zoom-out; }
.lightbox svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close {
  position: fixed; top: 16px; right: 16px; z-index: 2;
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--blue);
}
.lightbox__close:hover { background: var(--cyan); color: #fff; }
.lightbox__nav {
  position: fixed; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
}
.lightbox__nav:hover { background: var(--cyan); border-color: var(--cyan); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__hint { position: fixed; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .8); }
@media (max-width: 640px) {
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
  .lightbox__hint { bottom: 28px; }
}

/* footer opening hours */
.footer__hours { font-size: 16.5px; font-weight: 700; color: #fff; }

/* pricing & offers: eight posters, four per row */
.poster-grid { grid-template-columns: repeat(4, 1fr); }
.poster__btns .sbtn { padding: 0 12px; font-size: 13.5px; gap: 6px; }
@media (max-width: 1240px) { .poster-grid { grid-template-columns: repeat(3, 1fr); } }

/* footer credit */
.footer__credit a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); transition: text-decoration-color .2s; }
.footer__credit a:hover { text-decoration-color: #fff; }
@media (max-width: 1024px) { .poster-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .poster-grid { grid-template-columns: 1fr; } }

/* ---- pricing & offers cards: large poster, then price and features ---- */
.poster-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2.4vw, 32px); }
@media (max-width: 640px) { .poster-grid { grid-template-columns: 1fr; } }

.poster { border-radius: 24px; }
.poster__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.poster__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.poster__title { margin: 0; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; line-height: 1.2; color: #0b1f3a; }
.poster__price { margin: 0; white-space: nowrap; color: var(--blue); line-height: 1; }
.poster__price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.poster__price span { font-size: 15px; font-weight: 700; }
.poster__price strong { font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.poster__features { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.poster__features li { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; line-height: 1.4; color: #3a4f6e; }
.poster__features svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.poster .poster__btns { margin-top: 22px; padding: 0; grid-template-columns: 1fr 1fr; gap: 12px; }
.poster .poster__btns .sbtn { height: 50px; font-size: 15px; padding: 0 16px; }
.poster__more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 16px; font-size: 14.5px; font-weight: 700; color: var(--blue); }
.poster__more svg { width: 15px; height: 15px; transition: transform .25s; }
.poster__more:hover { color: var(--cyan); }
.poster__more:hover svg { transform: translateX(4px); }

@media (max-width: 640px) {
  .poster__body { padding: 20px 18px 20px; }
  .poster__features { grid-template-columns: 1fr; gap: 8px; }
  .poster .poster__btns .sbtn { height: 46px; font-size: 14px; padding: 0 10px; }
}

/* booking forms: hidden spam trap + links inside error message */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* reCAPTCHA: floating badge hidden, notice shown under each booking form instead (allowed by Google) */
.grecaptcha-badge { visibility: hidden !important; }
.form-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.booking__form .form-note { color: rgba(255, 255, 255, .75); }

/* footer social links */
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); color: #fff;
  transition: background .25s, color .25s, border-color .25s;
}
.footer__social svg { width: 18px; height: 18px; }
.footer__social a:hover { background: #fff; border-color: #fff; color: var(--blue); }

/* footer social icons in their brand colours */
.footer__social a { border: 2px solid rgba(255, 255, 255, .9); }
.footer__social svg { width: 20px; height: 20px; }
.footer__social .footer__social--fb { background: #1877F2; color: #fff; }
.footer__social .footer__social--tt { background: #000; color: #fff; }
.footer__social .footer__social--tt svg { filter: drop-shadow(-1.2px -1.2px 0 #25F4EE) drop-shadow(1.2px 1.2px 0 #FE2C55); }
.footer__social a:hover { transform: translateY(-2px); border-color: #fff; }
.footer__social .footer__social--fb:hover { background: #1877F2; color: #fff; }
.footer__social .footer__social--tt:hover { background: #000; color: #fff; }
.footer__social a { transition: transform .25s, border-color .25s; }
.social-link__ico--tt svg { filter: drop-shadow(-1.2px -1.2px 0 #25F4EE) drop-shadow(1.2px 1.2px 0 #FE2C55); }
