/* ==========================================================================
   CAMEEP — Cámara de Empresarios Extranjeros en Paraguay
   Hoja de estilos principal — HTML5 / CSS3 puro
   ========================================================================== */

/* ---- Tokens de diseño ----------------------------------------------------
   Paleta extraída y conservada del sitio original CAMEEP:
   - Azul institucional (marca, textos, fondos oscuros)
   - Rojo institucional (acento, CTAs) — presente en el isotipo
   - Blanco / crema cálido — fondos claros tipo "papel oficial"
   Se evita deliberadamente azul-violeta genérico "SaaS".
---------------------------------------------------------------------------- */
:root {
  /* Azules de marca */
  --navy-900: #0a1b2b;
  --navy-800: #12283d;
  --navy-700: #16324c;
  --navy-600: #1f4266;
  --blue-accent: #2e6da4;

  /* Rojo institucional (del isotipo / CTA original #A61F1F) */
  --red-700: #a61f1f;
  --red-800: #841818;
  --red-600: #c0362f;
  --red-100: #f7e6e4;

  /* Neutros cálidos ("papel", no gris frío genérico) */
  --paper-0: #ffffff;
  --paper-50: #faf8f4;
  --paper-100: #f5f2ea;
  --paper-200: #ece6d8;
  --paper-300: #ddd4bf;
  --ink-900: #1c1b18;
  --ink-700: #423f38;
  --ink-500: #6b675c;
  --ink-300: #9b9788;

  /* Estados */
  --whatsapp: #25d366;
  --focus-ring: #2e6da4;

  /* Tipografía (fuentes del sistema — sin dependencias externas) */
  --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Escala tipográfica fluida */
  --fs-xs: clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
  --fs-sm: clamp(0.9rem, 0.86rem + 0.2vw, 0.98rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --fs-md: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --fs-lg: clamp(1.4rem, 1.25rem + 0.75vw, 1.8rem);
  --fs-xl: clamp(1.9rem, 1.6rem + 1.5vw, 2.6rem);
  --fs-2xl: clamp(2.4rem, 1.9rem + 2.5vw, 3.6rem);
  --fs-3xl: clamp(3rem, 2.2rem + 4vw, 5rem);

  /* Espaciado */
  --space-2xs: 0.4rem;
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 5.5rem;
  --space-2xl: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-pill: 100px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(10, 27, 43, 0.08);
  --shadow-md: 0 12px 32px -8px rgba(10, 27, 43, 0.18);
  --shadow-lg: 0 24px 64px -16px rgba(10, 27, 43, 0.28);
  --shadow-red: 0 12px 28px -10px rgba(166, 31, 31, 0.45);

  /* Transiciones */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
  --dur-slow: 900ms;

  --header-h: 84px;
}

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

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--paper-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
input, select, textarea { background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}

::selection { background: var(--red-700); color: var(--paper-0); }

/* Foco visible accesible */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -80px;
  background: var(--navy-900);
  color: var(--paper-0);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--dur-fast) var(--ease-out);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---- Utilidades de layout --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow { max-width: 860px; }
.container--medium { max-width: 1040px; }

section { position: relative; }

.section-pad { padding-block: var(--space-2xl); }
.section-pad--sm { padding-block: var(--space-xl); }

.bg-paper { background: var(--paper-0); }
.bg-paper-alt { background: var(--paper-50); }
.bg-navy {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
  color: var(--paper-50);
}
.bg-navy h2, .bg-navy h3 { color: var(--paper-0); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-700);
  margin-bottom: var(--space-sm);
}
.bg-navy .eyebrow { color: #e8a5a0; }
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-lg);
}
.section-head--center { margin-inline: auto; text-align: center; }

