/* =========================================================
   Tamizha CCTV Sales and Service – styles
   Mobile-first. Brand tokens are defined once in :root.
   ========================================================= */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0A2854;
  --navy-hover: #123D70;
  --cyan: #08B8E8;
  --cyan-deep: #007FB5;
  --white: #FFFFFF;
  --bg-light: #F4F8FC;
  --border: #E3EBF4;
  --text: #334155;
  --muted: #64748B;
  --footer: #071B38;

  --cyan-tint: #E6F7FD;
  --border-strong: #CFDCEB;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 68px;
  --container: 1200px;
  --gutter: 20px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 40, 84, 0.05), 0 2px 8px rgba(10, 40, 84, 0.04);
  --shadow-md: 0 18px 40px -18px rgba(10, 40, 84, 0.25);
  --shadow-lg: 0 30px 60px -24px rgba(7, 27, 56, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --section-pad: clamp(64px, 8vw, 104px);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@media (min-width: 1024px) {
  body { font-size: 1.0625rem; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1.35rem + 3.1vw, 3.375rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.375rem); font-weight: 700; }
h3 { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem); font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-hover); }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px -10px rgba(10, 40, 84, 0.6); }
.btn-primary:hover { background: var(--navy-hover); color: var(--white); }

.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--bg-light); color: var(--navy); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--cyan-tint); color: var(--navy); }

.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); border-color: var(--white); }

.btn-sm { min-height: 44px; padding: 0.55rem 1rem; font-size: 0.9375rem; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0.9rem 1.6rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 479.98px) {
  .btn-row .btn, .faq-cta .btn { flex: 1 1 100%; }
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  color: var(--navy);
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color 0.2s, background-color 0.2s;
}
.icon-btn:hover { border-color: var(--border-strong); background: var(--bg-light); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(8, 184, 232, 0.18);
}
.eyebrow-light { color: var(--white); }

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--cyan-tint);
  color: var(--cyan-deep);
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile-sm { width: 40px; height: 40px; border-radius: 11px; }
.icon-tile-sm .icon { width: 21px; height: 21px; }

.section { padding-block: var(--section-pad); }
.section-alt { background: var(--bg-light); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: 14px; }
.section-head-center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.0625rem; color: var(--text); }
@media (min-width: 1024px) { .lead { font-size: 1.125rem; } }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 0 2px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  text-decoration: none;
}
.card-link .icon { width: 20px; height: 20px; color: var(--cyan-deep); }
.card-link:hover { text-decoration: underline; color: var(--navy); }

.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cyan-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007FB5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.fine-print { margin-top: 28px; font-size: 0.9375rem; color: var(--muted); text-align: center; }

/* ---------- 1. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(10, 40, 84, 0.35); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; flex: none; margin-right: auto; border-radius: 6px; }
.brand img { height: 40px; width: auto; }
@media (min-width: 768px) { .brand img { height: 44px; } }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-simple { justify-content: space-between; }
.header-simple .brand { margin-right: 0; }
@media (max-width: 419.98px) {
  .header-call { padding-inline: 11px; }
  .header-call-text {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
.header-wa { display: none; }
@media (min-width: 768px) { .header-wa { display: inline-grid; } }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; grid-area: 1 / 1; }
.nav-toggle .icon-close { opacity: 0; }
.nav-open .nav-toggle .icon-open { opacity: 0; }
.nav-open .nav-toggle .icon-close { opacity: 1; }

.nav-list a {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

/* Mobile / tablet nav panel */
@media (max-width: 1079.98px) {
  .js .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -24px rgba(10, 40, 84, 0.35);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .js.nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
  }
  .nav-list a {
    padding: 13px 4px;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-list a:hover { color: var(--navy-hover); background: var(--bg-light); }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 18px; }

  /* Without JavaScript: show links as a scrollable row under the logo */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: 8px; }
  html:not(.js) .primary-nav { order: 3; width: 100%; overflow-x: auto; }
  html:not(.js) .nav-list { display: flex; gap: 18px; }
  html:not(.js) .nav-list a { border: 0; padding: 6px 0; white-space: nowrap; }
  html:not(.js) .nav-mobile-cta, html:not(.js) .nav-toggle { display: none; }
}

/* Desktop nav */
@media (min-width: 1080px) {
  .brand { margin-right: 0; }
  .primary-nav { margin-inline: auto; }
  .nav-list { display: flex; align-items: center; gap: 4px; }
  .nav-list a {
    position: relative;
    padding: 10px 12px;
    font-size: 0.9375rem;
    border-radius: 8px;
  }
  .nav-list a::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform 0.25s var(--ease);
  }
  .nav-list a:hover::after,
  .nav-list a.is-active::after { transform: scaleX(1); }
  .nav-mobile-cta, .nav-toggle { display: none; }
}

