/* ==========================================================================
   Sharanya Dental landing page
   Colours: BRAND_GUIDELINES.md (Elementor global kit of sharanyadental.com)
   Fonts:   Manrope (headings) + Google Sans (body), matching rct.lp.ajsdentalclinic.com
   ========================================================================== */

:root {
  /* Brand palette [extracted] */
  --navy: #235784;
  --sky: #40A8C4;
  --cyan: #75DCF8;
  --text: #696969;
  --ice: #EEF6F7;
  --bg: #FDFDFD;
  --border: #D2E3F1;
  --white: #FFFFFF;
  --wa: #25D366; /* WhatsApp brand green, used only on the WhatsApp button */

  /* Derived tints of the brand navy (transparency only, no new hues) */
  --navy-90: rgba(35, 87, 132, .9);
  --navy-60: rgba(35, 87, 132, .6);
  --navy-08: rgba(35, 87, 132, .08);
  --line-dark: rgba(253, 253, 253, .14);

  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Google Sans", "Google Sans Text", "Product Sans", Poppins, system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 20px;
  --shadow: 0 10px 10px 0 rgba(0, 0, 0, .1);
  --shadow-offset: 5px 10px 10px 0 rgba(0, 0, 0, .1);
  --shadow-soft: 0 0 5px 0 rgba(0, 0, 0, .1);
  --shadow-lift: 0 18px 34px -12px rgba(35, 87, 132, .28);

  --container: 1240px;
  --gutter: 24px;
  --section-y: 104px;
  --header-h: 84px;
  --logo-h: 56px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 1024px) {
  :root { --section-y: 80px; --logo-h: 50px; --header-h: 76px; }
}
@media (max-width: 767px) {
  :root { --section-y: 64px; --gutter: 20px; --logo-h: 44px; --header-h: 68px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0; line-height: 1.16; letter-spacing: -.022em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg.i { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.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; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--ice { background: var(--ice); }
.hl { color: var(--sky); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sky);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }

.h2 { font-size: clamp(1.5rem, 1.2rem + 1.35vw, 2.15rem); letter-spacing: -.026em; }
.lead { font-size: 1rem; line-height: 1.8; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--sky); --btn-fg: var(--bg); --btn-bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--font-body); font-size: .94rem; font-weight: 600; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s, border-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover, var(--navy));
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: var(--btn-hover-fg, var(--bg)); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .i-arrow { transform: translateX(4px); }

.btn--navy { --btn-bg: var(--navy); --btn-hover: var(--sky); }
.btn--light { --btn-bg: var(--bg); --btn-fg: var(--navy); --btn-bd: var(--border); --btn-hover: var(--navy); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--bg); --btn-bd: rgba(253,253,253,.55); --btn-hover: var(--bg); --btn-hover-fg: var(--navy); }
.btn--block { width: 100%; }
.btn--sm { min-height: 46px; padding: 10px 20px; font-size: .94rem; }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: var(--radius); border: 1px solid var(--border); color: var(--navy); background: var(--bg);
  transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s;
}
.icon-btn:hover { background: var(--navy); color: var(--bg); border-color: var(--navy); transform: translateY(-2px); }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(117, 220, 248, .35), transparent 60%),
    linear-gradient(135deg, var(--ice), var(--border));
  color: var(--navy); border-radius: var(--radius-lg);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(35,87,132,.05) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.ph__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; padding: 20px; max-width: 320px; }
