/* Guest Care Products — shared styles for every page (English + Tamil). */

:root {
  --ink: #14284B;        /* navy from the existing flyers */
  --ink-soft: #3D5170;
  --zip: #2F6FDB;        /* the blue zip track on the bag */
  --call: #C2410C;       /* the orange comb, darkened for readable white text */
  --call-hover: #A3360A;
  --wa: #137A43;         /* WhatsApp green, darkened for contrast */
  --gold: #F2B526;       /* the hair-oil sachet */
  --mist: #EAF2F8;
  --line: #D3E0EC;
  --paper: #FFFFFF;

  --font: "Anek Tamil", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variation-settings: "wdth" 100;
}
html[lang="ta"] body { line-height: 1.8; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--zip); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  font-weight: 760;
  font-stretch: 78%;
  font-variation-settings: "wdth" 78;
  letter-spacing: -0.005em;
  overflow-wrap: break-word;
}
html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3 {
  line-height: 1.35;
  font-stretch: 90%;
  font-variation-settings: "wdth" 90;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
html[lang="ta"] h1 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
html[lang="ta"] h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }

p { margin: 0 0 1em; max-width: 62ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem 1rem; z-index: 50; }

/* The zip-lock track: the one recurring motif, borrowed from the bag itself */
.zip {
  height: 12px;
  background:
    linear-gradient(var(--zip), var(--zip)) top / 100% 6px no-repeat,
    linear-gradient(color-mix(in srgb, var(--zip) 45%, white), color-mix(in srgb, var(--zip) 45%, white)) bottom / 100% 3px no-repeat;
}

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: .8rem; padding-bottom: .8rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; }
.brand-name { display: block; font-weight: 760; font-size: 1.25rem; line-height: 1; font-variation-settings: "wdth" 80; }
.brand-sub { display: block; font-size: .85rem; color: var(--ink-soft); line-height: 1.2; margin-top: .2rem; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang {
  font-weight: 600; text-decoration: none; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 999px; padding: .35rem .9rem;
}
.lang:hover { border-color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font: inherit; font-weight: 700; font-size: 1.125rem; line-height: 1.2;
  text-decoration: none; border-radius: 12px; padding: .9rem 1.3rem;
  border: 2px solid transparent; cursor: pointer;
}
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn-call { background: var(--call); color: #fff; }
.btn-call:hover { background: var(--call-hover); }
.btn-wa { background: var(--paper); color: var(--wa); border-color: var(--wa); }
.btn-wa:hover { background: #EAF6EF; }
.btn-small { font-size: 1rem; padding: .55rem .95rem; border-radius: 10px; }
.num { font-variant-numeric: tabular-nums; letter-spacing: .01em; white-space: nowrap; }

/* ---------- Hero ----------
   Headline and call buttons side by side, then the wide product photo
   as a full-width band, then the three facts in a row. */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas:
    "title side"
    "art   art"
    "facts facts";
  column-gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
.hero-grid > * { min-width: 0; }
html[lang="ta"] .hero-grid { grid-template-columns: 1.45fr 1fr; }
.hero-title { grid-area: title; margin: 0; }
.hero-side { grid-area: side; }
.hero-side > :last-child { margin-bottom: 0; }
.hero-lede { font-size: 1.2rem; color: var(--ink-soft); }
.hero .price-tag { font-size: 1.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 0; }
.hero-art { grid-area: art; margin: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(1rem, 3vw, 1.5rem); }
.hero-art img { width: 100%; max-width: 46rem; margin: 0 auto; }
.facts {
  grid-area: facts; list-style: none; margin: 0; padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem;
}
.facts li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.facts svg { width: 1.35rem; height: 1.35rem; color: var(--zip); flex: none; }
.price-tag {
  display: inline-block; background: var(--gold); color: var(--ink);
  font-weight: 760; border-radius: 8px; padding: .1rem .55rem;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-mist { background: var(--mist); }
.section-intro { max-width: 46rem; margin-bottom: 2rem; }
.section-intro p { color: var(--ink-soft); }

/* Who we supply */
.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.audience li { text-align: center; font-weight: 650; padding: 1.2rem .5rem; border-top: 3px solid var(--zip); }
.audience svg { width: 52px; height: 52px; margin: 0 auto .6rem; color: var(--ink); display: block; }

/* Kits. To add a new kit later, copy one <article class="tier"> block. */
.tiers { display: grid; gap: 2rem; }
.tier {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  background: var(--paper); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
}
.tier-name { font-size: 1.5rem; margin-bottom: .2rem; }
.tier-price { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 .3rem; }
.tier-price strong { font-size: clamp(2.8rem, 6vw, 3.6rem); line-height: 1; font-weight: 800; font-variation-settings: "wdth" 75; }
.tier-price span { color: var(--ink-soft); font-weight: 600; }
.tier-note { color: var(--ink-soft); font-size: .98rem; }
.items { list-style: none; margin: 1.2rem 0; padding: 0; display: grid; gap: .1rem; }
.items li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.items li span:last-child { color: var(--ink-soft); text-align: right; }

.tier img { width: 100%; border-radius: 14px; }

/* How to order: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 760; font-size: 1.2rem;
}
.steps h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.steps p { color: var(--ink-soft); margin: 0; }
.callout {
  margin-top: 2.2rem; padding: 1rem 1.25rem; border-radius: 14px;
  background: #FFF6DD; border-left: 5px solid var(--gold); max-width: 46rem;
}
.callout p { margin: 0; }

/* Towns */
.towns { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.towns li {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px;
  padding: .45rem 1rem .45rem .75rem; font-weight: 650;
}
.towns svg { width: 1.1rem; height: 1.1rem; color: var(--call); }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 500; color: var(--zip); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p, .faq details ul { margin: 0 0 1.2rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- Contact: the one loud moment — the phone number ---------- */
.contact { background: var(--ink); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-lede { color: #C9D6E8; font-size: 1.15rem; }
.big-phone {
  display: block; color: #fff; text-decoration: none;
  font-size: clamp(2.6rem, 9.5vw, 5.4rem); font-weight: 800; line-height: 1; white-space: nowrap;
  font-variation-settings: "wdth" 75; font-stretch: 75%;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
  margin: .6rem 0 .3rem;
}
.big-phone:hover { color: var(--gold); }
.alt-phone { font-size: 1.35rem; font-weight: 650; margin-bottom: 1.6rem; }
.alt-phone a { color: #fff; }
.contact .hero-ctas { margin-top: 0; }
.contact .btn-wa { background: transparent; color: #fff; border-color: #6FCF97; }
.contact .btn-wa:hover { background: rgba(111, 207, 151, .12); }
.address { font-style: normal; color: #DCE6F3; }
.address strong { color: #fff; display: block; font-size: 1.15rem; margin-bottom: .2rem; }
.map {
  margin-top: 1rem; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.2);
  aspect-ratio: 4 / 3; background: #1d3560;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact a.directions { color: var(--gold); font-weight: 650; }
.pay { margin-top: 1.4rem; color: #C9D6E8; }

/* ---------- Footer ---------- */
.site-footer { padding: 1.5rem 0 6rem; font-size: .95rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer a { color: var(--ink); }

/* ---------- Sticky call bar (phones only) ---------- */
.callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tier, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid, html[lang="ta"] .hero-grid { grid-template-columns: 1fr; grid-template-areas: "title" "side" "art" "facts"; }
  .hero-title { margin-bottom: 1rem; }
  .facts { flex-direction: column; justify-content: flex-start; }
  .audience { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-call { display: none; }
  .brand-sub { display: none; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding-top: 0; padding-left: 3.6rem; min-height: 2.6rem; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .callbar {
    display: grid; grid-template-columns: 1.6fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(20,40,75,.08);
  }
  .callbar .btn { justify-content: center; padding: .8rem .6rem; font-size: 1.05rem; }
}