.section-head h2 { font-size: var(--fs-2xl); margin-bottom: var(--space-sm); }
.section-head p { font-size: var(--fs-md); color: var(--ink-700); }
.bg-navy .section-head p { color: #c9d3dd; }

.text-lead { font-size: var(--fs-md); color: var(--ink-700); }

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

/* ---- Botones ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--red-700);
  color: var(--paper-0);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { background: var(--red-800); box-shadow: 0 16px 36px -10px rgba(166,31,31,0.55); }

.btn--ghost-light {
  background: transparent;
  color: var(--paper-0);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn--outline-navy {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--navy-800);
}
.btn--outline-navy:hover { background: var(--navy-800); color: var(--paper-0); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn--whatsapp:hover { background: #1ea952; }

.btn--sm { padding: 0.75rem 1.5rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--red-700);
  position: relative;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-med) var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---- Header / Navegación -------------------------------------------------*/
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 500;
  padding-block: 1.4rem;
  transition: padding var(--dur-med) var(--ease-out),
              background-color var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out);
}
.site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10, 27, 43, 0.0);
  backdrop-filter: blur(0px);
  transition: background-color var(--dur-med) var(--ease-out), backdrop-filter var(--dur-med) var(--ease-out);
  z-index: -1;
}
.site-header.is-scrolled {
  padding-block: 0.7rem;
  box-shadow: var(--shadow-sm);
}
.site-header.is-scrolled::before {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}
.site-header.is-on-dark:not(.is-scrolled) .nav-link { color: #fff; }
.site-header.is-on-dark:not(.is-scrolled) .brand-word,
.site-header.is-on-dark:not(.is-scrolled) .brand-tag { color: #fff; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  max-width: 1440px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  z-index: 2;
}
.brand img { height: 42px; width: auto; transition: height var(--dur-med) var(--ease-out); }
.site-header.is-scrolled .brand img { height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy-800);
  transition: color var(--dur-fast) ease;
}
.brand-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  transition: color var(--dur-fast) ease;
}

.main-nav { display: flex; min-width: 0; }
.nav-list { display: flex; flex-wrap: nowrap; gap: 1.35rem; align-items: center; }
.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-800);
  position: relative;
  padding-block: 0.4rem;
  white-space: nowrap;
  transition: color var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--red-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--red-700); }

.header-actions { display: flex; align-items: center; gap: var(--space-sm); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 34px;
  padding-inline: 0.7rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.4);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.site-header.is-scrolled .lang-switch { border-color: rgba(18,40,61,0.3); color: var(--navy-800); }
.lang-switch:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 2;
  padding: 0.5rem;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease;
}
.site-header.is-on-dark:not(.is-scrolled) .nav-toggle span { background: #fff; }
.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 {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero--inner { min-height: 62vh; }

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  animation: heroKenBurns 22s var(--ease-in-out) infinite alternate;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,32,0.55) 0%, rgba(10,20,32,0.35) 30%, rgba(9,20,33,0.88) 100%),
    linear-gradient(90deg, rgba(9,20,33,0.75) 0%, rgba(9,20,33,0.15) 55%);
}

.hero-inner {
  position: relative;
  width: 100%;
  padding-block: calc(var(--header-h) + var(--space-lg)) var(--space-2xl);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0c4c0;
  margin-bottom: var(--space-sm);
}
.hero-eyebrow::before { content:''; width: 34px; height: 2px; background: currentColor; }

.hero h1 {
  color: #fff;
  font-size: var(--fs-3xl);
  max-width: 18ch;
  margin-bottom: var(--space-sm);
}
.hero p.hero-sub {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: #e7ebef;
  max-width: 46ch;
  margin-bottom: var(--space-md);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: var(--space-lg); }

.hero-scroll-cue {
  position: absolute;
  right: var(--container-pad);
  bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  color: #cfd7de;
  letter-spacing: 0.08em;
}
.hero-scroll-cue .line { width: 1.5px; height: 44px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.hero-scroll-cue .line::after {
  content: '';
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: #fff;
  animation: scrollCue 2.2s var(--ease-in-out) infinite;
}

.wave-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 1;
}
.wave-divider svg { width: 100%; height: auto; display: block; }