.ph__icon { width: 44px; height: 44px; opacity: .55; }
.ph__label { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; line-height: 1.45; opacity: .75; }
.ph__size { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: .5; }
.ph--dark { background: linear-gradient(160deg, #2c6597, var(--navy)); color: var(--bg); }
.ph--dark::after { background-image: repeating-linear-gradient(135deg, rgba(253,253,253,.05) 0 2px, transparent 2px 14px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 253, 253, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(35, 87, 132, .45); border-color: var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: calc(var(--header-h) - 1px); }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { height: var(--logo-h); width: auto; transition: transform .4s var(--ease); }
.brand-logo:hover img { transform: scale(1.04); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: var(--ice); overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
}
.hero__media { position: absolute; inset: 0 0 0 38%; z-index: -2; border-radius: 0; }
.hero__media .ph__inner { position: absolute; left: 4%; bottom: 18px; flex-direction: row; display: flex; align-items: center; gap: 10px; max-width: none; padding: 0; }
.hero__media .ph__icon { width: 22px; height: 22px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy) 34%, rgba(35,87,132,.86) 52%, rgba(35,87,132,.35) 100%),
    radial-gradient(60% 70% at 0% 100%, rgba(64,168,196,.35), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, 460px); gap: 56px; align-items: center; padding-block: 64px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(253,253,253,.08); border: 1px solid rgba(253,253,253,.16);
  font-size: .88rem; font-weight: 500; color: var(--ice);
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(117,220,248,.6); animation: dotPulse 2s infinite; }
.hero h1 { color: var(--bg); font-size: clamp(2.05rem, 1.5rem + 2.3vw, 3.15rem); line-height: 1.1; letter-spacing: -.032em; }
.hero h1 .hl { color: var(--cyan); }
.hero__sub { margin-top: 26px; max-width: 44ch; font-size: clamp(1rem, .96rem + .3vw, 1.12rem); line-height: 1.75; color: var(--ice); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero__ctas .btn { min-height: 58px; padding-inline: 30px; font-size: 1rem; }
.hero__media-m { display: none; }
/* desktop: copy starts level with the top of the form; the form stays centred */
@media (min-width: 900px) { .hero__copy { align-self: start; padding-top: 4px; } }

/* ---------- Form card ---------- */
.form-card {
  background: var(--bg); color: var(--text);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .35);
}
.form-card h2, .form-card .form-title { font-size: 1.22rem; font-weight: 800; letter-spacing: -.024em; }
.form-card__sub { margin-top: 4px; font-size: .88rem; line-height: 1.5; }
.lead-form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .95rem; font-weight: 400; line-height: 1.75; color: var(--navy); }
.field label .req { color: var(--sky); }
.field input, .field select {
  width: 100%; height: 54px; padding: 0 16px;
  font-size: 16px; color: var(--navy);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23235784' stroke-width='2' stroke-linecap='round' stroke-linejoin='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: 18px; padding-right: 44px;
}
.field select:invalid { color: #8a8a8a; }
.field input::placeholder { color: #8a8a8a; }
.field input:hover, .field select:hover { border-color: var(--sky); }
.field input:focus, .field select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(64, 168, 196, .18); }
.field.has-error input, .field.has-error select { border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192, 57, 43, .1); }
.field__error { display: none; font-size: 13px; color: #C0392B; }
.field.has-error .field__error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form .btn { min-height: 56px; margin-top: 6px; font-size: .8rem; letter-spacing: .11em; text-transform: uppercase; }
.consent { font-size: .78rem; line-height: 1.55; color: var(--text); }
.consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: .79rem; text-align: center; color: var(--text); }
.form-success { display: none; text-align: center; padding: 8px 0 4px; }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--navy); }
.form-success__icon .i { width: 30px; height: 30px; stroke-width: 2.5; }
.form-success h3 { font-size: 22px; }
.form-success p { margin-top: 8px; }
.is-sent .lead-form, .is-sent .form-head { display: none; }
.is-sent .form-success { display: block; animation: fadeUp .6s var(--ease) both; }

/* ---------- Problem ---------- */
.problem__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.problem__media { position: relative; }
.problem__media .ph { aspect-ratio: 5 / 5.4; }
.media-card {
  position: absolute; right: -28px; bottom: 32px; max-width: 290px;
  padding: 22px 24px; border-radius: var(--radius-lg);
  background: var(--navy); color: var(--ice); box-shadow: var(--shadow-offset);
}
.media-card h3 { color: var(--bg); font-size: 15px; margin-bottom: 6px; }
.media-card p { font-size: .82rem; line-height: 1.6; }
.problem__copy .h2 { margin-bottom: 20px; }
.points { display: grid; gap: 12px; margin-top: 28px; }
.points li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border); color: var(--navy); font-size: .94rem; line-height: 1.75; font-weight: 400;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.points li:hover { transform: translateX(6px); border-color: var(--sky); box-shadow: var(--shadow-soft); }
.points .x { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--navy); }
.points .x .i { width: 14px; height: 14px; stroke-width: 2.6; }

