/* ============================================================
   CAIZERO TRUSTED SERVICES — styles.css  (v1)
   Brand: navy dominant · bright blue support · lime accent
   Type:  Barlow Condensed (display) + Barlow (text)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #0d1637;
  --navy-900: #131f4c;
  --navy-800: #182a66;
  --navy-700: #1b2f70;   /* primary brand */
  --navy-600: #24408f;
  --blue-600: #17699e;   /* accessible link blue on white */
  --blue-500: #2b9fdd;   /* bright blue */
  --blue-300: #7cc4ea;
  --blue-100: #e0f0fa;
  --green-500: #a6ce13;  /* lime accent */
  --green-600: #8db00c;
  --ink-900: #111d42;
  --ink-700: #2c3a5e;
  --ink-500: #51618a;
  --line: #dfe7f3;
  --bg-soft: #f4f7fc;
  --white: #ffffff;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-text: "Barlow", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-1: 0 4px 14px rgba(19, 31, 76, 0.08);
  --shadow-2: 0 16px 40px rgba(19, 31, 76, 0.16);
  --header-h: 76px;
  --container: 1180px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; overflow-x: clip; } /* overflow guard: on content wrapper, never on html/body (sticky header) */

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.3rem); font-style: italic; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; font-style: italic; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.18rem; font-weight: 600; letter-spacing: 0.02em; }

p { max-width: 65ch; }
p + p { margin-top: 0.9em; }

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

ul { padding-left: 1.2em; }

::selection { background: var(--green-500); color: var(--navy-900); }

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

.on-dark :focus-visible { outline-color: var(--green-500); }

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section { padding-block: clamp(3.4rem, 8vw, 6.2rem); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(2.6rem, 6vw, 4rem); }

.grid { display: grid; gap: clamp(1.1rem, 2.6vw, 1.7rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500) 60%, var(--blue-500) 60%);
  border-radius: 2px;
}

.section-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head h2 { margin-top: 0.55rem; }
.section-head p { margin-top: 0.8rem; font-size: 1.11rem; color: var(--ink-500); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 26px; height: 4px;
  background: linear-gradient(270deg, var(--green-500) 60%, var(--blue-500) 60%);
  border-radius: 2px;
}
.section-head--center p { margin-inline: auto; }

.on-dark, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark .eyebrow { color: var(--blue-300); }
.on-dark p { color: #c9d6ee; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.2rem;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: var(--white); }

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

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.72rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn svg { width: 19px; height: 19px; flex: none; }

.btn--accent { background: var(--green-500); color: var(--navy-900); box-shadow: 0 8px 22px rgba(166, 206, 19, 0.35); }
.btn--accent:hover { background: var(--green-600); color: var(--navy-900); transform: translateY(-2px); }

.btn--primary { background: var(--navy-700); color: var(--white); box-shadow: var(--shadow-1); }
.btn--primary:hover { background: var(--navy-600); color: var(--white); transform: translateY(-2px); }

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

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

.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: var(--header-h);
}

.site-header .lang-switch { margin-left: auto; }

