/* =========================================================================
   UF Securities - site styles
   Static HTML5 version (no framework, no build step). All colours live in the tokens below,
   so the scheme can be matched exactly by editing :root only.
   ========================================================================= */

:root {
  /* Brand */
  --navy-950: #070c18;   /* header, footer */
  --navy-900: #0b1324;   /* dark sections */
  --navy-800: #121c33;   /* dark cards, inputs on dark */
  --navy-700: #1c2945;   /* borders on dark */
  --blue-700: #1238b8;
  --blue-600: #1746e0;   /* primary accent, reviews band */
  --blue-500: #2d5bff;
  --blue-300: #8fb0ff;   /* accent text on dark */
  --blue-100: #e7eeff;
  --wa: #25d366;         /* WhatsApp */
  --wa-dark: #1da851;

  /* Neutrals */
  --paper: #ffffff;
  --paper-2: #f4f6fa;
  --line: #e2e7f0;
  --ink: #0b1324;
  --muted: #5a6478;
  --on-dark: #ffffff;
  --on-dark-muted: #aab4c8;

  /* Type */
  --f-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Shape */
  --r-s: 8px;
  --r: 14px;
  --r-l: 20px;
  --shadow: 0 1px 2px rgba(7, 12, 24, .06), 0 10px 30px rgba(7, 12, 24, .08);
  --shadow-l: 0 2px 6px rgba(7, 12, 24, .12), 0 30px 60px rgba(7, 12, 24, .28);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --bar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
figure { margin: 0; }
address { font-style: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Scroll progress + skip link ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: var(--blue-500); transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 70;
  background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--r-s);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Header bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  background: rgba(7, 12, 24, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--on-dark);
}
.bar .logo img { height: 40px; width: auto; }
.bar nav { display: flex; gap: 26px; margin: 0 auto; }
.bar nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--on-dark-muted);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.bar nav a:hover, .bar nav a.on { color: var(--on-dark); border-color: var(--blue-500); }
.bar-end { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.bar .tel { text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar .tel::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); margin-right: 8px; box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); vertical-align: 1px; }
.bar .cta {
  text-decoration: none; font-weight: 600; font-size: 15px;
  background: var(--blue-600); color: #fff; padding: 10px 18px; border-radius: 999px;
  transition: background .2s, transform .2s;
}
.bar .cta:hover { background: var(--blue-500); transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--blue-600); color: #fff; border: 1px solid var(--blue-600);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--blue-500); border-color: var(--blue-500); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(23, 70, 224, .35); }
.btn.ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; box-shadow: none; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #06260f; }
.btn.wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }

.btn-s {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 38px; padding: 0 16px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.btn-s:hover { border-color: var(--ink); }
.btn-s.solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-s.solid:hover { background: var(--blue-600); border-color: var(--blue-600); }

/* ---------- Section heads + wipe heading ---------- */
section { position: relative; }
.sites, .services, .how, .faq { padding: clamp(64px, 9vw, 120px) 0; }
.services { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.sec-head p { color: var(--muted); font-size: 17px; max-width: 52ch; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
.wipe { background: linear-gradient(90deg, currentColor 50%, rgba(127, 127, 127, .25) 50%) 100% 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; transition: background-position 1.1s cubic-bezier(.2, .7, .2, 1); }
.wipe.in { background-position: 0 0; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; }

/* Reveal on scroll (children stagger) */
[data-reveal] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in > * { opacity: 1; transform: none; }
[data-reveal].in > *:nth-child(2) { transition-delay: .07s; }
[data-reveal].in > *:nth-child(3) { transition-delay: .14s; }
[data-reveal].in > *:nth-child(4) { transition-delay: .21s; }
[data-reveal].in > *:nth-child(5) { transition-delay: .28s; }
[data-reveal].in > *:nth-child(6) { transition-delay: .35s; }
[data-reveal].in > *:nth-child(7) { transition-delay: .42s; }
.no-js [data-reveal] > * { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.c-hero {
  min-height: calc(100vh - var(--bar-h)); min-height: calc(100svh - var(--bar-h));
  display: flex; align-items: center;
  padding: clamp(48px, 8vw, 96px) 0;
  color: var(--on-dark); background: var(--navy-950); overflow: hidden;
}
.c-hero .bg { position: absolute; inset: 0; }
.c-hero .bg img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.c-hero .bg picture { display: contents; }
.c-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 12, 24, .94) 0%, rgba(7, 12, 24, .78) 45%, rgba(7, 12, 24, .45) 100%),
    linear-gradient(0deg, rgba(7, 12, 24, .7), transparent 40%);
}
.c-hero-grid { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.c-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; max-width: 14ch; }
.c-hero .lead { color: #d3dae8; margin-top: 22px; max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: #d3dae8; font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 9px; }
.ticks li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Quote card (hero) */
.qcard {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-l); padding: 30px;
  box-shadow: var(--shadow-l);
  display: grid; gap: 14px;
}
.qcard h2 { font-size: 1.75rem; }
.qcard > p, .qcard .done p { color: var(--muted); font-size: 15px; margin-top: -6px; }
.qcard label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.qcard input, .qcard select {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper-2);
  font-weight: 400; transition: border-color .2s, box-shadow .2s, background .2s;
}
.qcard select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235a6478' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.qcard input:focus, .qcard select:focus { outline: none; border-color: var(--blue-600); background-color: #fff; box-shadow: 0 0 0 4px rgba(23, 70, 224, .14); }
.qcard input[type="submit"], .qcard button[type="submit"] {
  height: 52px; border: 0; border-radius: 999px; background: var(--blue-600); color: #fff;
  font-weight: 700; cursor: pointer; margin-top: 4px; transition: background .2s;
}
.qcard input[type="submit"]:hover, .qcard button[type="submit"]:hover { background: var(--blue-500); }
.qcard .done a { color: var(--blue-600); font-weight: 600; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* WhatsApp send button (both forms) */
.wa-send {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; border: 1px solid var(--wa); border-radius: 999px;
  background: rgba(37, 211, 102, .1); color: #0d7a3a; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s;
}
.wa-send:hover { background: var(--wa); color: #06260f; }
.wa-ico {
  width: 20px; height: 20px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3C8.8 3 3 8.7 3 15.8c0 2.5.7 4.9 2 6.9L3 29l6.5-2c1.9 1 4.1 1.6 6.5 1.6 7.2 0 13-5.7 13-12.8S23.2 3 16 3zm6.1 15.2c-.3-.2-2-1-2.3-1.1-.3-.1-.5-.2-.8.2-.2.3-.9 1.1-1.1 1.3-.2.2-.4.3-.7.1-.3-.2-1.4-.5-2.7-1.7-1-.9-1.7-2-1.9-2.3-.2-.3 0-.5.1-.7l.5-.6c.2-.2.2-.3.3-.6.1-.2.1-.4 0-.6l-1.1-2.6c-.3-.7-.6-.6-.8-.6h-.7c-.2 0-.6.1-.9.4-.3.3-1.2 1.2-1.2 2.9s1.2 3.3 1.4 3.6c.2.2 2.4 3.6 5.8 5 2 .8 2.8.9 3.9.7.6-.1 2-.8 2.2-1.6.3-.8.3-1.4.2-1.6-.1-.1-.3-.2-.6-.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3C8.8 3 3 8.7 3 15.8c0 2.5.7 4.9 2 6.9L3 29l6.5-2c1.9 1 4.1 1.6 6.5 1.6 7.2 0 13-5.7 13-12.8S23.2 3 16 3zm6.1 15.2c-.3-.2-2-1-2.3-1.1-.3-.1-.5-.2-.8.2-.2.3-.9 1.1-1.1 1.3-.2.2-.4.3-.7.1-.3-.2-1.4-.5-2.7-1.7-1-.9-1.7-2-1.9-2.3-.2-.3 0-.5.1-.7l.5-.6c.2-.2.2-.3.3-.6.1-.2.1-.4 0-.6l-1.1-2.6c-.3-.7-.6-.6-.8-.6h-.7c-.2 0-.6.1-.9.4-.3.3-1.2 1.2-1.2 2.9s1.2 3.3 1.4 3.6c.2.2 2.4 3.6 5.8 5 2 .8 2.8.9 3.9.7.6-.1 2-.8 2.2-1.6.3-.8.3-1.4.2-1.6-.1-.1-.3-.2-.6-.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.err { display: block; color: #d6293e; font-size: 13px; font-weight: 600; margin-top: -6px; }
.contact .err { color: #ff8a98; }

/* ---------- Trust row ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-row li { padding: 30px 24px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.trust-row li:first-child { border-left: 0; padding-left: 0; }
.trust-row b { font-family: var(--f-head); font-size: 17px; font-weight: 700; }
.trust-row b::before { content: ""; display: block; width: 28px; height: 3px; background: var(--blue-600); border-radius: 2px; margin-bottom: 14px; }
.trust-row span { color: var(--muted); font-size: 14.5px; }

/* ---------- Site grid (who we protect) ---------- */
.sites { background: radial-gradient(900px 420px at 100% 0, rgba(45, 91, 255, .07), transparent 70%), radial-gradient(700px 380px at 0 100%, rgba(45, 91, 255, .05), transparent 70%), var(--paper); }
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.site-grid li { display: flex; }
.site-grid a {
  position: relative; isolation: isolate; overflow: hidden; width: 100%;
  display: flex; flex-direction: column; gap: 12px;
  padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--paper); color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(7, 12, 24, .04), 0 6px 18px rgba(7, 12, 24, .05);
  transition: color .35s ease, border-color .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
/* colour wash that fills the card on hover/focus */
.site-grid a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px 260px at 100% 0, rgba(143, 176, 255, .35), transparent 60%), linear-gradient(150deg, var(--blue-600), var(--blue-700) 60%, var(--navy-900));
  opacity: 0; transition: opacity .35s ease;
}
/* thin accent bar on the top edge at rest */
.site-grid a::after {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-300));
  transform: scaleX(.18); transform-origin: 0 50%; transition: transform .35s ease, opacity .35s ease;
}
.site-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 6px;
  display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue-600);
  transition: background-color .35s ease, color .35s ease, transform .35s ease;
}
.site-ico svg { width: 26px; height: 26px; }
.site-grid h3 { font-size: 1.3rem; font-weight: 700; }
.site-grid p { color: var(--muted); font-size: 15.5px; flex: 1; transition: color .35s ease; }
.site-cta {
  align-self: flex-start; margin-top: 6px; padding: 9px 16px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-600);
  font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px;
  transition: background-color .35s ease, color .35s ease;
}
.site-cta::after { content: "\2192"; transition: transform .25s ease; }
.site-grid a:hover, .site-grid a:focus-visible {
  color: #fff; border-color: var(--blue-600); transform: translateY(-6px);
  box-shadow: 0 4px 10px rgba(23, 70, 224, .18), 0 24px 48px rgba(23, 70, 224, .28);
}
.site-grid a:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; }
.site-grid a:hover::before, .site-grid a:focus-visible::before { opacity: 1; }
.site-grid a:hover::after, .site-grid a:focus-visible::after { opacity: 0; }
.site-grid a:hover .site-ico, .site-grid a:focus-visible .site-ico { background: rgba(255, 255, 255, .14); color: #fff; transform: scale(1.06) rotate(-4deg); }
.site-grid a:hover p, .site-grid a:focus-visible p { color: rgba(255, 255, 255, .82); }
.site-grid a:hover .site-cta, .site-grid a:focus-visible .site-cta { background: #fff; color: var(--blue-700); }
.site-grid a:hover .site-cta::after, .site-grid a:focus-visible .site-cta::after { transform: translateX(4px); }
.site-grid a:active { transform: translateY(-2px); }
@media (hover: none) { .site-grid a:hover { transform: none; } }

/* ---------- Service tiles ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-grid > li {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc-grid > li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-grid > li.added { border-color: var(--blue-600); box-shadow: 0 0 0 2px var(--blue-600); }
.svc-grid figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); position: relative; }
.svc-grid figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-grid > li:hover figure img { transform: scale(1.05); }
.svc-grid > li.added figure::after {
  content: "Added to quote"; position: absolute; top: 12px; left: 12px;
  background: var(--blue-600); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px;
}
/* Odd one out (7 tiles): last tile runs full width as a horizontal card */
@media (min-width: 1081px) {
  .svc-grid > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; }
  .svc-grid > li:last-child:nth-child(3n+1) figure { aspect-ratio: auto; flex: 0 0 calc((100% - 44px) / 3 * 2 + 22px); min-height: 260px; }
  .svc-grid > li:last-child:nth-child(3n+1) .tile-body { justify-content: center; padding: 32px; }
  .svc-grid > li:last-child:nth-child(3n+1) .tile-body p { flex: 0; }
}
.tile-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile-body h3 { font-size: 1.3rem; font-weight: 700; }
.tile-body p { color: var(--muted); font-size: 15px; flex: 1; }
.tile-actions { display: flex; gap: 10px; margin-top: 8px; }

/* ---------- How it works ---------- */
.how h2 { margin-bottom: 48px; max-width: 18ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps li { position: relative; padding-top: 28px; }
.rule { display: block; height: 3px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.rule::after { content: ""; position: absolute; inset: 0; background: var(--blue-600); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s cubic-bezier(.2, .7, .2, 1) .2s; }
.in .rule::after, .rule.in::after { transform: scaleX(1); }
.steps .rule { position: absolute; top: 0; left: 0; right: 0; }
.steps b {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--f-head); font-size: 18px; margin-bottom: 18px;
}
.steps h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* 24 hour bar */
.bar24 { margin-top: 64px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.segs { display: flex; }
.segs a {
  flex: 1 1 0; min-width: 0;
  display: grid; gap: 4px; align-content: start;
  padding: 18px 16px 20px; text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, .15);
  color: #fff; transition: filter .2s;
}
.segs a:first-child { border-left: 0; }
.segs a:nth-child(1) { background: var(--navy-900); }
.segs a:nth-child(2) { background: #14254d; }
.segs a:nth-child(3) { background: var(--blue-700); }
.segs a:nth-child(4) { background: var(--blue-600); }
.segs a:nth-child(5) { background: #14254d; }
.segs a:nth-child(6) { background: var(--navy-900); }
.segs a:hover { filter: brightness(1.18); }
.segs .rule, .ctrl .rule { background: rgba(255, 255, 255, .2); margin-bottom: 10px; }
.segs .rule::after, .ctrl .rule::after { background: #fff; }
.segs b { font-family: var(--f-head); font-size: 15px; font-weight: 700; line-height: 1.2; }
.segs small, .ctrl small { font-size: 12.5px; opacity: .78; font-variant-numeric: tabular-nums; }
.ctrl { padding: 18px 20px; background: var(--paper-2); display: grid; gap: 2px; }
.ctrl .rule { background: var(--line); }
.ctrl .rule::after { background: var(--wa); }
.ctrl b { font-family: var(--f-head); font-size: 16px; }
.ctrl small { color: var(--muted); opacity: 1; }

/* ---------- Standards (dark) ---------- */
.dark, [data-theme="dark"] { color: var(--on-dark); }
.standards { background: var(--navy-900); padding: clamp(64px, 9vw, 120px) 0; }
.standards h2 { max-width: 16ch; }
.standards .lead { color: var(--on-dark-muted); margin-top: 18px; }
.std { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.std li {
  padding: 28px; border-radius: var(--r);
  background: var(--navy-800); border: 1px solid var(--navy-700);
}
.std .rule { background: var(--navy-700); margin-bottom: 20px; width: 56px; }
.std .rule::after { background: var(--blue-300); }
.std p { font-size: 17px; line-height: 1.55; color: #e3e8f2; }

/* ---------- Reviews (blue band + marquee) ---------- */
.reviews { background: var(--blue-600); padding: clamp(64px, 9vw, 110px) 0; overflow: hidden; }
.reviews h2 { margin-bottom: 44px; max-width: 18ch; }
.reviews .wipe { background-image: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, .35) 50%); }
.mq { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq + .mq { margin-top: 18px; }
.mq-row { display: flex; gap: 18px; width: max-content; animation: mq-l 60s linear infinite; }
.mq-row[data-dir="r"] { animation-name: mq-r; }
.mq:hover .mq-row { animation-play-state: paused; }
@keyframes mq-l { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
@keyframes mq-r { from { transform: translateX(calc(-50% - 9px)); } to { transform: translateX(0); } }
.rev {
  margin: 0; width: 380px; flex: none;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 26px; border-radius: var(--r);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
}
.rev p { font-size: 16.5px; line-height: 1.55; }
.rev footer { font-size: 14px; font-weight: 600; color: #cfdbff; display: flex; align-items: center; gap: 10px; }
.rev footer::before { content: "\2605\2605\2605\2605\2605"; letter-spacing: 2px; color: #ffd166; font-size: 13px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq h2 { position: sticky; top: calc(var(--bar-h) + 32px); max-width: 12ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--f-head); font-size: 1.15rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
              linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: transform .25s, background-color .25s, border-color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--blue-600); background-color: var(--blue-100); }
.faq summary:hover { color: var(--blue-600); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; font-size: 16px; }

/* ---------- Contact / quote (dark) ---------- */
.contact { background: var(--navy-950); padding: clamp(64px, 9vw, 120px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.contact .lead { color: var(--on-dark-muted); margin-top: 18px; }
.cdl { margin: 40px 0 0; display: grid; gap: 22px; }
.cdl > div { padding-top: 18px; border-top: 1px solid var(--navy-700); }
.cdl dt { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--blue-300); margin-bottom: 6px; }
.cdl dd { margin: 0; color: #e3e8f2; }
.cdl a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.cdl a:hover { border-color: #fff; }

.form {
  display: grid; gap: 16px;
  padding: 32px; border-radius: var(--r-l);
  background: var(--navy-800); border: 1px solid var(--navy-700);
}
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #e3e8f2; }
.form input, .form textarea {
  width: 100%; padding: 0 14px; height: 48px;
  background: var(--navy-900); border: 1px solid var(--navy-700); border-radius: var(--r-s);
  color: #fff; font-weight: 400; transition: border-color .2s, box-shadow .2s;
}
.form textarea { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #6f7b94; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(45, 91, 255, .22); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 14px; font-weight: 600; color: #e3e8f2; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--navy-700); color: var(--on-dark-muted);
  font-size: 14px; font-weight: 500; transition: all .2s;
}
.chips button:hover { border-color: var(--blue-300); color: #fff; }
.chips button[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.chips button[aria-pressed="true"]::before { content: "\2713"; margin-right: 6px; }
.submit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.form .submit {
  height: 54px; border-radius: 999px; font-weight: 700; cursor: pointer; width: 100%;
}
.form input.submit, .form button.submit[type="submit"] { background: var(--blue-600); border: 0; color: #fff; transition: background .2s; padding: 0; }
.form input.submit:hover, .form button.submit[type="submit"]:hover { background: var(--blue-500); }
.form .wa-send { color: var(--wa); background: rgba(37, 211, 102, .08); }
.form .wa-send:hover { color: #06260f; background: var(--wa); }
.form-note { font-size: 13px; color: #8390a8; }
.form .done h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form .done p { color: var(--on-dark-muted); }
.form .done a { color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */
.foot { background: var(--navy-950); color: var(--on-dark-muted); border-top: 1px solid var(--navy-700); padding: 72px 0 0; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.foot-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.foot-brand p { font-size: 15px; max-width: 36ch; margin-bottom: 22px; }
.foot h3 { font-family: var(--f-body); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 16px; }
.foot ul { display: grid; gap: 10px; }
.foot a { text-decoration: none; font-size: 15px; transition: color .2s; }
.foot a:hover { color: #fff; }
.foot address { display: grid; gap: 10px; font-size: 15px; }
.foot .btn { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid var(--navy-700); font-size: 14px; }

/* ---------- Service dialog ---------- */
.svc-dialog {
  width: min(560px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--r-l);
  overflow: hidden; box-shadow: var(--shadow-l); color: var(--ink);
}
.svc-dialog::backdrop { background: rgba(7, 12, 24, .7); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.svc-dialog figure { aspect-ratio: 16 / 8; background: var(--navy-800); }
.svc-dialog figure img { width: 100%; height: 100%; object-fit: cover; }
.dlg-body { padding: 26px 28px 28px; display: grid; gap: 12px; }
.dlg-body h3 { font-size: 1.6rem; }
.dlg-body p { color: var(--muted); }

/* ---------- WhatsApp float + mobile bar ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 22px 0 16px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .2s, background .2s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: var(--wa-dark); transform: translateY(-2px); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: wa-pulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes wa-pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

.mobbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bar nav { display: none; }
  .c-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .qcard { max-width: 560px; }
  .svc-grid, .site-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .trust-row li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-row li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq h2 { position: static; }
  .segs { flex-wrap: wrap; }
  .segs a { flex-basis: 33.333% !important; flex-grow: 0 !important; border-top: 1px solid rgba(255, 255, 255, .15); }
}
@media (max-width: 720px) {
  :root { --bar-h: 62px; }
  .bar { gap: 12px; }
  .bar .logo img { height: 32px; }
  .bar .tel { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .svc-grid, .site-grid, .steps, .std { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row li { border-left: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .trust-row li:last-child { border-bottom: 0; }
  .two, .submit-row { grid-template-columns: 1fr; }
  .qcard, .form { padding: 22px; }
  .rev { width: 300px; }
  .segs a { flex-basis: 50% !important; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; }
  .faq details p { padding-right: 0; }
  body { padding-bottom: 68px; }
  .mobbar {
    display: grid; grid-template-columns: 1fr 1.2fr; padding-right: 86px !important; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 12, 24, .96); border-top: 1px solid var(--navy-700);
  }
  .mobbar a {
    display: grid; place-items: center; height: 46px; border-radius: 999px;
    text-decoration: none; font-weight: 700; font-size: 15px;
    color: #fff; border: 1px solid rgba(255, 255, 255, .25);
  }
  .mobbar a.wa { background: var(--wa); border-color: var(--wa); color: #06260f; }
  .mobbar a.primary { background: var(--blue-600); border-color: var(--blue-600); }
  /* Floating WhatsApp stays visible on phones as a round button above the call bar */
  .wa-float { right: 12px; bottom: calc(6px + env(safe-area-inset-bottom)); width: 58px; height: 58px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] > * { opacity: 1; transform: none; }
  .wipe { background-position: 0 0; }
  .rule::after { transform: scaleX(1); }
  .mq { overflow-x: auto; }
}

/* ---------- Static-site additions ---------- */
.qcard button[type="submit"], .form button.submit { font: inherit; font-weight: 700; }
.wa-send { font: inherit; font-weight: 700; }
.err[hidden], .done[hidden] { display: none; }
.logo-text { font-family: var(--f-head); font-weight: 800; font-size: 22px; letter-spacing: .02em; color: #fff; text-decoration: none; white-space: nowrap; }
.logo-text b { color: var(--blue-300); }
.foot-brand .logo-text { display: inline-block; font-size: 26px; }
@media (max-width: 720px) { .wa-float { z-index: 60; } }
.logo, .foot-brand { text-decoration: none; }
.logo .logo-text { text-decoration: none; }

/* =========================================================================
   Service detail pages (services/*.html)
   ========================================================================= */
.svc-hero {
  position: relative; overflow: hidden; color: var(--on-dark); background: var(--navy-950);
  padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); min-height: min(78vh, 680px);
  display: flex; align-items: flex-end;
}
.svc-hero .bg { position: absolute; inset: 0; }
.svc-hero .bg picture { display: contents; }
.svc-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 12, 24, .95) 0%, rgba(7, 12, 24, .8) 42%, rgba(7, 12, 24, .35) 100%),
              linear-gradient(0deg, rgba(7, 12, 24, .75), transparent 45%);
}
.svc-hero .wrap { position: relative; width: 100%; }
.svc-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; max-width: 14ch; }
.svc-hero .lead { color: #d3dae8; margin-top: 20px; max-width: 58ch; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 14px; }
.crumbs { margin-bottom: 28px; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.btn .wa-ico { width: 20px; height: 20px; }

.svc-intro { padding: clamp(64px, 9vw, 120px) 0; background: var(--paper); }
.svc-intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.svc-intro h2 { max-width: 16ch; margin-bottom: 24px; }
.svc-intro p { color: var(--muted); font-size: 17px; max-width: 60ch; }
.svc-intro p + p { margin-top: 14px; }
.inc-h { font-size: 1.15rem; margin: 32px 0 14px; }
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.inc li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; font-weight: 500; }
.inc li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; margin-top: 2px;
  background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.svc-intro-img { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-800); box-shadow: var(--shadow-l); }
.svc-intro-img picture { display: contents; }
.svc-intro-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-intro-img::before { content: ""; position: absolute; left: 0; top: 0; width: 6px; height: 40%; background: var(--blue-600); z-index: 1; }
figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 1; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(7, 12, 24, .7); padding: 5px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Added value (dark) */
.added-value { background: radial-gradient(800px 400px at 100% 0, rgba(45, 91, 255, .18), transparent 70%), var(--navy-900); padding: clamp(64px, 9vw, 120px) 0; }
.added-value .sec-head p { color: var(--on-dark-muted); }
.av-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: av; }
.av-grid li {
  position: relative; padding: 28px; border-radius: var(--r);
  background: var(--navy-800); border: 1px solid var(--navy-700);
  transition: border-color .3s, transform .3s, background-color .3s;
}
.av-grid li::after { counter-increment: av; content: "0" counter(av); position: absolute; top: 24px; right: 26px; font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--navy-700); }
.av-grid li:hover { border-color: var(--blue-500); transform: translateY(-4px); background: #15213c; }
.av-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(45, 91, 255, .16); color: var(--blue-300); margin-bottom: 18px; }
.av-ico svg { width: 26px; height: 26px; }
.av-grid h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.av-grid p { color: #c3cbdb; font-size: 15.5px; }

/* Gallery */
.svc-gallery { padding: clamp(48px, 7vw, 88px) 0 0; background: var(--paper-2); }
.gal { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: clamp(420px, 52vw, 600px); }
.gal figure { position: relative; border-radius: var(--r); overflow: hidden; background: var(--navy-800); }
.gal .g1 { grid-row: 1 / 3; }
.gal picture { display: contents; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gal figure:hover img { transform: scale(1.04); }

.svc-how { background: var(--paper-2); }
.ideal { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; padding-bottom: clamp(48px, 7vw, 88px); margin-bottom: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.ideal h2 { margin: 0; }
.ideal-list { display: flex; flex-wrap: wrap; gap: 10px; }
.ideal-list li { padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.ideal-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); margin-right: 10px; vertical-align: 1px; }
.svc-how .how-h { margin-bottom: 48px; }

/* Other services */
.more-svc { padding: clamp(56px, 8vw, 96px) 0; background: var(--paper); }
.more-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.more-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.more-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.more-grid a { display: grid; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.more-grid figure { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--navy-800); }
.more-grid picture { display: contents; }
.more-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.more-grid a:hover img { transform: scale(1.06); }
.more-grid a:hover span { color: var(--blue-600); }
.more-grid span::after { content: " \2192"; }
.foot a[aria-current="page"] { color: #fff; }

/* Detail link on home tiles */
.tile-body h3 a { text-decoration: none; }
.tile-body h3 a:hover { color: var(--blue-600); }
.svc-grid figure a { display: block; height: 100%; }

@media (max-width: 1080px) {
  .svc-intro-grid { grid-template-columns: 1fr; }
  .svc-intro-img { aspect-ratio: 16 / 10; }
  .av-grid { grid-template-columns: repeat(2, 1fr); }
  .more-grid { grid-template-columns: repeat(3, 1fr); }
  .ideal { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .svc-hero { min-height: 0; }
  .inc, .av-grid { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .gal .g1 { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .gal .g2, .gal .g3 { aspect-ratio: 1; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-hero .hero-cta .btn { width: 100%; }
}
