/* =========================================================
   BRAND SETTINGS — change colours, fonts and spacing here.
   ========================================================= */
:root {
  /* Colours (light mode) */
  --c-brand: #0f5c55;          /* main teal */
  --c-brand-strong: #0a403b;   /* darker teal for bands */
  --c-accent: #f2a900;         /* marigold */
  --c-accent-soft: #fbe3a3;
  --c-on-accent: #1c1500;      /* text on marigold */
  --c-wa: #0b7a3e;             /* WhatsApp buttons (darker green for contrast) */
  --c-on-wa: #ffffff;
  --c-ink: #14201e;            /* main text */
  --c-muted: #4a5856;          /* secondary text */
  --c-bg: #faf7f0;             /* page background */
  --c-surface: #ffffff;        /* cards */
  --c-tint: #edf4f1;           /* alternate section background */
  --c-line: #d9e0dc;           /* borders */
  --c-error: #b42318;
  --c-success: #0b6b3a;
  --c-band-ink: #f4f8f6;       /* text on teal bands */
  --c-band-muted: #c4dad5;

  /* Fonts (both support Latin and Tamil) */
  --font-head: "Catamaran", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Catamaran", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale */
  --fs-h1: clamp(2.35rem, 1.6rem + 3.6vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.6rem);
  --fs-h3: 1.3rem;
  --fs-lead: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.92rem;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: clamp(3rem, 2.25rem + 3vw, 5rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --maxw: 72rem;

  /* Shapes */
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(20 32 30 / 0.06), 0 8px 24px rgb(20 32 30 / 0.07);
  --header-h: 4rem;
  --tap: 44px;

  color-scheme: light;
}

/* Dark mode follows the phone/computer setting */
@media (prefers-color-scheme: dark) {
  :root {
    --c-brand: #5ec4b6;
    --c-brand-strong: #0b2f2c;
    --c-accent: #f5b62a;
    --c-accent-soft: #4a3a10;
    --c-wa: #1d9a55;
    --c-on-wa: #ffffff;
    --c-ink: #e9f0ed;
    --c-muted: #a7b7b3;
    --c-bg: #0e1716;
    --c-surface: #152220;
    --c-tint: #12201e;
    --c-line: #283a36;
    --c-error: #ff8a80;
    --c-success: #6fd6a0;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
    color-scheme: dark;
  }
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 var(--s-4);
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--c-brand); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

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

.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;
}

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--c-accent); color: var(--c-on-accent);
  padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: var(--s-3); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 50rem; }

.icon { display: inline-flex; width: 1.25em; height: 1.25em; flex: none; }
.icon svg { width: 100%; height: 100%; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--tap);
  padding: 0.6rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 3.25rem; padding: 0.8rem 1.6rem; font-size: 1.08rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--c-accent); color: var(--c-on-accent); box-shadow: 0 3px 0 rgb(0 0 0 / 0.18); }
.btn-primary:hover { box-shadow: 0 5px 0 rgb(0 0 0 / 0.18); }
.btn-wa { background: var(--c-wa); color: var(--c-on-wa); }
.btn-ghost { border-color: currentColor; color: var(--c-brand); background: transparent; }
.btn-light { background: var(--c-band-ink); color: #0a403b; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-bg) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: var(--tap);
  font: 800 1.5rem/1 var(--font-head);
  color: var(--c-ink); text-decoration: none;
  margin-right: auto;
}
.brand-dot {
  width: 0.7em; height: 0.7em; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--c-accent);
  box-shadow: inset 0 0 0 0.17em var(--c-brand);
}
.brand img { height: 2rem; width: auto; }

.nav-toggle {
  order: 3;
  display: inline-grid; place-items: center;
  width: var(--tap); height: var(--tap);
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  background: var(--c-surface); color: var(--c-ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform 0.2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow);
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { padding: var(--s-2) var(--gutter) var(--s-4); }
.site-nav a {
  display: flex; align-items: center; min-height: 3rem;
  font-weight: 600; color: var(--c-ink); text-decoration: none;
  border-bottom: 1px solid var(--c-line);
}
.site-nav li:last-child a { border-bottom: 0; }

.header-wa { order: 2; }

/* Language switch (தமிழ் / English) */
.lang-switch {
  order: 1;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap); min-width: var(--tap); padding: 0 0.8rem;
  border: 1px solid var(--c-line); border-radius: 999px;
  background: var(--c-surface); color: var(--c-ink);
  font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
}
.lang-switch:hover { border-color: var(--c-brand); color: var(--c-brand); }

