/* ==========================================================================
   Ketos Glazing — styles.css
   Hand-authored design system. No build step. Mobile-first.
   Brand: navy #16356b, teal #29a3dc, light surface #f4f6f9.
   ========================================================================== */

/* ----- Design tokens ----------------------------------------------------- */
:root {
  /* Brand */
  --navy: #16356b;
  --navy-700: #1d4288;
  --navy-900: #0f244a;
  --teal: #29a3dc;
  --teal-600: #1f86bb;
  --teal-100: #e3f3fb;

  /* Neutrals */
  --ink: #1b2540;          /* body text (high contrast on white) */
  --muted: #56627d;        /* secondary text (AA on white) */
  --line: #dfe4ee;         /* borders */
  --surface: #f4f6f9;      /* light grey section background */
  --white: #ffffff;

  /* Brand gradients (text-safe = stays dark enough for white text) */
  --grad-brand: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, var(--teal-600) 130%);
  --grad-accent: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);

  /* Typography */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-base: 1.0625rem;     /* 17px */
  --lh-base: 1.65;

  /* Fluid heading sizes */
  --fs-h1: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.9vw, 2.6rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-lead: clamp(1.075rem, 1rem + 0.4vw, 1.3rem);

  /* Spacing scale */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;

  /* Radii & shadows */
  --r-sm: 8px;  --r-md: 14px;  --r-lg: 22px;  --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(15,36,74,.06), 0 2px 6px rgba(15,36,74,.06);
  --sh-md: 0 6px 18px rgba(15,36,74,.08), 0 2px 6px rgba(15,36,74,.05);
  --sh-lg: 0 18px 40px rgba(15,36,74,.14);

  --container: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ----- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.1rem; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; font-weight: 700; }
h1 { font-size: var(--fs-h1); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.015em; }
h3 { font-size: var(--fs-h3); }
p { max-width: 68ch; }

/* ----- Accessibility helpers -------------------------------------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .75rem 1.1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----- Layout ------------------------------------------------------------ */
.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 2rem + 5vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.section--surface { background: var(--surface); }
.section__head { max-width: 60ch; margin-bottom: var(--sp-6); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: .5rem; display: block;
}
.lead { font-size: var(--fs-lead); color: var(--muted); }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 600px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .9rem 1.4rem; border-radius: var(--r-pill); border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  text-decoration: none; box-shadow: var(--sh-sm);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--grad-accent); }          /* navy→teal, white text safe on navy end */
.btn--primary:hover { background: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--white); border-color: var(--teal); box-shadow: var(--sh-sm); }
.btn--on-dark { background: #fff; color: var(--navy); }
.btn--on-dark:hover { background: var(--teal-100); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.075rem; }
.btn--block { width: 100%; justify-content: center; }

/* ----- Header / nav ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh-sm); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: var(--sp-5); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand__img { height: 40px; width: auto; }
.brand__text {
  font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--navy);
  letter-spacing: .01em; display: inline-flex; align-items: center; gap: .5rem;
}
.brand__text .wave { color: var(--teal); width: 26px; height: 26px; }
.nav__links { display: none; list-style: none; gap: .35rem; margin: 0; padding: 0; align-items: center; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--navy);
  padding: .5rem .7rem; border-radius: var(--r-sm); display: inline-block;
}
.nav__links a:hover { background: var(--surface); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--teal-600); background: var(--teal-100); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.nav__call { display: none; font-family: var(--font-head); font-weight: 600; color: var(--navy); white-space: nowrap; }
.nav__call:hover { color: var(--teal-600); text-decoration: none; }
.nav__toggle {
  margin-left: auto; display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  width: 46px; height: 46px; padding: 11px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); cursor: pointer;
}
.nav__toggle span { height: 2px; background: var(--navy); border-radius: 2px; transition: .25s var(--ease); }
.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); }

/* Mobile drawer */
.nav__drawer {
  position: fixed; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-lg); padding: var(--sp-4) var(--sp-5) var(--sp-6); display: none;
}
.nav__drawer.is-open { display: block; animation: drop .22s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav__drawer ul { list-style: none; margin: 0 0 var(--sp-4); padding: 0; }
.nav__drawer a {
  display: block; padding: .85rem .6rem; font-family: var(--font-head); font-weight: 500;
  color: var(--navy); border-bottom: 1px solid var(--line); font-size: 1.05rem;
}
.nav__drawer a[aria-current="page"] { color: var(--teal-600); }

@media (min-width: 980px) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; }
  .nav__call { display: inline-block; }
  .nav__cta { margin-left: 0; }
  .nav__links { margin-left: auto; }
}

/* Declutter the header on small phones — logo + menu button only.
   The quote CTA still appears in the menu drawer and the hero. */