/* ---- Franja de estadísticas ---------------------------------------------*/
.stat-band {
  background: var(--navy-800);
  color: #fff;
  padding-block: var(--space-lg);
  position: relative;
  overflow: hidden;
}
.stat-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 100% 0%, rgba(166,31,31,0.28), transparent 60%);
}
.stat-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.stat-item { text-align: center; padding-inline: var(--space-xs); border-left: 1px solid rgba(255,255,255,0.14); }
.stat-item:first-child { border-left: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number .unit { font-size: 0.5em; font-weight: 600; margin-left: 0.1em; }
.stat-label { font-size: var(--fs-xs); color: #b9c3cc; letter-spacing: 0.03em; }

/* ---- Tarjetas "Por qué Paraguay" ------------------------------------------*/
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.reason-card {
  background: var(--paper-0);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) ease;
}
.reason-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.reason-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--red-100);
  color: var(--red-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
}
.reason-icon svg { width: 26px; height: 26px; }
.reason-card h3 { font-size: var(--fs-md); margin-bottom: 0.6rem; }
.reason-card p { color: var(--ink-700); font-size: var(--fs-sm); }

/* ---- Proceso / pasos (timeline) ------------------------------------------*/
.process {
  position: relative;
}
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
  counter-reset: step;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 34px; left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--paper-300) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-step .num {
  counter-increment: step;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-md);
  transition: background-color var(--dur-med) ease, transform var(--dur-med) var(--ease-out);
  position: relative;
}
.process-step:hover .num { background: var(--red-700); transform: scale(1.08); }
.process-step h3 { font-size: var(--fs-md); margin-bottom: 0.5rem; }
.process-step p { font-size: var(--fs-sm); color: var(--ink-700); }

.process-cta {
  margin-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--paper-50);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
}
.process-cta p { font-size: var(--fs-lg); font-family: var(--font-display); color: var(--navy-800); max-width: 30ch; }

/* ---- Sección Nosotros / split --------------------------------------------*/
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.split.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
/* Pie de foto — se ubica debajo de la imagen para no tapar a las personas retratadas */
.split-media-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1rem;
  background: var(--navy-800);
  color: #fff;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--red-700);
  box-shadow: var(--shadow-sm);
}
.split-media-caption strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  white-space: nowrap;
}
.split-media-caption span {
  font-size: var(--fs-xs);
  color: #c9d3dd;
  text-align: right;
}

.pull-quote {
  position: relative;
  padding-left: var(--space-md);
  border-left: 3px solid var(--red-700);
  margin-block: var(--space-md);
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--navy-800);
  line-height: 1.45;
}
.pull-quote cite {
  display: block;
  margin-top: var(--space-xs);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--ink-700);
}

/* ---- Valores --------------------------------------------------------------*/
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.value-card {
  text-align: center;
  padding: var(--space-md) var(--space-xs);
}
.value-icon {
  width: 64px; height: 64px;
  margin-inline: auto;
  border-radius: 50%;
  border: 1.5px solid var(--paper-300);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-800);
  margin-bottom: var(--space-sm);
  transition: border-color var(--dur-med) ease, background-color var(--dur-med) ease, color var(--dur-med) ease;
}
.value-card:hover .value-icon { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.value-card p { font-size: var(--fs-xs); color: var(--ink-700); }

/* ---- Banda de colaboración (CTA ancho) ------------------------------------*/
.collab-band {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  overflow: hidden;
  isolation: isolate;
}
.collab-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--ribbon-svg);
  background-repeat: no-repeat;
  background-position: right -10% top -20%;
  background-size: 60%;
  opacity: 0.9;
  z-index: -1;
}
.collab-band .content { max-width: 620px; }
.collab-band .eyebrow { color: #f0c4c0; }
.collab-band h2 { color: #fff; font-size: var(--fs-xl); margin-bottom: var(--space-sm); }
.collab-band p { color: #cbd5df; font-size: var(--fs-md); margin-bottom: var(--space-md); }

/* ---- FAQ acordeón ----------------------------------------------------------*/
.faq-intro-card {
  background: var(--paper-50);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.faq-intro-card h3 { font-size: var(--fs-lg); margin-bottom: var(--space-sm); }
.fact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: var(--space-md); }
.fact-list li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--ink-700);
}
.fact-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--red-700); margin-top: 0.15rem; }

