/* =========================================================================
   Prathibha Driving School — landing page styles
   Palette: deep navy (trust) + road-marking amber (accent) + WhatsApp green
   ========================================================================= */

:root {
  --ink:        #0E1726;
  --ink-2:      #16223A;
  --ink-3:      #223052;
  --text:       #1B2434;
  --text-mid:   #4E5A6E;
  --text-soft:  #79859A;

  --amber:      #F5A524;
  --amber-deep: #C9780A;
  --amber-tint: #FEF4E2;

  --wa:         #1EB255;
  --wa-dark:    #19A04B;

  --paper:      #FFFFFF;
  --tint:       #F5F7FA;
  --line:       #E3E8EF;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(14,23,38,.06), 0 2px 6px rgba(14,23,38,.05);
  --shadow:    0 2px 6px rgba(14,23,38,.06), 0 12px 28px -10px rgba(14,23,38,.18);
  --shadow-lg: 0 4px 12px rgba(14,23,38,.08), 0 28px 60px -22px rgba(14,23,38,.32);

  --sans: "Segoe UI", Roboto, "Helvetica Neue", system-ui, -apple-system, Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;

  --wrap: 1180px;
  --pad: clamp(1.1rem, 4vw, 2rem);
}

/* ------------------------------- reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.65rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.16rem; letter-spacing: -.005em; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--amber-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 999; background: var(--ink); color: #fff;
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* ------------------------------ layout -------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 820px; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #C9D2E0; }
.section--dark h3 { color: #fff; }

.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__head h2 { margin-bottom: .55rem; }
.section__head--light h2 { color: #fff; }
.section__sub { color: var(--text-mid); font-size: 1.06rem; }
.section--dark .section__sub { color: #97A5BC; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0 0 .7rem;
}
.eyebrow--light { color: var(--amber); }

.muted { color: var(--text-soft); }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

.fineprint {
  margin-top: 2rem;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 760px;
}

/* icons */
.ico {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

.stars { color: var(--amber); letter-spacing: .06em; }

/* ------------------------------ buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.3rem;
  font: inherit; font-weight: 650; font-size: .96rem;
  border: 1.5px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--sm  { padding: .52rem 1rem; font-size: .88rem; }
.btn--lg  { padding: .95rem 1.75rem; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  background: var(--amber); color: #23180A;
  box-shadow: 0 2px 4px rgba(201,120,10,.24), 0 10px 22px -10px rgba(201,120,10,.6);
}
.btn--primary:hover { background: #FFB53D; color: #23180A; }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px -12px rgba(30,178,85,.8); }
.btn--wa:hover { background: #19A04B; color: #fff; }

.btn--outline { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--tint); }

.btn--ghost-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ------------------------------ topbar -------------------------------- */
.topbar {
  background: var(--ink);
  color: #A9B6CB;
  font-size: .82rem;
}
.topbar__inner {
  display: flex; align-items: center; gap: 1.6rem;
  min-height: 40px; flex-wrap: wrap;
}
.topbar__item { display: flex; align-items: center; gap: .45rem; margin: 0; }
.topbar__item strong { color: #fff; }
.topbar__item--loc { margin-left: auto; }
@media (max-width: 860px) {
  .topbar__item--hours, .topbar__item--loc { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ------------------------------ header -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px -14px rgba(14,23,38,.5); }

.site-header__inner {
  display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.75rem);
  min-height: 68px;
  flex-wrap: nowrap;          /* the header is a single row at every width */
}

.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; flex: none;
}
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.mark-ring   { fill: none; stroke: var(--amber); stroke-width: 3; }
.mark-hub    { fill: var(--ink); }
.mark-spokes { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.brand__name {
  font-family: var(--serif); font-weight: 700; font-size: 1.28rem;
  color: var(--ink); letter-spacing: -.02em; white-space: nowrap;
}
.brand__sub {
  font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-soft); font-weight: 600; white-space: nowrap;
}

/* Nav takes the slack between brand and CTA, and is centred in it. */
.nav {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(.85rem, 1.6vw, 1.5rem);
  flex: 1 1 auto; min-width: 0;
  flex-wrap: nowrap;
}
.nav a {
  font-size: .9rem; font-weight: 600; color: var(--text-mid);
  text-decoration: none; padding: .3rem 0; position: relative;
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* "Login" sits slightly apart from the marketing links. */
.nav__login {
  display: inline-flex; align-items: center; gap: .35rem;
  padding-left: clamp(.85rem, 1.6vw, 1.5rem) !important;
  border-left: 1px solid var(--line);
  color: var(--ink) !important;
}
.nav__login .ico { width: .95em; height: .95em; color: var(--amber-deep); }
.nav__login::after { display: none; }
.nav__login:hover { color: var(--amber-deep) !important; }

.header-cta { display: flex; align-items: center; gap: .55rem; flex: none; }
.header-cta .btn { white-space: nowrap; }

.burger {
  display: none; width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Below the full container width the row would get cramped, so the links move
   into the burger menu rather than wrapping onto a second line. */
@media (max-width: 1179px) {
  .nav { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav.is-open a::after { display: none; }
  /* In the dropdown it's a normal row again, not a bordered-off item. */
  .nav.is-open .nav__login {
    padding-left: 0 !important; border-left: 0;
    color: var(--amber-deep) !important;
  }
}
/* The brand strapline is the first thing to go when space runs out. */
@media (max-width: 760px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1.35rem; }
}
@media (max-width: 640px) {
  .header-cta .btn--ghost { display: none; }
}
@media (max-width: 420px) {
  .header-cta { display: none; }
}

/* -------------------------------- hero -------------------------------- */
.hero { position: relative; isolation: isolate; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(9,15,26,.94) 0%, rgba(9,15,26,.85) 38%, rgba(9,15,26,.42) 68%, rgba(9,15,26,.30) 100%),
    linear-gradient(to top, rgba(9,15,26,.6), transparent 45%);
}
@media (max-width: 780px) {
  .hero::after { background: linear-gradient(to bottom, rgba(9,15,26,.88), rgba(9,15,26,.80)); }
}

.hero__inner { padding: clamp(3.5rem, 9vw, 7rem) var(--pad) clamp(3.5rem, 8vw, 6rem); }
.hero__copy { max-width: 660px; color: #E6EBF3; }
.hero__copy h1 { color: #fff; margin-bottom: 1rem; }
.hero .eyebrow { color: var(--amber); }

.lede { font-size: clamp(1.02rem, 1.5vw, 1.17rem); color: #C3CEDF; max-width: 56ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.9rem 0 1.6rem; }

.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__chips li {
  font-size: .84rem; color: #D7DFEC;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  padding: .38rem .8rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero__chips strong { color: #fff; font-weight: 700; }

/* ------------------------------- stats -------------------------------- */
.stats { background: var(--amber); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 1.7rem;
}
.stat { text-align: center; padding-inline: .5rem; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px; background: rgba(35,24,10,.22);
}
.stat__n {
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem); color: #23180A; line-height: 1.1;
}
.stat__l { display: block; font-size: .8rem; font-weight: 600; color: #4A3512; margin-top: .2rem; }
@media (max-width: 700px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0; }
  .stat:nth-child(odd)::before { display: none; }
}

/* ------------------------------- cards -------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
}

.cards {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  align-items: start;
}

.price-card { position: relative; display: flex; flex-direction: column; }
.price-card__kicker {
  font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: .35rem;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.price {
  font-family: var(--serif); font-weight: 700;
  font-size: 2.7rem; line-height: 1; color: var(--ink);
  margin: 0 0 .3rem;
}
.price__cur { font-size: 1.5rem; vertical-align: .32em; margin-right: .05em; color: var(--text-mid); }
.price-card__note { font-size: .87rem; color: var(--text-soft); margin-bottom: 1.3rem; }
.price-card .btn { margin-top: auto; }

.price-card--featured {
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, #fff 0%, #FFFCF6 100%);
}
.ribbon {
  position: absolute; top: -13px; left: 1.9rem;
  background: var(--ink); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .38rem .85rem; border-radius: 999px;
}

.ticks { margin: 0 0 1.6rem; display: grid; gap: .58rem; }
.ticks li {
  position: relative; padding-left: 1.7rem;
  font-size: .93rem; color: var(--text-mid); line-height: 1.5;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--amber-tint);
  box-shadow: inset 0 0 0 1px rgba(201,120,10,.28);
}
.ticks li::after {
  content: ""; position: absolute; left: .3rem; top: .58em;
  width: .42rem; height: .22rem;
  border-left: 2px solid var(--amber-deep);
  border-bottom: 2px solid var(--amber-deep);
  transform: rotate(-45deg);
}
.ticks--tight li { font-size: .9rem; }

/* --------------------- real photos of the school ---------------------- */
/* The owner's photos are modest resolution, so they're displayed at or below
   their natural size and never stretched full-bleed. */
.photos {
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 860px) { .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .photos { grid-template-columns: 1fr; } }

.photo { margin: 0; }
.photo img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--tint);
}
.photo figcaption {
  margin-top: .7rem; font-size: .87rem; line-height: 1.5; color: var(--text-soft);
}
.photo--wide { grid-column: span 2; }
@media (min-width: 860px) { .photo--wide { grid-column: span 1; } }
@media (max-width: 560px) { .photo--wide { grid-column: span 1; } }

/* -------------------------- signboard strip --------------------------- */
.signstrip { background: var(--ink); color: #C9D2E0; padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.signstrip__inner {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 880px) { .signstrip__inner { grid-template-columns: 1fr; } }

.signstrip__img { margin: 0; }
.signstrip__img img {
  width: 100%; border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.signstrip__copy h2 { color: #fff; }
.signstrip__copy p { color: #A6B3C8; max-width: 52ch; }

.signstrip__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.signstrip__tags li {
  font-size: .82rem; font-weight: 600; color: #E4EAF3;
  background: rgba(245,165,36,.14);
  border: 1px solid rgba(245,165,36,.34);
  padding: .38rem .85rem; border-radius: 999px;
}

/* ------------------------- split feature cards ------------------------ */
.split {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.feature-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
/* Near-square owner photo in a 16:10 frame — pad it rather than crop the number plate off. */
.feature-card__media--contain { background: #10192B; }
.feature-card__media--contain img { object-fit: contain; }
.feature-card:hover .feature-card__media img { transform: scale(1.04); }
.feature-card__body { padding: 1.7rem; }
.feature-card__body h3 { font-size: 1.35rem; }
.feature-card__body > p { color: var(--text-mid); font-size: .96rem; margin-bottom: 1.2rem; }
.feature-card__body .ticks { margin-bottom: 0; }

/* -------------------------------- band -------------------------------- */
.band { position: relative; isolation: isolate; background: var(--ink-2); }
.band__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,18,31,.95) 20%, rgba(11,18,31,.72) 62%, rgba(11,18,31,.5) 100%);
}
.band__inner { padding: clamp(3.5rem, 8vw, 6rem) var(--pad); max-width: 900px; }
.band h2 { color: #fff; }
.band p { color: #B9C5D8; font-size: 1.05rem; max-width: 60ch; }

/* -------------------------------- grids ------------------------------- */
.grid-4 { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-3 { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.mini {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CDD6E2; }
.mini h3 { margin-bottom: .4rem; }
.mini p { font-size: .92rem; color: var(--text-mid); }

.mini__ico {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--amber-tint);
}
.mini__ico svg {
  width: 24px; height: 24px;
  fill: none; stroke: var(--amber-deep); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.mini--plain { background: var(--tint); border-color: transparent; }
.mini--plain:hover { background: var(--paper); border-color: var(--line); }
.mini--plain em { color: var(--ink); font-style: italic; }

/* -------------------------------- steps ------------------------------- */
.steps {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
}
.step { position: relative; padding-top: 1.6rem; border-top: 2px solid rgba(245,165,36,.28); }
.step__n {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.05rem; color: var(--amber);
  display: block; margin-bottom: .5rem; letter-spacing: .04em;
}
.step h3 { color: #fff; margin-bottom: .45rem; }
.step p { font-size: .93rem; color: #9BA9C0; }

/* ------------------------------ quotes -------------------------------- */
.quote {
  margin: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .8rem;
}
.quote p {
  font-family: var(--serif); font-size: 1.06rem; line-height: 1.5;
  color: var(--ink); margin: 0;
}
.quote cite {
  font-style: normal; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft);
  margin-top: auto;
}

/* ------------------------------ gallery ------------------------------- */
.gallery { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gallery__item { margin: 0; }
.gallery__item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.gallery__item figcaption {
  margin-top: .7rem; font-size: .87rem; color: var(--text-soft);
}

/* ------------------------------ contact ------------------------------- */
.contact {
  display: grid; gap: 1.6rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact__form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}

.form { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field--full { grid-column: 1 / -1; }

.field label {
  display: block; font-size: .86rem; font-weight: 650;
  color: var(--ink); margin-bottom: .38rem;
}
.field .opt { font-weight: 400; color: var(--text-soft); }

.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--text);
  padding: .72rem .85rem;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,165,36,.22);
}
.field input::placeholder, .field textarea::placeholder { color: #A9B3C2; }

.field.is-invalid input { border-color: #D4483B; }
.field__err { font-size: .8rem; color: #C13B2F; margin: .32rem 0 0; min-height: 0; }
.field__err:empty { display: none; }

.form__actions { margin-top: .3rem; }
.form__note { font-size: .82rem; color: var(--text-soft); text-align: center; margin: .8rem 0 0; }

/* --- submit button: in-flight state --- */
.btn__label { display: inline-block; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.btn .spinner { display: none; }
.btn.is-loading .spinner {
  display: inline-block;
  width: 1em; height: 1em; flex: none;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading .spinner { animation: none; opacity: .6; }
}

/* Fields stay readable but clearly inert while the request is in flight. */
.form.is-sending input,
.form.is-sending select,
.form.is-sending textarea { opacity: .65; pointer-events: none; }

/* --- success / error feedback --- */
.form__status {
  margin: .9rem 0 0; padding: .8rem 1rem;
  font-size: .9rem; font-weight: 600; line-height: 1.5;
  border-radius: var(--r-sm); text-align: center;
}
.form__status:empty { display: none; }
.form__status.is-ok {
  color: #14663A; background: #E7F6EE;
  box-shadow: inset 0 0 0 1px rgba(20,102,58,.22);
}
.form__status.is-err {
  color: #93261B; background: #FDECEA;
  box-shadow: inset 0 0 0 1px rgba(147,38,27,.22);
}

/* Keeps the address and phone numbers in view while the form is being filled. */
.contact__aside { display: grid; align-content: start; }
@media (min-width: 901px) {
  .contact__aside { position: sticky; top: 92px; }
}

.infobox {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-sm);
}
.infobox h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.infobox__regd {
  display: inline-block;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  color: var(--amber-deep); background: var(--amber-tint);
  border-radius: 999px; padding: .3rem .75rem; margin-bottom: 1rem;
}
.infobox address { color: var(--text-mid); font-size: .95rem; line-height: 1.7; margin-bottom: 1.3rem; }

.deets { margin: 0 0 1.5rem; display: grid; gap: .95rem; }
.deets dt {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: .2rem;
}
.deets dd { margin: 0; font-size: .93rem; color: var(--text-mid); line-height: 1.6; }
.deets a { font-weight: 600; }

.mapbox {
  margin-top: 1.2rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.mapbox iframe { display: block; width: 100%; height: 280px; border: 0; filter: saturate(.9); }
.mapbox__note { font-size: .8rem; color: var(--text-soft); padding: .85rem 1.1rem; margin: 0; border-top: 1px solid var(--line); }

/* --------------------------------- faq -------------------------------- */
.faq { display: grid; gap: .7rem; }
.faq details {
  background: var(--tint);
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: background .15s ease, border-color .15s ease;
}
.faq details[open] { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.05rem 3rem 1.05rem 1.3rem;
  font-weight: 650; font-size: 1rem; color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--amber-deep);
  border-bottom: 2px solid var(--amber-deep);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 1.3rem 1.25rem; color: var(--text-mid); font-size: .95rem; margin: 0; }

/* --------------------------------- cta -------------------------------- */
.cta { background: var(--ink); color: #C9D2E0; padding: clamp(2.8rem, 6vw, 4.2rem) 0; }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.8rem; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .35rem; }
.cta p { color: #95A3BA; margin: 0; }
.cta__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ------------------------------- footer ------------------------------- */
.site-footer { background: #080D16; color: #8A97AD; font-size: .92rem; padding-top: clamp(2.8rem, 6vw, 4rem); }
.site-footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  padding-bottom: 2.5rem;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .5rem; }
.site-footer a { color: #8A97AD; text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.site-footer address { line-height: 1.7; margin-bottom: .9rem; }
.footer-login {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .3rem; font-weight: 600; color: var(--amber) !important;
}
.footer-login .ico { width: .95em; height: .95em; }
.site-footer__brand p { max-width: 38ch; margin-top: 1rem; line-height: 1.65; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .mark-hub { fill: #fff; }
.brand--footer .mark-spokes { stroke: #fff; }
.brand--footer .brand__sub { color: #6C7A91; }

.site-footer__bar {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-block: 1.4rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem;
}
.site-footer__bar p { margin: 0; }

/* --------------------------- mobile call bar -------------------------- */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px -12px rgba(14,23,38,.4);
    padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom));
    gap: .55rem;
  }
  .callbar__btn {
    display: flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .78rem; border-radius: 999px;
    font-weight: 650; font-size: .95rem; text-decoration: none;
  }
  .callbar__btn--call { background: var(--amber); color: #23180A; }
  .callbar__btn--wa   { background: var(--wa); color: #fff; }
  body { padding-bottom: 78px; }
  .site-footer__bar { padding-bottom: .8rem; }
}

/* ------------------------------ 404 page ------------------------------ */
.notfound { display: grid; place-items: center; min-height: 100vh; padding: 3rem 0; }
.notfound__inner { text-align: center; }
.notfound__sign { display: block; width: 84px; margin: 0 auto 1.6rem; }
.notfound__sign svg { width: 100%; height: auto; }
.notfound h1 { margin-bottom: .7rem; }
.notfound .lede { color: var(--text-mid); margin-inline: auto; }
.notfound__actions {
  display: flex; gap: .7rem; flex-wrap: wrap;
  justify-content: center; margin: 2rem 0 1.5rem;
}
.notfound__call { font-size: .92rem; color: var(--text-soft); }

/* ------------------------------- print -------------------------------- */
@media print {
  .site-header, .topbar, .callbar, .cta, .hero__actions, .mapbox { display: none !important; }
  .hero::after, .band::after { background: none; }
  .hero, .band, .section--dark { background: #fff !important; color: #000 !important; }
  .hero__media, .band__media { display: none; }
  .hero__copy h1, .band h2, .section__head--light h2 { color: #000 !important; }
  body { font-size: 12pt; }
}
