/* =========================================================
   VECTIA CONSULTORES — Hoja de estilos principal
   Paleta basada en el logotipo (oro + azul marino)
   ========================================================= */
:root {
  --color-primary: #233446;
  --color-primary-dark: #18263A;
  --color-gold: #CCA869;
  --color-gold-hover: #B89355;
  --color-gold-soft: #F6EFE2;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F7FA;
  --color-muted: #5A6A7D;
  --color-border: #E8ECEF;
  --color-whatsapp: #25D366;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(35, 52, 70, 0.08);
  --container: 1200px;
  --header-h: 90px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

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

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--color-primary); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }

/* ---------- Tipografía de secciones ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-primary); color: #fff; }

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 18px;
}
.section-head p { font-size: 17px; color: var(--color-muted); }
.section--dark .section-head p { color: #C3CDD8; }

.gold-rule { width: 56px; height: 2px; background: var(--color-gold); margin: 0 0 22px; border: 0; }
.section-head--center .gold-rule { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; font-size: 14px; font-weight: 600;
  border-radius: 4px; cursor: pointer; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
  border: 1px solid transparent; font-family: inherit;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--color-gold); color: #fff; box-shadow: 0 4px 14px rgba(204,168,105,.35); }
.btn-primary:hover { background: var(--color-gold-hover); }
.btn-secondary { background: #fff; color: var(--color-primary); border-color: var(--color-border); }
.btn-secondary:hover { border-color: var(--color-primary); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); padding: 10px 22px; font-size: 13px; }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1EB656; }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1320px; }
.brand img { height: 58px; width: auto; }

.main-nav ul { display: flex; list-style: none; gap: 28px; }
.main-nav a { text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--color-gold); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-primary); margin: 5px 0; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, #FDFDFD 0%, #F5F7FA 100%);
}
.hero h1 {
  max-width: 920px; margin: 0 auto 24px;
  font-size: clamp(32px, 5vw, 50px); line-height: 1.2; font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--color-gold); }
.hero-lead { max-width: 700px; margin: 0 auto 40px; font-size: 17px; line-height: 1.7; color: var(--color-muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 64px; }

.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: 980px; margin: 0 auto;
  border-top: 1px solid var(--color-border); padding-top: 40px;
}
.trust-card { text-align: left; }
.trust-card span { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--color-gold); display: block; margin-bottom: 6px; }
.trust-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.trust-card p { font-size: 13px; line-height: 1.55; color: var(--color-muted); }

/* Banda de imagen */
.image-band { position: relative; height: 420px; overflow: hidden; background: var(--color-primary); }
.image-band img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.image-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,52,70,0) 40%, rgba(35,52,70,.65) 100%); }
.image-band figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 100px; z-index: 1; color: #fff; text-align: center;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
}

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; margin-top: -60px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.stat { padding: 30px 24px; text-align: center; border-right: 1px solid var(--color-border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 34px; font-weight: 700; color: var(--color-gold); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--color-muted); }

/* ---------- Dos columnas ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split > *, .contact > *, .profile > *, .scope-grid > * { min-width: 0; }
.split-media { position: relative; }
.split-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: var(--radius); background: var(--color-bg-alt); }
.split-media::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--color-gold); border-radius: var(--radius); z-index: -1;
}
.prose p { color: var(--color-muted); margin-bottom: 18px; font-size: 16px; }
.prose p strong { color: var(--color-primary); }

.check-list { list-style: none; display: grid; gap: 14px; margin: 26px 0 32px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 9px;
  border-left: 2px solid var(--color-gold); border-bottom: 2px solid var(--color-gold); transform: rotate(-45deg);
}

/* ---------- Definición / cita legal ---------- */
.legal-quote {
  background: #fff; border-left: 3px solid var(--color-gold); padding: 28px 32px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px; line-height: 1.7; box-shadow: var(--shadow); margin-bottom: 40px;
}
.legal-quote cite { display: block; margin-top: 12px; font-size: 13px; font-style: normal; font-weight: 600; color: var(--color-gold); letter-spacing: 1px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px; }
.pillar .num { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--color-gold); }
.pillar h3 { font-size: 17px; margin: 8px 0 10px; }
.pillar p { font-size: 14px; color: var(--color-muted); }