/* ---------- Why ---------- */
.why__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.why__title { font-size: 1.75rem; letter-spacing: -.026em; display: inline-flex; align-items: center; gap: 14px; }
.why__title::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--sky); transform: rotate(45deg); }
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: transparent; }
.why-card .ph { aspect-ratio: 16 / 10; border-radius: 0; transition: transform .8s var(--ease); }
.why-card__media { overflow: hidden; }
.why-card:hover .ph { transform: scale(1.05); }
.why-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 32px 30px 30px; }
.why-card { position: relative; }
.why-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--navy), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.why-card:hover::before { transform: scaleX(1); }
.why-card__num { display: inline-grid; place-items: center; align-self: flex-start; min-width: 56px; height: 32px; padding: 0 10px; border-radius: 8px; background: var(--ice); }
.why-card__num { font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: var(--sky); }
.why-card h3 { font-size: clamp(1.24rem, 1rem + 1vw, 1.6rem); }
.why-card p { font-size: .95rem; line-height: 1.75; flex: 1; }
.tag {
  align-self: flex-start; margin-top: 6px;
  padding: 6px 12px; border-radius: 6px;
  background: var(--ice); color: var(--navy);
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- Mid CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--ice); border-radius: 28px; padding: 64px; isolation: isolate; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px); }
.cta-band::before { width: 420px; height: 420px; right: -120px; top: -180px; background: radial-gradient(circle, rgba(64,168,196,.5), transparent 70%); animation: floatBlob 12s ease-in-out infinite; }
.cta-band::after { width: 300px; height: 300px; left: -100px; bottom: -160px; background: radial-gradient(circle, rgba(117,220,248,.25), transparent 70%); animation: floatBlob 14s ease-in-out infinite reverse; }
.cta-band__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; align-items: center; }
.cta-band .eyebrow { color: var(--cyan); }
.cta-band h2 { color: var(--bg); font-size: clamp(1.16rem, 1rem + .6vw, 1.4rem); margin-top: 12px; }
.cta-band p { margin-top: 12px; max-width: 640px; font-size: .94rem; line-height: 1.72; }

/* ---------- How it works ---------- */
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; }
.how__media .ph { aspect-ratio: 5 / 4.7; }
.how__copy .h2 { max-width: 24ch; font-size: clamp(1.12rem, .95rem + .68vw, 1.5rem); }
.steps { position: relative; display: grid; gap: 26px; margin: 34px 0 36px; }
.steps::before { content: ""; position: absolute; left: 21px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--border), var(--sky), var(--border)); }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--sky); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.step:hover .step__num { background: var(--navy); border-color: var(--navy); color: var(--bg); transform: scale(1.08); }
.step h3 { font-size: 1.2rem; margin-top: 8px; }
.step p { margin-top: 6px; font-size: .95rem; line-height: 1.72; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro p { margin-top: 14px; font-size: 1.05rem; line-height: 1.75; }
.faq__intro .btn { margin-top: 28px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); transition: border-color .3s, box-shadow .3s; }
.faq-item:hover { border-color: var(--sky); }
.faq-item.is-open { border-color: var(--sky); box-shadow: var(--shadow-soft); }
.faq-q {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  width: 100%; padding: 20px 22px; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: clamp(1.06rem, .9rem + .6vw, 1.32rem); font-weight: 500; line-height: 1.32; letter-spacing: -.01em; color: var(--navy);
}
.faq-q__num { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .76rem; font-weight: 400; color: var(--sky); letter-spacing: .06em; }
.faq-q__icon { position: relative; width: 32px; height: 32px; border-radius: 8px; background: var(--ice); transition: background .3s, transform .4s var(--ease); }
.faq-q__icon::before, .faq-q__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease), background .3s; }
.faq-q__icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q__icon { background: var(--navy); transform: rotate(180deg); }
.faq-item.is-open .faq-q__icon::before, .faq-item.is-open .faq-q__icon::after { background: var(--bg); }
.faq-item.is-open .faq-q__icon::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 22px 62px; font-size: .95rem; line-height: 1.8; }

