/* =========================================================
   Cabio Instalaciones · Electricidad · Agua · Reparaciones
   Design System v4 — Deep blue + green
   ========================================================= */

:root {
  /* Brand */
  --c-navy: #072D6C;
  --c-navy-2: #0A3D86;
  --c-navy-3: #1656A3;
  --c-ink: #071B34;

  --c-gold: #067A46;
  --c-gold-soft: #118A52;
  --c-gold-light: #E8F6EF;
  --c-tech: #0B6FB8;

  --c-bg: #F8FAFB;
  --c-surface: #FFFFFF;
  --c-muted: #5C6F80;
  --c-muted-2: #8A97A4;
  --c-line: #E5E8ED;
  --c-success: #2E8F6B;
  --c-danger: #C0392B;

  /* Type */
  --ff-display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ff-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Scale */
  --step--1: clamp(.78rem, .76rem + .1vw, .85rem);
  --step-0:  clamp(.95rem, .92rem + .15vw, 1.02rem);
  --step-1:  clamp(1.1rem, 1.05rem + .3vw, 1.22rem);
  --step-2:  clamp(1.35rem, 1.2rem + .6vw, 1.65rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.2vw, 3rem);
  --step-5:  clamp(2.6rem, 1.8rem + 3.4vw, 4rem);

  /* Layout */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(11,37,69,.06);
  --shadow-sm: 0 4px 14px rgba(11,37,69,.08);
  --shadow-md: 0 10px 30px rgba(11,37,69,.10);
  --shadow-lg: 0 24px 60px rgba(11,37,69,.18);

  --maxw: 1180px;
  --gutter: clamp(1rem, 2vw, 2rem);

  --ease: cubic-bezier(.2,.8,.2,1);
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: var(--c-navy); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--c-gold); }

/* Selection */
::selection { background: var(--c-gold); color: var(--c-navy); }

