/* Landing de Agencia Guerra (agenciaguerra.com). Sitio estático, sin dependencias externas ni scripts.
   Marca de la agencia: azul #1c4d97, globo con estela cian y acento amarillo (sitio anterior). La tarjeta de la
   asesoría en línea y el bloque de Comex2Go usan la gráfica de Comex2Go (landing/estilos.css). */

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("fuentes/barlow-semi-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fuentes/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fuentes/jetbrains-mono-variable.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Agencia */
  --azul-noche: #0a2552;
  --azul-profundo: #123a78;
  --azul: #1c4d97;
  --azul-linea: #3563a8;
  --cian: #07b2d1;
  --cian-claro: #8fe3f2;
  --amarillo: #ffc001;
  --amarillo-claro: #ffd65c;
  --fondo: #f3f6fb;
  --tinta: #0f172a;
  --texto: #263445;
  --texto-suave: #4a5866;
  --claro: #d6e2f3;
  --claro-tenue: #a8bcd8;
  --borde: #d5dfec;
  /* Comex2Go */
  --c2g-marino-profundo: #0b1d33;
  --c2g-marino: #122b47;
  --c2g-linea: #24486f;
  --c2g-verde: #2ab09a;
  --c2g-verde-claro: #7fe0cf;
  --c2g-verde-texto: #107565;

  --titulos: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --cuerpo: Manrope, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --margen: 16px;
  --ancho: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--azul-noche);
  color: var(--tinta);
  font-family: var(--cuerpo);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
svg { display: block; }
.oculto { position: absolute; width: 0; height: 0; overflow: hidden; }
.contenedor { width: 100%; max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; padding: 0 var(--margen); }

.saltar {
  position: absolute; left: 8px; top: -60px; z-index: 50;
  background: #fff; color: var(--azul); padding: 10px 14px; font-weight: 700; border-radius: 4px;
}
.saltar:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }
.cabecera :focus-visible, .servicios :focus-visible, .contacto :focus-visible, .oferta :focus-visible { outline-color: var(--azul); }