/* ---------- Booking ---------- */
.booking__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.booking__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: stretch; }
.map-card { position: relative; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ice); box-shadow: var(--shadow); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-card__bar {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 14px 14px 18px; border-radius: var(--radius);
  background: rgba(253, 253, 253, .96); box-shadow: var(--shadow);
}
.map-card__bar strong { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); color: var(--navy); font-size: 16px; }
.map-card__bar .i { color: var(--sky); }
.booking .form-card { box-shadow: var(--shadow); border: 1px solid var(--border); }

/* ---------- Final CTA band ---------- */
.final-cta { padding-block: 0 var(--section-y); }
.final-cta__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px;
  padding: 40px; border-radius: 28px;
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(117,220,248,.35), transparent 60%),
    var(--ice);
  border: 1px solid var(--border);
}

/* ---------- Footer (structure follows lp.tdmpoonamallee.in) ---------- */
.site-footer { background: var(--navy); color: var(--bg); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; }
.footer-logo { display: inline-block; }
.footer-logo img { height: var(--logo-h); width: auto; transition: transform .4s var(--ease); }
.footer-logo:hover img { transform: scale(1.04); }
.footer-brand p { margin-top: 22px; max-width: 460px; font-size: .93rem; line-height: 1.75; color: rgba(253, 253, 253, .8); }
.footer-label { font-size: .72rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.footer-links { display: grid; gap: 6px; font-style: normal; }
.footer-links a, .footer-links span.row { display: inline-flex; align-items: flex-start; gap: 12px; padding: 9px 0; color: rgba(253, 253, 253, .9); font-size: .93rem; line-height: 1.7; transition: color .25s, transform .3s var(--ease); }
.footer-links a[href^="tel"] { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; color: var(--bg); }
.footer-links a:hover { color: var(--cyan); transform: translateX(4px); }
.footer-links .i { width: 18px; height: 18px; margin-top: 3px; color: var(--cyan); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: .84rem; color: rgba(253, 253, 253, .66);
}
.footer-bottom a { color: rgba(253, 253, 253, .85); transition: color .25s; }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- Floating call / WhatsApp ---------- */
.float-btn {
  position: fixed; bottom: 24px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .4s, translate .4s var(--ease);
  animation: floatIn .7s var(--ease) .6s backwards;
}
.float-btn .i { width: 26px; height: 26px; }
.float-btn svg.wa { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.float-btn::before, .float-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; z-index: -1; opacity: .5; animation: ring 2.4s var(--ease) infinite;
}
.float-btn::after { animation-delay: 1.2s; }
.float-btn:hover { transform: scale(1.08); box-shadow: 0 16px 30px -8px rgba(0, 0, 0, .4); }
.float-btn--call { left: 24px; background: var(--sky); }
.float-btn--call .i { animation: wiggle 3.2s ease-in-out infinite; }
.float-btn--wa { right: 24px; background: var(--wa); }
.float-btn__tip {
  position: absolute; bottom: calc(100% + 10px); white-space: nowrap;
  padding: 6px 10px; border-radius: 6px; background: var(--navy); color: var(--bg);
  font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.float-btn--call .float-btn__tip { left: 0; }
.float-btn--wa .float-btn__tip { right: 0; }
.float-btn:hover .float-btn__tip { opacity: 1; transform: translateY(0); }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta { display: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--zoom { transform: scale(.96); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(117,220,248,.6); } 70% { box-shadow: 0 0 0 10px rgba(117,220,248,0); } 100% { box-shadow: 0 0 0 0 rgba(117,220,248,0); } }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(6deg); } }
@keyframes floatIn { from { opacity: 0; transform: translateY(24px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes floatBlob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 24px); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: heroIn .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .1s; }
.hero__copy > :nth-child(3) { animation-delay: .2s; }
.hero__copy > :nth-child(4) { animation-delay: .3s; }
.hero__copy > :nth-child(5) { animation-delay: .4s; }
.hero__form { animation: heroIn 1s var(--ease) .35s both; }

/* ==========================================================================
   Tablet (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); gap: 40px; padding-block: 56px; }
  .hero__grid .form-card { padding: 30px; }
  .problem__grid, .how__grid { grid-template-columns: 1fr; gap: 48px; }
  .problem__media, .how__media { max-width: 620px; }
  .problem__media .ph, .how__media .ph { aspect-ratio: 16 / 11; }
  .media-card { right: 20px; bottom: 20px; }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { padding: 48px; }
  .cta-band__grid { grid-template-columns: 1fr; gap: 28px; }
  .faq__grid { grid-template-columns: 1fr; gap: 36px; }
  .faq__intro { position: static; }
  .booking__grid { grid-template-columns: 1fr; }
  .map-card { min-height: 380px; }
}

/* ==========================================================================
   Tablet portrait (<= 899px): hero copy + image fill the first screen
   (layout follows lp.thedetailingmafiavarthur.com mobile hero)
   ========================================================================== */
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; }
  .hero__media { display: none; }
  .hero::before { background: radial-gradient(90% 50% at 0% 0%, rgba(64,168,196,.28), transparent 70%); }
  .hero__grid { grid-template-columns: 1fr; gap: 0; padding-block: 0; }
  .hero__copy {
    display: flex; flex-direction: column; align-items: flex-start;
    min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
    padding-top: 44px;
  }
  .hero__media-m {
    display: grid; position: relative; flex: 1 1 auto; align-self: stretch;
    min-height: 220px; margin: 36px calc(var(--gutter) * -1) 0; border-radius: 0;
  }
  .hero__media-m::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 42%; z-index: 2;
    background: linear-gradient(180deg, var(--navy), rgba(35,87,132,0));
  }
  .hero__form { max-width: none; margin: 0 calc(var(--gutter) * -1); padding: 44px var(--gutter) 52px; background: var(--ice); }
  .hero__form .form-card { max-width: 560px; margin-inline: auto; box-shadow: var(--shadow); }
}