/* Typography */
h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--c-navy); }
h1 { font-size: var(--step-5); letter-spacing: -0.02em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { font-size: var(--step-0); color: #1b2a3a; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-body);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 600;
  color: var(--c-gold);
  padding: .35rem .75rem;
  border: 1px solid rgba(8,147,84,.28);
  border-radius: 999px;
  background: rgba(8,147,84,.08);
}
.eyebrow.on-dark { color: #79D7A3; border-color: rgba(121,215,163,.4); background: rgba(255,255,255,.04); }

/* Layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.section-alt { background: #EEF4F2; }
.section-dark { background: linear-gradient(180deg, var(--c-navy) 0%, #041F4A 100%); color: #E9EEF3; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }

.section-title { max-width: 780px; margin-inline: auto; text-align: center; }
.section-title h2 { margin-top: .6rem; }
.section-title p { margin-top: .8rem; color: var(--c-muted); font-size: var(--step-1); }

.grid { display: grid; gap: clamp(1rem, 2vw, 2rem); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.seo-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.seo-link-grid a {
  display: inline-flex;
  align-items: center;
  padding: .55rem .8rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  color: var(--c-navy);
  font-weight: 600;
  font-size: .9rem;
}
.seo-link-grid a:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--c-gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--c-gold-soft); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--c-navy); color: #fff; }
.btn-dark:hover { background: var(--c-navy-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--c-navy); border-color: var(--c-line); }
.btn-ghost:hover { background: #fff; border-color: var(--c-gold); color: var(--c-navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; border-color: #fff; }
.btn-wa { background: #128C4A; color: #fff; }
.btn-wa:hover { background: #0D7A3F; color: #fff; transform: translateY(-1px); }
.btn-sm { padding: .6rem 1.05rem; font-size: .86rem; }
.btn-lg { padding: 1.1rem 1.8rem; font-size: 1.02rem; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(10,37,64,.06);
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem 0;
}
.nav-brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--c-navy); font-size: 1.05rem; }
.nav-brand img { width: 58px; height: 58px; object-fit: contain; }
.nav-brand .brand-name { font-family: var(--ff-display); font-size: 1.15rem; letter-spacing: -.01em; }
.nav-brand .brand-name span { color: var(--c-gold); }
.nav-links { list-style: none; display: flex; gap: 1.6rem; margin-inline: auto; }
.nav-links a {
  position: relative;
  color: var(--c-ink);
  font-weight: 500;
  font-size: .96rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--c-gold); transform: scaleX(0); transform-origin: center;
  transition: transform .2s var(--ease);
}
.nav-links a:hover { color: var(--c-navy); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: .5rem; }
.nav-toggle { display: none; border: 1px solid var(--c-line); border-radius: 10px; padding: .5rem .7rem; }
.nav-toggle svg { width: 22px; height: 22px; color: var(--c-navy); }

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn:not(.nav-cta-main) { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav[data-open="true"] .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 1rem var(--gutter) 1.3rem;
    border-bottom: 1px solid var(--c-line);
    gap: .7rem;
    box-shadow: var(--shadow-md);
  }
  .nav[data-open="true"] .nav-cta .btn { display: inline-flex; }
  .nav[data-open="true"] .nav-cta { position: absolute; top: 100%; left: 0; right: 0; padding: .25rem var(--gutter) 1.3rem; background: #fff; display: flex; flex-direction: column; z-index: -1; transform: translateY(calc(100% - 1rem)); }
}

/* Top utility bar (small and only desktop) */
.topbar {
  background: var(--c-navy);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-block: .5rem; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--c-gold-soft); }
.topbar .tb-group { display: inline-flex; align-items: center; gap: 1.1rem; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 640px) { .topbar { display: none; } }

/* Hero */
.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 6vw, 6rem);
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(200,130,10,.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(21,62,104,.12), transparent 60%),
    linear-gradient(180deg, #FAFAF7 0%, #F3EEE3 100%);
  overflow: hidden;
}
.hero::before {
  /* subtle atlantic wave line */
  content:"";
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300'><path d='M0 220 C 200 160 400 280 600 220 S 1000 160 1200 220' fill='none' stroke='%23089354' stroke-opacity='.12' stroke-width='2'/><path d='M0 250 C 200 200 400 310 600 250 S 1000 200 1200 250' fill='none' stroke='%23072D6C' stroke-opacity='.08' stroke-width='2'/></svg>");
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-copy h1 { margin-top: 1rem; }
.hero-copy .lead { margin-top: 1.1rem; font-size: var(--step-1); color: #2a3a4d; max-width: 56ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-trust {
  margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.3rem;
  font-size: .88rem; color: var(--c-muted);
}
.hero-trust .ht { display: inline-flex; align-items: center; gap: .5rem; }
.hero-trust svg { color: var(--c-gold); }

.hero-visual {
  position: relative;
  aspect-ratio: 1.05/1;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--c-navy-2) 0%, var(--c-navy) 100%);
  box-shadow: var(--shadow-lg);
  color: #fff;
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}
.hero-visual::before {
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(201,165,92,.35), transparent 60%),
    radial-gradient(300px 200px at 0% 100%, rgba(255,255,255,.06), transparent 60%);
  z-index: -1;
}
.hero-visual .hv-top { display: flex; justify-content: space-between; align-items: start; }
.hero-visual .hv-top img { width: 64px; height: 64px; }
.hero-visual .hv-code { font-family: ui-monospace, monospace; font-size: .75rem; letter-spacing: .18em; color: var(--c-gold-soft); text-transform: uppercase; }
.hero-visual .hv-big {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1;
  margin-top: 2rem; letter-spacing: -.02em;
}
.hero-visual .hv-big span { color: var(--c-gold); }
.hero-visual .hv-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin-top: 1.4rem; font-size: .85rem; color: rgba(255,255,255,.82); }
.hero-visual .hv-meta strong { display: block; color: var(--c-gold-soft); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.hero-visual .hv-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: .5rem .9rem; border-radius: 999px; font-size: .82rem;
  width: fit-content;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; aspect-ratio: 1.2/1; }
}

