/* =========================================================
   CONFECCIONES LEO'S — Hoja de estilos principal
   Vanilla CSS — mobile-first
   ========================================================= */

:root {
  /* Paleta de marca (requerida) */
  --color-brand-dark-blue: #0B2E4F;
  --color-brand-light-blue: #1D6FA5;
  --color-brand-gray: #5B6470;
  --color-brand-white: #FFFFFF;

  /* Tokens derivados de apoyo */
  --color-bg-soft: #EAF2F8;
  --color-bg-soft-2: #F4F7FA;
  --color-border: #D6DEE5;
  --color-text: var(--color-brand-dark-blue);
  --color-text-secondary: var(--color-brand-gray);
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1DA851;
  --color-danger: #C0392B;

  /* Tipografía */
  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  /* Otros */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 8px rgba(11, 46, 79, 0.08);
  --shadow-md: 0 6px 24px rgba(11, 46, 79, 0.12);
  --container-width: 1180px;
  --header-height: 72px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-brand-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-brand-dark-blue);
  line-height: 1.25;
  margin: 0 0 var(--space-sm);
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 var(--space-sm); }
a { color: var(--color-brand-light-blue); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.25rem; }
button { font-family: inherit; }

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-brand-dark-blue);
  color: var(--color-brand-white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Secciones genéricas ---------- */
.section {
  padding: var(--space-xl) 0;
}
.section--soft {
  background-color: var(--color-bg-soft-2);
}
.section-header {
  max-width: 720px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}
.section-header p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
}
.eyebrow {
  display: inline-block;
  color: var(--color-brand-light-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: var(--space-xs);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover, .btn:focus-visible { text-decoration: none; transform: translateY(-2px); }

.btn--primary {
  background-color: var(--color-brand-dark-blue);
  color: var(--color-brand-white);
  border-color: var(--color-brand-dark-blue);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background-color: #082238;
  box-shadow: var(--shadow-md);
  color: var(--color-brand-white);
}

.btn--secondary {
  background-color: var(--color-brand-white);
  color: var(--color-brand-dark-blue);
  border-color: var(--color-brand-dark-blue);
}
.btn--secondary:hover, .btn--secondary:focus-visible {
  background-color: var(--color-brand-dark-blue);
  color: var(--color-brand-white);
}

.btn--light {
  background-color: var(--color-brand-light-blue);
  color: var(--color-brand-white);
  border-color: var(--color-brand-light-blue);
}
.btn--light:hover, .btn--light:focus-visible {
  background-color: #175a86;
  color: var(--color-brand-white);
}

.btn--whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-brand-white);
  border-color: var(--color-whatsapp);
}
.btn--whatsapp:hover, .btn--whatsapp:focus-visible {
  background-color: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  color: var(--color-brand-white);
}

.btn--block { width: 100%; }
.btn-icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background-color: var(--color-brand-white);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-brand-dark-blue);
  font-size: 1.15rem;
  white-space: nowrap;
}
.brand-logo__img {
  display: block;
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
.brand-logo-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text-secondary);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--color-brand-white);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  padding: var(--space-md);
  z-index: 400;
}
.main-nav.is-open { transform: translateX(0); }
.main-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.main-nav__list a {
  display: block;
  padding: 0.9rem 0.5rem;
  color: var(--color-brand-dark-blue);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}
