/* =========================================================
   Alfe Uno C.A. — Sistema de diseño
   Moderno, industrial, mobile-first. Esquinas rectas (sin
   border-radius). Paleta: navy profundo + naranja energético
   + azul eléctrico + verde WhatsApp.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #0A1420;
  --ink-2: #0F2138;
  --ink-3: #16293F;
  --ink-4: #1E3550;
  --brand: #FF7A1A;
  --brand-2: #FFB020;
  --brand-ink: #7A3B00;
  --accent: #38BDF8;
  --wa: #25D366;
  --wa-ink: #0B7A3B;

  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --bg-soft-2: #EEF2F7;
  --text: #16202C;
  --muted: #5A6B7D;
  --line: #E2E8F0;
  --line-dark: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 1px 2px rgba(10, 20, 32, 0.06);
  --shadow: 0 18px 40px -18px rgba(10, 20, 32, 0.28);
  --shadow-lg: 0 40px 80px -40px rgba(10, 20, 32, 0.45);

  --font-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
  --radius: 0;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 132px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.8vw, 2.6rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin-bottom: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.76rem; font-weight: 700; color: var(--brand);
  font-family: var(--font-head); margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--brand); }
.lead { font-size: 1.1rem; color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.text-brand { color: var(--brand); }

/* ---------- Secciones ---------- */
.section { padding-block: 4rem; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); }
.section--dark h2 { color: #fff; }
.section--dark p { color: #C3CFDC; }
.section--dark .lead { color: #9FB3C8; }
.section--dark .eyebrow { color: var(--brand-2); }
.sec-head { max-width: 720px; margin-bottom: 2.5rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; font-weight: 700; font-size: 0.98rem;
  font-family: var(--font-head); border: 2px solid transparent; border-radius: 0;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  min-height: 50px; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; }
.btn--wa { background: var(--wa); color: #04351a; }
.btn--wa:hover { background: #3ee27a; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: #ff8f3d; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); border-bottom: 1px solid var(--line-dark); }
.topbar-inner { display: flex; align-items: center; gap: 22px; justify-content: space-between; padding-block: 9px; }
.topbar-left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: #AEBECF; font-size: 0.82rem; text-decoration: none; }
.topbar-item svg { width: 15px; height: 15px; color: var(--brand); }
.topbar-item strong { color: #fff; font-weight: 600; }
.topbar-item:hover { color: #fff; }
.topbar-social { display: inline-flex; align-items: center; gap: 8px; color: #AEBECF; font-size: 0.82rem; text-decoration: none; }
.topbar-social svg { width: 16px; height: 16px; }
.topbar-social:hover { color: var(--brand); }
.topbar-hours { color: #AEBECF; font-size: 0.82rem; }
.topbar-hours b { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--ink); }
.site-header.is-scrolled { box-shadow: 0 12px 30px -12px rgba(10, 20, 32, 0.5); }
.header-bar { background: var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-txt { display: flex; flex-direction: column; }
.brand-txt strong { color: #fff; font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.brand-txt span { color: var(--brand); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 3px; }

/* Nav desktop */
.main-nav { display: none; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; color: #D4DEE9; text-decoration: none;
  font-weight: 600; font-size: 0.92rem; font-family: var(--font-head);
  transition: color 0.15s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a[aria-current="page"] { color: #fff; }
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.main-nav > ul > li > a:hover::after { transform: scaleX(1); }
.main-nav .caret { width: 14px; height: 14px; opacity: 0.7; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand);
  box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.9rem;
  transition: background 0.14s ease, color 0.14s ease;
}
.dropdown a svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.dropdown a:hover { background: var(--bg-soft); color: var(--brand-ink); }
.dropdown a[aria-current="page"] { background: var(--bg-soft); color: var(--brand-ink); }
.dropdown a small { display: block; color: var(--muted); font-weight: 400; font-size: 0.78rem; }

.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: transparent; border: 2px solid var(--ink-4);
  color: #fff; border-radius: 0;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* Nav móvil */
.nav-panel { display: none; background: var(--ink-2); border-top: 1px solid var(--line-dark); }
.nav-panel.open { display: block; }
.nav-panel ul { padding: 8px 0; }
.nav-panel a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 22px; color: #D4DEE9; text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line-dark); font-family: var(--font-head);
}
.nav-panel a:hover { color: var(--brand); background: var(--ink-3); }
.nav-panel .panel-label { padding: 16px 22px 6px; color: var(--brand); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.nav-panel .panel-cta { display: grid; gap: 10px; padding: 16px 22px 22px; }
.nav-panel .panel-cta .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,20,32,0.97) 0%, rgba(10,20,32,0.86) 45%, rgba(10,20,32,0.45) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; padding-block: 3.5rem; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero .lead { color: #C3CFDC; font-size: 1.15rem; margin-bottom: 1.9rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.hero-tags span {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); color: #E3EBF3; border: 1px solid var(--line-dark);
  padding: 8px 14px; font-size: 0.82rem; font-weight: 600;
}
.hero-tags svg { width: 16px; height: 16px; color: var(--brand); }
.hero-media { position: relative; }
.hero-media img { width: 100%; border: 1px solid rgba(255,255,255,0.14); box-shadow: var(--shadow-lg); }
.hero-media .badge {
  position: absolute; left: -12px; bottom: 24px; background: var(--brand); color: #fff;
  padding: 14px 18px; font-family: var(--font-head); font-weight: 800; line-height: 1.1; box-shadow: var(--shadow);
}
.hero-media .badge span { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }

/* ---------- Stats ---------- */
.stats { background: var(--ink-2); border-block: 1px solid var(--line-dark); }
.stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); }
.stat { background: var(--ink-2); padding: 26px 20px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; color: var(--brand); line-height: 1; }
.stat span { color: #9FB3C8; font-size: 0.84rem; margin-top: 8px; display: block; }

/* ---------- Trust bar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding-block: 26px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .ic { width: 42px; height: 42px; flex-shrink: 0; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.trust-item .ic svg { width: 24px; height: 24px; color: var(--brand); }
.trust-item strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 0.98rem; }
.trust-item span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Tarjetas de servicio (con imagen) ---------- */
.services-grid { display: grid; gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  position: relative;
}
.service-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.service-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__tag {
  position: absolute; top: 14px; left: 14px; background: var(--brand); color: #fff;
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 10px;
}
.service-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--muted); font-size: 0.94rem; flex: 1; }
.service-card ul { margin: 0.6rem 0 1.3rem; display: grid; gap: 7px; }
.service-card li { font-size: 0.88rem; color: var(--text); padding-left: 20px; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 2px; background: var(--brand); }
.service-card .link { font-family: var(--font-head); font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.service-card .link svg { width: 18px; height: 18px; color: var(--brand); transition: transform 0.18s ease; }
.service-card .link:hover { color: var(--brand); }
.service-card .link:hover svg { transform: translateX(4px); }

/* ---------- Split contenido ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-media .float-card {
  position: absolute; right: -10px; bottom: -18px; background: var(--brand); color: #fff;
  padding: 18px 22px; font-family: var(--font-head); box-shadow: var(--shadow);
}
.split-media .float-card b { display: block; font-size: 1.8rem; line-height: 1; }
.split-media .float-card span { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.9; }

.feature-list { display: grid; gap: 16px; margin-block: 1.4rem; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .tick {
  width: 28px; height: 28px; flex-shrink: 0; color: #04351a; background: var(--wa);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-list .tick svg { width: 16px; height: 16px; }
.feature-list strong { color: var(--ink); font-family: var(--font-head); }
.section--dark .feature-list strong { color: #fff; }
.section--dark .feature-list li { color: #C3CFDC; }

/* ---------- Proceso ---------- */
.process-grid { display: grid; gap: 20px; }
.step { background: var(--ink-2); border: 1px solid var(--line-dark); padding: 26px 24px; position: relative; transition: border-color 0.2s ease, transform 0.2s ease; }
.step:hover { border-color: var(--brand); transform: translateY(-4px); }
.step .num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--brand); line-height: 1; opacity: 0.9; }
.step h3 { color: #fff; margin: 0.6rem 0 0.5rem; }
.step p { color: #9FB3C8; font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery figure { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--ink); }
.gallery figure:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 16px;
  background: linear-gradient(to top, rgba(10,20,32,0.92), transparent);
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
}
.gallery figcaption span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; color: #C3CFDC; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); background: #fff; transition: border-color 0.18s ease; }
.faq-item.open { border-color: var(--brand); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: none; border: 0; padding: 20px; text-align: left;
  font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem;
}
.faq-q .chev { flex-shrink: 0; width: 22px; height: 22px; transition: transform 0.22s ease; color: var(--brand); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 20px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); }
.cta-band .cta-bg { position: absolute; inset: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.cta-band .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,32,0.96), rgba(10,20,32,0.72)); }
.cta-inner { position: relative; z-index: 1; display: grid; gap: 1.4rem; align-items: center; padding-block: 3.5rem; }
.cta-inner h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-inner p { color: #C3CFDC; margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hours-note { font-size: 0.82rem; color: #8FA4BA; margin-top: 0.8rem; }

/* ---------- Formulario ---------- */
.contact-form { display: grid; gap: 14px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 7px; font-size: 0.88rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 15px; border: 1px solid var(--line);
  background: #fff; font-family: inherit; font-size: 1rem; color: var(--text);
  transition: border-color 0.16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,122,26,0.18); }
.field textarea { min-height: 116px; resize: vertical; }
.form-note { margin: 10px 0 0; font-size: 0.88rem; color: var(--wa-ink); font-weight: 600; }
.contact-box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); padding: 28px; box-shadow: var(--shadow); }
.contact-box h2 { margin-bottom: 1rem; font-size: 1.6rem; }

/* ---------- Cobertura ---------- */
.zones-list { display: grid; gap: 12px; }
.zones-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand);
  padding: 18px 22px; text-decoration: none; font-family: var(--font-head); font-weight: 700; color: var(--ink);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.zones-list a:hover { background: var(--ink); color: #fff; border-left-color: var(--brand); }
.zones-list a span small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.zones-list a:hover span small { color: #9FB3C8; }
.zones-list svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
.section--dark .zones-list a { background: var(--ink-2); border-color: var(--line-dark); border-left-color: var(--brand); color: #fff; }
.section--dark .zones-list a:hover { background: var(--ink-3); }

/* ---------- Tarjetas info (tipos, testimonios) ---------- */
.card-grid { display: grid; gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); padding: 24px; position: relative; }
.info-card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 44px; background: var(--brand); }
.info-card h3 { margin-bottom: 0.5rem; }
.info-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }
.quote-card { background: #fff; border: 1px solid var(--line); padding: 26px; }
.quote-card .stars { display: flex; gap: 3px; color: var(--brand-2); margin-bottom: 0.9rem; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card p { color: var(--text); font-size: 0.95rem; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: 1rem; }
.quote-card .who b { font-family: var(--font-head); color: var(--ink); }
.quote-card .who span { display: block; color: var(--muted); font-size: 0.8rem; }
.quote-card .avatar { width: 42px; height: 42px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9FB3C8; }
.footer-cta { background: var(--brand); }
.footer-cta-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 28px; }
.footer-cta h2 { color: #fff; font-size: 1.4rem; }
.footer-cta p { color: rgba(255,255,255,0.9); margin: 0; }
.footer-main { border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 2.2rem; padding-block: 3.5rem; }
.footer-grid h2 { color: #fff; margin-bottom: 1.1rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; }
.footer-col p { font-size: 0.9rem; }
.footer-col a { color: #9FB3C8; text-decoration: none; display: block; padding-block: 5px; font-size: 0.9rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--brand); }
.footer-col address { font-style: normal; line-height: 1.8; font-size: 0.9rem; }
.hours-list li { padding-block: 4px; display: flex; justify-content: space-between; gap: 14px; font-size: 0.9rem; }
.hours-list li b { color: #fff; font-weight: 500; }
.hours-list .open-now { color: var(--brand); font-weight: 700; }
.footer-sectors { font-size: 0.82rem; color: #7A8AA0; margin-top: 0.7rem; margin-bottom: 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.social-row { display: flex; gap: 10px; margin-top: 1.1rem; }
.social-row a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-dark); padding: 10px 14px; text-decoration: none; color: #fff; font-size: 0.85rem; }
.social-row a:hover { border-color: var(--brand); color: var(--brand); }
.social-row svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 20px; font-size: 0.82rem; color: #6E8095; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }

/* ---------- Barra fija móvil ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px; font-weight: 700; text-decoration: none; min-height: 56px; background: var(--wa); color: #04351a; font-family: var(--font-head); }
.mobile-cta a.call { background: #fff; color: var(--ink); }
.mobile-cta svg { width: 22px; height: 22px; }
body { padding-bottom: 56px; }

/* Botón flotante desktop */
.fab-wa {
  display: none; position: fixed; right: 24px; bottom: 24px; z-index: 70;
  align-items: center; gap: 10px; background: var(--wa); color: #04351a;
  padding: 16px 22px; text-decoration: none; font-weight: 700; font-family: var(--font-head);
  box-shadow: var(--shadow-lg);
}
.fab-wa svg { width: 26px; height: 26px; }
.fab-wa:hover { background: #3ee27a; }
.fab-wa .pulse { position: absolute; inset: 0; border: 2px solid var(--wa); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- Guías editoriales ---------- */
.prose { max-width: 780px; }
.prose h2 { margin: 2.4rem 0 0.9rem; font-size: 1.45rem; }
.prose p, .prose li { color: var(--text); line-height: 1.75; }
.prose p { margin-bottom: 1rem; }
.prose ol, .prose ul { margin: 0 0 1.2rem 1.3rem; display: grid; gap: 0.55rem; }
.prose a { color: var(--brand-ink); font-weight: 600; }
.prose .faq-list { margin-top: 1rem; }
.prose .zones-list { margin-top: 1rem; }
.prose .zones-list a span { font-size: 0.95rem; }
.callout { border-left: 4px solid var(--brand); background: var(--bg-soft); padding: 18px 20px; margin: 1.6rem 0; display: grid; gap: 0.4rem; }
.callout strong { font-family: var(--font-head); }
.callout p, .callout span { color: var(--muted); font-size: 0.93rem; margin: 0; }
.callout--warn { border-left-color: #DC2626; background: #FEF2F2; }
.callout--tip { border-left-color: var(--wa-ink); background: #F0FDF4; }
.callout--cta { background: var(--ink); border-left-color: var(--brand); align-items: center; }
.callout--cta strong { color: #fff; font-size: 1.1rem; }
.callout--cta span { color: #C3CFDC; }
.callout--cta .btn { justify-self: start; margin-top: 0.6rem; }
.guides-list a small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.82rem; }

/* ---------- Migas ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: var(--muted); padding-block: 4px; margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb li:last-child { color: #fff; font-weight: 600; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,20,32,0.96) 30%, rgba(10,20,32,0.6)); }
.page-hero-inner { position: relative; z-index: 1; padding-block: 3rem; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { color: #C3CFDC; max-width: 640px; margin-top: 1rem; }
.page-hero .hero-actions { margin-top: 1.8rem; }

/* ---------- Utilidades ---------- */
.grid-2 { display: grid; gap: 24px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.checklist { display: grid; gap: 12px; margin-block: 1rem; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checklist svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.section--dark .checklist li { color: #C3CFDC; }

/* ---------- Clientes / social proof ---------- */
.clients { background: var(--bg); padding-block: 2.6rem; border-bottom: 1px solid var(--line); }
.clients-label {
  text-align: center; color: var(--muted); font-size: 0.82rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.6rem;
  font-family: var(--font-head); font-weight: 700;
}
.client-logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; align-items: stretch; }
.client-logos img {
  width: auto; height: auto; max-width: 220px; max-height: 125px; object-fit: contain;
  background: #fff; padding: 10px;
  justify-self: center; align-self: center;
}

/* ---------- Ubicación ---------- */
.location { background: var(--bg-soft); }
.location-grid { display: grid; gap: 2rem; align-items: center; }
.location-info .feature-list { margin-top: 1.2rem; }
.location-info .pin { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--text); font-weight: 600; }
.location-info .pin svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.location-info .map-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; }
.map-frame {
  position: relative; padding-bottom: 78%; background: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(25%) contrast(1.04); }
.map-frame .map-cta {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 2; white-space: nowrap; box-shadow: var(--shadow);
}

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute; left: 14px; top: -64px; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 20px; font-weight: 700;
  font-family: var(--font-head); text-decoration: none; transition: top 0.18s ease;
}
.skip-link:focus { top: 14px; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Sectores / cobertura local ---------- */
.sectors { display: grid; gap: 16px; }
.sectors-group { background: #fff; border: 1px solid var(--line); padding: 22px; border-left: 4px solid var(--brand); }
.section--dark .sectors-group { background: var(--ink-2); border-color: var(--line-dark); border-left-color: var(--brand); }
.sectors-group h3 { font-size: 1.02rem; margin-bottom: 0.9rem; }
.section--dark .sectors-group h3 { color: #fff; }
.sectors-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sectors-tags span {
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 7px 12px; font-size: 0.82rem; color: var(--text); font-weight: 500;
}
.section--dark .sectors-tags span { background: var(--ink-3); border-color: var(--line-dark); color: #C3CFDC; }
.sectors-note { color: var(--muted); font-size: 0.86rem; margin-top: 1rem; }
.section--dark .sectors-note { color: #8FA4BA; }

/* ---------- Media queries ---------- */
@media (max-width: 767px) {
  .topbar-loc, .topbar-hours { display: none; }
  .topbar-inner { justify-content: space-between; }
}

@media (min-width: 640px) {
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
}

@media (min-width: 768px) {
  .trustbar-inner { grid-template-columns: repeat(4, 1fr); }
  .client-logos { grid-template-columns: repeat(4, 1fr); }
  .sectors { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form .field--full { grid-column: 1 / -1; }
  .mobile-cta { display: none; }
  body { padding-bottom: 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .section { padding-block: 5.5rem; }
  .location-grid { grid-template-columns: 1fr 1.15fr; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; padding-block: 5rem; gap: 3.5rem; }
  .nav-toggle { display: none; }
  .nav-panel { display: none !important; }
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .cta-inner { grid-template-columns: 1fr auto; }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split--reverse .split-media { order: 2; }
  .fab-wa { display: inline-flex; }
  .page-hero-inner { padding-block: 4rem; }
}

@media (min-width: 1200px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { gap: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