/* ==========================================================================
   Mobile (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
  body { padding-bottom: 84px; } /* room for sticky CTA bar */
  .reveal--left, .reveal--right { transform: translateY(28px); }
  .site-header__inner { justify-content: center; }
  .site-header__actions { display: none; }

  /* Hero: follows lp.thedetailingmafiavarthur.com mobile layout */
  .hero__copy {
    min-height: calc(100vh - var(--header-h) - 76px); min-height: calc(100svh - var(--header-h) - 76px);
    padding-top: 26px;
  }
  .hero__pill { margin-bottom: 18px; }
  .hero__sub { margin-top: 16px; }
  .hero__ctas { flex-direction: column; align-self: stretch; gap: 12px; margin-top: 26px; }
  .hero__ctas .btn { width: 100%; border-radius: 999px; min-height: 56px; }
  .hero__media-m { margin-top: 24px; min-height: 110px; }
  .hero__form { padding: 28px var(--gutter) 40px; }
  .form-card { padding: 24px 20px; }

  .problem__grid, .how__grid { gap: 36px; }
  .problem__media .ph, .how__media .ph { aspect-ratio: 4 / 3.4; }
  .media-card { position: relative; right: auto; bottom: auto; max-width: none; margin: -48px 16px 0; }
  .points li { padding: 12px 14px; }
  .why__head { margin-bottom: 32px; }
  .why__grid { grid-template-columns: 1fr; gap: 18px; }
  .why-card .ph { aspect-ratio: 16 / 8; }
  .cta-band { padding: 36px 24px; border-radius: 22px; }
  .cta-band .btn { width: 100%; }
  .steps::before { left: 19px; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .step__num { width: 40px; height: 40px; }
  .how__copy .btn, .faq__intro .btn { width: 100%; }
  .faq-q { padding: 16px; gap: 12px; }
  .faq-a p { padding: 0 16px 18px; }
  .map-card { min-height: 320px; }
  .map-card__bar { flex-direction: column; align-items: stretch; }
  .final-cta__inner { padding: 28px 20px; border-radius: 22px; }
  .final-cta__inner .btn { width: 100%; }

  .site-footer { padding-top: 56px; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 36px; }

  .float-btn { bottom: 98px; width: 54px; height: 54px; }
  .float-btn--call { left: 16px; }
  .float-btn--wa { right: 16px; }
  .float-btn__tip { display: none; }

  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    background: rgba(253, 253, 253, .96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 -10px 30px -12px rgba(35, 87, 132, .35);
    animation: slideUp .6s var(--ease) .4s both;
  }
  .mobile-cta .btn { min-height: 52px; padding: 10px 12px; font-size: .93rem; border-radius: 999px; }
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 340px) {
  .hero h1 { font-size: 1.85rem; letter-spacing: -.03em; }
  .mobile-cta .btn { font-size: 14.5px; gap: 6px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.btn--wa { --btn-bg: var(--wa); --btn-fg: var(--white); --btn-hover: var(--navy); }
.btn svg.wa-i { fill: currentColor; stroke: none; }

.ty-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  padding-block: 48px;
  background:
    radial-gradient(60% 70% at 0% 100%, rgba(64,168,196,.35), transparent 70%),
    radial-gradient(50% 60% at 100% 0%, rgba(117,220,248,.18), transparent 70%),
    var(--navy);
}
.ty-hero::before, .ty-hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.ty-hero::before { width: 520px; height: 520px; right: -160px; bottom: -220px; background: radial-gradient(circle, rgba(64,168,196,.45), transparent 70%); animation: floatBlob 12s ease-in-out infinite; }
.ty-hero::after { width: 360px; height: 360px; left: -120px; top: -140px; background: radial-gradient(circle, rgba(117,220,248,.22), transparent 70%); animation: floatBlob 14s ease-in-out infinite reverse; }

.ty-card {
  max-width: 680px; margin-inline: auto; text-align: center;
  padding: 52px 48px 40px; border-radius: 28px;
  background: var(--bg); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .35);
  animation: heroIn .9s var(--ease) both;
}
.ty-check { width: 88px; height: 88px; margin: 0 auto 22px; }
.ty-check svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ty-check__ring { stroke: var(--sky); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: tyDraw .8s var(--ease) .3s forwards; fill: var(--ice); }
.ty-check__tick { stroke: var(--navy); stroke-width: 3.5; stroke-dasharray: 36; stroke-dashoffset: 36; animation: tyDraw .45s var(--ease) 1s forwards; }
.ty-check { animation: tyPop .5s var(--ease) 1.3s both; }
@keyframes tyDraw { to { stroke-dashoffset: 0; } }
@keyframes tyPop { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }

