/* Protech Security — site styles
   Palette taken from the Protech logo: deep navy, signal red, clean white.
   Headings echo the logo's heavy italic wordmark. One stylesheet, no framework. */

:root {
  --night: #0b1f4d;      /* logo navy */
  --night-2: #112a63;
  --night-3: #1d3c80;
  --hivis: #e3111c;      /* logo red (kept the old name so class names still read the same) */
  --hivis-deep: #b70c15;
  --red-glow: rgba(227, 17, 28, .45);
  --silver: #c7d0e0;
  --paper: #f3f6fb;
  --white: #ffffff;
  --ink: #0d1733;
  --steel: #56627d;
  --line: #dce3ef;
  --alert: #e3111c;
  --whatsapp: #1fae55;
  --whatsapp-deep: #128a41;

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

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 18px 40px -18px rgba(11, 31, 77, .35);
  --shadow-lg: 0 30px 70px -25px rgba(11, 31, 77, .5);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--night-3); text-underline-offset: 3px; }
a:hover { color: var(--hivis); }

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

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--night);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 3.6vw + 1rem, 4.1rem); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.8rem, 2vw + 1rem, 2.75rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
h4 { font-size: 1.1rem; }
h1 em, h2 em { font-style: italic; color: var(--hivis); }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--steel); max-width: 62ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--hivis); color: var(--white); padding: 8px 14px; font-weight: 600;
}
.skip:focus { left: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Small red label above section titles */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em; margin-bottom: 14px;
  font: 800 .78rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--hivis);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--head); font-weight: 800; font-size: 1rem; letter-spacing: 0.02em; text-transform: uppercase;
  padding: 0.85em 1.5em; min-height: 52px;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: transform .15s, box-shadow .2s, background-color .15s, border-color .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-hivis { background: linear-gradient(135deg, #ff2a35, var(--hivis) 55%, var(--hivis-deep)); color: var(--white); box-shadow: 0 12px 26px -10px var(--red-glow); }
.btn-hivis:hover { color: var(--white); box-shadow: 0 16px 32px -10px var(--red-glow); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: var(--white); color: var(--white); }
.btn-night { background: var(--night); color: var(--white); box-shadow: 0 12px 26px -12px rgba(11,31,77,.6); }
.btn-night:hover { background: var(--night-3); color: var(--white); }
.btn-outline { border-color: var(--night); color: var(--night); background: transparent; }
.btn-outline:hover { background: var(--night); color: var(--white); }
.btn-wa { background: linear-gradient(135deg, #2bd46b, var(--whatsapp) 55%, var(--whatsapp-deep)); color: var(--white); box-shadow: 0 12px 26px -10px rgba(31,174,85,.55); }
.btn-wa:hover { color: var(--white); box-shadow: 0 16px 32px -10px rgba(31,174,85,.65); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--night); color: var(--silver); font-size: 0.88rem; border-bottom: 3px solid var(--hivis); }
.topbar .wrap { display: flex; gap: 1.5rem; align-items: center; justify-content: flex-end; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar .live { margin-right: auto; display: inline-flex; align-items: center; gap: .5em; }
.live i {
  width: 9px; height: 9px; border-radius: 50%; background: #3ccf6e;
  box-shadow: 0 0 0 0 rgba(60,207,110,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(60,207,110,0); } 100% { box-shadow: 0 0 0 0 rgba(60,207,110,0); } }
@media (prefers-reduced-motion: reduce) { .live i { animation: none; } }
@media (max-width: 720px) { .topbar .hide-sm { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px -16px rgba(11,31,77,.5);
}
.nav-row { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--night); }
.brand img { height: 50px; width: auto; }
.brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.site-nav a:not(.btn) {
  font-weight: 700; color: var(--night); text-decoration: none; padding: 6px 0; position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
  background: var(--hivis); transform: scaleX(0); transition: transform .2s;
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .btn { min-height: 46px; padding: .7em 1.3em; font-size: .92rem; }

.nav-toggle {
  display: none; margin-left: auto; background: var(--night); border: 0;
  border-radius: 999px; padding: 10px 16px; font: 700 .95rem var(--body); color: var(--white);
  min-height: 44px; cursor: pointer; align-items: center; gap: 10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 960px) {
  .brand img { height: 42px; }
  .nav-row { min-height: 68px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 3px solid var(--hivis);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    box-shadow: 0 18px 30px rgba(11,31,77,.18);
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--hivis); }
  .site-nav .btn { margin-top: 16px; }
}

/* ---------- Signature stripe: the red-and-navy swoosh from the logo ---------- */
.tape {
  height: 10px;
  background: linear-gradient(90deg, var(--hivis) 0 38%, var(--white) 38% 39%, var(--night-3) 39% 100%);
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white); isolation: isolate;
  background:
    radial-gradient(900px 520px at 85% 40%, rgba(227,17,28,.38), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(29,60,128,.9), transparent 70%),
    linear-gradient(160deg, #0b1f4d 0%, #071537 60%, #050f29 100%);
}
.hero::before { /* faint grid, like a control-room screen */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero::after { /* red swoosh */
  content: ""; position: absolute; z-index: -1; left: -10%; right: -10%; bottom: -120px; height: 260px;
  border-top: 14px solid var(--hivis); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -20px 60px -10px var(--red-glow); transform: rotate(-3deg);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
  padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(120px, 12vw, 170px);
}
.hero .pill {
  display: inline-flex; align-items: center; gap: .6em; padding: 8px 16px 8px 12px; margin-bottom: 22px;
  border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  font-size: .9rem; font-weight: 600; color: #e6ebf5;
}
.hero h1 { color: var(--white); line-height: .98; margin-bottom: .35em; }
.hero h1 em { color: var(--hivis); text-shadow: 0 0 40px var(--red-glow); }
.hero .lede { color: #cdd6ea; max-width: 52ch; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.75rem 0 0; }
.trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .96rem; color: #e6ebf5; }
.trust svg { width: 20px; height: 20px; color: var(--hivis); flex: none; }

.hero-badge { position: relative; display: grid; place-items: center; }
.hero-badge .disc {
  position: relative; width: min(100%, 520px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #ffffff 0 58%, #e9eef8 70%);
  box-shadow: 0 0 0 10px rgba(255,255,255,.08), 0 0 0 22px rgba(227,17,28,.22), 0 40px 90px -20px rgba(0,0,0,.6), 0 0 120px var(--red-glow);
  display: grid; place-items: center; padding: 10%;
  animation: float 7s ease-in-out infinite;
}
.hero-badge .disc::before { /* rotating dashed ring */
  content: ""; position: absolute; inset: -38px; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.28); animation: spin 60s linear infinite;
}
.hero-badge img { width: 100%; height: auto; }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--night); border-radius: 14px; padding: 10px 14px;
  font: 800 .85rem/1.15 var(--head); box-shadow: var(--shadow-lg);
}
.chip small { display: block; font: 500 .75rem var(--body); color: var(--steel); }
.chip .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--hivis); color: var(--white); flex: none; }
.chip .dot svg { width: 18px; height: 18px; }
.chip-a { left: -4%; top: 12%; }
.chip-b { right: -2%; bottom: 10%; }
.chip-b .dot { background: var(--whatsapp); }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-badge .disc, .hero-badge .disc::before { animation: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 140px; }
  .hero-badge { order: -1; }
  .hero-badge .disc { width: min(78vw, 360px); }
  .chip-a { left: 0; top: 4%; }
  .chip-b { right: 0; bottom: 2%; }
}
@media (max-width: 480px) { .chip { font-size: .78rem; padding: 8px 10px; } .chip .dot { width: 28px; height: 28px; } }

/* Quick order card: overlaps the hero */
.quick { position: relative; z-index: 3; margin-top: -96px; }
.quick-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 32px); border-top: 5px solid var(--hivis);
}
.quick-card h2 { font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); margin: 0 0 4px; }
.quick-card > p { color: var(--steel); margin: 0 0 18px; }
.quick-form { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.quick-form .btn { min-height: 50px; white-space: nowrap; }
@media (max-width: 1080px) { .quick-form { grid-template-columns: 1fr 1fr; } .quick-form .btn { grid-column: 1 / -1; } }
@media (max-width: 560px) { .quick-form { grid-template-columns: 1fr; } }

/* "Order in one tap" service icons, styled after the logo's badge row */
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .badges { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .badges { grid-template-columns: 1fr; } }
.badge {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px 22px; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.badge::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--hivis), var(--night-3)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.badge:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.badge:hover::after { transform: scaleX(1); }
.badge .ico {
  width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  background: radial-gradient(circle at 35% 30%, var(--night-3), var(--night));
  color: var(--white); box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--hivis), 0 14px 26px -10px rgba(11,31,77,.6);
}
.badge .ico svg { width: 34px; height: 34px; }
.badge h3 { margin-bottom: 6px; }
.badge h3 a { color: var(--night); text-decoration: none; }
.badge h3 a::before { content: ""; position: absolute; inset: 0; } /* whole card links to the service page */
.badge p { color: var(--steel); margin: 0 0 18px; font-size: .98rem; }
.badge .order {
  position: relative; z-index: 1; margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff0f1; color: var(--hivis); font-weight: 700; font-size: .92rem; text-decoration: none;
}
.badge .order::after { content: "92"; }
.badge .order:hover { background: var(--hivis); color: var(--white); }
.badge .order svg { width: 18px; height: 18px; }