/* ---------- Tarjetas de servicios ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-gold); }
.card-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--color-gold-soft);
  display: grid; place-items: center; margin-bottom: 20px; color: var(--color-gold);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--color-muted); }
.card .tag { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--color-gold); }

.subhead { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--color-muted); margin: 64px 0 24px; display: flex; align-items: center; gap: 16px; }
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--color-border); }

.mini-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini-card { border-top: 2px solid var(--color-gold); padding: 20px 4px 0; }
.mini-card h4 { font-size: 15px; margin-bottom: 8px; }
.mini-card p { font-size: 13.5px; color: var(--color-muted); }

/* ---------- Diagrama de partes ---------- */
.parties { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; margin-bottom: 40px; }
.party { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px 26px; }
.party .role { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--color-gold); }
.party h3 { font-size: 21px; margin: 6px 0 12px; }
.party p { font-size: 14px; color: #C3CDD8; }
.party--center { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-primary-dark); }
.party--center .role { color: var(--color-primary-dark); }
.party--center p { color: var(--color-primary-dark); }
.arrow { display: grid; place-items: center; padding: 0 14px; color: var(--color-gold); }
.arrow svg { width: 36px; height: 36px; }
.arrow small { display: block; font-size: 11px; color: #C3CDD8; text-align: center; letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

.extra-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.extra-roles div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.extra-roles h4 { font-size: 15px; margin-bottom: 6px; color: var(--color-gold); }
.extra-roles p { font-size: 14px; color: #C3CDD8; }

.note { margin-top: 40px; font-size: 14px; color: #C3CDD8; border: 1px dashed rgba(255,255,255,.25); padding: 18px 22px; border-radius: var(--radius); }
.note strong { color: #fff; }

/* ---------- Ámbitos público / privado ---------- */
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.scope { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--color-border); }
.scope img { width: 100%; height: 240px; object-fit: cover; background: var(--color-bg-alt); }
.scope-body { padding: 28px; }
.scope-body h3 { font-size: 20px; margin-bottom: 12px; }
.scope-body ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.scope-body li { font-size: 13px; padding: 6px 12px; background: var(--color-bg-alt); border-radius: 30px; }

.warning { margin-top: 32px; background: var(--color-gold-soft); border-radius: var(--radius); padding: 22px 26px; font-size: 15px; }
.warning strong { display: block; margin-bottom: 4px; }

/* ---------- Fiscal ---------- */
.fiscal-list { display: grid; gap: 16px; }
.fiscal-item { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px 24px; }
.fiscal-item h3 { font-size: 16px; margin-bottom: 6px; display: flex; gap: 10px; align-items: baseline; }
.fiscal-item h3 span { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--color-gold); white-space: nowrap; }
.fiscal-item p { font-size: 14px; color: var(--color-muted); }
.disclaimer { font-size: 12.5px; color: var(--color-muted); margin-top: 18px; font-style: italic; }

/* ---------- Tabla instituciones ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--color-border); font-size: 14px; vertical-align: top; }
th { background: var(--color-primary); color: #fff; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
td:first-child { font-weight: 600; width: 30%; }
td { color: var(--color-muted); }
td:first-child { color: var(--color-primary); }
tr:last-child td { border-bottom: 0; }
.level { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-top: 6px; letter-spacing: .5px; }
.level--high { background: #E4F3EA; color: #1F7A45; }
.level--mid { background: var(--color-gold-soft); color: #8A6A2E; }
.level--low { background: #EEF1F5; color: var(--color-muted); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  border: 1px solid var(--color-gold); color: var(--color-gold); background: #fff;
}
.step::after { content: ""; position: absolute; top: 23px; left: 56px; right: -10px; height: 1px; background: var(--color-border); }
.step:last-child::after { display: none; }
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--color-muted); }

/* ---------- Socio director ---------- */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.profile-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--color-primary); color: #fff; border-radius: var(--radius); padding: 36px 30px; text-align: center;
}
.monogram {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center; font-size: 38px; font-weight: 300; letter-spacing: 3px;
  border: 1px solid var(--color-gold); color: var(--color-gold);
}
.profile-card h3 { font-size: 21px; margin-bottom: 4px; }
.profile-card .role { color: var(--color-gold); font-size: 13px; font-weight: 600; letter-spacing: 1px; }
.profile-card ul { list-style: none; text-align: left; margin: 24px 0; border-top: 1px solid rgba(255,255,255,.15); }
.profile-card li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 13.5px; color: #C3CDD8; }
.profile-card li strong { display: block; color: #fff; font-size: 14px; }

.timeline { list-style: none; position: relative; margin-bottom: 48px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--color-border); }
.timeline li { position: relative; padding: 0 0 30px 40px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--color-gold); }
.timeline .period { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--color-gold); }
.timeline h4 { font-size: 16px; margin: 2px 0 6px; }
.timeline p { font-size: 14px; color: var(--color-muted); }
.timeline-title { font-size: 20px; margin-bottom: 24px; }