.main-nav__list a:hover, .main-nav__list a.is-active { color: var(--color-brand-light-blue); text-decoration: none; }
.main-nav__cta { margin-top: var(--space-md); display: flex; flex-direction: column; gap: 0.75rem; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--color-brand-dark-blue);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-brand-dark-blue);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars::before { content: ""; position: absolute; top: -6px; }
.nav-toggle__bars::after { content: ""; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.header-cta { display: none; }

@media (min-width: 900px) {
  .main-nav {
    position: static;
    transform: none;
    inset: auto;
    padding: 0;
    overflow: visible;
    background: none;
  }
  .main-nav__list { flex-direction: row; align-items: center; gap: 1.75rem; }
  .main-nav__list a { padding: 0.4rem 0; border-bottom: 2px solid transparent; }
  .main-nav__list a:hover, .main-nav__list a.is-active { border-bottom-color: var(--color-brand-light-blue); }
  .main-nav__cta { display: none; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .site-header__inner { gap: var(--space-lg); }
}

/* ---------- Placeholders de imagen ---------- */
.img-placeholder {
  width: 100%;
  background-color: var(--color-bg-soft);
  border: 2px dashed var(--color-brand-light-blue);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-brand-dark-blue);
  padding: var(--space-sm);
  overflow: hidden;
  position: relative;
}
.img-placeholder-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-xs);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2e4f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H6L2 7l3 3 2-1.5V21h10V8.5L19 10l3-3-4-4h-2l-2 2-2-2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.55;
  flex-shrink: 0;
}
.img-placeholder-text {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  max-width: 22ch;
}
.img-placeholder-id {
  font-size: 0.68rem;
  font-family: 'Courier New', monospace;
  color: var(--color-brand-light-blue);
  background: var(--color-brand-white);
  border: 1px solid var(--color-border);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
/* ---------- Marquee de logos de clientes ---------- */
.logo-marquee {
  overflow: hidden;
  position: relative;
  padding: var(--space-md) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  /* Promueve la barra a su propia capa de composición: sin esto, algunos
   * navegadores no repintan los logos que entran en pantalla durante la
   * animación y quedan en blanco hasta que algo fuerza un repintado. */
  will-change: transform;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }

/*
 * El espaciado se aplica como margin-right en CADA elemento (incluida la copia
 * duplicada) en lugar de "gap" en el contenedor. Así, con N elementos reales +
 * N duplicados, el ancho total es exactamente 2 * (N * (ancho + margen)), y
 * translateX(-50%) cae siempre justo en el límite entre ambas copias — sin
 * importar si N es par o impar. Usar "gap" aquí deja un salto visible (medio
 * espacio) en cada vuelta del bucle porque el número total de huecos es impar.
 */
.logo-marquee__item {
  width: 170px;
  height: 90px;
  margin-right: var(--space-lg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.logo-marquee__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-marquee__track .img-placeholder {
  width: 100%;
  height: 100%;
}
.logo-marquee__track .img-placeholder .img-placeholder-text { font-size: 0.65rem; }
.logo-marquee__track .img-placeholder .img-placeholder-icon { width: 26px; height: 26px; margin-bottom: 0.2rem; }
.logo-marquee__track .img-placeholder .img-placeholder-id { font-size: 0.55rem; padding: 0.05rem 0.35rem; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track { animation: none; overflow-x: auto; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-brand-white) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
}
.hero__content {
  max-width: 62rem;
  margin: 0 auto;
}
.hero__content h1 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero__content p.lead {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}
.hero .cta-group { justify-content: center; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding: 0;
  list-style: none;
}
.trust-badges li {
  font-weight: 700;
  color: var(--color-brand-dark-blue);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-badges li::before {
  content: "✓";
  color: var(--color-whatsapp-dark);
  font-weight: 900;
}

@media (min-width: 900px) {
  .hero { padding: calc(var(--space-xl) * 1.2) 0; }
}

/* ---------- Page header (páginas internas) ---------- */
.page-header {
  background-color: var(--color-brand-dark-blue);
  color: var(--color-brand-white);
  padding: var(--space-lg) 0 var(--space-md);
}
.page-header h1 { color: var(--color-brand-white); margin-bottom: var(--space-xs); }
.page-header p { color: #C9D9E6; max-width: 65ch; font-size: 1.05rem; }

.breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 var(--space-sm);
  font-size: 0.85rem;
}
.breadcrumbs li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: #7C93A8; }
.breadcrumbs a { color: #C9D9E6; }
.breadcrumbs a:hover { color: var(--color-brand-white); }
.breadcrumbs li[aria-current="page"] { color: var(--color-brand-white); font-weight: 600; }

/* ---------- Grillas de tarjetas ----------
 * Flexbox en lugar de grid: cuando la última fila queda incompleta
 * (6 tarjetas en 4 columnas, 5 en 3, etc.) las sobrantes se centran
 * en vez de quedar pegadas a la izquierda.
 */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}
.card-grid > * { flex: 0 1 100%; }
@media (min-width: 640px) {
  .card-grid--2 > *, .card-grid--3 > *, .card-grid--4 > * {
    flex: 0 1 calc((100% - var(--space-md)) / 2);
  }
}
@media (min-width: 960px) {
  .card-grid--3 > * { flex: 0 1 calc((100% - 2 * var(--space-md)) / 3); }
  .card-grid--4 > * { flex: 0 1 calc((100% - 3 * var(--space-md)) / 4); }
}

.card {
  background: var(--color-brand-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__body { padding: var(--space-md); display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__body h3 { margin-bottom: 0.15rem; }
.card__body p { color: var(--color-text-secondary); font-size: 0.95rem; flex: 1; }
.card .img-placeholder { aspect-ratio: 4 / 3; border-radius: 0; border-width: 0 0 2px; }
.card__link { font-weight: 700; }

.feature-card {
  background: var(--color-brand-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-brand-light-blue);
  flex-shrink: 0;
}
.feature-card h3 { margin-bottom: 0; }
.feature-card p { color: var(--color-text-secondary); margin: 0; font-size: 0.95rem; }

.value-card { text-align: left; }

/* ---------- Fotos de la industria ----------
 * Layout tipo mampostería: las fotos conservan su proporción original
 * (sin recorte), porque en un uniforme importa ver la prenda completa.
 */
.photo-grid {
  column-count: var(--photo-cols, 2);
  column-gap: var(--space-sm);
}
.photo-grid--3 { --photo-cols: 3; }
.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  break-inside: avoid;
}
@media (max-width: 860px) {
  .photo-grid--3 { --photo-cols: 2; }
}
@media (max-width: 520px) {
  .photo-grid, .photo-grid--2, .photo-grid--3, .photo-grid--4 { --photo-cols: 1; }
}

/* ---------- Lista de productos por industria ---------- */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-brand-dark-blue);
  font-weight: 500;
}
.product-list li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 1.15rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-brand-light-blue);
}

/* ---------- Galería ---------- */
.gallery-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: repeat(2, 1fr);
}
.gallery-grid .img-placeholder { aspect-ratio: 1 / 1; }
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Industrias index ---------- */
.industry-card { text-decoration: none; }
.industry-card .card__body h3 { color: var(--color-brand-dark-blue); }

/* ---------- Listas de prendas / iconos check ---------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--color-text);
}
.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  color: var(--color-brand-light-blue);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 0.1rem;
}

.two-col {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col--reverse { direction: rtl; }
  .two-col--reverse > * { direction: ltr; }
}

/* ---------- FAQ (accordion) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-brand-white);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--color-brand-dark-blue);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-brand-light-blue);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p {
  padding: 0 1.25rem 1.1rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ---------- Estadísticas / confianza ---------- */
.stats-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--color-brand-light-blue);
}
.stat-item .stat-label {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- CTA banda final ---------- */
.cta-band {
  background-color: var(--color-brand-dark-blue);
  color: var(--color-brand-white);
  padding: var(--space-xl) 0;
  text-align: center;
}
.cta-band h2 { color: var(--color-brand-white); }
.cta-band p { color: #C9D9E6; max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-band .cta-group { justify-content: center; }

/* ---------- Formulario de contacto ---------- */
.contact-layout {
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: 1.2fr 0.8fr; }
}

.form-card {
  background: var(--color-brand-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-brand-dark-blue);
}
.form-field .required { color: var(--color-danger); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-brand-white);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-brand-light-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 111, 165, 0.18);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.85rem; color: var(--color-text-secondary); margin-top: var(--space-sm); }
.form-success {
  display: none;
  background: #E7F7EC;
  border: 1px solid #B7E4C4;
  color: #1E7A38;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: var(--space-md);
  font-weight: 600;
}
.form-success.is-visible { display: block; }