/* ---------- 2. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 6vw, 72px) 0 clamp(120px, 12vw, 152px);
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(8, 184, 232, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 40, 84, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 40, 84, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 44px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}
.hero h1 { margin-bottom: 20px; }
.hero h1, .hero-lead { max-width: 640px; }
.hero-lead { font-size: 1.0625rem; color: var(--text); }
@media (min-width: 1024px) { .hero-lead { font-size: 1.1875rem; } }

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 22px 0 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
}
.hero-note .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--cyan-deep); }
.hero-contact { font-size: 0.9375rem; color: var(--text); padding-left: 28px; }
.hero-contact a { font-weight: 700; white-space: nowrap; }

.hero-visual { position: relative; margin: 0; }
.hero-visual img {
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-chip {
  position: absolute;
  left: clamp(-8px, -2vw, -28px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
  padding: 12px 16px 12px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.hero-chip strong { display: block; font-family: var(--font-head); font-size: 0.9375rem; color: var(--navy); }
.hero-chip-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 11px;
  background: var(--navy);
  color: var(--cyan);
}
@media (max-width: 959.98px) {
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-chip { left: 12px; bottom: -22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > :nth-child(n+5) { animation-delay: 0.24s; }
  .hero-visual { animation: rise 0.9s 0.1s var(--ease) both; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 3. Highlights ---------- */
.highlights { position: relative; z-index: 2; margin-top: clamp(-96px, -8vw, -72px); }
.highlights-grid {
  display: grid;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
.highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 22px;
}
.highlight + .highlight { border-top: 1px solid var(--border); }
.highlight h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.highlight p { font-size: 0.9375rem; line-height: 1.55; }
@media (min-width: 640px) {
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .highlight + .highlight { border-top: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--border); }
  .highlight:nth-child(even) { border-left: 1px solid var(--border); }
}
@media (min-width: 1080px) {
  .highlights-grid { grid-template-columns: repeat(4, 1fr); }
  .highlight { flex-direction: column; padding: 28px 26px; }
  .highlight:nth-child(n+3) { border-top: 0; }
  .highlight + .highlight { border-left: 1px solid var(--border); }
}

/* ---------- 4. About ---------- */
.about-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.about-copy h2 { margin-bottom: 20px; }
.about-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.about-card h3 { margin-bottom: 18px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.chip-list a:hover { border-color: var(--cyan); background: var(--cyan-tint); }
.service-model {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}
.service-model strong { color: var(--navy); }

/* ---------- 5. Services ---------- */
.services-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.service-card h3 { margin: 20px 0 10px; }
.service-card p { font-size: 0.96875rem; margin-bottom: 18px; }
.service-card .card-link { padding-top: 14px; border-top: 1px solid var(--border); width: 100%; }

.service-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 32px;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(8, 184, 232, 0.28), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--footer) 100%);
}
.service-cta-card h3 { color: var(--white); font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); margin-bottom: 8px; }
.service-cta-card .btn-row { margin-top: 16px; }
@media (min-width: 640px) { .service-cta-card { grid-column: span 2; } }
@media (min-width: 1080px) {
  .service-cta-card { flex-direction: row; align-items: center; padding: 36px 40px; }
  .service-cta-card .btn-row { margin-top: 0; flex: none; }
}

/* ---------- 6. Solutions ---------- */
.solutions-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.solution-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.solution-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.solution-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #EAF4FB; }
.solution-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 22px; }
.solution-body h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.solution-body h3 .icon { color: var(--cyan-deep); width: 24px; height: 24px; }
.solution-body p { font-size: 0.96875rem; }
.solution-body .tick-list { margin: 4px 0 14px; font-size: 0.9375rem; }

/* ---------- 7. Camera guide ---------- */
.guide-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .guide-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.guide-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.guide-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; margin-bottom: 12px; }
.guide-card p { font-size: 0.9375rem; }

.factors-panel {
  display: grid;
  gap: 32px;
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(8, 184, 232, 0.22), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--footer) 100%);
}
@media (min-width: 960px) { .factors-panel { grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; } }
.factors-intro h3 { color: var(--white); font-size: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem); margin-bottom: 12px; }
.factors-intro .btn { margin-top: 10px; }
.factors-list { display: grid; gap: 14px; }
@media (min-width: 640px) { .factors-list { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.factors-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.factors-list .icon { color: var(--cyan); margin-top: 2px; }
.factors-list strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 1rem; }
.factors-list span { display: block; font-size: 0.9rem; line-height: 1.5; }

/* ---------- 8. Steps ---------- */
.steps { display: grid; gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 0 32px 72px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 25px; top: 52px; bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--border-strong) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }
.step-num {
  position: absolute;
  left: 0; top: 0;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 0 0 6px var(--cyan-tint);
}
.step h3 { margin: 4px 0 8px; }
.step p { font-size: 0.96875rem; }
.step a { font-weight: 600; white-space: nowrap; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { padding: 0; text-align: center; }
  .step::before {
    left: calc(50% + 36px); right: calc(-50% + 8px);
    top: 26px; bottom: auto;
    width: auto; height: 2px;
    background: repeating-linear-gradient(to right, var(--border-strong) 0 6px, transparent 6px 12px);
  }
  .step-num { position: relative; margin: 0 auto 18px; }
  .step p { max-width: 260px; margin-inline: auto; }
}