@media (max-width: 559px) {
  .nav__cta { display: none; }
  .brand__text { font-size: 1.04rem; }
  .brand__img { height: 34px; }
}

/* ----- Hero -------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; background: var(--grad-brand); overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    radial-gradient(60% 60% at 85% 10%, rgba(41,163,220,.45), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Cpath d='M0 .5H40M.5 0V40' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3rem, 2rem + 7vw, 6rem); display: grid; gap: var(--sp-6); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero__sub { font-size: var(--fs-lead); color: #dce6f5; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); margin-top: var(--sp-2); }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: #eaf2fb; }
.hero__badge svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.hero__art { display: none; }
@media (min-width: 880px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .hero__art { display: grid; }
}
.hero__card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-lg);
  padding: var(--sp-6); backdrop-filter: blur(6px); box-shadow: var(--sh-lg);
}
.hero__card h2 { color: #fff; font-size: 1.3rem; }
.hero__card ul { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: grid; gap: .7rem; }
.hero__card li { display: flex; gap: .6rem; align-items: flex-start; color: #eaf2fb; }
.hero__card li svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 1px; }

/* ----- Trust strip ------------------------------------------------------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__row { display: grid; gap: var(--sp-4); padding-block: var(--sp-5); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .trust__row { grid-template-columns: repeat(4, 1fr); } }
.trust__item { display: flex; align-items: center; gap: .7rem; justify-content: center; text-align: left; }
.trust__item svg { width: 30px; height: 30px; color: var(--teal-600); flex-shrink: 0; }
.trust__item strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .98rem; }
.trust__item span { color: var(--muted); font-size: .85rem; }

/* ----- Cards (services) -------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6);
  box-shadow: var(--sh-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: #cfe6f5; }
.card__icon {
  width: 54px; height: 54px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-600); margin-bottom: var(--sp-4);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: var(--sp-4); }
.card__link {
  margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--teal-600);
  display: inline-flex; align-items: center; gap: .35rem;
}
.card__link svg { width: 1.05em; height: 1.05em; transition: transform .18s var(--ease); }
.card:hover .card__link svg { transform: translateX(3px); }

/* ----- Feature list (why choose) ---------------------------------------- */
.feature { display: flex; gap: var(--sp-4); align-items: flex-start; }
.feature__icon { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--navy); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .25rem; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ----- Steps (how it works) --------------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: var(--sp-5); }
.step__num {
  width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--grad-accent); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: 1.2rem; margin-bottom: var(--sp-3);
}
.step h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ----- Areas strip ------------------------------------------------------- */
.areas-strip { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-block; padding: .5rem .95rem; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  font-family: var(--font-head); font-weight: 500; font-size: .92rem;
}
.chip--solid { background: var(--teal-100); border-color: #cdeafa; color: var(--navy); }
a.chip { transition: background .15s var(--ease), border-color .15s var(--ease); }
a.chip:hover { background: var(--teal-100); border-color: var(--teal); color: var(--navy); text-decoration: none; }

/* ----- Testimonials ------------------------------------------------------ */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--sh-sm); height: 100%; display: flex; flex-direction: column; }
.stars { display: inline-flex; gap: 2px; color: #f6a609; margin-bottom: var(--sp-3); }
.stars svg { width: 20px; height: 20px; }
.quote-card blockquote { font-size: 1.05rem; color: var(--ink); margin: 0 0 var(--sp-4); }
.quote-card cite { margin-top: auto; font-style: normal; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.quote-card cite span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }

/* ----- CTA band ---------------------------------------------------------- */
.cta-band { background: var(--grad-brand); color: #fff; border-radius: var(--r-lg); padding: clamp(2rem, 1.4rem + 3vw, 3.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: #dce6f5; margin: var(--sp-3) auto var(--sp-5); }
.cta-band .btn-row { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ----- Page hero (interior pages) --------------------------------------- */
.page-hero { background: var(--grad-brand); color: #fff; }
.page-hero__inner { padding-block: clamp(2.5rem, 2rem + 4vw, 4.5rem); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #dce6f5; font-size: var(--fs-lead); margin-top: var(--sp-3); }
.breadcrumb { font-size: .85rem; color: #b9cae3; margin-bottom: var(--sp-3); }
.breadcrumb a { color: #dce6f5; }
.breadcrumb a:hover { color: #fff; }

/* ----- Prose / split sections ------------------------------------------- */
.split { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split--media-first .split__media { order: -1; } }
.media-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.media-box img { width: 100%; height: 100%; object-fit: cover; }
.prose h2 { margin-bottom: var(--sp-3); }
.prose h3 { margin: var(--sp-5) 0 var(--sp-2); }
.prose p { color: var(--ink); margin-bottom: var(--sp-3); }
.checklist { list-style: none; padding: 0; display: grid; gap: .7rem; margin: var(--sp-4) 0; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); }
.checklist li svg { width: 22px; height: 22px; color: var(--teal-600); flex-shrink: 0; margin-top: 2px; }

/* ----- Gallery ----------------------------------------------------------- */
.gallery { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); background: var(--surface); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { padding: .7rem .9rem; font-size: .9rem; color: var(--muted); font-family: var(--font-head); }

/* ----- FAQ accordion ----------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; margin-bottom: var(--sp-3); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.15rem 1.3rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__q:hover { background: var(--surface); }
.faq__q .ico { width: 24px; height: 24px; flex-shrink: 0; color: var(--teal-600); transition: transform .25s var(--ease); }
.faq__q[aria-expanded="true"] .ico { transform: rotate(45deg); }
.faq__a p { padding: 0 1.3rem 1.2rem; color: var(--muted); margin: 0; }
.faq__a[hidden] { display: none; }

/* ----- Forms ------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.field { margin-bottom: var(--sp-4); }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: .4rem; font-size: .95rem; }
.field .req { color: #c23b3b; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); padding: .8rem .9rem; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: #fff; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(41,163,220,.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 560px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }
.form-hint { font-size: .85rem; color: var(--muted); margin-top: var(--sp-2); }
fieldset { border: 0; padding: 0; margin: 0 0 var(--sp-4); }
fieldset legend { font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: .5rem; font-size: .95rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-block; padding: .6rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 500; color: var(--navy); cursor: pointer; transition: .15s var(--ease);
}
.radio-pill input:checked + span { background: var(--teal-100); border-color: var(--teal); color: var(--navy); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ----- Contact info list ------------------------------------------------- */
.info-list { list-style: none; padding: 0; display: grid; gap: var(--sp-4); }
.info-list li { display: flex; gap: .8rem; align-items: flex-start; }
.info-list svg { width: 24px; height: 24px; color: var(--teal-600); flex-shrink: 0; margin-top: 2px; }
.info-list strong { font-family: var(--font-head); color: var(--navy); display: block; }
.info-list a { color: var(--ink); }

/* ----- Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: #c7d3e8; padding-block: var(--sp-8) var(--sp-6); }
.site-footer a { color: #c7d3e8; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand .brand__text { color: #fff; }
.footer__brand p { color: #9fb0cd; font-size: .92rem; margin-top: var(--sp-3); }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--sp-3); }
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--sp-6); padding-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: .85rem; color: #8ea1c1; }
.footer__bottom a { color: #8ea1c1; }
.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--sp-4); }
.badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #eaf2fb; padding: .4rem .8rem; border-radius: var(--r-sm); font-size: .82rem; font-family: var(--font-head); font-weight: 500; }
.badge svg { width: 16px; height: 16px; color: var(--teal); }

/* ----- Scroll reveal ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ----- Utilities --------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.pill-note { display: inline-flex; align-items: center; gap: .5rem; background: var(--teal-100); color: var(--navy); border-radius: var(--r-pill); padding: .4rem .9rem; font-size: .88rem; font-weight: 600; font-family: var(--font-head); }

/* ----- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Mobile sticky CTA bar + WhatsApp button (injected by main.js) ===== */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; box-shadow: 0 -4px 16px rgba(15,36,74,.14); }
.mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem .5rem; font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; }
.mobile-cta a:hover { text-decoration: none; }
.mobile-cta__call { background: #fff; color: var(--navy); border-top: 1px solid var(--line); }
.mobile-cta__quote { background: var(--grad-accent); color: #fff; }
.mobile-cta svg { width: 1.15em; height: 1.15em; }
.whatsapp-fab { position: fixed; right: 16px; bottom: 16px; z-index: 91; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--sh-lg); transition: transform .2s var(--ease); }
.whatsapp-fab:hover { transform: scale(1.07); }
.whatsapp-fab svg { width: 30px; height: 30px; }
@media (max-width: 768px) {
  .mobile-cta { display: flex; }
  .whatsapp-fab { bottom: 74px; }
  body { padding-bottom: 58px; }
}

/* ===== Credibility / stats band ===== */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); color: #fff; line-height: 1; }
.stat__num .u { color: var(--teal); }
.stat__label { color: #bcd0ea; font-size: .95rem; margin-top: .45rem; }
.accred { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; align-items: center; margin-top: var(--sp-6); }
.accred__item { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: .65rem 1.05rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); box-shadow: var(--sh-sm); font-size: .92rem; }
.accred__item svg { width: 20px; height: 20px; color: var(--teal-600); }

/* ===== Lightbox (gallery) ===== */
.gallery img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,36,74,.93); display: none; align-items: center; justify-content: center; padding: 5vw; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--r-md); box-shadow: var(--sh-lg); }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; }
.lightbox__close svg { width: 24px; height: 24px; }
.lightbox__close:hover { background: rgba(255,255,255,.32); }

/* ===== Before/after slider ===== */
.ba { --pos: 50%; position: relative; max-width: 760px; margin-inline: auto; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-md); touch-action: none; user-select: none; }
.ba__img, .ba__after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); cursor: ew-resize; box-shadow: 0 0 0 1px rgba(15,36,74,.15); }
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--sh-md); display: grid; place-items: center; color: var(--navy); }
.ba__grip svg { width: 22px; height: 22px; }
.ba__tag { position: absolute; bottom: 12px; padding: .3rem .7rem; border-radius: var(--r-pill); background: rgba(15,36,74,.72); color: #fff; font-size: .76rem; font-family: var(--font-head); font-weight: 600; letter-spacing: .03em; }
.ba__tag--b { left: 12px; }
.ba__tag--a { right: 12px; }

/* ===== Photographic hero ===== */
.hero--photo { background: var(--navy-900); }
.hero--photo::after { display: none; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(11,28,56,.94) 0%, rgba(13,36,74,.82) 42%, rgba(22,53,107,.40) 100%); }
.hero--photo .hero__inner { position: relative; z-index: 2; display: block; }
.hero__content { max-width: 680px; }
.hero__eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #cdeafa; background: rgba(41,163,220,.16); border: 1px solid rgba(41,163,220,.45); padding: .42rem .9rem; border-radius: var(--r-pill); margin-bottom: var(--sp-4); }