/* ---------- Sectores ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.sector { background: #fff; padding: 30px 28px; }
.sector h3 { font-size: 17px; margin-bottom: 8px; }
.sector p { font-size: 14px; color: var(--color-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 17px; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 300; color: var(--color-gold); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--color-muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; padding: 110px 0; text-align: center; color: #fff; overflow: hidden;
  background: var(--color-primary-dark);
}
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.cta .container { position: relative; }
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 780px; margin: 0 auto 18px; line-height: 1.25; }
.cta p { max-width: 620px; margin: 0 auto 36px; color: #C3CDD8; font-size: 17px; }
.cta .hero-actions { margin-bottom: 0; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; }
.contact-info ul { list-style: none; display: grid; gap: 22px; margin-top: 32px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--color-gold-soft); color: var(--color-gold); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info strong { display: block; font-size: 14px; }
.contact-info span, .contact-info a { font-size: 15px; color: var(--color-muted); text-decoration: none; }
.contact-info a:hover { color: var(--color-gold); }

.form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form h3 { font-size: 20px; margin-bottom: 6px; }
.form > p { font-size: 14px; color: var(--color-muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px; color: var(--color-primary);
  border: 1px solid var(--color-border); border-radius: 4px; background: #fff; transition: border-color .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-gold); }
.form .btn { width: 100%; }
.form small { display: block; margin-top: 14px; font-size: 12px; color: var(--color-muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: #C3CDD8; padding: 72px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-grid img { width: 220px; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--color-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%; background: var(--color-whatsapp); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-tip {
  position: absolute; right: 72px; white-space: nowrap; background: #fff; color: var(--color-primary);
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 4px; box-shadow: var(--shadow);
  opacity: 0; transform: translateX(8px); transition: all .2s ease; pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; transform: translateX(0); }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Página legal ---------- */
.legal-page { padding: 80px 0; }
.legal-page .container { max-width: 860px; }
.legal-page h1 { font-size: 36px; margin-bottom: 12px; }
.legal-page h2 { font-size: 20px; margin: 36px 0 12px; }
.legal-page p, .legal-page li { color: var(--color-muted); margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: 13px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .step:nth-child(3)::after { display: none; }
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .brand img { height: 46px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 80vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--color-border); font-size: 15px; }

  .section { padding: 72px 0; }
  .split, .contact, .profile { grid-template-columns: 1fr; gap: 44px; }
  .split-media::before { display: none; }
  .split-media img { min-height: 300px; }
  .profile-card { position: static; }
  .cards, .pillars, .sectors, .extra-roles { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
  .parties { grid-template-columns: 1fr; }
  .arrow { padding: 12px 0; }
  .arrow svg { transform: rotate(90deg); }
  .scope-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .image-band { height: 300px; }
  .image-band figcaption { font-size: 11px; letter-spacing: 2px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 64px 0 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-grid, .cards, .pillars, .sectors, .extra-roles, .mini-cards, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .form { padding: 26px 20px; }
  .legal-quote { padding: 22px; font-size: 16px; }
  .stat strong { font-size: 28px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* Correo del socio en la tarjeta de perfil */
.profile-card .profile-mail { color: var(--color-gold); text-decoration: none; word-break: break-all; }
.profile-card .profile-mail:hover { text-decoration: underline; }
.contact-info a { word-break: break-word; }

[hidden] { display: none !important; }
.block { display: block; }