.contact-info-card {
  background: var(--color-bg-soft-2);
  border-radius: var(--radius);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.contact-info-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-info-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-brand-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-info-item h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.contact-info-item p, .contact-info-item a { color: var(--color-text-secondary); font-size: 0.95rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-brand-dark-blue);
  color: #C9D9E6;
  padding: var(--space-xl) 0 var(--space-md);
}
.footer-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.site-footer h3 {
  color: var(--color-brand-white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}
.site-footer .brand-logo { color: var(--color-brand-white); margin-bottom: var(--space-sm); }
.site-footer .brand-logo-text small { color: #9FB8CC; }
.site-footer p { color: #C9D9E6; font-size: 0.92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { color: #C9D9E6; font-size: 0.92rem; }
.footer-links a:hover { color: var(--color-brand-white); }
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-sm);
  min-height: 1px; /* espacio reservado para íconos sociales futuros */
}
.footer-bottom {
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #9FB8CC;
}

/* ---------- Botón flotante de WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: var(--color-brand-white);
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.whatsapp-float:hover, .whatsapp-float:focus-visible {
  background-color: var(--color-whatsapp-dark);
  transform: scale(1.08);
}
.whatsapp-float svg { width: 30px; height: 30px; }

@media (max-width: 480px) {
  .whatsapp-float { width: 54px; height: 54px; bottom: 14px; right: 14px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mb-0 { margin-bottom: 0; }