.faq-toc {
  background: var(--paper-50);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
}
.faq-toc ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  margin-top: var(--space-sm);
  counter-reset: faq-toc;
}
.faq-toc li { counter-increment: faq-toc; font-size: var(--fs-sm); }
.faq-toc li a {
  color: var(--navy-800);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.faq-toc li a::before { content: counter(faq-toc) ". "; color: var(--red-700); font-weight: 600; }
.faq-toc li a:hover { border-bottom-color: var(--red-700); }

.accordion { border-top: 1px solid var(--paper-300); }
.accordion-item { border-bottom: 1px solid var(--paper-300); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0.25rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--navy-800);
}
.accordion-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--paper-300);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.accordion-icon::before, .accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--navy-800);
  transition: transform var(--dur-med) var(--ease-out), background-color var(--dur-fast) ease;
}
.accordion-icon::before { width: 14px; height: 2px; }
.accordion-icon::after { width: 2px; height: 14px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon { background: var(--red-700); border-color: var(--red-700); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::before,
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { background: #fff; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(90deg) scaleY(0); }

.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-med) var(--ease-in-out);
}
.accordion-panel-inner {
  padding-bottom: var(--space-sm);
  padding-right: 3rem;
  color: var(--ink-700);
  font-size: var(--fs-base);
}
.accordion-panel-inner ul { margin-top: 0.6rem; }
.accordion-panel-inner li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
}
.accordion-panel-inner li::before {
  content: '';
  position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px;
  background: var(--red-700);
  border-radius: 50%;
}
.accordion-panel-inner p + p,
.accordion-panel-inner p + ul,
.accordion-panel-inner ul + p { margin-top: 0.6rem; }
.accordion-panel-inner strong { color: var(--navy-800); }

.faq-search {
  position: relative;
  margin-bottom: var(--space-lg);
}
.faq-search input {
  width: 100%;
  padding: 1.1rem 1.4rem 1.1rem 3.2rem;
  border: 1.5px solid var(--paper-300);
  border-radius: var(--radius-pill);
  font-size: var(--fs-base);
  background: var(--paper-0);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.faq-search input:focus { border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(22,50,76,0.1); outline: none; }
.faq-search svg {
  position: absolute; left: 1.3rem; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--ink-500);
}
.faq-empty { display: none; text-align: center; color: var(--ink-500); padding: var(--space-lg) 0; }

/* ---- Formulario de contacto -----------------------------------------------*/
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: start;
}
.contact-form {
  background: var(--paper-0);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1.5px solid var(--paper-300);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  background: var(--paper-50);
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.form-control:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(22,50,76,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.radio-group { display: flex; gap: 1.5rem; }
.radio-option { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); }
.radio-option input { width: 18px; height: 18px; accent-color: var(--red-700); }
.form-error {
  color: var(--red-700);
  font-size: var(--fs-xs);
  margin-top: 0.35rem;
  display: none;
}
.form-group.has-error .form-control { border-color: var(--red-700); }
.form-group.has-error .form-error { display: block; }
.form-note { font-size: var(--fs-xs); color: var(--ink-500); margin-top: var(--space-sm); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}
.form-success.is-visible { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--red-700); margin-inline: auto var(--space-sm); }
.form-success h3 { font-size: var(--fs-lg); margin-bottom: 0.6rem; }
.form-success p { color: var(--ink-700); margin-bottom: var(--space-sm); }
.contact-form.is-submitted .form-fields { display: none; }

.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--paper-200);
  transition: border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.contact-card:hover { transform: translateX(4px); border-color: var(--paper-300); }
.contact-card .icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.3rem; color: var(--ink-700); }
.contact-card a, .contact-card p { font-size: var(--fs-base); color: var(--navy-800); font-weight: 600; }
.contact-card.president { background: var(--red-100); border-color: transparent; }
.contact-card.president p.role { font-weight: 400; font-size: var(--fs-xs); color: var(--ink-700); margin-top: 0.2rem; }

