/* =========================================================
   Kishore Dentistry – Giveaway lead page
   Brand colours taken from kishorsdentistry.com + logo
   ========================================================= */
:root {
  --navy: #0B2673;          /* banner – matches logo background */
  --navy-2: #0C3092;        /* site navy */
  --blue: #3366FF;          /* primary accent / buttons */
  --blue-dark: #1F4FE0;
  --blue-tint: #EEF4FF;
  --blue-tint-2: #DDE4F7;
  --peach: #FFBF8F;         /* logo accent */
  --peach-tint: #FFF1E6;
  --ink: #12162B;           /* headings */
  --text: #2A2F45;          /* body */
  --muted: #6B7185;
  --field-bg: #F5F6F9;
  --field-border: #DCDFE6;
  --error: #E5383B;
  --radius: 12px;
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--text);
  font-family: var(--font-head);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

/* ---------- Banner ---------- */
.banner {
  background: var(--navy);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner__logo { height: 56px; width: auto; }

/* ---------- Landing ---------- */
.landing {
  max-width: 1040px;
  margin: 0 auto;
  padding: 26px 24px 0;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 6px 16px;
  background: var(--blue-tint);
  color: var(--navy-2);
  border-radius: 999px;
  font: 700 13px/1.4 var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.headline {
  margin: 0 auto;
  max-width: 980px;
  color: var(--ink);
  font: 800 43px/1.15 var(--font-head);
  letter-spacing: -.025em;
}
.headline__line { display: block; }
.headline__hl {
  color: var(--blue);
  font-size: 1.58em;
  letter-spacing: -.03em;
}

.subhead {
  margin: 14px auto 0;
  max-width: 620px;
  color: var(--text);
  font: 400 19px/1.45 var(--font-head);
}
.subhead__note {
  display: block;
  margin-top: 6px;
  color: var(--navy-2);
  font-weight: 600;
  font-style: italic;
  font-size: 16px;
}

/* ---------- Hero image (video-card style) ---------- */
/* stack: main photo in front, two side photos peeking out behind */
.hero-stack {
  position: relative;
  margin: 22px auto 0;
  width: 100%;
  max-width: 560px;
}
.hero-side {
  position: absolute;
  top: 50%;
  width: 34%;
  aspect-ratio: 1.22;
  object-fit: cover;
  border-radius: 12px;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px -10px rgba(11, 38, 115, .35);
  z-index: 1;
}
.hero-side--left { left: 0; object-position: 100% 30%; }
.hero-side--right { right: 0; object-position: 15% 30%; }

.hero-media {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: 58%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 44px -14px rgba(11, 38, 115, .38), 0 4px 12px rgba(11, 38, 115, .12);
}
.hero-media img { width: 100%; aspect-ratio: 634 / 389; object-fit: cover; }

/* ---------- Form card ---------- */
.form-card {
  margin: 36px auto 0;
  max-width: 560px;
  padding: 30px 36px 24px;
  border: 1.5px solid #A9BCF5;
  border-radius: 22px;
  background: #fff;
  text-align: center;
}

.step { border: 0; margin: 0; padding: 0; min-width: 0; animation: stepIn .28s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.step__title {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 22px;
  color: var(--ink);
  font: 700 30px/1.2 var(--font-head);
  letter-spacing: -.02em;
}

.row { display: grid; gap: 14px; }
.row--2 { grid-template-columns: 1fr 1fr; }

.field {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 18px;
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: 10px;
  color: var(--ink);
  font: 400 17px/1.3 var(--font-body);
  outline: none;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.field::placeholder { color: #8A8F9E; text-transform: uppercase; letter-spacing: .01em; }
.field:focus {
  background: var(--blue-tint);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(51, 102, 255, .15);
}
.field.is-invalid { border-color: var(--error); background: #FFF5F5; }

/* hide number spinners */
.field[type=number]::-webkit-outer-spin-button,
.field[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field[type=number] { -moz-appearance: textfield; }

.field--textarea {
  height: auto;
  min-height: 112px;
  padding: 14px 18px;
  resize: vertical;
}
.field--textarea::placeholder,
.field--normalcase::placeholder { text-transform: none; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field--select { padding-right: 44px; cursor: pointer; }
.field--select:invalid { color: #8A8F9E; }
.field--select option { color: var(--ink); }

.label {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink);
  font: 600 15px/1.4 var(--font-head);
  text-align: left;
}
.step__title + .label { margin-top: 0; }
legend.label { width: 100%; padding: 0; margin-top: 0; }
.helper {
  margin: -4px 0 10px;
  color: var(--muted);
  font: 400 14px/1.4 var(--font-body);
  text-align: left;
}

/* phone */
.phone { display: flex; align-items: center; gap: 14px; }
.phone__prefix {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  color: var(--ink);
  font: 500 18px/1 var(--font-body);
}
.phone__flag { font-size: 22px; }

/* buttons */
.btn {
  display: block;
  width: 100%;
  height: 62px;
  margin: 22px 0 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font: 800 18px/1 var(--font-head);
  letter-spacing: .01em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 26px -8px rgba(51, 102, 255, .55);
  transition: background-color .15s, transform .1s;
}
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: translateY(1px); }

.prev {
  display: inline-block;
  margin: 16px auto 0;
  padding: 4px 18px;
  border: 0;
  border-radius: 4px;
  background: var(--peach-tint);
  color: var(--navy-2);
  font: 500 16px/1.5 var(--font-head);
  cursor: pointer;
}
.prev:hover { background: #FFE3CC; }

.form-error {
  margin: 12px 0 0;
  color: var(--error);
  font: 400 14px/1.4 var(--font-head);
}
.form-note {
  margin: 14px 0 0;
  color: var(--text);
  font: 400 14px/1.4 var(--font-head);
}
.form-progress {
  margin: 4px 0 0;
  color: var(--muted);
  font: 500 12px/1.4 var(--font-head);
  letter-spacing: .04em;
}

/* consent */
.consent {
  max-width: 820px;
  margin: 40px auto 0;
  color: var(--muted);
  font: 400 11.5px/1.6 var(--font-head);
}
.consent a { color: var(--blue); }

/* ---------- Thank-you ---------- */
.thanks__hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 56px 24px 96px;
  min-height: calc(100vh - 76px - 110px);
  min-height: calc(100svh - 76px - 110px);
}
.thanks__badge {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 16px;
  background: var(--blue);
  border-radius: 6px;
  font: 700 18px/1.2 var(--font-head);
}
.thanks__title {
  margin: 0 auto;
  max-width: 820px;
  font: 800 40px/1.15 var(--font-head);
  letter-spacing: -.02em;
}
.thanks__hl { color: var(--peach); }
.thanks__text {
  margin: 16px auto 0;
  max-width: 600px;
  color: #D5DCF0;
  font: 400 18px/1.55 var(--font-head);
}
.thanks__btn {
  display: inline-block;
  margin-top: 28px;
  padding: 20px 34px;
  background: var(--peach);
  color: var(--ink);
  border-radius: 8px;
  font: 800 16px/1 var(--font-head);
  text-transform: uppercase;
  text-decoration: none;
  transition: filter .15s;
}
.thanks__btn:hover { filter: brightness(1.05); }

/* ---------- Why trust us page ---------- */
.trust {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  text-align: center;
}
.trust__title {
  margin: 0;
  color: var(--ink);
  font: 800 44px/1.15 var(--font-head);
  letter-spacing: -.02em;
}
.trust__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  text-align: left;
}
.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border: 1.5px solid #A9BCF5;
  border-radius: 18px;
  background: #fff;
}
.trust__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font: 700 16px/1 var(--font-head);
}
.trust__item p {
  margin: 3px 0 0;
  color: var(--text);
  font: 400 17px/1.5 var(--font-head);
}
.trust__item strong { color: var(--ink); font-weight: 700; }
.trust__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 62px;
  margin-top: 28px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font: 800 18px/1 var(--font-head);
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 26px -8px rgba(51, 102, 255, .55);
  transition: background-color .15s;
}
.trust__btn:hover { background: var(--blue-dark); }

/* ---------- Footer ---------- */
.footer { padding: 28px 16px 32px; text-align: center; }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { color: var(--ink); font: 400 14px/1.4 var(--font-head); text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__copy { margin: 10px 0 0; color: #9AA0B0; font: 400 13px/1.4 var(--font-head); }

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  .banner { height: 64px; }
  .banner__logo { height: 46px; }

  .landing { padding: 16px 16px 0; }
  .pill { font-size: 11.5px; padding: 5px 14px; margin-bottom: 10px; }
  .headline { font-size: 27px; }
  .subhead { margin-top: 10px; font-size: 15.5px; }
  .subhead__note { margin-top: 4px; font-size: 14px; }

  .hero-stack { margin-top: 16px; }
  .hero-media { border-radius: 12px; }
  .hero-side { border-radius: 10px; }
  .form-card { margin-top: 20px; padding: 22px 20px 20px; border-radius: 20px; }
  .step__title { font-size: 26px; margin-bottom: 18px; }
  .row--2 { grid-template-columns: 1fr; }
  .field { height: 56px; }
  .btn { height: 60px; font-size: 17px; }

  .consent { margin-top: 32px; font-size: 11px; }

  .trust { padding: 32px 16px 16px; }
  .trust__title { font-size: 32px; }
  .trust__list { margin-top: 24px; gap: 12px; }
  .trust__item { padding: 16px; gap: 12px; border-radius: 16px; }
  .trust__icon { width: 28px; height: 28px; font-size: 14px; }
  .trust__item p { margin-top: 2px; font-size: 15.5px; }
  .trust__btn { height: 60px; margin-top: 24px; font-size: 17px; }

  .thanks__hero { padding: 28px 16px 48px; }
  .thanks__title { font-size: 30px; }
  .thanks__text { font-size: 16px; }
}
