/* ==========================================================================
   KP Catering Service — Design System
   Palette taken from the printed brand identity: deep forest green, metallic
   gold, ivory. Gold is the accent, never body text on a light ground — on
   cream it only appears as --gold-700, which is dark enough to read.
   Type: Jost (display) over Poppins (body).

   Every colour on all 11 pages comes from the tokens below. Change a value
   here and the whole site follows.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Forest green — the brand's ground colour, carried deeper so the dark
     sections read as night rather than as a filled box. */
  --green-950: #081a10;
  --green-900: #0c2416;
  --green-800: #10301e;
  --green-700: #17402a;
  --green-600: #24603c;
  --green-400: #6e9b58;
  --leaf:      #5c8a35;   /* the laurel green in the logo */

  /* Gold is an accent, not a surface. It appears as hairlines, small caps and
     numerals; the only large gold shape on the site is the logo itself. */
  --gold-700: #8a6a16;    /* the gold that still reads as text on ivory */
  --gold-600: #a9841f;
  --gold-500: #d4af37;    /* the accent */
  --gold-400: #e0c56c;
  --gold-200: #f1e3b0;

  /* Ivory grounds */
  --cream-50:  #ffffff;
  --cream-100: #faf6ec;
  --cream-200: #f2ebda;
  --cream-300: #e3d9c0;

  --ink: #0e1f15;
  --ink-soft: #33463a;
  --muted: #5e6e62;
  --line: #e0d7c1;
  --line-dark: rgba(212, 175, 55, 0.2);
  --danger: #a3271f;

  /* Type — a warm variable serif over a grotesque, so headings carry the
     voice and body copy stays out of the way. */
  --display: "Fraunces", "Georgia", "Times New Roman", serif;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tamil: "Noto Serif Tamil", "Nirmala UI", "Latha", serif;

  /* Scale */
  --step--2: clamp(0.7rem, 0.68rem + 0.08vw, 0.75rem);
  --step--1: clamp(0.82rem, 0.79rem + 0.12vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.36vw, 1.42rem);
  --step-2: clamp(1.5rem, 1.32rem + 0.8vw, 2.1rem);
  --step-3: clamp(2rem, 1.62rem + 1.6vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.9rem + 3vw, 4.8rem);
  --step-5: clamp(3.2rem, 2rem + 5vw, 6.4rem);

  /* Space */
  --gap: clamp(1rem, 0.8rem + 1vw, 1.6rem);
  --pad-section: clamp(4.5rem, 3rem + 6.5vw, 9rem);
  --wrap: 1260px;

  /* Barely-there radius: crisp edges, but not knife-edged. */
  --radius: 2px;
  --radius-lg: 3px;

  /* Paper lift, not drop shadow. */
  --shadow-sm: 0 1px 2px rgba(8, 26, 16, 0.04);
  --shadow-md: 0 14px 34px -26px rgba(8, 26, 16, 0.4);
  --shadow-lg: 0 30px 70px -46px rgba(8, 26, 16, 0.5);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 0.45s var(--ease);

  /* Temple (kumbam) border used as the section divider */
  --korvai: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='13'%3E%3Cpath d='M0 0 L12 13 L24 0 Z' fill='%23d4af37'/%3E%3C/svg%3E");
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; background: var(--cream-200); }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

ul, ol { list-style: none; padding: 0; }

::selection { background: var(--gold-500); color: var(--green-950); }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--green-700);
  color: var(--gold-400);
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 0.5rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 3. Typography ---------- */
/* Fraunces has optical-size, softness and "wonk" axes. Dialling softness up
   and letting the wonky alternates through at display sizes is what stops the
   headings reading like every other serif on every other catering site. */
.display,
h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 34, "WONK" 1;
  line-height: 1.02;
  letter-spacing: -0.016em;
  text-wrap: balance;
  color: var(--ink);
}
h3 {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "opsz" 28, "SOFT" 20, "WONK" 0;
  font-size: var(--step-1);
  line-height: 1.22;
  letter-spacing: -0.008em;
  text-wrap: balance;
  color: var(--ink);
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }

/* A rule, a word, and then silence. The label says where you are; it does not
   try to sell anything, which is the job of the heading underneath it. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--body);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  flex: none;
  background: var(--gold-500);
}
.eyebrow--onDark { color: var(--gold-400); }
.eyebrow--onDark::before { background: var(--gold-500); }

.lede {
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 54ch;
  text-wrap: pretty;
}
.lede--onDark { color: rgba(250, 246, 236, 0.8); }

.tamil {
  font-family: var(--tamil);
  font-weight: 500;
  color: var(--green-700);
}
.tamil--onDark { color: var(--gold-400); }

/* Small caps used for positions, counts and specs — the utility voice. */
.spec {
  font-family: var(--body);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.spec--onDark { color: var(--gold-400); }

body { font-size: var(--step-0); line-height: 1.68; }
p { text-wrap: pretty; }

/* ---------- 4. Layout ---------- */
.wrap {
  width: min(var(--wrap), 92vw);
  margin-inline: auto;
}
.wrap--narrow { width: min(880px, 92vw); }

.section { padding-block: var(--pad-section); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }

.section--rice { background: var(--cream-100); }
.section--rice-alt { background: var(--cream-200); }
.section--paper { background: var(--cream-50); }

.section--maroon {
  background: var(--green-800);
  color: var(--cream-100);
}
.section--leaf {
  background: var(--green-900);
  color: var(--cream-100);
}
.section--maroon h2,
.section--leaf h2 { color: var(--cream-50); }

/* Section heads sit against a left margin rather than in the middle of the
   page. Centring every head is what made the old pages read as one long
   template; an off-centre column gives the eye somewhere to start. */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(1.4rem, 0.6rem + 3vw, 4rem);
  row-gap: 0;
  align-items: end;
  margin-bottom: clamp(2.6rem, 1.8rem + 2.6vw, 4.4rem);
}
/* Label on top, heading under it, and the lede set beside the heading rather
   than beneath — so the eye reads down the left and then across. */
.section-head .eyebrow { grid-column: 1; grid-row: 1; margin-bottom: 0.9rem; }
.section-head h2 { grid-column: 1; grid-row: 2; max-width: 15ch; }
.section-head p { grid-column: 2; grid-row: 2; margin-top: 0; align-self: end; padding-bottom: 0.45rem; }