.ty-card h1 { margin-top: 14px; font-size: clamp(2.05rem, 1.5rem + 2.3vw, 3.15rem); line-height: 1.1; letter-spacing: -.032em; }
.ty-lead { margin-top: 16px; font-size: clamp(1rem, .96rem + .3vw, 1.12rem); line-height: 1.75; color: var(--navy); }
.ty-sub { margin-top: 4px; font-size: .95rem; }
.ty-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.ty-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--ice); border: 1px solid var(--border);
  font-size: .88rem; line-height: 1.4; color: var(--navy);
}
.ty-chip .i { width: 16px; height: 16px; color: var(--sky); }
.ty-chip[hidden] { display: none; }
.ty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.ty-back {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  font-size: .9rem; font-weight: 500; color: var(--text);
  transition: color .25s;
}
.ty-back .i { width: 16px; height: 16px; transform: rotate(180deg); transition: transform .35s var(--ease); }
.ty-back:hover { color: var(--navy); }
.ty-back:hover .i { transform: rotate(180deg) translateX(4px); }

.ty-next__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.ty-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.ty-step {
  position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid var(--border);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.ty-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: transparent; }
.ty-step__num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--sky); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  transition: background .35s, color .35s, border-color .35s;
}
.ty-step:hover .ty-step__num { background: var(--navy); border-color: var(--navy); color: var(--bg); }
.ty-step h3 { margin-top: 18px; font-size: 1.2rem; }
.ty-step p { margin-top: 8px; font-size: .95rem; line-height: 1.72; }

