/* ==========================================================================
   Sriratnagiri Traders — design system v3
   Bright, friendly and plain. Rounded cards, generous type, soft shadows.
   No monospace anywhere: this site is for customers, not for engineers.
   ========================================================================== */

:root {
  /* Brand */
  --blue:        #1A4D8F;
  --blue-dark:   #123A6D;
  --blue-soft:   #EAF1FA;
  --green:       #12A45C;
  --green-dark:  #0C7E46;
  --green-soft:  #E6F6ED;
  --amber:       #F4A62A;
  --amber-soft:  #FEF4E3;

  /* Neutrals */
  --ink:         #16212E;
  --body:        #4A5A6B;
  --muted:       #7789A0;
  --line:        #E3E9F0;
  --line-strong: #CFD9E5;
  --surface:     #F5F8FC;
  --surface-2:   #EDF3F9;
  --white:       #FFFFFF;

  /* Type */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Shape */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(22,33,46,.05), 0 2px 8px rgba(22,33,46,.04);
  --shadow:    0 2px 6px rgba(22,33,46,.05), 0 10px 28px rgba(22,33,46,.07);
  --shadow-lg: 0 8px 20px rgba(22,33,46,.08), 0 26px 60px rgba(22,33,46,.12);
  --shadow-blue: 0 10px 26px rgba(26,77,143,.28);

  --shell: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
svg { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 .5em;
}
p { margin: 0 0 1.15em; }
a { color: var(--blue); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--blue-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }
strong, b { color: var(--ink); font-weight: 600; }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--blue); color: #fff; padding: 12px 22px; border-radius: 0 0 var(--r-sm) 0; font-weight: 600; }
.skip-link:focus { left: 0; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .section__lead, .center .lead { margin-left: auto; margin-right: auto; }

/* ---------- reveal (JS-gated: a blocked script must not blank the page) ---------- */
.has-js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.has-js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- headings & text ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
  background: var(--blue-soft); padding: 7px 14px; border-radius: var(--r-pill);
  margin: 0 0 18px;
}
.eyebrow--green { color: var(--green-dark); background: var(--green-soft); }
.eyebrow--light { color: #fff; background: rgba(255,255,255,.16); }

.section__title { font-size: clamp(1.8rem, 3.6vw, 2.75rem); margin-bottom: .35em; }
.section__title--light { color: #fff; }
.section__lead { font-size: 1.1rem; color: var(--body); max-width: 62ch; margin-bottom: 0; }
.section__lead--light { color: rgba(255,255,255,.82); }
.lead { font-size: 1.18rem; line-height: 1.65; color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; color: var(--blue);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border: 2px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; transition: all .2s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn--green { background: var(--green); color: #fff; border-color: var(--green); }
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--blue); border-color: #fff; }
.btn--white:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--blue-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--blue); background: var(--blue-soft); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; }
.btn--sm { padding: 10px 20px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- topbar ---------- */
.topbar { background: var(--blue-dark); color: rgba(255,255,255,.9); font-size: .88rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar__meta { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); }
.topbar__item svg { color: var(--amber); }
a.topbar__item:hover { color: #fff; text-decoration: underline; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 80px; }

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--ink); letter-spacing: -.02em; }
.brand__name em { font-style: normal; color: var(--blue); }
.brand__tag { font-size: .74rem; color: var(--muted); font-weight: 500; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: .97rem;
  color: var(--ink); padding: 10px 14px; border-radius: var(--r-pill);
  transition: all .18s var(--ease);
}
.nav__link:hover { background: var(--surface); color: var(--blue); }
.nav__link.is-active { color: var(--blue); background: var(--blue-soft); }
.nav__caret { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }

.nav__drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--ease);
}
.nav__item.has-children:hover .nav__drop,
.nav__item.has-children:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: block; padding: 10px 14px; border-radius: var(--r-sm); font-size: .95rem; color: var(--ink); font-weight: 500; }
.nav__drop a:hover { background: var(--blue-soft); color: var(--blue); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: #fff; border-radius: var(--r-sm); cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; margin: 4.5px auto; transition: all .25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(165deg, #F7FAFE 0%, #EAF1FA 55%, #E2ECF8 100%); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -180px; right: -140px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(26,77,143,.10), transparent 68%); border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -220px; left: -160px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(18,164,92,.10), transparent 68%); border-radius: 50%;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: 72px 0 76px; }
.hero__title { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: .3em; letter-spacing: -.03em; }
.hero__title em { font-style: normal; color: var(--blue); display: block; }
.hero__sub { font-size: 1.15rem; color: var(--body); max-width: 52ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-direction: column; gap: 12px; }
.hero__trust li { display: flex; align-items: flex-start; gap: 11px; font-size: 1rem; color: var(--ink); font-weight: 500; }
.hero__trust .tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark);
  flex-shrink: 0; margin-top: 2px;
}
.hero__trust .tick svg { width: 14px; height: 14px; }