@media (max-width: 860px) {
  .section-head { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
  .section-head .eyebrow { grid-row: auto; }
  .section-head h2 { grid-column: 1; grid-row: auto; max-width: none; }
  .section-head p { grid-column: 1; grid-row: auto; padding-bottom: 0; }
}

/* Kept for the few places a centred head is genuinely right — a closing
   call to action, where there is nothing to sit beside it. */
.section-head--center {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}
.section-head--center .eyebrow,
.section-head--center h2,
.section-head--center p { grid-column: 1; grid-row: auto; }
.section-head--center p { margin-top: 1rem; padding-bottom: 0; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center h2 { max-width: 20ch; }

/* Temple-border divider — the one piece of ornament on the site, and the only
   thing here that is decoration rather than information. It earns its place
   because it is the brand's own kumbam border, but on a page built from
   hairlines it has to whisper: half the height, and well short of full gold. */
.korvai {
  height: 7px;
  background-image: var(--korvai);
  background-repeat: repeat-x;
  background-position: center top;
  background-size: auto 100%;
  opacity: 0.5;
}
.korvai--up { transform: rotate(180deg); }

/* ---------- 5. Buttons ----------
   Gold is not a button. A gold slab is the first thing that makes a premium
   brand look like a template, and it leaves nothing for the accent to do.
   Primary actions are solid forest on light grounds and solid ivory on dark
   ones; gold appears only as the hairline that lights up on hover. */
.btn {
  --btn-bg: var(--green-800);
  --btn-fg: var(--cream-100);
  --btn-bd: var(--green-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.02em 2.1em;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { --btn-bd: var(--gold-500); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* Primary. Named --gold for history; it is the lead action, not a gold slab. */
.btn--gold,
.btn--leaf,
.btn--primary {
  --btn-bg: var(--green-800);
  --btn-fg: var(--cream-100);
  --btn-bd: var(--green-800);
}
.btn--gold:hover,
.btn--leaf:hover,
.btn--primary:hover { --btn-bg: var(--green-700); --btn-bd: var(--gold-500); }

/* The same lead action, inverted where the ground is dark. */
:is(.section--maroon, .section--leaf, .slider, .pagehero, .footer, .leafband) :is(.btn--gold, .btn--leaf, .btn--primary) {
  --btn-bg: var(--cream-100);
  --btn-fg: var(--green-900);
  --btn-bd: var(--cream-100);
}
:is(.section--maroon, .section--leaf, .slider, .pagehero, .footer, .leafband) :is(.btn--gold, .btn--leaf, .btn--primary):hover {
  --btn-bg: var(--gold-200);
  --btn-bd: var(--gold-200);
}

/* Secondary: a gold hairline and nothing else. */
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--green-800);
  --btn-bd: var(--gold-600);
}
.btn--outline:hover { --btn-bg: var(--green-800); --btn-fg: var(--cream-100); --btn-bd: var(--green-800); }

.btn--onDark {
  --btn-bg: transparent;
  --btn-fg: var(--cream-100);
  --btn-bd: rgba(212, 175, 55, 0.55);
}
.btn--onDark:hover {
  --btn-bg: transparent;
  --btn-fg: var(--gold-400);
  --btn-bd: var(--gold-500);
}

.btn--wide { width: 100%; }
.btn--sm { padding: 0.78em 1.4em; font-size: var(--step--2); letter-spacing: 0.14em; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* Text link with a gold rule that draws in on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-800);
  padding-bottom: 4px;
  background-image: linear-gradient(var(--gold-500), var(--gold-500));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.5s var(--ease), color var(--t);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow--onDark { color: var(--gold-400); }

/* ---------- 6. Top bar ---------- */
.topbar {
  background: var(--green-950);
  color: rgba(251, 248, 240, 0.86);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding-block: 0.35rem;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.topbar__item svg { width: 0.95em; height: 0.95em; color: var(--gold-400); flex: none; }
.topbar a:hover { color: var(--gold-400); }
.topbar__group { display: flex; align-items: center; gap: 1.5rem; }

@media (max-width: 720px) {
  .topbar__inner { justify-content: center; }
  .topbar__group--left { display: none; }
}

/* ---------- 7. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), padding var(--t);
}
.nav.is-stuck { box-shadow: var(--shadow-sm); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 0.7rem;
  transition: padding var(--t);
}
.nav.is-stuck .nav__inner { padding-block: 0.45rem; }

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}
.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  display: block;
  background: transparent;
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__name {
  font-family: var(--display);
  font-size: 1.16rem;
  line-height: 1;
  color: var(--green-800);
  display: block;
}
.brand__tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-top: 4px;
}
.brand--onDark .brand__name { color: var(--cream-50); }
.brand--onDark .brand__tag { color: var(--gold-400); }

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 0.1rem + 1vw, 1.5rem);
}
.nav__link {
  position: relative;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--green-700); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--green-700); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.nav__drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: var(--green-800);
  color: var(--cream-50);
  padding: 5.5rem 1.75rem 2rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  z-index: 130;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav__drawer.is-open { transform: translateX(0); }
.nav__drawer a {
  font-family: var(--display);
  font-size: 1.3rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line-dark);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}
.nav__drawer a:hover,
.nav__drawer a[aria-current="page"] { color: var(--gold-400); padding-left: 8px; }
.nav__drawer .btn { margin-top: 1.4rem; }
.nav__drawer__foot {
  margin-top: auto;
  padding-top: 1.75rem;
  font-size: 0.84rem;
  color: rgba(251, 248, 240, 0.7);
}
.nav__close {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--cream-50);
  font-size: 1.4rem;
  cursor: pointer;
}
.nav__scrim {
  position: fixed;
  inset: 0;
  background: rgba(28, 8, 14, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  z-index: 125;
}
.nav__scrim.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav__actions .btn { display: none; }
}

/* ---------- 8. Cards ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}
/* Explicit column counts rather than auto-fit: six-item grids must land as
   3+3 and 4+2, not reflow into an uneven 4+2 / 5+1 at wide widths. */
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.card {
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t);
}
.card:hover {
  border-color: var(--gold-500);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-300);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--green-800);
  color: var(--gold-400);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-top-right-radius: var(--radius);
}
.card__body {
  padding: 1.5rem 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.card__body p { color: var(--muted); font-size: 0.96rem; }
.card__body .link-arrow { margin-top: auto; padding-top: 0.6rem; align-self: flex-start; }

/* Icon feature card — "Why choose us" */
/* No box. A gold hairline overhead, the point, and the explanation — four of
   these in a row read as a considered list rather than four floating cards. */
.feature {
  padding: 1.6rem 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  position: relative;
  transition: border-color var(--t);
}
.feature::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width 0.6s var(--ease);
}
.feature:hover::before { width: 100%; }
/* The glyph on its own. A filled disc behind every icon is four more circles
   competing with the logo, which is the only round gold shape worth having. */
.feature__icon {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  color: var(--gold-600);
  margin-bottom: 0.95rem;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 0.7rem; font-size: 1.16rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

.section--maroon .feature,
.section--leaf .feature {
  background: transparent;
  border-top-color: var(--line-dark);
}
.section--maroon .feature h3,
.section--leaf .feature h3 { color: var(--cream-50); }
.section--maroon .feature p,
.section--leaf .feature p { color: rgba(251, 248, 240, 0.78); }
.section--maroon .feature__icon,
.section--leaf .feature__icon { background: transparent; color: var(--gold-500); }

/* ---------- 9. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--green-800);
  padding: 1.6rem 1.2rem;
  text-align: center;
}
.stat__num {
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem);
  line-height: 1;
  color: var(--gold-400);
  display: block;
}
.stat__label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 248, 240, 0.72);
}

/* ---------- 10. Footer ---------- */
.footer {
  background: var(--green-950);
  color: rgba(251, 248, 240, 0.76);
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(1.75rem, 1rem + 2.5vw, 3.5rem);
  padding-block: clamp(3rem, 2.2rem + 3vw, 4.75rem);
}
.footer h4 {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.15rem;
}
.footer li + li { margin-top: 0.6rem; }
.footer a { transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer a:hover { color: var(--gold-400); }
.footer__links a:hover { padding-left: 5px; }
.footer__blurb { margin: 1.15rem 0 1.5rem; max-width: 38ch; line-height: 1.7; }
.footer__contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  line-height: 1.55;
}
.footer__contact svg {
  width: 17px; height: 17px;
  color: var(--gold-500);
  flex: none;
  margin-top: 4px;
}
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--gold-400);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer__social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--green-950);
  transform: translateY(-3px);
}
.footer__social svg { width: 17px; height: 17px; }
.footer__bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer__bar p { color: rgba(251, 248, 240, 0.6); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- 11. Floating contact ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 110;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.65);
  transition: transform 0.3s var(--ease);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.6s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 29px; height: 29px; }

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Mobile action bar — Call | WhatsApp | Get Quote */
.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 115;
  display: none;
  background: var(--green-950);
  border-top: 1px solid var(--line-dark);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.6);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a {
  flex: 1;
  padding: 0.72rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.24rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cream-100);
}
.actionbar a + a { border-left: 1px solid var(--line-dark); }
.actionbar svg { width: 19px; height: 19px; color: var(--gold-400); }
/* The one primary action on a phone — ivory, like every other lead action on
   a dark ground, rather than a slab of gold across the bottom of the screen. */
.actionbar a:last-child { background: var(--cream-100); color: var(--green-900); }
.actionbar a:last-child svg { color: var(--green-950); }

@media (max-width: 780px) {
  .actionbar { display: flex; }
  .wa-float { display: none; }
  body { padding-bottom: 68px; }
  html { scroll-padding-top: 80px; }
}

/* ---------- 12. Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