.rotulo {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cian-claro);
}

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  font-family: var(--cuerpo); font-weight: 800; font-size: 17px; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 4px; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.boton-principal { background: var(--amarillo); color: var(--azul-noche); }
.boton-principal:hover { background: var(--amarillo-claro); }
.boton-contorno { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.boton-contorno:hover { border-color: #fff; }
.boton-contorno-azul { border-color: var(--azul); color: var(--azul); }
.boton-contorno-azul:hover { background: var(--azul); color: #fff; }
.boton-plataforma { background: var(--c2g-marino-profundo); color: #fff; }
.boton-plataforma:hover { background: var(--c2g-marino); }
.boton-verde, .boton-oferta { background: var(--c2g-verde); color: var(--c2g-marino-profundo); }
.boton-verde:hover, .boton-oferta:hover { background: var(--c2g-verde-claro); }
.boton-chico { min-height: 42px; padding: 8px 14px; font-size: 15px; white-space: nowrap; }

/* Cabecera (blanca, como el logo de la agencia) */
.cabecera { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--borde); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.marca { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--azul); }
.marca-emblema { width: 46px; height: auto; flex: none; }
.marca-texto { display: grid; line-height: 1; }
.marca-texto b {
  font-family: var(--titulos); font-weight: 800; text-transform: uppercase;
  font-size: 30px; letter-spacing: 0.02em; line-height: 0.9;
}
.marca-texto small { margin-top: 3px; font-weight: 700; font-size: 11.5px; letter-spacing: 0.01em; color: var(--texto-suave); }
.cabecera nav { display: flex; align-items: center; gap: 4px; }
.enlace-cabecera {
  display: none; align-items: center; min-height: 42px; padding: 0 10px;
  color: var(--azul); font-weight: 700; font-size: 15px; text-decoration: none; border-radius: 4px;
}
.enlace-cabecera:hover { color: var(--azul-noche); text-decoration: underline; text-underline-offset: 4px; }
.solo-ancho { display: none; }
.boton .solo-ancho { display: none; }

/* Portada */
.portada { position: relative; overflow: hidden; background: var(--azul-profundo); color: #fff; }
.portada::after { /* franja amarilla, como el bloque del sitio anterior */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--amarillo);
}
.portada .contenedor { position: relative; padding-top: 40px; padding-bottom: 64px; }
.portada h1 {
  margin: 16px 0 0 -0.02em;
  font-family: var(--titulos); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.4rem, 17vw, 8.6rem); line-height: 0.9; letter-spacing: -0.01em;
}
.portada h1 span { display: block; }
.portada h1 .acento { color: var(--amarillo); }
.bajada { margin-top: 22px; max-width: 26em; color: var(--claro); font-weight: 600; font-size: clamp(1.15rem, 4.8vw, 1.45rem); line-height: 1.35; }
.acciones { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.acciones .boton { flex: 1 1 100%; }
.globo-fondo {
  position: absolute; right: -120px; top: 40px; z-index: 0;
  width: 360px; height: auto; opacity: 0.13; pointer-events: none;
}
.portada .rotulo, .portada h1, .bajada, .portada .acciones { position: relative; z-index: 1; }

/* Tarjeta de la asesoría en línea: misma tarjeta que la landing de Comex2Go */
.oferta {
  position: relative; z-index: 1; margin-top: 40px; max-width: 520px;
  background: #fff; color: var(--tinta); border-top: 6px solid var(--c2g-verde);
  padding: 22px 20px; box-shadow: 0 22px 48px rgba(3, 14, 36, 0.4);
}
.oferta .rotulo { display: flex; align-items: center; gap: 10px; color: var(--c2g-verde-texto); letter-spacing: 0.16em; }
.oferta .nuevo { background: var(--c2g-verde); color: var(--c2g-marino-profundo); padding: 3px 8px; font-weight: 700; letter-spacing: 0.12em; }
.oferta h2 {
  margin-top: 12px;
  font-family: var(--titulos); font-weight: 800; text-transform: uppercase; color: var(--c2g-marino);
  font-size: clamp(2.4rem, 11vw, 3.1rem); line-height: 0.95; letter-spacing: -0.005em;
}
.oferta-bajada { margin-top: 8px; color: var(--c2g-marino); font-weight: 700; font-size: 18px; line-height: 1.3; }
.oferta .lista { margin-top: 16px; gap: 10px; }
.oferta .lista li { font-size: 16px; }
.oferta-pie { margin-top: 20px; padding-top: 18px; border-top: 1.5px solid var(--borde); display: grid; gap: 14px; }
.precio { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; color: var(--c2g-marino); line-height: 1; }
.precio b { font-family: var(--titulos); font-weight: 800; font-size: 3rem; letter-spacing: -0.01em; }
.precio span { font-weight: 800; font-size: 19px; }
.precio small {
  flex: 1 1 100%; margin-top: 8px;
  font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texto-suave);
}
.oferta .boton { width: 100%; }

/* Listas con check */
.lista { margin-top: 18px; display: grid; gap: 12px; }
.lista li { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; align-items: start; color: var(--texto); font-weight: 500; line-height: 1.4; }
.lista svg { width: 20px; height: 20px; margin-top: 2px; }

/* Títulos de sección */
.titulo-seccion {
  margin-top: 10px;
  font-family: var(--titulos); font-weight: 800; text-transform: uppercase; color: var(--azul-noche);
  font-size: clamp(2.5rem, 12vw, 4.8rem); line-height: 0.95; letter-spacing: -0.005em;
}
.titulo-seccion span { display: block; }
.titulo-seccion .azul { color: var(--azul); }
.titulo-seccion .amarillo { color: var(--amarillo); }
.entrada { margin-top: 18px; max-width: 37em; color: var(--texto); font-weight: 500; font-size: 18px; line-height: 1.45; }

/* Servicios */
.servicios { background: var(--fondo); padding: 60px 0 64px; }
.servicios .rotulo, .contacto .rotulo { color: var(--azul); }
.rejilla-servicios { margin-top: 34px; display: grid; gap: 14px; }
.servicio {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid var(--borde); border-left: 5px solid var(--azul);
  padding: 22px 20px 22px;
}
.servicio-num { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; color: var(--azul-linea); }
.servicio h3 {
  margin-top: 6px;
  font-family: var(--titulos); font-weight: 800; text-transform: uppercase; color: var(--azul-noche);
  font-size: clamp(1.6rem, 7vw, 1.9rem); line-height: 1.02;
}
.servicio p { margin-top: 10px; color: var(--texto); font-weight: 500; font-size: 16.5px; line-height: 1.45; }
.servicio-destacado { background: var(--azul); border-color: var(--azul); border-left-color: var(--amarillo); }
.servicio-destacado .servicio-num { color: var(--amarillo); }
.servicio-destacado h3 { color: #fff; }
.servicio-destacado p { color: var(--claro); }
.enlace-servicio {
  margin-top: auto; padding-top: 16px; align-self: flex-start;
  color: var(--c2g-verde-texto); font-weight: 800; text-decoration: none;
}
.enlace-servicio span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.enlace-servicio:hover { color: var(--azul); }

/* Por qué la agencia */
.valores { background: var(--azul-noche); color: #fff; padding: 60px 0 64px; }
.valores .titulo-seccion { color: #fff; }
.rejilla-valores { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--azul-linea); }
.rejilla-valores li { padding: 22px 0; border-bottom: 1px solid var(--azul-linea); }
.rejilla-valores h3 {
  font-family: var(--titulos); font-weight: 800; text-transform: uppercase; color: var(--amarillo);
  font-size: 1.75rem; line-height: 1;
}
.rejilla-valores p { margin-top: 8px; color: var(--claro); font-size: 17px; line-height: 1.45; }

/* Comex2Go */
.plataforma { background: var(--c2g-marino-profundo); color: #fff; padding: 60px 0 64px; border-top: 6px solid var(--c2g-verde); }
.plataforma .rotulo { color: var(--c2g-verde); }
.rejilla-plataforma { display: grid; gap: 34px; }
.logo-comex2go { margin-top: 20px; width: 220px; height: auto; }
.plataforma h2 {
  margin-top: 18px;
  font-family: var(--titulos); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.3rem, 10.5vw, 3.6rem); line-height: 0.96;
}
.plataforma .entrada { color: #d5e0ec; }
.plataforma :focus-visible { outline-color: var(--c2g-verde-claro); }
.lista-plataforma { margin-top: 0; gap: 16px; align-content: center; }
.lista-plataforma li { color: #d5e0ec; font-size: 17px; }
.lista-plataforma strong { color: #fff; font-weight: 800; }

/* Contacto */
.contacto { background: #fff; padding: 60px 0 68px; }
.rejilla-contacto { display: grid; gap: 34px; }
.datos { display: grid; gap: 0; border-top: 1.5px solid var(--borde); align-content: start; }
.datos > div { padding: 18px 0; border-bottom: 1.5px solid var(--borde); }
.datos dt { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-suave); }
.datos dd { margin-top: 6px; }
.datos a { color: var(--azul-noche); font-weight: 700; font-size: 19px; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.datos a:hover { color: var(--azul); text-decoration: underline; text-underline-offset: 4px; }

/* Pie */
.pie { background: var(--azul-noche); color: var(--claro-tenue); padding: 36px 0 40px; font-size: 14px; }
.pie .contenedor { display: grid; gap: 22px; }
.marca-pie { color: #fff; }
.marca-pie .marca-texto small { color: var(--claro-tenue); }
.claim { margin-top: 14px; max-width: 30em; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.6; }
.pie nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pie nav a { color: #fff; font-weight: 700; text-decoration: none; padding: 6px 0; }
.pie nav a:hover { color: var(--amarillo); }
.legal a { color: #fff; }

/* Cómo se importa */
.importar { background: #fff; padding: 60px 0 64px; }
.importar .rotulo, .preguntas .rotulo { color: var(--azul); }
.importar :focus-visible, .preguntas :focus-visible { outline-color: var(--azul); }
.pasos { margin-top: 34px; display: grid; gap: 0; border-top: 1.5px solid var(--borde); }
.pasos li { padding: 18px 0; border-bottom: 1.5px solid var(--borde); }
.pasos h3, .bloque h3 {
  margin-top: 4px;
  font-family: var(--titulos); font-weight: 800; text-transform: uppercase; color: var(--azul-noche);
  font-size: 1.6rem; line-height: 1.02;
}
.pasos p { margin-top: 8px; color: var(--texto); font-weight: 500; font-size: 16.5px; line-height: 1.45; }
.rejilla-importar { margin-top: 34px; display: grid; gap: 14px; }
.bloque { background: var(--fondo); border: 1.5px solid var(--borde); border-top: 5px solid var(--azul); padding: 22px 20px; }
.bloque .lista li { font-size: 16px; }
.bloque .lista svg { color: var(--azul); }
.lista-permisos li { display: block; }
.lista-permisos b { display: block; font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--azul); }
.calculo { margin-top: 14px; width: 100%; border-collapse: collapse; font-size: 16px; }
.calculo caption { caption-side: bottom; padding-top: 10px; text-align: left; font-size: 13.5px; color: var(--texto-suave); }
.calculo th, .calculo td { padding: 10px 0; border-bottom: 1.5px solid var(--borde); vertical-align: top; }
.calculo th { text-align: left; font-weight: 800; color: var(--azul-noche); padding-right: 12px; }
.calculo th small { display: block; margin-top: 2px; font-weight: 500; font-size: 13.5px; color: var(--texto-suave); line-height: 1.35; }
.calculo td { text-align: right; font-family: var(--mono); font-weight: 600; white-space: nowrap; color: var(--azul-noche); }
.nota { margin-top: 12px; color: var(--texto-suave); font-size: 14.5px; line-height: 1.45; }
.cierre-importar { margin-top: 28px; color: var(--texto); font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cierre-importar .enlace-servicio { padding-top: 0; }

/* Preguntas frecuentes (details/summary: se abren sin scripts) */
.preguntas { background: var(--fondo); padding: 60px 0 64px; }
.lista-preguntas { margin-top: 34px; max-width: 52em; border-top: 1.5px solid var(--borde); }
.lista-preguntas details { border-bottom: 1.5px solid var(--borde); }
.lista-preguntas summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 17.5px; line-height: 1.35; color: var(--azul-noche);
}
.lista-preguntas summary::-webkit-details-marker { display: none; }
.lista-preguntas summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 22px; color: var(--azul); }
.lista-preguntas details[open] summary::after { content: "−"; }
.lista-preguntas summary:hover { color: var(--azul); }
.lista-preguntas details p { padding: 0 0 20px; max-width: 44em; color: var(--texto); font-weight: 500; font-size: 16.5px; line-height: 1.5; }
.lista-preguntas a { color: var(--azul); font-weight: 800; }

/* Tablet y escritorio */
@media (min-width: 560px) {
  :root { --margen: 32px; }
  .boton .solo-ancho { display: inline; }
  .boton .solo-angosto { display: none; }
  .marca-emblema { width: 52px; }
  .marca-texto b { font-size: 33px; }
  .acciones .boton { flex: 0 0 auto; }
  .oferta { padding: 26px 28px 28px; }
  .oferta-pie { grid-template-columns: auto 1fr; align-items: center; gap: 20px; }
  .oferta .boton { width: auto; justify-self: end; }
  .rejilla-servicios { grid-template-columns: 1fr 1fr; }
  .servicio-destacado { grid-column: 1 / -1; }
  .rejilla-valores { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .rejilla-importar { grid-template-columns: 1fr 1fr; }
  .rejilla-importar .bloque:last-child { grid-column: 1 / -1; }
  .globo-fondo { width: 460px; right: -140px; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .cabecera .contenedor { min-height: 76px; }
  .enlace-cabecera { display: inline-flex; }
  .portada .contenedor { padding-top: 76px; padding-bottom: 96px; }
  .globo-fondo { width: 560px; right: -110px; top: 60px; opacity: 0.12; }
  .servicios, .contacto { padding: 96px 0; }
  .valores, .plataforma, .importar, .preguntas { padding: 96px 0; }
  .pasos { grid-template-columns: repeat(5, 1fr); column-gap: 24px; border-top: 0; margin-top: 48px; }
  .pasos li { border-bottom: 0; border-top: 3px solid var(--azul); padding: 18px 0 0; }
  .rejilla-importar { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
  .rejilla-importar .bloque:last-child { grid-column: auto; }
  .bloque { padding: 26px 24px; }
  .lista-preguntas summary { font-size: 19px; padding: 22px 0; }
  .rejilla-servicios { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
  .servicio { padding: 26px 24px; }
  .servicio-destacado { grid-column: span 2; }
  .servicio-ancho { grid-column: span 2; }
  .servicio-destacado h3 { font-size: 2.4rem; }
  .servicio-destacado p { font-size: 18px; max-width: 32em; }
  .rejilla-valores { grid-template-columns: repeat(4, 1fr); column-gap: 28px; border-top: 0; margin-top: 48px; }
  .rejilla-valores li { border-bottom: 0; border-top: 3px solid var(--amarillo); padding: 22px 0 0; }
  .rejilla-plataforma { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  .lista-plataforma { background: var(--c2g-marino); border: 1px solid var(--c2g-linea); padding: 34px 32px; }
  .rejilla-contacto { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
  .pie .contenedor { grid-template-columns: 1fr auto; align-items: end; }
  .pie .legal { grid-column: 1 / -1; }
}
/* Con espacio al lado del titular, la tarjeta sube a la derecha de la portada y queda a la vista al entrar. */
@media (min-width: 1180px) {
  .oferta { position: absolute; top: 56px; right: var(--margen); width: 420px; margin-top: 0; padding: 24px 28px 26px; }
  .oferta h2 { font-size: 2.6rem; }
  .oferta-pie { grid-template-columns: 1fr; gap: 14px; margin-top: 18px; padding-top: 16px; }
  .oferta .boton { width: 100%; justify-self: stretch; }
  .portada .contenedor { min-height: 640px; }
  .portada h1 { font-size: 7.2rem; }
  .portada h1, .bajada { max-width: 640px; }
  .globo-fondo { right: auto; left: 380px; top: 120px; width: 520px; }
}

/* Botón flotante de WhatsApp: visible en toda la página */
.whatsapp-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: #25d366; color: #0b2e1a; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 20px rgba(11, 29, 51, 0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-flotante svg { width: 26px; height: 26px; flex: none; }
.whatsapp-flotante:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(11, 29, 51, 0.34); }
.whatsapp-flotante:focus-visible { outline: 3px solid #0b2e1a; outline-offset: 3px; }
@media (max-width: 600px) {
  .whatsapp-flotante { right: 14px; bottom: 14px; padding: 14px; }
  .whatsapp-flotante span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .whatsapp-flotante { display: none; } }
