/* Pooltec Mauritius website: the look of every page.
   Colours and sizes are set once here, at the top; change them here to change them everywhere. */

:root {
  --blue: #045c9c;        /* brand blue (logo) */
  --blue-dark: #034a7d;
  --navy: #062b47;        /* dark sections and footer */
  --teal: #2a9fbc;        /* teal (logo) */
  --ink: #12263a;         /* main text */
  --muted: #5b6b7b;       /* quieter text */
  --line: #dfe7ee;
  --tint: #f2f7fa;        /* light sections */
  --white: #fff;
  --wa: #25d366;          /* WhatsApp green */
  --radius: 18px;
  --shadow: 0 10px 30px rgba(6, 43, 71, .08);
  --wrap: 1180px;
  --header-h: 76px;
}

/* ---------- language switch: hide the language not in use ---------- */
html.en [lang="fr"], html.fr [lang="en"] { display: none !important; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.ico { width: 20px; height: 20px; flex: none; }
.todo { background: #fff3a3; color: #5a4a00; padding: 0 4px; border-radius: 4px; }

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow.light { color: #8fd3e6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  border: 0; border-radius: 999px;
  background: var(--blue); color: var(--white);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.26); }
.btn-small { padding: 10px 20px; font-size: 15px; }
.btn-wa { background: var(--wa); color: #06341b; width: 100%; justify-content: center; }
.btn-wa:hover { background: #1fbe5a; }
.link { color: var(--blue); font-weight: 700; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(6,43,71,.06); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--blue); }
.nav a.btn { color: var(--white); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.langs button { border: 0; background: none; padding: 6px 11px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.langs button.on { background: var(--blue); color: var(--white); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- top photo ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 820px);
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6,43,71,.88) 0%, rgba(6,43,71,.6) 45%, rgba(6,43,71,.15) 100%);
}
.hero-inner { padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 800; max-width: 15ch; margin-bottom: 20px; }
.hero-sub { font-size: clamp(18px, 2vw, 22px); max-width: 34ch; opacity: .92; margin-bottom: 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- figures strip ---------- */
.stats { background: var(--white); position: relative; z-index: 2; }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: -56px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 0;
}
.stat { padding: 26px 20px; text-align: center; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-weight: 600; font-size: 15px; }
.stats-note { margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }
.stats .wrap:last-child { text-align: center; }
.warn-box {
  display: inline-block; margin: 6px 0 0; padding: 10px 16px;
  background: #fff3d6; color: #8a4b00; border: 1.5px solid #f2c46b; border-radius: 12px;
  font-size: 15px; font-weight: 700; line-height: 1.4;
}
.faq p.warn-box { color: #8a4b00; padding-right: 16px; margin-bottom: 18px; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark a { color: #8fd3e6; }

.cards { display: grid; gap: 22px; margin-top: 36px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card-ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #e3f3f8; color: var(--teal); margin-bottom: 18px; }
.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 26px 28px 28px; }

.card-extra { background: var(--tint); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.card-warn { color: #9a5b00; background: #fff5e0; border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 600; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- accessories ---------- */
.accessories { margin-top: 56px; }
.accessories-title { font-size: 22px; margin: 0; }
.accessories .cards { margin-top: 18px; }
.accessory { display: flex; align-items: center; gap: 20px; padding: 18px; }
.accessory img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; flex: none; }
.accessory h4 { margin: 0; font-size: 18px; }
.accessory p { margin: 0 0 6px; }
.price { font-size: 18px; }
.price strong { color: var(--blue); font-weight: 800; }
.price s { color: var(--muted); font-size: 15px; margin-right: 4px; }
.btn-wa-small { background: var(--wa); color: #06341b; margin-top: 8px; padding: 9px 16px; font-size: 14px; gap: 8px; }
.btn-wa-small:hover { background: #1fbe5a; }
.btn-wa-small .ico { width: 18px; height: 18px; }
.badge { display: inline-block; vertical-align: middle; background: #ffe4dc; color: #b23a16; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }

/* ---------- financing banner ---------- */
.finance { background: linear-gradient(110deg, var(--teal) 0%, var(--blue) 100%); color: var(--white); padding: 64px 0; }
.finance-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.finance h2 { margin-bottom: 12px; }
.finance p { font-size: 19px; max-width: 62ch; margin-bottom: 10px; }
.finance p.finance-note { font-size: 13px; opacity: .8; margin: 0; }
.finance-btn { background: var(--white); color: var(--blue); flex: none; }
.finance-btn:hover { background: #eaf4fb; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 15px; margin: 0 0 18px; cursor: pointer; }
.check input { accent-color: var(--blue); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }

/* ---------- comparison ---------- */
.table-wrap { margin-top: 36px; overflow-x: auto; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 15px; font-weight: 700; color: var(--muted); }
.compare tbody th { text-align: left; font-weight: 600; }
.compare .ours { background: #eaf4fb; color: var(--blue); }
.compare thead .ours { color: var(--blue); }
.compare td { font-size: 20px; font-weight: 700; }
.compare .yes { color: #138a52; }
.compare .ours.yes { color: var(--blue); }
.compare .no { color: #c0392b; }
.compare .part { color: #b7791f; font-size: 15px; }
.compare .ours.no { color: #c0392b; }
.compare tr.best td { font-size: 15px; font-weight: 700; color: var(--ink); }
.compare tr.best td.ours { color: var(--blue); }
.section-tint > .wrap > .muted.center { margin-top: 22px; }

/* ---------- colours ---------- */
.colours { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 18px; }
.swatch {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.swatch i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.swatch.on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(4,92,156,.15); }
.colour-photo { margin: 0; }
.colour-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: opacity .25s; }

/* ---------- how it works ---------- */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 66px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: var(--white); font-weight: 800; font-size: 18px;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 58px; right: -10px; height: 2px;
  background: rgba(143, 211, 230, .3);
}
.steps p { color: rgba(255,255,255,.75); margin: 0; }
.section-dark .todo { color: #5a4a00; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.filters button {
  border: 1.5px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 9px 18px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.filters button.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.gallery figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--tint); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(6,43,71,.7); color: var(--white); font-size: 13px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
}
.gallery figure.hide { display: none; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(3, 18, 30, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox button {
  position: fixed; border: 0; background: rgba(255,255,255,.14); color: var(--white);
  width: 52px; height: 52px; border-radius: 50%; font-size: 32px; line-height: 1; cursor: pointer;
}
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- map ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.areas-lead { font-size: 18px; margin: 8px 0 24px; }
.map { margin: 0; position: relative; }
.map svg { width: 100%; max-width: 480px; display: block; margin: 0 auto; overflow: hidden; }
.map .island { fill: var(--blue); opacity: .9; stroke: var(--white); stroke-width: 3; filter: drop-shadow(0 14px 24px rgba(4,92,156,.25)); }
.map .dot { fill: var(--white); stroke: var(--teal); stroke-width: 3; cursor: pointer; transition: r .15s; }
.map .dot:hover, .map .dot.on, .map .dot.hi { fill: #ffd54a; }
.map .dot.dim { opacity: .25; }
.region-hint { margin: 0 0 10px; }
.region-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.region-btns button {
  border: 1.5px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 9px 18px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.region-btns button.on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.map .dot { transition: opacity .2s, fill .2s; }
.map .pulse { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 2; }
.map figcaption { text-align: center; margin-top: 14px; }
.map-label {
  position: absolute; transform: translate(-50%, -140%);
  background: var(--ink); color: var(--white); font-size: 13px; font-weight: 600;
  padding: 4px 10px; border-radius: 8px; white-space: nowrap; pointer-events: none;
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.about p { font-size: 18px; }
.about-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-points li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.about-points h3 { font-size: 17px; margin-bottom: 6px; color: var(--blue); }
.about-points p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- reviews ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.rating {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 22px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
}
.rating strong { grid-row: 1 / 3; font-size: 38px; font-weight: 800; color: var(--ink); }
.rating .small { color: var(--muted); font-weight: 600; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 18px; }
.quote .stars { display: block; margin-bottom: 10px; }
.quote .src { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* reviews slider: a row that scrolls sideways, 3 cards at a time (2 on tablets, 1 on phones) */
.slider { position: relative; margin-top: 36px; --per: 3; --gap: 22px; }
.reviews {
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 4px 2px 8px;
}
.reviews::-webkit-scrollbar { display: none; }
.reviews .quote {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.reviews .quote p { margin-bottom: 8px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.reviews .quote.open p { -webkit-line-clamp: unset; display: block; }
.reviews .quote footer { margin-top: auto; padding-top: 12px; }
.more-btn { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--blue); cursor: pointer; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--blue); font-size: 28px; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow); display: grid; place-items: center; padding-bottom: 4px;
}
.slider-btn.prev { left: -22px; }
.slider-btn.next { right: -22px; }
.slider-btn[disabled] { opacity: 0; pointer-events: none; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.slider-dots i { width: 8px; height: 8px; border-radius: 999px; background: #c7d5e0; transition: width .2s, background .2s; }
.slider-dots i.on { width: 22px; background: var(--blue); }
.reviews-more { margin: 28px 0 0; }
.quote { margin: 0; }
.quote p { font-size: 17px; }
.quote footer { font-weight: 700; color: var(--blue); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--blue);
  display: grid; place-items: center; font-size: 20px; font-weight: 600;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-right: 44px; }

/* ---------- quote and contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info p { color: rgba(255,255,255,.8); font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .ico { color: #8fd3e6; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--white); }
.socials a:hover { background: rgba(255,255,255,.2); }

.quote-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.field input:not([type="radio"]), .field textarea {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(4,92,156,.12); }
.field input.bad { border-color: #c0392b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-weight: 600; font-size: 15px; cursor: pointer;
}
.choices label:has(input:checked) { border-color: var(--blue); background: #eaf4fb; color: var(--blue); }
.choices input { accent-color: var(--blue); margin: 0; }
.form-error { color: #c0392b; font-weight: 600; font-size: 15px; }
.form-note { color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- footer ---------- */
.footer { background: #041f33; color: rgba(255,255,255,.65); padding: 72px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; }
.footer-brand p { max-width: 340px; margin: 0 0 22px; }
.footer-logo { width: 140px; margin-bottom: 20px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h3 { color: var(--white); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px; }
.footer-col a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-col a.footer-cta { color: var(--white); margin-top: 10px; background: var(--teal); }
.footer-col a.footer-cta:hover { background: #238aa4; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  padding-right: 90px; /* keeps "Privacy" clear of the WhatsApp corner button */
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- WhatsApp corner button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: var(--white);
  box-shadow: 0 10px 25px rgba(37,211,102,.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .ico { width: 32px; height: 32px; }

/* ---------- page not found (404.html) ---------- */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; background: var(--tint); }
.notfound-logo { width: 180px; margin-bottom: 28px; }
.notfound h1 { font-size: clamp(28px, 5vw, 42px); }
.notfound p { color: var(--muted); max-width: 46ch; margin-bottom: 26px; }
.notfound .hero-btns { justify-content: center; }
.notfound .btn-wa-small { padding: 15px 28px; font-size: 16px; margin: 0; }

/* ---------- appear on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- tablets ---------- */
@media (max-width: 1020px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .slider { --per: 2; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .steps li:nth-child(3)::after { display: none; }
  .nav { gap: 18px; }
}

/* ---------- phones and small tablets: folding menu ---------- */
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { height: 44px; }
  .menu-btn { display: block; }
  .header-tools { margin-left: auto; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; margin: 0;
    box-shadow: 0 20px 30px rgba(6,43,71,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a.btn { margin-top: 14px; justify-content: center; border: 0; }
  .colours, .areas, .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .finance-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  /* where we work: heading and line first, then the map */
  .areas { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .areas-text { display: contents; }
  .areas-text > * { order: 1; }
  .map { order: 2; margin: 22px 0 4px; }
  .map svg { max-width: 340px; }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { min-height: 82vh; align-items: flex-end; }
  .hero::after { background: linear-gradient(180deg, rgba(6,43,71,.35) 0%, rgba(6,43,71,.9) 70%); }
  .hero-inner { padding-bottom: 88px; }
  .hero-btns .btn { flex: 1 1 100%; justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .stat { padding: 18px 10px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 26px 64px; min-height: 46px; }
  .steps li::after, .steps li:nth-child(3)::after { display: block !important; top: 52px; bottom: 4px; left: 22px; right: auto; width: 2px; height: auto; }
  .steps li:last-child::after { display: none !important; }
  .slider { --per: 1.12; --gap: 12px; }
  .about-points { grid-template-columns: 1fr; }
  .slider-btn { display: none; }
  .compare { min-width: 0; }
  .compare th, .compare td { padding: 14px 10px; }
  .compare thead th, .compare tbody th, .compare tr.best td { font-size: 14px; }
  .accessory { gap: 14px; padding: 14px; }
  .accessory img { width: 88px; height: 88px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery figcaption { font-size: 11px; left: 6px; bottom: 6px; }
  .quote-form { padding: 22px; }
  .field-row { gap: 10px; }
  .faq summary { font-size: 16px; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .lb-prev, .lb-next { top: auto !important; bottom: 18px; transform: none !important; }
}