/* hero enquiry card */
.hero__card { background: #fff; border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.hero__card-title { font-size: 1.4rem; margin-bottom: .25em; }
.hero__card-sub { font-size: .98rem; color: var(--muted); margin-bottom: 22px; }
.quickform { display: flex; flex-direction: column; gap: 15px; }
.quickform__note { font-size: .86rem; color: var(--muted); text-align: center; margin: 0; }

/* ---------- number band ---------- */
.numbers { background: var(--blue); color: #fff; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 42px 0; }
.numbers__item { text-align: center; padding: 8px 16px; }
.numbers__k { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: #fff; }
.numbers__v { display: block; margin-top: 10px; font-size: .98rem; color: rgba(255,255,255,.82); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--surface); }
.section--blue { background: var(--blue); color: #fff; }
.section--blue .section__lead { color: rgba(255,255,255,.82); }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: none; }

/* ---------- grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
.split--aside { grid-template-columns: 1.45fr .85fr; align-items: start; }
.split--top { align-items: start; }

/* ---------- cards ---------- */
.card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: var(--r); background: var(--blue-soft); color: var(--blue);
  margin-bottom: 20px;
}
.card__icon svg { width: 27px; height: 27px; }
.card__icon--green { background: var(--green-soft); color: var(--green-dark); }
.card__icon--amber { background: var(--amber-soft); color: #B87708; }
.card__title { font-size: 1.22rem; margin-bottom: .4em; }
.card__text { font-size: 1rem; color: var(--body); margin: 0; }
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--font-display); font-weight: 600; color: var(--blue); }
.card:hover .card__link svg { transform: translateX(4px); }
.card__link svg { transition: transform .25s var(--ease); }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }
.card--plain { background: var(--surface); border-color: transparent; }
.section--soft .card { background: #fff; }
.section--blue .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.section--blue .card:hover { background: rgba(255,255,255,.13); }
.section--blue .card__title { color: #fff; }
.section--blue .card__text { color: rgba(255,255,255,.82); }
.section--blue .card__icon { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- step cards (how to order) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 20px;
}
.step__title { font-size: 1.15rem; margin-bottom: .4em; }
.step__text { font-size: .98rem; color: var(--body); margin: 0; }
.section--soft .step { background: #fff; }

/* ---------- option cards (delivery choices) ---------- */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.option {
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column; transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.option:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.option--featured { border-color: var(--green); }
.option__badge {
  align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--green-dark); background: var(--green-soft);
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 18px;
}
.option__title { font-size: 1.3rem; margin-bottom: .3em; }
.option__short { font-family: var(--font-display); font-weight: 600; color: var(--blue); font-size: 1.02rem; margin-bottom: 1em; }
.option__body { font-size: .99rem; color: var(--body); }
.option__for { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: .94rem; color: var(--muted); }
.option__for b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* ---------- brand tiles ---------- */
.brandgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brandtile {
  display: flex; flex-direction: column; gap: 6px; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px; text-align: left; transition: all .22s var(--ease);
}
.brandtile:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.brandtile__name { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--ink); }
.brandtile__meta { font-size: .9rem; color: var(--muted); }

/* ---------- simple table ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.dtable { font-size: 1rem; min-width: 560px; }
.dtable th, .dtable td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.dtable thead th {
  font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--ink);
  background: var(--surface); position: sticky; top: 0; z-index: 2;
}
.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable tbody tr:hover { background: var(--surface); }
.dtable .c-brand { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.tablenote { font-size: .94rem; color: var(--muted); margin-top: 16px; }

.pill {
  display: inline-block; font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  padding: 5px 13px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--body);
}
.pill--bag { background: var(--blue-soft); color: var(--blue); }
.pill--bulk { background: var(--amber-soft); color: #B87708; }
.pill--green { background: var(--green-soft); color: var(--green-dark); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 10px 20px; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: #fff; color: var(--body); cursor: pointer; transition: all .18s var(--ease);
  /* 44px is the minimum comfortable tap target; set here rather than only under
     `pointer: coarse`, which not every browser reports reliably. */
  min-height: 44px;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
tr.is-hidden, .is-hidden { display: none; }

/* ---------- tick list ---------- */
.ticks { display: flex; flex-direction: column; gap: 13px; margin: 22px 0 26px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: var(--body); }
.ticks .tick {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); margin-top: 2px;
}
.ticks .tick svg { width: 14px; height: 14px; }
.ticks--light li { color: rgba(255,255,255,.86); }
.ticks--light .tick { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- panels ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; }
.panel--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.panel--blue .panel__title { color: #fff; }
.panel--blue p { color: rgba(255,255,255,.85); }
.panel--soft { background: var(--surface); border-color: transparent; }
.panel--amber { background: var(--amber-soft); border-color: #F6DCAE; }
.panel--sticky { position: sticky; top: 110px; }
.panel__title { font-size: 1.3rem; margin-bottom: .5em; }

.deflist { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; margin: 0 0 26px; font-size: 1rem; }
.deflist dt { color: var(--muted); }
.deflist dd { margin: 0; color: var(--ink); font-weight: 500; }
.panel--blue .deflist dt { color: rgba(255,255,255,.7); }
.panel--blue .deflist dd { color: #fff; }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s var(--ease); }
.faq__item[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  padding: 22px 26px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--blue-soft); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .25s var(--ease); }
.faq__icon::before { left: 5px; top: 10px; width: 12px; height: 2px; }
.faq__icon::after { left: 10px; top: 5px; width: 2px; height: 12px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__answer { padding: 0 26px 24px; color: var(--body); }
.faq__answer p { margin: 0; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-family: var(--font-display); font-size: .95rem; font-weight: 600; color: var(--ink); }
.field > span b { color: #D14343; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #A7B4C4; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,77,143,.12);
}
.field input.is-invalid, .field textarea.is-invalid, .field select.is-invalid { border-color: #D14343; box-shadow: 0 0 0 4px rgba(209,67,67,.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.enquiry-form { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { font-size: .95rem; color: var(--muted); margin: 0; }
.form-status { font-size: 1rem; }
.form-status.is-error { color: #B3261E; padding: 14px 18px; background: #FDECEA; border-radius: var(--r-sm); }
.form-status.is-success { color: var(--green-dark); padding: 14px 18px; background: var(--green-soft); border-radius: var(--r-sm); }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 52px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.02rem; }
.contact-list a { color: #fff; font-weight: 500; }
.contact-list a:hover { color: var(--amber); }
.contact-list__icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: var(--r-sm); background: rgba(255,255,255,.14); color: #fff;
}
.contact-list__icon svg { width: 19px; height: 19px; }

/* ---------- page hero ---------- */
.page-hero { background: linear-gradient(165deg, #F7FAFE 0%, #EAF1FA 100%); padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; top: -160px; right: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(26,77,143,.09), transparent 70%); border-radius: 50%;
}
.page-hero__inner { position: relative; max-width: 800px; }
.page-hero__title { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: .3em; }
.page-hero__sub { font-size: 1.12rem; color: var(--body); max-width: 62ch; margin: 0; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: .93rem; margin-bottom: 20px; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs span { color: var(--ink); font-weight: 500; }

/* ---------- prose ---------- */
.prose__block { margin-bottom: 34px; }
.prose h2 { font-size: 1.3rem; }
.prose__note { font-size: .98rem; padding-top: 24px; border-top: 1px solid var(--line); }
.ref { font-size: 1.05rem; }

/* ---------- cta band ---------- */
.cta { background: var(--blue); color: #fff; }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding: 62px 0; }
.cta__title { font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; margin-bottom: .3em; }
.cta__text { color: rgba(255,255,255,.84); margin: 0; max-width: 52ch; font-size: 1.08rem; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: #12212F; color: rgba(255,255,255,.72); padding: 66px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 48px; }
.footer__name { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; color: #fff; display: block; margin-bottom: 16px; }
.footer__name em { font-style: normal; color: var(--amber); }
.footer__intro { max-width: 40ch; font-size: 1rem; }
.footer__legal-line { font-size: .9rem; color: rgba(255,255,255,.5); margin-top: 18px; }
.footer__title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff; margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { color: rgba(255,255,255,.72); font-size: 1rem; }
.footer__links a:hover { color: var(--amber); }
.footer__address { margin-bottom: 16px; line-height: 1.75; }
.footer__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 22px 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .93rem;
}
.footer__bar p { margin: 0; }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,.6); }
.footer__legal a:hover { color: var(--amber); }

/* ---------- quick actions (floating on desktop, bottom bar on phones) ---------- */
.quick-actions { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.quick-actions__btn {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; color: #fff;
  box-shadow: var(--shadow); transition: transform .2s var(--ease);
}
.quick-actions__btn svg { width: 26px; height: 26px; }
.quick-actions__btn span { display: none; }
.quick-actions__btn:hover { transform: scale(1.07); color: #fff; }
.quick-actions__btn--wa { background: #25D366; }
.quick-actions__btn--call { background: var(--blue); }

/* ---------- error ---------- */
.error-page { padding: 110px 0; }
.error-page__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); color: var(--blue-soft); line-height: 1; margin: 0 0 8px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; padding: 56px 0 60px; }
  .hero__card { max-width: 560px; }
  .steps, .grid--4, .brandgrid { grid-template-columns: repeat(2, 1fr); }
  .options { grid-template-columns: 1fr; }
  .split, .split--aside, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .panel--sticky { position: static; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}

@media (max-width: 900px) {
  .header__inner { min-height: 68px; }
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: 68px 0 0; background: #fff; margin: 0;
    transform: translateX(-100%); transition: transform .3s var(--ease);
    /* Extra bottom padding clears the fixed quick-action bar so the last menu item
       is always reachable. */
    overflow-y: auto; padding: 20px 24px 110px; border-top: 1px solid var(--line);
    z-index: 95;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 16px 8px; font-size: 1.08rem; justify-content: space-between; border-radius: var(--r-sm); }
  .nav__drop {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 3px solid var(--blue-soft); border-radius: 0;
    padding: 0 0 12px 14px; margin-bottom: 10px; display: none;
  }
  .nav__item.is-expanded .nav__drop { display: block; }
  .nav__item.is-expanded .nav__caret { transform: rotate(-135deg) translateY(-2px); }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .section__head { margin-bottom: 38px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .topbar__item--hide { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .steps, .grid--4, .brandgrid, .numbers__grid { grid-template-columns: 1fr; }
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
  .card, .panel, .option, .step, .hero__card { padding: 26px; }
  .brand__tag { display: none; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1 1 auto; }
  .floaters { right: 14px; bottom: 14px; }
  .floater { width: 50px; height: 50px; }
}

/* ---------- map embed ---------- */
.mapwrap {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
}
.mapwrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- calculator ---------- */
.calc-panel .enquiry-form { margin-top: 24px; }
#calcResult .deflist { grid-template-columns: auto 1fr; }
#calcResult .deflist dd { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }

/* ==========================================================================
   Responsive hardening
   ========================================================================== */

/* THE CLASSIC GRID BLOWOUT.
   A grid/flex child defaults to `min-width: auto`, which means its automatic minimum size is
   its content's min-content width. A table with `min-width: 560px` inside such a child therefore
   pushes the whole track — and the whole page — past the viewport, no matter what the parent's
   max-width says. Setting min-width:0 lets the child shrink and hands the scrolling back to
   .tablewrap, where it belongs. */
.grid > *,
.split > *,
.contact-layout > *,
.hero__inner > *,
.steps > *,
.options > *,
.brandgrid > *,
.numbers__grid > *,
.footer__grid > * {
  min-width: 0;
}

/* Long unbroken strings (emails, GSTINs, URLs) must never widen a column. */
.footer__links a,
.footer__legal-line,
.contact-list a,
.topbar__item,
.card__text,
.deflist dd {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Tables keep their own horizontal scroll and announce it to assistive tech. */
.tablewrap { -webkit-overflow-scrolling: touch; }
.dtable { min-width: 460px; }

/* ---------- very large screens: use the extra room ---------- */
@media (min-width: 1800px) {
  :root { --shell: 1360px; }
  body { font-size: 18px; }
  .section { padding: 104px 0; }
}

/* ---------- tablet: 4-up grids drop to 2 before the cards get cramped ---------- */
@media (max-width: 1180px) {
  .brandgrid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- small tablet / large phone ---------- */
@media (max-width: 760px) {
  .brandgrid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 32px; }
  .section__head { margin-bottom: 32px; }
}

/* ---------- phones ---------- */
@media (max-width: 620px) {
  .topbar { font-size: .82rem; }
  .topbar__inner { justify-content: center; gap: 6px 18px; padding-top: 6px; padding-bottom: 6px; }
  .topbar__meta { gap: 16px; }
  /* Buttons must be able to wrap their label rather than push the layout wider. */
  .btn { white-space: normal; text-align: center; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cta__actions .btn { width: 100%; }
}

/* ---------- smallest phones (320px) ---------- */
@media (max-width: 380px) {
  .shell { padding: 0 14px; }
  body { font-size: 15.5px; }
  .hero__title { font-size: clamp(1.9rem, 8.5vw, 2.3rem); }
  .section__title { font-size: clamp(1.45rem, 6.5vw, 1.8rem); }
  .page-hero__title { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .card, .panel, .option, .step, .hero__card { padding: 20px; }
  .btn { padding: 13px 20px; font-size: .95rem; }
  .btn--lg { padding: 15px 22px; font-size: 1rem; }
  .numbers__grid { padding: 30px 0; }
  .brandgrid { grid-template-columns: 1fr; }
  .chips { gap: 8px; }
  .chip { padding: 9px 14px; font-size: .88rem; min-height: 44px; }
  .footer__bar { padding: 20px 14px; }
  .floater { width: 46px; height: 46px; }
  .floaters { right: 12px; bottom: 12px; gap: 8px; }
}

/* ---------- landscape phones: don't waste the short height ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero__inner { padding: 36px 0 40px; }
  .section { padding: 44px 0; }
  .page-hero { padding: 32px 0 36px; }
  .nav { padding-bottom: 90px; }
}

/* ---------- pointer-coarse: give every control a proper tap target ---------- */
@media (pointer: coarse) {
  .btn, .chip, .nav__link, .faq__item summary { min-height: 44px; }
  .footer__links a, .nav__drop a { padding-top: 10px; padding-bottom: 10px; }
}

/* ---------- print ---------- */
@media print {
  .topbar, .header, .floaters, .cta, .hero__card, .chips { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .section { padding: 18pt 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .has-js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- phones: quick actions become a bottom bar ----------
   Floating circles overlap full-width buttons on a narrow screen, so a tap meant for a
   call-to-action can fire WhatsApp instead. A bar avoids that, and reserving space for it
   with body padding means it never hides the footer either. */
@media (max-width: 620px) {
  body { padding-bottom: 68px; }
  .quick-actions {
    right: 0; left: 0; bottom: 0; flex-direction: row; gap: 0;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -2px 14px rgba(22,33,46,.10);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  }
  .quick-actions__btn {
    flex: 1 1 0; width: auto; height: 52px; border-radius: var(--r-pill);
    gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 1rem;
    box-shadow: none; margin: 0 5px;
  }
  .quick-actions__btn span { display: inline; }
  .quick-actions__btn svg { width: 21px; height: 21px; }
  .quick-actions__btn:hover { transform: none; }
}