@media (max-width: 23rem) {
  .header-wa [data-c] {                     /* icon only on very small phones; label kept for screen readers */
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .header-wa { padding-inline: 0.7rem; }
}

@media (min-width: 52rem) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; gap: var(--s-1); padding: 0; }
  .site-nav a { border: 0; min-height: var(--tap); padding-inline: var(--s-3); border-radius: 999px; }
  .site-nav a:hover { background: var(--c-tint); }
  .header-wa { order: 4; }
  .lang-switch { order: 3; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding-block: var(--s-5) var(--s-7);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; max-width: 46rem; max-height: 46rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--c-accent) 22%, transparent), transparent 65%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: var(--s-7); align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: var(--fs-small); font-weight: 600;
  color: var(--c-brand);
  background: var(--c-tint);
  border: 1px solid var(--c-line);
  padding: 0.3rem 0.85rem; border-radius: 999px;
  margin-bottom: var(--s-4);
}
.hero h1 { max-width: 14ch; margin-bottom: var(--s-5); }
.hl {
  font-style: normal;
  color: var(--c-brand);
  background: linear-gradient(transparent 68%, var(--c-accent-soft) 68%, var(--c-accent-soft) 92%, transparent 92%);
  padding-inline: 0.05em;
}
.lead { font-size: var(--fs-lead); color: var(--c-muted); max-width: 36rem; margin-bottom: var(--s-6); }