@media (min-width: 1024px) {
  .site-header .main-nav { margin-left: auto; }
  .site-header .lang-switch { margin-left: 0; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  text-decoration: none;
  padding-block: 8px;
}

.brand img { width: 46px; height: 46px; }

.brand-text { display: flex; flex-direction: column; line-height: 1; }

.brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.72rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.brand-tag {
  margin-top: 3px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.83rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.main-nav { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  color: var(--navy-700);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* nav CTA — Request a Quote */
.nav-cta { margin-left: 1.4rem; padding: 0.56rem 1.35rem; font-size: 1.04rem; min-height: 44px; }

/* language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  flex: none;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 44px;
  min-height: 38px;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink-500);
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-switch a:hover { color: var(--navy-700); background: #e7edf7; }
.lang-switch a[aria-current="true"] {
  background: var(--navy-700);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(27, 47, 112, 0.35);
}
.lang-switch svg { width: 15px; height: 15px; flex: none; }

@media (min-width: 1024px) {
  .lang-switch { margin-right: 0.4rem; }
}

/* header compacto en pantallas muy chicas */
@media (max-width: 480px) {
  .brand-tag { letter-spacing: 0.22em; font-size: 0.78rem; }
  .brand-name { font-size: 1.5rem; }
  .brand img { width: 40px; height: 40px; }
  .lang-switch a { min-width: 38px; padding: 0.2rem 0.45rem; font-size: 0.95rem; }
  .site-header .container { gap: 0.5rem; }
}

/* switcher dentro del drawer */
.drawer-lang { margin-top: 1.4rem; }
.drawer-lang .lang-switch { width: 100%; justify-content: stretch; padding: 4px; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }
.drawer-lang .lang-switch a {
  flex: 1;
  color: #c3d1ee;
  min-height: 44px;
  font-size: 1.05rem;
}
.drawer-lang .lang-switch a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.drawer-lang .lang-switch a[aria-current="true"] { background: var(--green-500); color: var(--navy-900); box-shadow: none; }
.drawer-lang-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa3cc;
  margin-bottom: 0.5rem;
}

/* enlace de idioma en el footer */
.footer-lang { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-lang a { color: #c3d1ee; text-decoration: none; font-weight: 600; }
.footer-lang a:hover { color: var(--green-500); }
.footer-lang a[aria-current="true"] { color: var(--green-500); }
.footer-lang span { color: #55679a; }

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
  }
  .nav-toggle { display: none; }
  .nav-list {
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 1.6vw, 1.5rem);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-link {
    position: relative;
    display: inline-block;
    padding: 0.55rem 0.35rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 1.13rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-900);
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0.35rem;
    right: 0.35rem;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--green-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
  }
  .nav-link:hover { color: var(--navy-700); }
  .nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .nav-link[aria-current="page"] { color: var(--navy-700); }
}

/* ---------- 6. Mobile drawer (body level) ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
}
.drawer.open { visibility: visible; }

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 22, 55, 0.62);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.drawer.open .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 380px);
  background:
    url("/img/hex-pattern.svg") 0 0 / 45px 78px,
    linear-gradient(160deg, var(--navy-900), var(--navy-950) 78%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 1rem 1.4rem 2rem;
  transform: translateX(102%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.drawer.open .drawer-panel { transform: translateX(0); }

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  margin-bottom: 1.2rem;
}
.drawer-top img { width: 44px; height: 44px; }

.drawer-close {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
}
.drawer-close svg { width: 24px; height: 24px; }

.drawer-nav ul { list-style: none; margin: 0; padding: 0; }

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 0.4rem;
  min-height: 48px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-link::before {
  content: "";
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: var(--blue-500);
  transition: background 0.2s;
}
.drawer-link:hover { color: var(--green-500); }
.drawer-link[aria-current="page"] { color: var(--green-500); }
.drawer-link[aria-current="page"]::before { background: var(--green-500); }

.drawer .btn { margin-top: 1.6rem; }

.drawer-meta { margin-top: auto; padding-top: 1.6rem; font-size: 0.98rem; color: #b9c8e8; }
.drawer-meta a { color: var(--white); font-weight: 600; text-decoration: none; }

body.nav-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative;
  overflow: clip;
  color: var(--white);
  background:
    url("/img/hex-pattern.svg") 0 0 / 45px 78px,
    linear-gradient(118deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52rem 30rem at 118% -12%, rgba(43, 159, 221, 0.28), transparent 62%),
    radial-gradient(40rem 26rem at -14% 118%, rgba(166, 206, 19, 0.14), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 2.6rem;
  padding-block: clamp(3.6rem, 9vw, 6.4rem);
  align-items: center;
}

.hero h1 { color: var(--white); margin-top: 0.7rem; }
.hero h1 .hl { color: var(--green-500); }

.hero-lead {
  margin-top: 1.15rem;
  font-size: clamp(1.08rem, 1.7vw, 1.24rem);
  color: #cdd9f1;
  max-width: 54ch;
}

.hero .btn-row { margin-top: 1.9rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.6rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.92rem;
  font-weight: 600;
  color: #e4edfb;
}
.hero-badges svg { width: 15px; height: 15px; color: var(--green-500); flex: none; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

.hero-slashes {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.hero-slashes span { height: 7px; }
.hero-slashes span:nth-child(1) { background: var(--blue-500); opacity: 0.9; }
.hero-slashes span:nth-child(2) { background: var(--green-500); height: 5px; }

@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.06fr 0.94fr; gap: 3rem; }
}

/* ---------- 8. Cards / features ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.55rem;
  box-shadow: var(--shadow-1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--blue-300); }
.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  right: 55%;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--green-500));
  opacity: 0;
  transition: opacity 0.22s ease;
}
.card:hover::before { opacity: 1; }

.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  margin-bottom: 1.05rem;
}
.icon-chip svg { width: 29px; height: 29px; }
.icon-chip--green { background: linear-gradient(135deg, var(--green-500), #b9d92e); color: var(--navy-900); }

.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--ink-500); font-size: 1rem; }

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue-600);
}
.card .card-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.card .card-link:hover { color: var(--navy-700); }
.card .card-link:hover svg { transform: translateX(4px); }

/* check list */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.85rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--green-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat exclude, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* split feature layout */
.split {
  display: grid;
  gap: clamp(1.8rem, 5vw, 3.4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev > :first-child { order: 2; }
}

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }

.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1rem;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.1rem;
  color: var(--green-500);
  line-height: 1;
}
.stat span { font-size: 0.88rem; color: #c2d0ec; letter-spacing: 0.04em; }

/* process steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-1);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--blue-500);
  margin-bottom: 0.7rem;
}
.step::after {
  content: "";
  position: absolute;
  top: 2rem;
  left: 74px;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--green-500);
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.99rem; color: var(--ink-500); }

/* ---------- 9. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: clip;
  background:
    url("/img/hex-pattern.svg") 0 0 / 45px 78px,
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  clip-path: polygon(0 3.2rem, 100% 0, 100% calc(100% - 3.2rem), 0 100%);
  margin-block: 1.2rem;
  padding-block: clamp(4rem, 8vw, 5.6rem);
}
.cta-band .container {
  display: grid;
  gap: 1.6rem;
  text-align: center;
  justify-items: center;
}
.cta-band h2 { color: var(--white); max-width: 22ch; }
.cta-band p { color: #c9d6ee; max-width: 52ch; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- 10. Page hero (interior) ---------- */
.page-hero {
  position: relative;
  overflow: clip;
  color: var(--white);
  background:
    url("/img/hex-pattern.svg") 0 -20px / 45px 78px,
    linear-gradient(115deg, var(--navy-950) 10%, var(--navy-700));
  padding-block: clamp(2.6rem, 6vw, 4.2rem);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.4vw, 3.6rem); margin-top: 0.5rem; }
.page-hero p { color: #c9d6ee; font-size: 1.13rem; max-width: 62ch; margin-top: 0.9rem; }
.page-hero .eyebrow { color: var(--blue-300); }
.page-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 32px;
  transform: rotate(24deg);
  background: linear-gradient(135deg, rgba(43, 159, 221, 0.35), rgba(166, 206, 19, 0.22));
  pointer-events: none;
}

/* breadcrumb */
.breadcrumb { margin: 0; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.4rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
.breadcrumb li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb li + li::before {
  content: "/";
  color: var(--blue-300);
  font-weight: 600;
}
.breadcrumb a { color: #bfe0f5; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--green-500); font-weight: 600; }

.breadcrumb--light ol { font-size: 0.9rem; }
.breadcrumb--light a { color: var(--blue-600); }
.breadcrumb--light li + li::before { color: var(--ink-500); }
.breadcrumb--light [aria-current="page"] { color: var(--ink-900); }

/* ---------- 11. Services page ---------- */
.svc-block {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  scroll-margin-top: calc(var(--header-h) + 14px);
}
@media (min-width: 860px) {
  .svc-block { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 2.4rem; }
  .section:nth-of-type(even) .svc-media { order: 2; }
}

.svc-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; }

.svc-block h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.svc-block .check-list { margin-top: 1rem; }
.svc-block .check-list li { font-size: 1rem; color: var(--ink-700); }

.svc-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.9rem;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.35rem;
}

/* ---------- 12. Gallery ---------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}
.filter-btn {
  min-height: 44px;
  padding: 0.45rem 1.15rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-700);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--navy-700); }
.filter-btn[aria-pressed="true"] {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: var(--white);
}

.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.15rem; }
@media (min-width: 620px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.g-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.g-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.g-item.hide { display: none; }

.g-thumb {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
}
.g-thumb img { width: 100%; height: auto; }

.g-cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1.05rem 0.95rem;
  border-top: 1px solid var(--line);
}
.g-cap h3 { font-size: 1.08rem; letter-spacing: 0.05em; }
.g-cap span {
  flex: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(13, 22, 55, 0.9);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s;
}
.lightbox.open { visibility: visible; opacity: 1; }

.lb-figure {
  max-width: min(980px, 96vw);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  transform: scale(0.96);
  transition: transform 0.22s ease;
}
.lightbox.open .lb-figure { transform: scale(1); }
.lb-figure img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--bg-soft); }
.lb-figure figcaption {
  padding: 0.9rem 1.2rem;
  font-size: 0.98rem;
  color: var(--ink-700);
  border-top: 1px solid var(--line);
}

.lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lb-close svg { width: 26px; height: 26px; }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lb-nav svg { width: 26px; height: 26px; }
.lb-nav--prev { left: 1rem; }
.lb-nav--next { right: 1rem; }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, 0.24); }

/* ---------- 13. Contact ---------- */
.contact-grid {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.6rem);
  align-items: start;
}
@media (min-width: 940px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-1);
}
.contact-card .icon-chip { width: 48px; height: 48px; margin: 0; flex: none; border-radius: 12px; }
.contact-card .icon-chip svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.12rem; margin-bottom: 0.15rem; }
.contact-card p, .contact-card a { font-size: 1rem; color: var(--ink-500); }
.contact-card a { font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; color: var(--navy-700); }

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: clamp(1.5rem, 4vw, 2.3rem);
}
.quote-form h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.quote-form > p { color: var(--ink-500); margin-top: 0.5rem; }