/* ===== Photographic product cards ===== */
.photo-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; box-shadow: var(--sh-sm); color: #fff; height: 100%; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,28,56,.92) 6%, rgba(11,28,56,.4) 52%, rgba(11,28,56,.05) 100%); }
.photo-card:hover img { transform: scale(1.06); }
.photo-card:hover { text-decoration: none; }
.photo-card__body { position: relative; z-index: 2; height: 100%; min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--sp-5); }
.photo-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: .3rem; }
.photo-card p { color: #d4e0f1; font-size: .9rem; margin-bottom: .7rem; }
.photo-card__more { font-family: var(--font-head); font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: .35rem; font-size: .95rem; }
.photo-card__more svg { width: 1.05em; height: 1.05em; transition: transform .18s var(--ease); }
.photo-card:hover .photo-card__more svg { transform: translateX(3px); }

/* ===== Domestic / Commercial pathways ===== */
.pathways { display: grid; gap: var(--sp-5); }
@media (min-width: 760px) { .pathways { grid-template-columns: 1fr 1fr; } }
.path-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; color: #fff; display: flex; box-shadow: var(--sh-md); }
.path-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.path-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(11,28,56,.93) 10%, rgba(13,36,74,.5) 90%); }
.path-card:hover img { transform: scale(1.05); }
.path-card__body { position: relative; z-index: 2; padding: var(--sp-7) var(--sp-6); display: flex; flex-direction: column; justify-content: flex-end; }
.path-card h3 { color: #fff; font-size: 1.55rem; }
.path-card p { color: #dbe5f4; margin: .6rem 0 var(--sp-4); }
.path-card ul { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: .4rem; }
.path-card li { display: flex; gap: .5rem; align-items: center; color: #eaf2fb; font-size: .92rem; }
.path-card li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* ===== Photographic page-hero (interior pages) ===== */
.page-hero--photo { position: relative; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(11,28,56,.93) 0%, rgba(13,36,74,.78) 55%, rgba(22,53,107,.46) 100%); }
.page-hero--photo .page-hero__inner { position: relative; z-index: 2; }

/* ===== Dark section ===== */
.section--dark { background: var(--navy-900); color: #d7e2f2; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead, .section--dark p { color: #bcd0ea; }
.section--dark .eyebrow { color: var(--teal); }
.section--dark .feature__icon { background: rgba(255,255,255,.12); }
.section--dark .feature p { color: #aebfd9; }
.section--dark .checklist li { color: #e3ecf8; }
.section--dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: #aebfd9; }

/* ===== Sector / spec helpers ===== */
.spec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { font-family: var(--font-head); font-weight: 600; color: var(--navy); text-align: right; }

/* ===== Comparison table ===== */
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.compare th, .compare td { padding: .9rem 1.05rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.compare thead th:first-child { background: var(--navy-900); }
.compare tbody th { font-family: var(--font-head); font-weight: 600; color: var(--navy); background: var(--surface); white-space: nowrap; }
.compare td { color: var(--ink); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--teal-600); font-weight: 600; }

/* ===== Logo / accreditation strip ===== */
.logos { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; align-items: stretch; }
.logos__item { display: grid; place-items: center; text-align: center; min-width: 132px; min-height: 66px; padding: .75rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--navy); font-family: var(--font-head); font-weight: 600; box-shadow: var(--sh-sm); }
.logos__item small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; margin-top: .15rem; }