/* Variante sobre fondo oscuro (sección de contacto en bg-navy) */
.bg-navy .contact-card { border-color: rgba(255,255,255,0.18); }
.bg-navy .contact-card:hover { border-color: rgba(255,255,255,0.35); }
.bg-navy .contact-card .icon { background: rgba(255,255,255,0.12); }
.bg-navy .contact-card h3 { color: #9aa7b2; }
.bg-navy .contact-card a,
.bg-navy .contact-card p { color: #fff; }
.bg-navy .contact-card.president { background: rgba(166,31,31,0.25); }
.bg-navy .contact-card.president p.role { color: #e3c8c6; }
.bg-navy .contact-card.president .icon { background: var(--red-700); }

/* ---- Footer ---------------------------------------------------------------*/
.site-footer {
  background: var(--navy-900);
  color: #b9c3cc;
  padding-block: var(--space-xl) var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { display: inline-flex; align-items: center; gap: 0.65rem; margin-bottom: var(--space-sm); }
.footer-logo img { height: 44px; width: auto; }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.footer-logo-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.footer-logo-tag { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; color: #9aa7b2; max-width: 22ch; }
.footer-brand p { max-width: 32ch; font-size: var(--fs-sm); color: #9aa7b2; }
.footer-social { display: flex; gap: 0.75rem; margin-top: var(--space-sm); }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.footer-social a:hover { background: var(--red-700); border-color: var(--red-700); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a, .footer-col p { font-size: var(--fs-sm); color: #b9c3cc; transition: color var(--dur-fast) ease; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: var(--space-md);
  font-size: var(--fs-xs);
  color: #7c8a96;
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom-left p + p { margin-top: 0.3rem; }
.footer-bottom-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; }
.footer-legal-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.4rem 1.1rem; }
.footer-legal-nav a { color: #b9c3cc; }
.footer-legal-nav .footer-lang { font-weight: 700; color: #fff; }
.footer-credit { color: #7c8a96; }
.footer-credit a { color: #b9c3cc; font-weight: 600; }
.footer-credit a:hover { color: #fff; }

/* ---- Botones flotantes -----------------------------------------------------*/
.float-actions {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-end;
}
.fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: var(--shadow-lg); }
.fab-whatsapp { background: var(--whatsapp); color: #fff; }
.fab-whatsapp svg { width: 28px; height: 28px; }
.fab-top {
  background: var(--navy-800);
  color: #fff;
  width: 46px; height: 46px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.fab-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top svg { width: 20px; height: 20px; }

/* ---- Mobile nav panel -------------------------------------------------------*/
.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 550;
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--space-lg);
  padding-top: 6.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-in-out);
}
.mobile-panel.is-open { transform: translateX(0); }
.mobile-panel-close {
  position: absolute;
  top: 1.6rem;
  right: var(--container-pad);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.mobile-panel-close:hover { background: rgba(255,255,255,0.12); transform: rotate(90deg); }
.mobile-panel-close svg { width: 20px; height: 20px; }
.mobile-panel .nav-list { flex-direction: column; gap: 0; align-items: stretch; width: 100%; }
.mobile-panel .nav-list li { min-width: 0; }
.mobile-panel .nav-link { display: block; width: 100%; color: #fff; font-size: var(--fs-xl); font-family: var(--font-display); padding-block: 0.7rem; white-space: normal; }
.mobile-panel .nav-link::after { display: none; }
.mobile-panel-actions { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.mobile-panel-contact { margin-top: var(--space-lg); color: #9aa7b2; font-size: var(--fs-sm); }
.mobile-panel-contact a { color: #fff; display: block; margin-top: 0.4rem; }

body.no-scroll { overflow: hidden; }

/* ---- Página breadcrumb / inner hero note -----------------------------------*/
.breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: var(--fs-xs); color: #cfd7de; margin-bottom: var(--space-sm);
}
.breadcrumb a { color: #cfd7de; }
.breadcrumb a:hover { color: #fff; }

/* ---- Tabla comparativa fiscal (FAQ) -----------------------------------------*/
.tax-table { width: 100%; border-collapse: collapse; margin-top: 0.75rem; font-size: var(--fs-sm); }
.tax-table th, .tax-table td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--paper-300); }
.tax-table th { color: var(--ink-500); font-weight: 600; text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: 0.03em; }
.tax-table tr:last-child td { border-bottom: none; }
.tax-table td.highlight { color: var(--red-700); font-weight: 700; }