.form-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-field--full { grid-column: 1 / -1; }
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-900);
  margin-bottom: 0.35rem;
}
.form-field label .req { color: #c22525; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font: inherit;
  color: var(--ink-900);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.form-field textarea { min-height: 132px; resize: vertical; }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231b2f70' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.6rem; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(43, 159, 221, 0.18);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #c22525;
  background: #fdf3f3;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #c22525;
}

.hp { position: absolute; left: -4000px; top: -4000px; height: 1px; width: 1px; opacity: 0; }

.form-note { font-size: 0.9rem; color: var(--ink-500); margin-top: 0.9rem; }

.form-alert {
  display: none;
  margin-top: 1.1rem;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  font-size: 0.98rem;
}
.form-alert.show { display: block; }
.form-alert--ok {
  background: #f2f9dc;
  border: 1px solid var(--green-500);
  color: #3f5310;
}
.form-alert--err {
  background: #fdf3f3;
  border: 1px solid #e5b4b4;
  color: #8f1f1f;
}
.form-alert a { font-weight: 600; }

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  overflow: clip;
  background:
    url("/img/hex-pattern.svg") 0 0 / 45px 78px,
    linear-gradient(170deg, var(--navy-900), var(--navy-950));
  color: #b9c8e8;
  margin-top: 0;
}