/* Trust bar */
.trustbar {
  background: #fff;
  border-block: 1px solid var(--c-line);
}
.trustbar .tb {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; padding: 1.4rem 0;
}
.trustbar .tb-cell {
  display: flex; align-items: center; gap: .9rem;
  padding-inline: 1rem;
  border-right: 1px dashed var(--c-line);
}
.trustbar .tb-cell:last-child { border-right: 0; }
.trustbar .tb-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-gold-light); color: var(--c-navy);
  display: grid; place-items: center;
}
.trustbar .tb-ic svg { width: 22px; height: 22px; }
.trustbar .tb-tt { font-weight: 700; font-size: .95rem; color: var(--c-navy); }
.trustbar .tb-st { color: var(--c-muted); font-size: .8rem; }

@media (max-width: 720px) {
  .trustbar .tb-cell { border-right: 0; border-bottom: 1px dashed var(--c-line); padding-block: .5rem; }
  .trustbar .tb-cell:last-child { border-bottom: 0; }
}

/* Services */
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2vw, 1.8rem);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--c-gold); transform: scaleY(0); transform-origin: top;
  transition: transform .25s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(201,165,92,.3); }
.service-card:hover::before { transform: scaleY(1); }
.service-ic {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(160deg, #F6EBD0 0%, #E8C878 100%);
  color: var(--c-navy);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.service-ic svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.service-card p { color: var(--c-muted); font-size: .95rem; }
.service-card ul { list-style: none; margin-top: .9rem; }
.service-card ul li {
  font-size: .88rem; color: var(--c-ink);
  padding: .25rem 0; display: flex; gap: .5rem; align-items: flex-start;
}
.service-card ul li::before { content: "•"; color: var(--c-gold); font-weight: 800; line-height: 1.2; }
.service-card .more { margin-top: auto; padding-top: 1rem; color: var(--c-navy); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.service-card .more svg { width: 14px; height: 14px; transition: transform .15s var(--ease); }
.service-card:hover .more svg { transform: translateX(3px); }

/* Steps / process */
.steps { counter-reset: stp; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem 1.3rem;
}
.step::before {
  counter-increment: stp;
  content: counter(stp, decimal-leading-zero);
  position: absolute; top: -18px; left: 1.2rem;
  background: var(--c-navy); color: var(--c-gold);
  padding: .25rem .7rem; border-radius: 999px;
  font-family: var(--ff-display); font-weight: 700; font-size: .9rem;
  border: 1px solid rgba(255,255,255,.08);
}
.step h4 { font-size: 1.05rem; margin-bottom: .45rem; color: var(--c-navy); }
.step p { color: var(--c-muted); font-size: .92rem; }

/* Big about block */
.about-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 900px) { .about-wrap { grid-template-columns: 1fr; } }
.about-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin-top: 1.3rem; }
@media (max-width: 520px) { .about-list { grid-template-columns: 1fr; } }
.about-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.about-list svg { flex: none; width: 18px; height: 18px; color: var(--c-gold); margin-top: .25rem; }

.about-visual {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--c-navy);
  color: #fff;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.about-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(400px 220px at 90% 10%, rgba(201,165,92,.22), transparent 60%),
    radial-gradient(300px 200px at 0% 100%, rgba(255,255,255,.05), transparent 60%);
  pointer-events: none;
}
.about-visual .stat { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; align-items: baseline; margin: .8rem 0; }
.about-visual .stat .n { font-family: var(--ff-display); font-size: 2.6rem; color: var(--c-gold); font-weight: 700; line-height: 1; }
.about-visual .stat .l { color: rgba(255,255,255,.85); font-size: .92rem; }
.about-visual hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin-block: 1rem; }

/* Zone */
.zone-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
@media (max-width: 900px) { .zone-wrap { grid-template-columns: 1fr; } }
.zone-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.zone-badge {
  background: #fff;
  border: 1px solid var(--c-line);
  padding: .45rem .9rem;
  border-radius: 999px;
  font-size: .88rem;
  color: var(--c-navy);
  font-weight: 600;
  transition: all .2s var(--ease);
}
.zone-badge:hover { border-color: var(--c-gold); background: var(--c-gold-light); }
.zone-badge::before { content: "📍"; margin-right: .3rem; filter: saturate(0); opacity: .7; }