.quick-links { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.icon-link {
  display: grid; place-items: center;
  width: var(--tap); height: var(--tap); border-radius: 50%;
  background: var(--c-surface); color: var(--c-brand);
  border: 1px solid var(--c-line);
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.icon-link:hover { transform: translateY(-2px); background: var(--c-brand); color: var(--c-bg); }
.icon-link-whatsapp { color: var(--c-wa); }
.icon-link .icon { width: 1.3rem; height: 1.3rem; }

.hero-visual { max-width: 22rem; width: 100%; justify-self: center; }

@media (min-width: 56rem) {
  .hero { padding-block: var(--s-6) var(--s-7); }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-visual { max-width: 26rem; }
}

/* Hero illustration colours */
.v-halo { fill: var(--c-tint); }
.v-phone { fill: #14201e; stroke: var(--c-line); stroke-width: 2; }
.v-notch { fill: #3a4745; }
.v-map { fill: #e7efe9; }
.v-road { stroke: #ffffff; stroke-width: 9; fill: none; stroke-linecap: round; }
.v-road-main { stroke: #f8dc8e; stroke-width: 13; }
.v-pulse { fill: rgb(15 92 85 / 0.14); transform-origin: 185px 180px; animation: pulse 2.6s ease-out infinite; }
.v-pin { fill: #0f5c55; }
.v-pin-dot { fill: #f2a900; }
.v-card { fill: #ffffff; filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.12)); }
.v-card-title { font: 800 17px var(--font-head); fill: #14201e; }
.v-card-sub { font: 600 12px var(--font-body); fill: #0b6b3a; }
.v-open-dot { fill: #1d9a55; }
.v-actions rect { fill: #edf4f1; }
.v-actions .v-action-wa { fill: #0b7a3e; }
.v-action-label { font: 600 8.5px var(--font-body); fill: #14201e; text-anchor: middle; }
.v-action-label-wa { fill: #ffffff; }
.v-ico { fill: #0f5c55; }
.v-ico-line { fill: none; stroke: #0f5c55; stroke-width: 2; }
.v-ico-wa { stroke: #ffffff; }
.v-bubble rect { filter: drop-shadow(0 6px 12px rgb(0 0 0 / 0.14)); }
.v-bubble text { font: 600 13px var(--font-body); }
.v-bubble-in rect { fill: var(--c-surface); }
.v-bubble-in text { fill: var(--c-ink); }
.v-bubble-out rect { fill: #d6f5dd; }
.v-bubble-out text { fill: #0a3d22; }
.v-bubble-in { animation: float 5s ease-in-out infinite; }
.v-bubble-out { animation: float 5s ease-in-out 1.2s infinite; }

@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* =========================================================
   Facts strip
   ========================================================= */
.facts { background: var(--c-brand-strong); color: var(--c-band-ink); }
.facts-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3) var(--s-5);
  padding-block: var(--s-5);
}
.facts-list li { display: flex; align-items: center; gap: var(--s-2); font-weight: 600; line-height: 1.3; }
.facts-list .icon { color: var(--c-accent); }
@media (min-width: 48rem) {
  .facts-list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding-block: var(--s-8); }
.section-tint { background: var(--c-tint); }
.section-lead { color: var(--c-muted); font-size: var(--fs-lead); max-width: 40rem; margin-bottom: var(--s-6); }

/* Services */
.cards {
  display: grid; gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.card {
  display: flex; flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--s-5) var(--s-5) var(--s-5);
  box-shadow: var(--shadow);
  position: relative;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 6px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--card-accent, var(--c-brand));
}
.card[data-service="whatsapp"] { --card-accent: var(--c-wa); }
.card[data-service="social"] { --card-accent: var(--c-accent); }
.card-icon {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; border-radius: 14px;
  background: var(--c-tint); color: var(--c-brand);
  margin-bottom: var(--s-4);
}
.card-icon .icon { width: 1.7rem; height: 1.7rem; }
.card h3 { margin-bottom: var(--s-1); }
.card-hook { color: var(--c-muted); margin-bottom: var(--s-4); }
.price {
  align-self: flex-start;
  display: inline-flex; align-items: baseline; gap: 0.35em;
  font-weight: 600; font-size: var(--fs-small);
  background: var(--c-accent-soft); color: var(--c-ink);
  padding: 0.25rem 0.75rem; border-radius: 999px;
  margin-bottom: var(--s-5);
}
.price strong { font: 800 1.15rem/1 var(--font-head); }
.card h4 {
  font: 600 0.8rem/1.2 var(--font-body);
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--c-muted); margin: 0 0 var(--s-2);
}
.ticks { margin-bottom: var(--s-5); }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: var(--s-2); line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.3em;
  width: 1rem; height: 0.55rem;
  border-left: 3px solid var(--c-brand); border-bottom: 3px solid var(--c-brand);
  transform: rotate(-45deg);
}
.card-who { font-size: var(--fs-small); color: var(--c-muted); margin-bottom: var(--s-5); }
.card .btn { margin-top: auto; }

.price-note { font-size: var(--fs-small); color: var(--c-muted); margin: calc(var(--s-4) * -1) 0 var(--s-4); }

.combo {
  display: grid; gap: var(--s-3) var(--s-5); align-items: center;
  margin-top: var(--s-5);
  padding: var(--s-5);
  background: var(--c-tint);
  border: 2px solid color-mix(in srgb, var(--c-brand) 35%, var(--c-line));
  border-radius: var(--radius);
}
.combo h3 { margin-bottom: var(--s-1); }
.combo-text p { margin: 0; color: var(--c-muted); }
.combo-price { margin: 0; }
.combo-price strong { font: 800 2rem/1 var(--font-head); color: var(--c-brand); }
@media (min-width: 48rem) { .combo { grid-template-columns: 1fr auto auto; } }

/* Social media packages (shown only when content.js has items) */
.packages { margin-top: var(--s-6); }
.packages-title { font-size: 1.4rem; margin-bottom: var(--s-1); }
.packages-lead { color: var(--c-muted); margin-bottom: var(--s-5); }
.packages-grid { display: grid; gap: var(--s-5) var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.package {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: var(--s-5);
}
.package.is-popular { border: 2px solid var(--c-accent); }
.package-flag {
  position: absolute; top: -0.75rem; left: var(--s-5);
  background: var(--c-accent); color: var(--c-on-accent);
  font-size: 0.78rem; font-weight: 700; padding: 0.1rem 0.6rem; border-radius: 999px;
}
.package h4 { font: 800 1.2rem/1.2 var(--font-head); color: var(--c-ink); margin: 0 0 var(--s-2); }
.package-price { color: var(--c-muted); margin-bottom: var(--s-4); }
.package-price strong { font: 800 1.6rem/1 var(--font-head); color: var(--c-brand); }
.package .btn { margin-top: auto; }

.also { margin-top: var(--s-6); }
.also-title { font-size: 1.1rem; margin-bottom: var(--s-3); }
.also-list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.also-list li {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: var(--tap);
  padding: 0.4rem 1rem;
  border: 1px dashed var(--c-brand);
  border-radius: 999px;
  font-weight: 600; font-size: var(--fs-small);
}
.also-list li::before { content: "+"; font: 800 1.1rem/1 var(--font-head); color: var(--c-brand); }

/* How it works */
.steps { display: grid; gap: var(--s-4); counter-reset: step; margin-top: var(--s-6); }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--s-5) var(--s-5) var(--s-4) 4.75rem;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: var(--s-5); top: var(--s-5);
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--c-accent); color: var(--c-on-accent);
  font: 800 1.3rem/1 var(--font-head);
}
.steps h3 { margin-bottom: var(--s-2); }
.steps p { color: var(--c-muted); margin-bottom: var(--s-2); }
@media (min-width: 60rem) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 4.5rem var(--s-5) var(--s-5); }
}

/* Who we help */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.chips li {
  display: inline-flex; align-items: center; min-height: var(--tap);
  padding: 0.45rem 1.15rem;
  background: var(--c-surface);
  border: 2px solid var(--c-line);
  border-radius: 999px;
  font-weight: 600;
}
.chips li:nth-child(3n+1) { border-color: color-mix(in srgb, var(--c-brand) 45%, var(--c-line)); }
.chips li:nth-child(3n+2) { border-color: color-mix(in srgb, var(--c-accent) 60%, var(--c-line)); }

/* Our work */
/* Sample designs */
.samples { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.sample {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.sample-art { position: relative; }
.sample-art svg { width: 100%; aspect-ratio: 4 / 3; }
.sample-badge {
  display: inline-block; margin-bottom: var(--s-2);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--c-accent-soft); color: var(--c-ink);
  padding: 0.1rem 0.6rem; border-radius: 999px;
}
.sample-body { padding: var(--s-4) var(--s-5) var(--s-2); }
.sample-body h3 { margin-bottom: var(--s-1); }
.sample-body p { color: var(--c-muted); font-size: var(--fs-small); }
.sample text { font-family: var(--font-body); }
.sx-title { font-size: 15px; font-weight: 800; fill: #14201e; }
.sx-title-sm { font-size: 13px; }
.sx-sub { font-size: 11.5px; fill: #4a5856; }
.sx-open { font-size: 11px; font-weight: 600; fill: #0b6b3a; }
.sx-btn { font-size: 10.5px; font-weight: 700; fill: #14201e; }
.sx-btn-on { fill: #ffffff; }
.sx-head { font-size: 13px; font-weight: 700; fill: #ffffff; }
.sx-head-sub { font-size: 10.5px; fill: #c4dad5; }
.sx-msg { font-size: 11px; fill: #14201e; }
.sx-label { font-size: 12px; font-weight: 700; fill: #14201e; }
.sx-item { font-size: 11px; font-weight: 700; fill: #14201e; }
.sx-price { font-size: 11px; font-weight: 600; fill: #0b6b3a; }
.sx-chip { font-size: 10.5px; font-weight: 700; fill: #0b7a3e; }
.sx-tag { font-size: 18px; font-weight: 800; fill: #ffffff; letter-spacing: 1px; }

.pilot-note {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-4); align-items: center;
  margin-top: var(--s-6);
  border: 2px dashed color-mix(in srgb, var(--c-brand) 40%, var(--c-line));
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
  background: var(--c-surface);
}
.pilot-note .empty-icon { margin: 0; width: 2.25rem; height: 2.25rem; }
.pilot-note .empty-title { font-size: 1.2rem; margin-bottom: var(--s-1); }
.pilot-note p { margin: 0; color: var(--c-muted); }
.pilot-note .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 48rem) {
  .pilot-note { grid-template-columns: auto 1fr auto; }
  .pilot-note .btn { grid-column: auto; }
}

.empty-state {
  text-align: center;
  border: 2px dashed color-mix(in srgb, var(--c-brand) 40%, var(--c-line));
  border-radius: var(--radius);
  padding: var(--s-7) var(--s-5);
  background: var(--c-surface);
  max-width: 44rem; margin-inline: auto;
}
.empty-icon { width: 3rem; height: 3rem; margin: 0 auto var(--s-4); color: var(--c-accent); display: block; }
.empty-title { font: 800 1.5rem/1.2 var(--font-head); margin-bottom: var(--s-2); }
.empty-state p { color: var(--c-muted); max-width: 32rem; margin-inline: auto; }
.empty-state .empty-title { color: var(--c-ink); }
.empty-state .btn { margin-top: var(--s-3); }

.cases { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.case {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.case img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case-body { padding: var(--s-5); }
.case-sector { font-size: var(--fs-small); font-weight: 600; color: var(--c-brand); margin-bottom: var(--s-1); }
.case dl { margin: 0; }
.case dt { font-weight: 600; margin-top: var(--s-3); }
.case dd { margin: 0; color: var(--c-muted); }

/* FAQ */
.faq-list { margin-top: var(--s-5); border-top: 1px solid var(--c-line); }
.faq-list details { border-bottom: 1px solid var(--c-line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  min-height: 3.5rem; padding-block: var(--s-3);
  font: 700 1.15rem/1.3 var(--font-head);
  cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--c-tint); color: var(--c-brand);
  font: 800 1.3rem/1 var(--font-head);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--c-muted); padding-right: var(--s-6); }

/* =========================================================
   Contact
   ========================================================= */
.section-dark { background: var(--c-brand-strong); color: var(--c-band-ink); }
.section-dark .section-lead { color: var(--c-band-muted); }
.section-dark h3 { font-size: 1.1rem; }
.contact-grid { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact-links { display: flex; flex-direction: column; gap: var(--s-3); align-items: flex-start; margin-bottom: var(--s-5); }
.contact-links li:empty, .contact-links li:has(> [hidden]) { display: none; }
.contact-none { color: var(--c-band-muted); }

.social-links { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.social-links a {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: var(--tap); padding: 0.4rem 0.9rem;
  border: 1px solid currentColor; border-radius: 999px;
  color: inherit; text-decoration: none; font-weight: 600; font-size: var(--fs-small);
}

.enquiry {
  background: var(--c-surface); color: var(--c-ink);
  border-radius: var(--radius);
  padding: var(--s-6) var(--s-5);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.25);
}
@media (min-width: 30rem) { .enquiry { padding: var(--s-6); } }

.field { margin: 0 0 var(--s-5); padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: var(--s-2); padding: 0; }
.field-hint, .field-hint-inline { font-size: var(--fs-small); color: var(--c-muted); font-weight: 400; }
.field-hint { margin: var(--s-1) 0 0; }

.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  border: 2px solid var(--c-line);
  border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 55%, transparent); }
.field [aria-invalid="true"] { border-color: var(--c-error); }
.field-error { color: var(--c-error); font-size: var(--fs-small); font-weight: 600; margin: var(--s-2) 0 0; }

.checks { display: grid; gap: var(--s-2); }
.check {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: var(--tap); padding: 0.35rem 0.75rem;
  border: 2px solid var(--c-line); border-radius: var(--radius-sm);
  cursor: pointer; font-weight: 600;
}
.check:has(input:checked) { border-color: var(--c-brand); background: var(--c-tint); }
.check input, .field-check input { width: 1.3rem; height: 1.3rem; accent-color: var(--c-brand); flex: none; margin: 0; }

.field-check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; }
.field-check input { margin-top: 0.2rem; }
.field-check label { font-weight: 400; margin: 0; }
.field-check .field-error { grid-column: 1 / -1; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: var(--s-4) 0 0; padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-success { background: color-mix(in srgb, var(--c-success) 14%, transparent); color: var(--c-success); }
.form-status.is-error { background: color-mix(in srgb, var(--c-error) 12%, transparent); color: var(--c-error); }
.form-status.is-sending { background: var(--c-tint); color: var(--c-ink); }
.form-alt { margin: var(--s-4) 0 0; font-size: var(--fs-small); text-align: center; }
.form-alt a { font-weight: 600; display: inline-flex; align-items: center; min-height: var(--tap); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { padding-block: var(--s-7); border-top: 1px solid var(--c-line); font-size: var(--fs-small); color: var(--c-muted); }
.footer-inner { display: grid; gap: var(--s-3); }
.footer-brand { font: 800 1.25rem/1.3 var(--font-head); color: var(--c-ink); margin: 0; }
.footer-meta, .footer-small { margin: 0; }
.footer-meta a { display: inline-flex; align-items: center; min-height: var(--tap); }
.site-footer .social-links a { color: var(--c-ink); }

/* =========================================================
   Text pages (privacy) and small helpers
   ========================================================= */
.btn-row-center { justify-content: center; }
.prose h1 { font-size: var(--fs-h2); }
.prose h2 { font-size: 1.4rem; margin-top: var(--s-6); }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: var(--s-4); }
.prose li { margin-bottom: var(--s-2); }
.draft-note {
  background: var(--c-accent-soft); color: var(--c-ink);
  border-left: 4px solid var(--c-accent);
  padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
}

/* =========================================================
   Floating WhatsApp button (phones only)
   ========================================================= */
.wa-float {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--c-wa); color: var(--c-on-wa);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.25);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.wa-float .icon { width: 1.75rem; height: 1.75rem; }
.wa-float.is-away { transform: translateY(150%); opacity: 0; pointer-events: none; }
/* Room at the bottom so the button never sits on top of the last lines of the page */
body.has-float { padding-bottom: 5rem; }
@media (min-width: 52rem) {
  .wa-float { display: none; }
  body.has-float { padding-bottom: 0; }
}

/* =========================================================
   Phone layout refinements (below 768px)
   ========================================================= */
.carousel-dots { display: none; }

@media (max-width: 47.99rem) {
  /* Hero: compact picture, full-width buttons */
  .hero-grid { gap: var(--s-5); }
  .hero-visual { max-width: 15.5rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .quick-links { justify-content: center; }
  .lead { margin-bottom: var(--s-5); }

  /* Swipe rows for service cards and sample designs */
  .cards, .samples {
    display: flex; gap: var(--s-4);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: var(--s-1) var(--gutter) var(--s-4);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .cards::-webkit-scrollbar, .samples::-webkit-scrollbar { display: none; }
  .cards > .card, .samples > .sample { flex: 0 0 86%; scroll-snap-align: start; }
  .carousel-dots { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-1); }
  .carousel-dots span { width: 8px; height: 8px; border-radius: 999px; background: var(--c-line); transition: width 0.2s ease, background-color 0.2s ease; }
  .carousel-dots span.is-on { width: 22px; background: var(--c-brand); }

  /* How it works: numbered timeline instead of boxes */
  .steps { gap: 0; margin-top: var(--s-5); }
  .steps li { background: none; border: 0; border-radius: 0; padding: 0 0 var(--s-5) 3.5rem; }
  .steps li::before { left: 0; top: 0; }
  .steps li::after {
    content: ""; position: absolute; left: calc(1.25rem - 1px); top: 2.75rem; bottom: 0.25rem;
    width: 2px; background: color-mix(in srgb, var(--c-accent) 50%, var(--c-line));
  }
  .steps li:last-child { padding-bottom: 0; }
  .steps li:last-child::after { display: none; }
  .steps h3 { padding-top: 0.35rem; }

  /* Tighter chips */
  .chips { gap: var(--s-2); }
  .chips li { padding: 0.35rem 0.9rem; font-size: 0.97rem; }
  .also-list li { font-size: 0.88rem; padding: 0.3rem 0.85rem; }

  /* Pilot note stacks neatly */
  .pilot-note { grid-template-columns: 1fr; text-align: left; }
  .pilot-note .btn { justify-self: stretch; }

  .enquiry { padding: var(--s-5) var(--s-4); }
}

/* =========================================================
   Tamil: taller letters need more line spacing; long words need slightly smaller headings
   ========================================================= */
:lang(ta) body, html:lang(ta) { line-height: 1.75; }
html:lang(ta) h1, html:lang(ta) h2, html:lang(ta) h3, html:lang(ta) h4 { line-height: 1.35; letter-spacing: 0; }
html:lang(ta) { --fs-h1: clamp(1.7rem, 1.2rem + 2.8vw, 3.3rem); --fs-h2: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); }
html:lang(ta) .site-nav a { font-size: 0.95rem; }
html:lang(ta) .hero h1 { max-width: 18ch; }
html:lang(ta) .faq-list summary { line-height: 1.5; }

/* =========================================================
   Motion preferences
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