/* Stats band */
.stats { background: linear-gradient(120deg, var(--hivis-deep), var(--hivis) 45%, #ff3b45); color: var(--white); }
.stats ul { list-style: none; margin: 0; padding: 34px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font: 900 italic clamp(1.9rem, 2.4vw + 1rem, 2.8rem)/1 var(--head); }
.stats span { font-weight: 600; font-size: .95rem; opacity: .95; }
@media (max-width: 720px) { .stats ul { grid-template-columns: 1fr 1fr; gap: 26px 12px; } }

/* "What do you need protected?" planner */
.planner-box { background: var(--night); color: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.planner-box::before { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, var(--red-glow), transparent 70%); }
.planner-box h2 { color: var(--white); position: relative; }
.planner-box > p { color: #cdd6ea; position: relative; }
.planner { position: relative; border: 0; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.planner input { position: absolute; opacity: 0; pointer-events: none; }
.planner label {
  display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 12px 16px; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.05);
  font-weight: 700; line-height: 1.2; color: var(--white);
  transition: border-color .15s, background-color .15s, transform .15s;
}
.planner label:hover { border-color: var(--hivis); transform: translateY(-2px); }
.planner svg { width: 28px; height: 28px; flex: none; color: var(--hivis); }
.planner input:focus-visible + label { outline: 3px solid var(--white); outline-offset: 2px; }
.planner input:checked + label { background: var(--hivis); border-color: var(--hivis); color: var(--white); box-shadow: 0 10px 24px -10px var(--red-glow); }
.planner input:checked + label svg { color: var(--white); }

.plan-out { position: relative; margin-top: 20px; min-height: 120px; }
.plan { display: none; }
.plan p { margin: 0 0 10px; color: #cdd6ea; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.plan li a {
  display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: .94rem; font-weight: 600;
  color: var(--white); text-decoration: none; border: 1px solid rgba(255,255,255,.35);
}
.plan li a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.plan .btn + .btn { margin-left: 8px; }
.plan-idle { display: flex; flex-wrap: wrap; gap: 12px; }
.planner-box:has(.planner input:checked) .plan-idle { display: none; }
.planner-box:has(#need-home:checked) .plan[data-for="home"],
.planner-box:has(#need-business:checked) .plan[data-for="business"],
.planner-box:has(#need-event:checked) .plan[data-for="event"],
.planner-box:has(#need-person:checked) .plan[data-for="person"],
.planner-box:has(#need-cash:checked) .plan[data-for="cash"],
.planner-box:has(#need-project:checked) .plan[data-for="project"] { display: block; }
@media (max-width: 760px) {
  .planner { grid-template-columns: 1fr 1fr; }
  .planner label { min-height: 58px; padding: 10px; font-size: .92rem; gap: 8px; }
  .planner svg { width: 24px; height: 24px; }
  .plan .btn { width: 100%; }
  .plan .btn + .btn { margin: 10px 0 0; }
}

.hero-alt { margin: 1.25rem 0 0; color: #b8c4dd; font-size: .98rem; }
.hero-alt a { color: var(--white); }

/* Page hero (inner pages) */
.page-hero {
  color: var(--white); position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(700px 400px at 90% 20%, rgba(227,17,28,.35), transparent 65%), linear-gradient(150deg, var(--night), #061331);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--hivis) 0 40%, var(--night-3) 40%); }
.page-hero .wrap { position: relative; padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(44px, 6vw, 80px); }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero .lede { color: #d5ddee; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; opacity: .22; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.crumbs { font-size: .88rem; color: var(--silver); margin-bottom: 1rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: var(--white); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--night); }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; min-height: 50px;
  border: 1.5px solid #c9d2e3; border-radius: var(--radius); background: #fbfcfe;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--night); background: var(--white); box-shadow: 0 0 0 4px rgba(227,17,28,.18); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--alert); }
.field .hint { font-size: .88rem; color: var(--steel); margin-top: 4px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 12px; margin-top: 8px; }
.checks label {
  display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); padding: 10px 12px; margin: 0; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .15s, background-color .15s;
}
.checks label:hover { border-color: var(--silver); }
.checks label:has(input:checked) { border-color: var(--hivis); background: #fff3f3; }
.checks input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--hivis); flex: none; }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .88rem; color: var(--steel); margin-top: 12px; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #e6f7ec; color: #0f5129; border-left: 5px solid var(--whatsapp); }
.form-status.ok a { color: #0f5129; font-weight: 700; }
.form-status.err { background: #fdecee; color: #7c1320; border-left: 5px solid var(--alert); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section.tint { background: var(--paper); }
.section.dark {
  color: #d5ddee;
  background: radial-gradient(800px 400px at 100% 0%, rgba(227,17,28,.22), transparent 60%), linear-gradient(160deg, var(--night), #061331);
}
.section.dark h2, .section.dark h3 { color: var(--white); }
.section-head { max-width: 740px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--steel); font-size: 1.1rem; }
.section.dark .section-head p { color: #b8c4dd; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }

/* Coverage strip */
.coverage { background: var(--night-2); color: var(--silver); }
.coverage .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; padding-top: 18px; padding-bottom: 18px; font-size: .96rem; }
.coverage strong { color: var(--white); font-weight: 700; }
.coverage ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.coverage li::before { content: "●"; color: var(--hivis); font-size: .6em; margin-right: .5em; vertical-align: middle; }

/* Headline services: photo tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--night-2); }
.tile-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,31,77,.55)); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover .tile-img img { transform: scale(1.06); }
.tile h3 { margin: 18px 22px 6px; }
.tile h3 a { color: var(--night); text-decoration: none; }
.tile h3 a:hover { color: var(--hivis); }
.tile p { color: var(--steel); margin: 0 22px .8em; }
.tile .more { font-weight: 700; margin: auto 22px 22px; color: var(--hivis); text-decoration: none; }
.tile .more::after { content: " →"; }

/* Remaining services: dense index */
.svc-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
@media (max-width: 960px) { .svc-index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-index { grid-template-columns: 1fr; } }
.svc-index a {
  display: block; padding: 18px 20px 18px 22px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--hivis);
  transition: transform .15s, box-shadow .15s;
}
.svc-index a:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.svc-index strong { display: block; font-family: var(--head); font-weight: 800; font-size: 1.05rem; color: var(--night); line-height: 1.25; margin-bottom: 4px; }
.svc-index span { color: var(--steel); font-size: .94rem; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip .split-media { order: 0; } }
.split-media { position: relative; }
.split-media > img:first-child { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-media::before { content: ""; position: absolute; left: -16px; top: -16px; width: 45%; height: 45%; border-radius: var(--radius-lg); background: var(--hivis); z-index: -1; }
.split-media { z-index: 0; isolation: isolate; }
.split-media .inset {
  position: absolute; right: -18px; bottom: -28px; width: 46%; border: 6px solid var(--white);
  border-radius: var(--radius-lg); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-lg);
}
.section.dark .split-media .inset { border-color: var(--night); }
@media (max-width: 600px) { .split-media .inset { right: 10px; bottom: -20px; width: 40%; } .split-media::before { left: -8px; top: -8px; } }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--hivis) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; padding: 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin-bottom: 14px;
  font: 900 italic 1.4rem/1 var(--head); color: var(--white); background: var(--hivis); box-shadow: 0 10px 22px -8px var(--red-glow);
}
.steps h3 { font-size: 1.15rem; margin-bottom: .35em; }
.steps p { margin: 0; color: #b8c4dd; }
.aside-block .steps li { background: rgba(255,255,255,.04); }

/* Sectors */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.sectors li { border: 1.5px solid var(--line); background: var(--white); padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--night); transition: border-color .15s, color .15s; }
.sectors li:hover { border-color: var(--hivis); color: var(--hivis); }

/* Training gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--night-2); }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery figure:nth-child(4) { grid-column: 2 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: var(--white); font-size: .92rem; font-weight: 700;
  background: linear-gradient(180deg, transparent, rgba(11,31,77,.92));
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 180px 180px; }
  .gallery figure:first-child { grid-column: 1 / 3; grid-row: auto; }
  .gallery figure:nth-child(4) { grid-column: auto; }
}

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 8px; }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--night-2); }
.post-card .meta, .post-card h3, .post-card p { margin-left: 22px; margin-right: 22px; }
.post-card .meta { font-size: .85rem; color: var(--hivis); font-weight: 700; margin-top: 16px; margin-bottom: 6px; }
.post-card h3 { font-size: 1.2rem; }
.post-card h3 a { color: var(--night); text-decoration: none; }
.post-card h3 a:hover { color: var(--hivis); }
.post-card p { color: var(--steel); }

/* FAQ */
.faq { max-width: 860px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--hivis); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--head); font-weight: 800; font-size: 1.08rem; color: var(--night);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 600; color: var(--white); background: var(--night);
}
.faq details[open] summary::after { content: "–"; background: var(--hivis); }
.faq details > div { padding: 0 0 20px; color: var(--steel); max-width: 70ch; }

/* CTA band */
.cta-band {
  color: var(--white); position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 0% 100%, rgba(255,255,255,.18), transparent 60%), linear-gradient(120deg, var(--hivis-deep), var(--hivis) 50%, #ff3b45);
}
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 52px; padding-bottom: 52px; }
.cta-band h2 { margin: 0 0 .2em; color: var(--white); font-style: italic; text-transform: uppercase; }
.cta-band p { margin: 0; font-size: 1.1rem; color: #ffe3e5; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-outline { border-color: var(--white); color: var(--white); }
.cta-band .btn-outline:hover { background: var(--white); color: var(--hivis); }

/* ---------- Services page ---------- */
.svc-nav { position: sticky; top: 78px; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .svc-nav { top: 68px; } }
.svc-nav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.svc-nav a { white-space: nowrap; display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--paper); text-decoration: none; color: var(--night); font-weight: 700; font-size: .92rem; }
.svc-nav a:hover { background: var(--hivis); color: var(--white); }
.svc-group-title { font-size: clamp(1.5rem, 2vw + 1rem, 2.1rem); padding-bottom: .4em; border-bottom: 3px solid var(--hivis); margin: 0 0 8px; display: inline-block; }
.svc { display: grid; grid-template-columns: 340px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--night-2); box-shadow: var(--shadow); }
.svc h3 { font-size: 1.6rem; }
.svc .ticks { grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; margin: 1rem 0 1.25rem; }
.svc.no-img { grid-template-columns: 1fr; }
@media (max-width: 800px) { .svc { grid-template-columns: 1fr; gap: 20px; } .svc .ticks { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.values > * { background: var(--white); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--hivis); }
.values p { color: var(--steel); }

/* ---------- Contact / quote ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--hivis); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-lg); }
.aside-block { color: #d5ddee; border-radius: var(--radius-lg); padding: 28px; background: radial-gradient(400px 260px at 100% 0%, rgba(227,17,28,.3), transparent 65%), var(--night); box-shadow: var(--shadow-lg); }
.aside-block h2, .aside-block h3 { color: var(--white); }
.aside-block a { color: var(--white); }
.aside-block dl { margin: 0; }
.aside-block dt { font-weight: 700; color: #ff6a72; margin-top: 16px; font-size: .92rem; }
.aside-block dd { margin: 2px 0 0; font-size: 1.05rem; }
.map { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Article ---------- */
.article { padding: clamp(40px, 6vw, 72px) 0; }
.article .wrap { max-width: 780px; }
.article-body h2 { font-size: 1.8rem; margin-top: 1.6em; }
.article-body h3 { margin-top: 1.4em; }
.article-body p, .article-body li { font-size: 1.08rem; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: .4em; }
.article-body li::marker { color: var(--hivis); font-weight: 700; }
.article-body figure { margin: 2em 0; }
.article-body figure img { border-radius: var(--radius-lg); width: 100%; }
.article-body figcaption { font-size: .9rem; color: var(--steel); margin-top: 8px; }
.article-meta { color: var(--silver); font-size: .95rem; }
.callout { background: #fff4f4; border-left: 5px solid var(--hivis); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 2em 0; }
.callout p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--night), #050f29); color: #b8c4dd; font-size: .96rem; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1em; }
.site-footer h2::after { content: ""; display: block; width: 32px; height: 3px; background: var(--hivis); margin-top: 10px; border-radius: 2px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d5ddee; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand { background: var(--white); padding: 10px 16px; border-radius: 12px; margin-bottom: 18px; }
.site-footer .brand img { height: 44px; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .86rem; }

/* ---------- Floating & mobile actions ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; padding: 0 22px 0 16px; height: 60px; border-radius: 999px;
  background: linear-gradient(135deg, #2bd46b, var(--whatsapp-deep)); color: var(--white); text-decoration: none;
  font: 800 .95rem var(--head); box-shadow: 0 14px 30px -8px rgba(18,138,65,.6);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,174,85,.55); animation: ring 2.6s infinite; }
.wa-float::after { content: "Order on WhatsApp"; }
.wa-float:hover { color: var(--white); transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes ring { 70% { box-shadow: 0 0 0 16px rgba(31,174,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,174,85,0); } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .wa-float { display: none; }
  body { padding-bottom: 66px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--night); box-shadow: 0 -6px 20px rgba(0,0,0,.25);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 66px;
    color: var(--white); text-decoration: none; font-weight: 700; font-size: .95rem;
  }
  .mobile-cta a:last-child { background: var(--hivis); font-family: var(--head); font-weight: 800; }
  .mobile-cta svg { width: 20px; height: 20px; }
}

/* ---------- Scroll reveal (only when JS has run) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.prose-max { max-width: 68ch; }

/* Service pages: keep the quote form in view on desktop */
@media (min-width: 901px) { .form-stick { position: sticky; top: 100px; } }
.quick-form .form-status { grid-column: 1 / -1; margin-top: 0; }
.hero .pill .live { display: inline-flex; }
.hero .pill .live i { display: block; }
@media (max-width: 600px) {
  .hero-grid { gap: 24px; padding-top: 32px; }
  .hero-badge .disc { width: min(62vw, 240px); }
  .hero-badge .disc::before { inset: -22px; }
  .hero .pill { display: none; }
  .chip small { display: none; }
}

/* Detailed order form: section headings */
.form-sec { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hivis); }
.form-grid > .form-sec:first-of-type { border-top: 0; padding-top: 0; }
.form-sec-inline { font: 800 1.05rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--hivis); }