@media (max-width: 1024px) {
  .ty-steps { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
@media (max-width: 767px) {
  .ty-hero { min-height: calc(100vh - var(--header-h) - 76px); min-height: calc(100svh - var(--header-h) - 76px); padding-block: 24px; }
  .ty-card { padding: 36px 22px 28px; border-radius: 22px; }
  .ty-check { width: 72px; height: 72px; margin-bottom: 16px; }
  .ty-actions { flex-direction: column; }
  .ty-actions .btn { width: 100%; }
  .ty-meta { flex-direction: column; align-items: center; gap: 8px; }
  .ty-step { padding: 26px 22px; }
}

.float-btn.is-hidden { opacity: 0; pointer-events: none; translate: 0 16px; }

@media (max-width: 767px) and (max-height: 760px) {
  .ty-card { padding: 26px 20px 22px; }
  .ty-check { width: 56px; height: 56px; margin-bottom: 10px; }
  .ty-card h1 { margin-top: 10px; font-size: 1.85rem; }
  .ty-lead { margin-top: 10px; font-size: .98rem; line-height: 1.6; }
  .ty-meta { margin-top: 14px; }
  .ty-actions { margin-top: 18px; }
  .ty-back { margin-top: 14px; }
}
.ty-card .eyebrow { justify-content: center; text-align: center; }
.ty-card .eyebrow::before { display: none; }
.ty-chip span { text-align: left; }

/* ---------- In-form thank-you (replaces the form after submit) ---------- */
.form-success:focus { outline: none; }
.ty-inline .ty-check { width: 72px; height: 72px; margin: 0 auto 16px; }
.ty-inline .eyebrow { justify-content: center; }
.ty-inline .eyebrow::before { display: none; }
.ty-inline .ty-title { margin-top: 10px; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); line-height: 1.12; letter-spacing: -.03em; }
.ty-inline .ty-lead { margin-top: 10px; font-size: 1rem; line-height: 1.6; color: var(--navy); }
.ty-inline .ty-meta { margin-top: 18px; gap: 8px; }
.ty-inline .ty-chip { font-size: .84rem; padding: 7px 12px; }
.ty-inline .ty-actions { flex-direction: column; gap: 10px; margin-top: 20px; }
.ty-inline .ty-actions .btn { width: 100%; min-height: 50px; }
.booking .ty-inline { padding-block: 24px; }
.is-sent .form-success .ty-check__ring { animation: tyDraw .8s var(--ease) .15s forwards; }
.is-sent .form-success .ty-check__tick { animation: tyDraw .45s var(--ease) .8s forwards; }
.is-sent .form-success .ty-check { animation: tyPop .5s var(--ease) 1.1s both; }
@media (min-width: 900px) and (max-height: 800px) {
  .hero__grid { padding-block: 36px; }
}

/* ---------- Footer social + hours (from sharanyadental.com) ---------- */
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer-social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(253, 253, 253, .08); border: 1px solid rgba(253, 253, 253, .18); color: var(--bg);
  transition: background .3s, border-color .3s, color .3s, transform .35s var(--ease);
}
.footer-social a:hover { background: var(--sky); border-color: var(--sky); color: var(--white); transform: translateY(-3px); }
.footer-social .si { width: 17px; height: 17px; fill: currentColor; }
.footer-sub { display: block; font-size: .8rem; color: rgba(253, 253, 253, .62); margin-top: 2px; }

/* ---------- Real photos (from sharanyadental.com) ---------- */
.photo { display: block; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ice); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.problem__media:hover .photo img, .how__media:hover .photo img { transform: scale(1.04); }
.problem__media .photo { aspect-ratio: 5 / 4.7; }
.how__media .photo { aspect-ratio: 5 / 4.4; }
@media (max-width: 1024px) {
  .problem__media .photo, .how__media .photo { aspect-ratio: 16 / 11; }
}
@media (max-width: 767px) {
  .problem__media .photo, .how__media .photo { aspect-ratio: 4 / 3.2; }
}
