/* Sitio corporativo de Innovación Zolydaria S.A.S. (hosting/public/index.html).
   Hoja aparte de style.css: esa la comparten las páginas legales (privacidad,
   términos, ayuda) con su layout de tarjeta angosta, y esta página es un
   one-pager de ancho completo con su propia estructura de secciones. Reusa la
   MISMA paleta de marca (--primary/--secondary/--tertiary) que ya define
   style.css, así que si cambia el color de marca, cambia en un solo lugar. */

:root {
  --primary: #259D96;
  --secondary: #1E5D8C;
  --tertiary: #48C9B0;
  --ink: #10233A;
  --text-light: #5B6B76;
  --border: rgba(30, 93, 140, 0.12);
  --surface: #F4F9F8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand-mark img { width: 40px; height: 40px; object-fit: contain; }
/* El wordmark de Innovación Zolydaria (rectángulo ancho, 2000×345) no es el
   cuadrado que asume la regla genérica de arriba — más especificidad para
   ganarle. */
.brand-mark img.brand-logo-full { width: auto; height: 30px; }
.brand-mark .s { font-size: 12px; color: var(--text-light); white-space: nowrap; }
@media (max-width: 480px) {
  /* El logo ya trae el nombre completo; en pantallas muy angostas el subtítulo
     empezaba a pelear por espacio con el botón de menú. */
  .brand-mark .s { display: none; }
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}
.site-nav a:hover { color: var(--primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 24px 18px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: block; }
}

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  color: white;
  box-shadow: 0 10px 24px rgba(37, 157, 150, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(37, 157, 150, 0.36); }
.btn-outline {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Genéricos de sección ── */
section { padding: 84px 0; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(37, 157, 150, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 32px; margin: 0 0 12px; }
/* Nosotros: el h2 es el wordmark real en vez de "Innovación Zolydaria S.A.S."
   en texto — negro porque esta sección tiene fondo blanco (a diferencia del
   pie de página oscuro, donde ese logo desaparecería). */
.section-head h2 img.nosotros-logo { width: min(100%, 380px); height: auto; margin: 0 auto; }
.section-head p { color: var(--text-light); font-size: 16px; margin: 0; }
h1, h2, h3 { font-weight: 800; color: var(--ink); }
.grad-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Hero ── */
.hero { padding: 72px 0 40px; background: var(--surface); text-align: center; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 20px; }
.hero .lead {
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: 17px;
  color: #33475A;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 52px; }
@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 14px;
}
.stat .n { font-size: 24px; font-weight: 800; color: var(--secondary); }
.stat .d { font-size: 12.5px; color: var(--text-light); margin-top: 2px; }
@media (max-width: 640px) {
  .stat-row { grid-template-columns: 1fr; }
}

/* ── Nosotros ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}
.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(16, 35, 58, 0.05);
}
.info-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  color: white;
}
.info-card h3 { font-size: 18px; margin: 0 0 8px; }
.info-card p { color: var(--text-light); font-size: 14.5px; margin: 0; }

/* ── Productos ── */
.product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(16, 35, 58, 0.06);
}
.product + .product { margin-top: 28px; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; padding: 28px; }
}
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(30, 93, 140, 0.08);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.product-logo {
  height: 34px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}
.product h3 { font-size: 30px; margin: 0 0 14px; }
.product > div > p.desc { color: #33475A; font-size: 15px; margin-bottom: 18px; }
.check-list { list-style: none; margin: 0 0 24px; padding: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 10px;
}
.check-list li .c {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(37, 157, 150, 0.14);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}
.product-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.mini-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}
.mini-panel .mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.pill-soft {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(30, 93, 140, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}
.mp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.mp-row .ok { color: var(--primary); font-weight: 700; font-size: 12.5px; }
.mp-caption { font-size: 12px; color: var(--text-light); text-align: center; margin: 14px 0 0; font-style: italic; }

/* Captura real de la app (reemplazó el mock de CSS "Zoly App Interface", que
   se veía falso) — una sola imagen, sin recortar, con esquinas y sombra suave
   como si fuera la pantalla de un teléfono. */
.app-screenshot {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(16, 35, 58, 0.16);
  border: 1px solid var(--border);
}

/* ── Banner demo ── */
.demo-banner {
  background: linear-gradient(120deg, var(--secondary), var(--primary));
  border-radius: 28px;
  padding: 48px;
  color: white;
  text-align: center;
}
.demo-banner .eyebrow { background: rgba(255,255,255,0.18); color: white; }
.demo-banner h2 { color: white; font-size: 30px; margin: 0 0 14px; }
.demo-banner p { max-width: 620px; margin: 0 auto 26px; opacity: 0.92; }
.demo-banner .btn-primary { background: white; color: var(--secondary); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }
@media (max-width: 640px) { .demo-banner { padding: 32px 22px; } }

/* ── Contacto ── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-item { display: flex; gap: 14px; margin-bottom: 26px; }
.contact-item .ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(37, 157, 150, 0.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-item h4 { margin: 0 0 4px; font-size: 15px; }
.contact-item p { margin: 0; color: var(--text-light); font-size: 14px; }
.contact-item a { color: var(--secondary); text-decoration: none; font-weight: 600; }

.quote-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(16, 35, 58, 0.06);
}
.quote-form h3 { font-size: 22px; margin: 0 0 6px; }
.quote-form > p { color: var(--text-light); font-size: 14px; margin: 0 0 22px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #D5DEE3;
  color: var(--ink);
  background: white;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 157, 150, 0.15);
}
.field textarea { resize: vertical; min-height: 90px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-msg { font-size: 13.5px; margin-top: 14px; border-radius: 10px; padding: 10px 12px; }
.form-msg.ok { background: rgba(37, 157, 150, 0.1); color: #1B6E68; }
.form-msg.err { background: #FFF1F2; color: #B91C1C; }
.form-msg[hidden] { display: none; }

/* ── Footer ── */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 56px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: min(100%, 260px); height: auto; object-fit: contain; }
.footer-brand span { font-weight: 800; color: white; font-size: 15.5px; }
.site-footer p { font-size: 13.5px; line-height: 1.6; max-width: 320px; }
.site-footer h5 { color: white; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
}