.zone-map {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--c-line);
  min-height: 360px;
  background: #eef2f5;
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: .7rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { border-color: rgba(201,165,92,.5); box-shadow: var(--shadow-xs); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 600; color: var(--c-navy);
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--ff-display);
  font-size: 1.8rem; line-height: 1;
  color: var(--c-gold);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq .ans { margin-top: .8rem; color: var(--c-muted); font-size: .95rem; }

/* Contact / CTA section */
.cta-band {
  background: linear-gradient(120deg, var(--c-navy) 0%, var(--c-navy-2) 50%, #081C33 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.6rem);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(201,165,92,.22), transparent 60%),
    radial-gradient(500px 260px at 0% 100%, rgba(201,165,92,.10), transparent 60%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); font-size: var(--step-1); max-width: 56ch; }
.cta-band .cta-list { position: relative; display: grid; gap: .8rem; }
.cta-band .cta-item {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  color: #fff;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.cta-band .cta-item:hover { background: rgba(255,255,255,.1); border-color: rgba(201,165,92,.4); transform: translateY(-1px); color: #fff; }
.cta-band .cta-item .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(201,165,92,.18); color: var(--c-gold);
  display: grid; place-items: center; flex: none;
}
.cta-band .cta-item .ic svg { width: 22px; height: 22px; }
.cta-band .cta-item strong { display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold-soft); font-weight: 600; }
.cta-band .cta-item span { font-size: 1.02rem; font-weight: 600; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* Contact form */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 820px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-side h3 { margin-bottom: .6rem; }
.contact-side .ch-list { list-style: none; display: grid; gap: .9rem; margin-top: 1.4rem; }
.contact-side .ch {
  display: flex; gap: .9rem; align-items: center;
  padding: .9rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: all .2s var(--ease);
}
.contact-side .ch:hover { border-color: var(--c-gold); background: #FBF7EC; }
.contact-side .ch .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--c-gold-light); color: var(--c-navy); display: grid; place-items: center; flex: none; }
.contact-side .ch strong { display: block; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.contact-side .ch span { font-weight: 600; color: var(--c-navy); font-size: 1rem; }

form.contact-form { display: grid; gap: .9rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--c-navy); letter-spacing: .04em; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: .8rem .95rem;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-ink);
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 4px rgba(201,165,92,.15);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .86rem; color: var(--c-muted); line-height: 1.5;
}
.check input { margin-top: .25rem; accent-color: var(--c-gold); }
.form-submit { justify-content: center; width: 100%; }

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: .7rem;
  background: #075F37; color: #fff;
  padding: .85rem 1.1rem; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  font-weight: 700;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
}
.float-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37,211,102,.5); color: #fff; }
.float-wa svg { width: 22px; height: 22px; }
.float-wa .fw-txt { font-size: .9rem; }
@media (max-width: 520px) { .float-wa .fw-txt { display: none; } .float-wa { padding: .9rem; } }