/* ---------- 9. Why choose ---------- */
.why-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.why-item {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
}
.why-item h3 { margin: 18px 0 8px; font-size: 1.1875rem; }
.why-item p { font-size: 0.96875rem; }
@media (max-width: 639.98px) {
  .why-item { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .why-item .icon-tile { grid-row: span 2; width: 44px; height: 44px; }
  .why-item h3 { margin: 2px 0 6px; }
}

/* ---------- 10. Service areas ---------- */
.areas-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .areas-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.areas-copy h2 { margin-bottom: 20px; }
.area-facts { display: grid; gap: 12px; margin: 24px 0 30px; }
.area-facts li { display: flex; gap: 12px; align-items: flex-start; }
.area-facts .icon { color: var(--cyan-deep); margin-top: 3px; }
.area-facts strong { color: var(--navy); }
.areas-subtitle { font-size: 1.125rem; margin: 0 0 12px; }
.town-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.town-list li { padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-light); color: var(--navy); font-weight: 500; }

.areas-visual {
  padding: clamp(20px, 3vw, 32px);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.areas-visual svg { width: 100%; max-width: 420px; margin-inline: auto; }
.areas-visual-note { margin-top: 12px; text-align: center; font-size: 0.9375rem; color: var(--text); }


/* ---------- 11. FAQs ---------- */
.faq-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-intro h2 { margin-bottom: 16px; }
.faq-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.faq-list { display: grid; gap: 12px; }
.faq {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--navy);
  border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary .icon {
  width: 22px; height: 22px;
  color: var(--cyan-deep);
  transition: transform 0.25s var(--ease);
}
.faq[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { background: var(--bg-light); }
.faq-body { padding: 0 20px 20px; font-size: 0.96875rem; }
.faq-body a { font-weight: 600; white-space: nowrap; }

/* ---------- 12. Contact ---------- */
.contact-panel {
  display: grid;
  gap: 36px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 28px;
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(8, 184, 232, 0.3), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--footer) 100%);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) { .contact-panel { grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; } }
.contact-copy h2 { color: var(--white); margin-bottom: 16px; }
.contact-copy p { font-size: 1.0625rem; }
.contact-details {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}
.contact-details > div { padding: 14px 0; }
.contact-details > div + div { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.contact-details dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }
.contact-details dd { margin: 2px 0 0; color: var(--white); font-weight: 600; font-size: 1.0625rem; }
.contact-details a { color: var(--white); text-decoration: none; }
.contact-details a:hover { text-decoration: underline; color: var(--white); }

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.78);
  padding-top: clamp(56px, 7vw, 80px);
  font-size: 0.9375rem;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .footer-grid { gap: 40px 32px; }
  .footer-col:last-child { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .footer-grid { grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr; gap: 48px; }
  .footer-brand { grid-column: auto; }
}
.footer-logo {
  display: inline-flex;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 18px;
}
.footer-logo img { height: 40px; width: auto; }
.footer-brand p { max-width: 380px; }
.footer-title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact .icon { width: 19px; height: 19px; margin-top: 3px; color: var(--cyan); }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-block: 22px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.float-wa {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 40;
  display: none;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px -10px rgba(7, 27, 56, 0.6), 0 0 0 4px rgba(8, 184, 232, 0.25);
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.float-wa .icon { width: 28px; height: 28px; }
.float-wa:hover { transform: scale(1.06); background: var(--navy-hover); color: var(--white); }
@media (min-width: 768px) { .float-wa { display: grid; } }

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -16px rgba(10, 40, 84, 0.35);
}
.mobile-bar .btn { min-height: 48px; padding-inline: 12px; }
@media (max-width: 767.98px) {
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) { .mobile-bar { display: none; } }

/* ---------- Reveal on scroll (only when JS + motion allowed) ---------- */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 404 page ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: var(--section-pad); }
.error-page .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 7rem); line-height: 1; color: var(--cyan-deep); margin-bottom: 12px; }
.error-page h1 { margin-bottom: 14px; }
.error-page .btn-row { justify-content: center; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .float-wa, .mobile-bar, .nav-toggle { display: none !important; }
  body { padding: 0; }
  .reveal-on [data-reveal] { opacity: 1; transform: none; }
}