.footer-top {
  display: grid;
  gap: 2.2rem;
  padding-block: clamp(2.8rem, 6vw, 4.2rem) 2.2rem;
}
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

.footer-brand img { width: 120px; height: auto; margin-bottom: 0.9rem; }
.footer-brand .brand-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--green-500);
  letter-spacing: 0.02em;
  max-width: 30ch;
}
.footer-brand p { margin-top: 0.7rem; font-size: 0.97rem; max-width: 34ch; }

.footer-col h3 {
  color: var(--white);
  font-size: 1.14rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer-col h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: var(--green-500);
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.55rem; }
.footer-col a {
  color: #c3d1ee;
  text-decoration: none;
  font-size: 0.99rem;
}
.footer-col a:hover { color: var(--green-500); text-decoration: underline; }

.footer-contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.99rem;
}
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 0.22em; color: var(--blue-300); }
.footer-contact a { color: #c3d1ee; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.25rem;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.6rem;
  row-gap: 0.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
}
.footer-bottom p { max-width: none; }
.footer-ccid { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-ccid svg { width: 16px; height: 16px; color: var(--green-500); }
.footer-legal a { color: #c3d1ee; text-decoration: none; }
.footer-legal a:hover { color: var(--green-500); }

/* ---------- 15. FAQ / accordion (services page) ---------- */
.faq { display: grid; gap: 0.8rem; max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-1);
}
.faq details[open] { border-color: var(--blue-300); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  color: var(--ink-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blue-600);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--green-600); }
.faq details p { margin-top: 0.6rem; font-size: 0.99rem; color: var(--ink-500); }

/* ---------- 16. Misc ---------- */
.divider-slashes {
  display: flex;
  gap: 6px;
  margin: 0.2rem 0 0.9rem;
}
.divider-slashes span {
  width: 30px;
  height: 5px;
  border-radius: 3px;
  transform: skewX(-24deg);
  background: var(--navy-200, #e8eef8);
}
.divider-slashes span:nth-child(1) { background: var(--green-500); }
.divider-slashes span:nth-child(2) { background: var(--blue-500); }
.divider-slashes span:nth-child(3) { background: var(--line); }

.text-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.text-link-arrow svg { width: 17px; height: 17px; transition: transform 0.2s; }
.text-link-arrow:hover svg { transform: translateX(4px); }

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