/* Footer */
.site-footer { background: #061828; color: #c9d3dd; padding: 4rem 0 2rem; }
.site-footer a { color: #c9d3dd; }
.site-footer a:hover { color: var(--c-gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 1rem; font-family: var(--ff-body); font-weight: 600; }
.site-footer .ftr-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; color: #fff; font-family: var(--ff-display); font-size: 1.2rem; }
.site-footer .ftr-brand img { width: 44px; height: 44px; }
.site-footer p { color: rgba(255,255,255,.65); font-size: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer ul li { font-size: .9rem; }
.site-footer .socials { display: flex; gap: .6rem; margin-top: 1rem; }
.site-footer .socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  transition: all .2s var(--ease);
}
.site-footer .socials a:hover { background: var(--c-gold); color: var(--c-navy); border-color: transparent; }
.site-footer .socials svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem; padding-top: 1.4rem; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
.footer-bottom .legal-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Misc */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Page header (non-home) */
.page-header {
  background: linear-gradient(180deg, #0A2540 0%, #0F3355 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(201,165,92,.2), transparent 60%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header .crumbs { font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: .8rem; letter-spacing: .02em; }
.page-header .crumbs a { color: rgba(255,255,255,.7); }
.page-header .crumbs a:hover { color: var(--c-gold-soft); }
.page-header h1 { color: #fff; font-size: var(--step-4); }
.page-header p { color: rgba(255,255,255,.82); max-width: 60ch; font-size: var(--step-1); margin-top: .8rem; }

/* Rich content pages (legal, long text) */
.prose { max-width: 780px; margin: 0 auto; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; font-size: 1rem; color: #1f2d3c; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose h2 { margin-top: 2rem; font-size: var(--step-2); }
.prose h3 { margin-top: 1.4rem; font-size: var(--step-1); }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.flex-center { display: flex; justify-content: center; }

/* Print */
@media print {
  .site-header, .site-footer, .float-wa, .topbar, .cta-band { display: none !important; }
}

/* =========================================================
   Cabio minimal redesign
   Contemporary, simple, service-first
   ========================================================= */

:root {
  --c-navy: #062B67;
  --c-navy-2: #0A3A7A;
  --c-navy-3: #1557A6;
  --c-ink: #111827;
  --c-gold: #064D2D;
  --c-gold-soft: #075F37;
  --c-gold-light: #ECF8F2;
  --c-bg: #F7F9FB;
  --c-surface: #FFFFFF;
  --c-muted: #5E6B78;
  --c-muted-2: #93A0AC;
  --c-line: #E4E8EE;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;
  --shadow-xs: 0 1px 2px rgba(17,24,39,.04);
  --shadow-sm: 0 8px 24px rgba(17,24,39,.06);
  --shadow-md: 0 14px 36px rgba(17,24,39,.08);
  --shadow-lg: 0 18px 50px rgba(17,24,39,.10);
  --ff-display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

html { background: var(--c-bg); }
body {
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.6;
}

h1,h2,h3,h4 {
  font-family: var(--ff-body);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--c-ink);
}
h1 { font-size: clamp(2.7rem, 6vw, 5.7rem); line-height: .98; font-weight: 750; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; }
h3 { font-size: clamp(1.18rem, 1.6vw, 1.45rem); }
p { color: #263241; }

.container { max-width: 1160px; }
.section { padding: clamp(4rem, 7vw, 7.5rem) 0; }
.section-alt { background: #fff; border-block: 1px solid var(--c-line); }
.section-dark {
  background: #071A32;
  color: #EAF0F5;
}
.section-title {
  max-width: 860px;
  margin-inline: 0;
  text-align: left;
}
.section-title p {
  max-width: 65ch;
  color: var(--c-muted);
}
.section-title em,
.hero-copy em,
.page-header em,
.cta-band em {
  color: var(--c-gold) !important;
}
.cta-band em,
.site-footer .ftr-brand span span {
  color: #79D7A3 !important;
}

.eyebrow {
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: var(--c-gold);
  letter-spacing: .16em;
  font-size: .72rem;
}
.eyebrow.on-dark {
  color: #67D49C;
  border: 0;
  background: transparent;
}

.topbar {
  background: #fff;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-line);
}
.topbar a { color: var(--c-muted); }
.topbar a:hover { color: var(--c-gold); }
.topbar .container { padding-block: .45rem; }

.site-header {
  background: rgba(247,249,251,.88);
  border-bottom: 1px solid rgba(228,232,238,.78);
  box-shadow: none;
}
.nav { padding: .95rem 0; }
.nav-brand { gap: .75rem; }
.nav-brand img { width: 58px; height: 58px; object-fit: contain; }
.nav-brand .brand-name {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0;
}
.nav-brand .brand-name span { color: var(--c-ink); }
.nav-links { gap: 1.15rem; }
.nav-links a {
  color: #2D3845;
  font-size: .9rem;
  font-weight: 600;
}
.nav-links a::after {
  bottom: -10px;
  height: 1px;
}
.nav-toggle {
  border-radius: 8px;
  background: #fff;
}

.btn {
  border-radius: 8px;
  padding: .82rem 1.05rem;
  font-size: .92rem;
  box-shadow: none;
}
.btn-primary {
  background: var(--c-ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-navy);
  color: #fff;
  box-shadow: none;
}
.btn-dark {
  background: var(--c-ink);
}
.btn-ghost {
  background: #fff;
  border-color: var(--c-line);
  color: var(--c-ink);
}
.btn-ghost:hover {
  background: #F2F6F8;
  border-color: #D8DEE6;
}
.btn-wa {
  background: #075F37;
  color: #fff;
}
.btn-wa:hover {
  background: #064D2D;
  color: #fff;
  box-shadow: none;
}
.btn-lg { padding: 1rem 1.15rem; }

.hero {
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(3.5rem, 6vw, 6rem);
  background: linear-gradient(180deg, #F7F9FB 0%, #fff 100%);
  overflow: hidden;
}
.hero::before { display: none; }
.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.hero-copy h1 {
  max-width: 11ch;
  margin-top: 1rem;
}
.hero-copy .lead {
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  color: #344254;
}
.hero-ctas { gap: .65rem; margin-top: 2rem; }
.hero-trust {
  gap: .55rem;
  margin-top: 2.2rem;
}
.hero-trust .ht {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: .42rem .72rem;
  color: #445161;
  font-size: .82rem;
}
.hero-trust svg { color: var(--c-gold); }

.hero-visual {
  aspect-ratio: auto;
  min-height: 430px;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  color: var(--c-ink);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  background:
    linear-gradient(180deg, rgba(5,148,92,.06), transparent 44%),
    linear-gradient(90deg, rgba(6,43,103,.05), transparent 50%);
}
.hero-visual .hv-top {
  width: 100%;
  justify-content: center;
}
.hero-visual .hv-top img {
  width: min(430px, 92%);
  height: auto;
  margin-inline: auto;
}
.hero-visual .hv-code {
  color: var(--c-muted);
  letter-spacing: .1em;
}
.hero-visual .hv-badge {
  background: var(--c-gold-light);
  border-color: #D7F0E4;
  color: #087D51;
}
.hero-visual .hv-big {
  color: var(--c-ink);
  font-family: var(--ff-body);
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: .98;
  letter-spacing: 0;
  margin-top: 1.4rem;
}
.hero-visual .hv-big span { color: var(--c-gold); }
.hero-visual .hv-meta {
  grid-template-columns: 1fr;
  gap: .8rem;
  color: var(--c-muted);
  margin-top: 2rem;
}
.hero-visual .hv-meta div {
  border-top: 1px solid var(--c-line);
  padding-top: .8rem;
}
.hero-visual .hv-meta strong {
  color: var(--c-ink);
  letter-spacing: .1em;
}

.trustbar {
  background: #fff;
  border-block: 1px solid var(--c-line);
}
.trustbar .tb {
  gap: 0;
  padding: 0;
}
.trustbar .tb-cell {
  border-right: 1px solid var(--c-line);
  padding: 1.35rem 1.1rem;
}
.trustbar .tb-ic {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--c-gold-light);
  color: var(--c-gold);
}
.trustbar .tb-tt { color: var(--c-ink); }

.service-card,
.step,
.faq details,
.contact-wrap,
.zone-map {
  border-radius: 8px;
  box-shadow: none;
}
.service-card {
  padding: 1.35rem;
  background: #fff;
}
.service-card::before { display: none; }
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #CDD5DF;
}
.service-ic {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #F1F5F7;
  color: var(--c-gold);
}
.service-ic svg {
  width: 22px;
  height: 22px;
}
.service-card h3 {
  margin-bottom: .45rem;
  color: var(--c-ink);
}
.service-card p,
.service-card ul li {
  color: var(--c-muted);
}
.service-card .more {
  color: #064D2D;
}

.about-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
}
.about-visual {
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  box-shadow: none;
}
.about-visual::after { display: none; }
.about-visual h3,
.about-visual h3[style] { color: var(--c-ink) !important; }
.about-visual .stat .n,
.about-visual .stat .l,
.about-visual li {
  color: var(--c-ink);
}
.about-visual .stat .n { color: var(--c-gold); }
.about-visual hr {
  border-top-color: var(--c-line);
}
.about-visual strong[style] {
  color: var(--c-gold) !important;
}

.steps { gap: 1rem; }
.step {
  padding: 1.4rem;
  border-color: var(--c-line);
}
.step::before {
  position: static;
  display: inline-flex;
  margin-bottom: .9rem;
  background: var(--c-gold-light);
  color: var(--c-gold);
  border: 0;
  border-radius: 999px;
  font-family: var(--ff-body);
}

.zone-badge {
  border-radius: 8px;
  background: #fff;
}
.zone-badge::before { content: ""; margin: 0; }

.faq {
  max-width: 900px;
  margin-inline: 0;
}
.faq details[open] {
  border-color: #CBD5E1;
  box-shadow: none;
}
.faq summary::after {
  font-family: var(--ff-body);
  font-weight: 500;
  color: var(--c-muted);
}

.cta-band {
  background: #071A32;
  border-radius: 8px;
  box-shadow: none;
}
.cta-band::before { display: none; }
.cta-band .cta-item {
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}
.cta-band .cta-item .ic {
  border-radius: 8px;
  background: rgba(5,148,92,.15);
  color: #67D49C;
}
.cta-band .cta-item strong { color: #67D49C; }

.contact-wrap {
  background: #fff;
  padding: clamp(1.2rem, 3vw, 2rem);
}
.contact-side .ch {
  border-radius: 8px;
}
.contact-side .ch:hover {
  background: var(--c-gold-light);
}
.contact-side .ch .ic {
  border-radius: 8px;
  color: var(--c-gold);
}
.field input,
.field select,
.field textarea {
  border-radius: 8px;
  background: #FAFBFC;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: 0 0 0 3px rgba(5,148,92,.12);
}

.page-header {
  background: #fff;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.page-header::after { display: none; }
.page-header h1 { color: var(--c-ink); }
.page-header p,
.page-header .crumbs,
.page-header .crumbs a {
  color: var(--c-muted);
}
.page-header .crumbs a:hover { color: var(--c-gold); }

.site-footer {
  background: #071A32;
}
.site-footer .ftr-brand {
  font-family: var(--ff-body);
  font-weight: 750;
}
.site-footer .socials a {
  border-radius: 8px;
}

.float-wa {
  border-radius: 8px;
  background: var(--c-gold);
  color: #fff;
  box-shadow: 0 12px 30px rgba(5,148,92,.25);
}
.float-wa:hover {
  color: #fff;
  background: #087D51;
}

.reveal,
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 900px) {
  .hero-grid,
  .about-wrap,
  .zone-wrap {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 { max-width: 12ch; }
  .hero-visual {
    max-width: none;
    min-height: 330px;
    margin: 0;
  }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.15rem, 10.5vw, 3rem); line-height: 1.02; }
  .hero {
    padding: 2.4rem 0 3rem;
  }
  .section { padding: 3rem 0; }
  .section-title p { font-size: 1rem; }
  .hero-copy h1 { max-width: 100%; }
  .hero-copy .lead { font-size: 1rem; }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: .55rem;
  }
  .hero-trust .ht {
    width: 100%;
  }
  .nav-brand {
    min-width: 0;
    flex: 1;
  }
  .nav-brand .brand-name {
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    flex: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .section-title { text-align: left; }
  .trustbar .tb { grid-template-columns: 1fr; }
  .trustbar .tb-cell {
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
    padding: 1rem 0;
  }
  .trustbar .tb-cell:last-child { border-bottom: 0; }
  .service-card { padding: 1.1rem; }
  .about-visual { padding: 1.25rem; }
  .about-visual .stat {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
  .about-visual .stat .n { font-size: 2rem; }
  .zone-map,
  .zone-map iframe {
    min-height: 260px !important;
  }
  .cta-band { padding: 1.35rem; }
  .cta-band .cta-item {
    align-items: flex-start;
    padding: .85rem;
  }
  .float-wa {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 960px) {
  .nav {
    justify-content: space-between;
  }
  .nav[data-open="true"] .nav-links {
    top: calc(100% + 1px);
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-sm);
    padding: 1rem var(--gutter);
    gap: .15rem;
  }
  .nav[data-open="true"] .nav-links a {
    display: block;
    padding: .8rem 0;
  }
  .nav[data-open="true"] .nav-cta { display: none; }
}
