/* Polo Sur Hielo — sitio basado en el Manual de Identidad (GIASA)
   Colores: Pantone 641 C, Pantone 7461 C, Pantone 716 C y sus gradientes.
   Fondo blanco para mantener el "equilibrio frío" que pide el manual. */

:root {
  --navy: #1D518C;        /* gradiente azul, extremo oscuro (C100 M45 K35) */
  --navy-dark: #143B68;
  --blue: #1B68A3;        /* Pantone 641 C — azul principal */
  --blue-2: #1D86B2;      /* Pantone 7461 C — azul secundario */
  --royal: #1967D6;       /* fondo de la imagen compuesta (centro) */
  --royal-edge: #1142B9;  /* fondo de la imagen compuesta (borde) */
  --ice: #64C7DD;         /* gradiente hielo (C47 K7) */
  --ice-soft: #EEF8FB;
  --accent: #FF7432;      /* Pantone 716 C — naranja */
  --accent-dark: #C05329; /* gradiente naranja, extremo oscuro (M65 Y100 K25) */
  --text: #1E2B3A;
  --muted: #5A6878;
  --line: #E1EAF2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 81, 140, 0.10);

  /* Tipografías: Gotham y Rockwell (manual) con sustitutos web */
  --font-title: "Gotham", "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-slab: "Rockwell", "Rockwell Std", "Arvo", Georgia, serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 14px;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { font-size: 16px; padding: 14px 28px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 116, 50, .35); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--accent-dark); }
.btn-white:hover { color: var(--accent-dark); }

/* Barra superior */
.topbar {
  background: var(--navy-dark);
  color: #c9d8f0;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
}
.topbar a { color: #c9d8f0; margin-left: 18px; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--ice); margin-right: 4px; }

/* Navegación */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(29, 81, 140, .10); }
.nav-inner {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 24px;
}
.brand { padding: 4px 6px; } /* área segura "X" alrededor del isologo */
.brand img { height: 60px; width: auto; }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 8px;
}
.menu a:hover { background: var(--ice-soft); color: var(--blue); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--navy);
  cursor: pointer;
}

/* Hero — "Imagen compuesta" del manual */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse 80% 90% at 60% 35%, var(--royal) 0%, #1655C8 55%, var(--royal-edge) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 30px;
  min-height: 620px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero-copy { max-width: 600px; }
.hero-title { margin: 0 0 18px; }
.hero-slogan { width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 8px 18px rgba(0, 20, 80, .35)); }
.hero .hero-lead {
  font-family: var(--font-title);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 12px;
}
.hero p { font-size: 18px; color: #dbe7fb; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: #e6eefb;
}
.hero-badges i { color: var(--ice); margin-right: 6px; }
/* Marca como rúbrica cuando el slogan es la frase principal (manual, pág. 15).
   Alto > 1.5 cm, mínimo del manual. */
.hero-rubrica { width: 150px; height: auto; }

.hero-art { position: relative; height: 560px; }
.hero-ice {
  position: absolute;
  right: -60px;
  bottom: 0;
  width: 120%;
  max-width: none;
  height: auto;
}
.hero-mascot {
  position: absolute;
  left: 0;
  bottom: 10px;
  height: 96%;
}
.hero-mascot img { height: 100%; width: auto; filter: drop-shadow(0 20px 30px rgba(0, 20, 80, .35)); }
/* Mascota de cuerpo completo: lleva el icono de registro (manual, pág. 20) */
.hero-mascot .reg {
  position: absolute;
  right: 24%;
  top: 1%;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* Franja de datos */
.stats {
  background: var(--navy);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--font-slab);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
  color: var(--ice);
}
.stat span { font-size: 14px; color: #c9d8f0; }

/* Secciones */
.section { padding: 96px 0; }
.section-ice { background: var(--ice-soft); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.kicker {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.kicker-light { color: var(--ice); }

/* Productos */
.products {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 26px;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.product:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(29, 81, 140, .16); }
.product-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice-soft); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .product-img img { transform: scale(1.05); }
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 22px; font-weight: 800; }
.product-body p { color: var(--muted); margin: 0 0 16px; }
.product-body .btn { margin-top: auto; align-self: flex-start; }
.tag {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.sizes span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--ice-soft);
  border: 1px solid #cfe6f3;
  padding: 5px 12px;
  border-radius: 999px;
}

/* Segmentos */
.segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.segment {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}
.segment:hover { border-color: var(--ice); transform: translateY(-4px); }
.segment i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}
.segment h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.segment p { color: var(--muted); margin: 0; font-size: 15px; }

/* Pasos */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: s;
}
.steps li {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.step-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}
.steps h4 { font-size: 19px; font-weight: 700; }
.steps p { margin: 0; color: var(--muted); }

/* Promo — gradiente naranja Pantone 716 C del manual */
.promo {
  background: radial-gradient(ellipse 70% 120% at 35% 50%, #FF8A4C 0%, var(--accent) 45%, var(--accent-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.promo-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
}
.promo-copy { padding: 70px 0; }
.promo h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; }
.promo p { font-size: 18px; color: #fff4ec; margin: 0 0 28px; max-width: 540px; }
.promo-img { position: relative; padding: 50px 0; }
.promo-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 6px solid #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
}
.promo-badge {
  position: absolute;
  left: -18px;
  bottom: 70px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.promo-badge i { margin-right: 6px; color: var(--ice); }

/* Calidad */
.quality {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.quality-img img { max-width: 360px; margin: 0 auto; }
.quality-copy h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.quality-copy > p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; }
.checks i {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ice-soft);
  color: var(--blue);
  font-size: 18px;
}
.checks strong { display: block; color: var(--navy); }
.checks span { color: var(--muted); font-size: 15px; }

/* Clientes */
.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.client {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--line);
}
.client img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 14px;
  filter: grayscale(100%);
  opacity: .85;
  transition: filter .3s, opacity .3s;
}
.client:hover img { filter: none; opacity: 1; }
.client span { font-family: var(--font-title); font-weight: 700; color: var(--navy); }

/* Nosotros */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.pillar {
  padding: 32px;
  border-radius: var(--radius);
  border-top: 4px solid var(--blue);
  background: #fff;
  box-shadow: var(--shadow);
}
.pillar i { font-size: 28px; color: var(--accent); margin-bottom: 14px; }
.pillar h4 { font-size: 20px; font-weight: 800; }
.pillar p { color: var(--muted); margin: 0; font-size: 15px; }

/* Contacto */
.contact { background: var(--navy); color: #d7e3f5; }
.contact h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list i { color: var(--ice); font-size: 20px; width: 22px; text-align: center; margin-top: 3px; }
.contact-list a { color: #fff; }
.map {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.map iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
  display: grid;
  gap: 16px;
}
.contact-form h3 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbfe;
  color: var(--text);
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 104, 163, .18);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Footer */
.footer {
  background: radial-gradient(ellipse 80% 120% at 50% 0%, var(--royal) 0%, var(--royal-edge) 70%, #0D3592 100%);
  color: #cfdcf5;
  padding-top: 50px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 80px; width: auto; margin-bottom: 10px; }
.footer-brand .footer-slogan { height: 40px; }
.footer-brand p { margin: 0; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: #fff; font-weight: 600; }
.footer-links a:hover { color: var(--ice); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 18px;
  transition: background .2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-inner { border-bottom-color: rgba(255,255,255,.18); }
.copyright { text-align: center; font-size: 13px; padding-top: 20px; padding-bottom: 24px; }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  z-index: 60;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

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

/* Responsive */
@media (max-width: 991px) {
  .menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(29, 81, 140, .1);
    display: none;
  }
  .menu.open { display: flex; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }

  .products { grid-template-columns: 1fr 1fr; }
  .products .featured { grid-column: 1 / -1; }
  .segments, .pillars { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .quality, .contact-grid { grid-template-columns: 1fr; }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-copy { padding-bottom: 0; }
  .promo-img { padding: 10px 0 60px; }
  .promo-badge { left: 12px; bottom: 80px; }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 44px; padding-bottom: 0; text-align: center; }
  .hero-copy { max-width: none; margin: 0 auto; }
  .hero-slogan { margin: 0 auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .hero-rubrica { margin: 0 auto; }
  .hero-art { height: 380px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-mascot { left: 8%; }
}

@media (max-width: 640px) {
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar a { margin: 0 8px; }
  .topbar a:not(:first-child) { display: none; }
  .brand img { height: 50px; }
  .section { padding: 70px 0; }
  .hero p { font-size: 16px; }
  .stat strong { font-size: 22px; }
  .stat { padding: 22px 10px; }
  .hero-art { height: 300px; }
  .hero-ice { right: -30px; width: 115%; }
  .products, .segments, .pillars, .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* Compensa el menú fijo al saltar a una sección */
section[id] { scroll-margin-top: 80px; }

/* Ilustraciones de producto */
.art-bg {
  background:
    radial-gradient(circle at 20% 15%, #ffffff 0%, transparent 45%),
    linear-gradient(160deg, #e3f4fb 0%, #bfe3f2 100%);
  display: grid;
  place-items: center;
}
.art { width: 100%; height: 100%; }
.product:hover .art { transform: scale(1.04); }
.art { transition: transform .5s; }

/* Botones extra */
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: #1ebe5a; color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.link-btn {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  justify-self: center;
}
.link-btn:hover { color: var(--accent-dark); }

/* Pedido */
.order {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 26px;
  align-items: start;
}
.order-main { display: grid; gap: 26px; }
.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.order-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}
.order-step {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
}

.order-group {
  padding: 16px;
  margin: 0 -16px 8px;
  border-radius: 12px;
  transition: background .4s;
}
.order-group:last-child { margin-bottom: 0; }
.order-group h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--blue);
  margin-bottom: 10px;
}
.order-group h4 i { margin-right: 6px; }
.order-group.flash { animation: flash 1.8s ease; }
@keyframes flash {
  0%, 60% { background: #fff1e6; box-shadow: inset 0 0 0 2px var(--accent); }
  100% { background: transparent; box-shadow: none; }
}

.qty-row {
  display: grid;
  grid-template-columns: 1fr auto 56px;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.qty-row:last-child { border-bottom: 0; }
.qty-name { font-weight: 600; color: var(--text); }
.qty-unit { font-size: 13px; color: var(--muted); }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #f8fbfe;
}
.qty button {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.qty button:hover { background: var(--ice-soft); }
.qty input {
  width: 56px;
  height: 38px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: 2px solid var(--blue); outline-offset: -2px; }

.fields { display: grid; gap: 16px; }
.fields label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.fields input,
.fields select,
.fields textarea {
  font: inherit;
  font-weight: 400;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbfe;
  color: var(--text);
  width: 100%;
}
.fields input:focus,
.fields select:focus,
.fields textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 104, 163, .18);
}
.fields [hidden] { display: none; }

.delivery {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.delivery legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  padding: 0;
}
.fields .radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.fields .radio input { width: auto; accent-color: var(--accent); }
.fields .radio i { color: var(--blue); }
.fields .radio:has(input:checked) { border-color: var(--accent); background: #fff6ef; }

.order-summary { position: sticky; top: 96px; }
.summary-card { display: grid; gap: 12px; }
.summary-card h3 { margin-bottom: 6px; }
.summary-list { list-style: none; padding: 0; margin: 0; }
.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.summary-list strong { color: var(--navy); white-space: nowrap; }
.summary-empty { margin: 0; color: var(--muted); font-size: 15px; padding: 10px 0; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0 4px;
}
.summary-total span { color: var(--muted); font-size: 14px; }
.summary-total strong { font-family: var(--font-title); font-size: 22px; color: var(--navy); }
.order-error { margin: 0; color: #c0392b; font-weight: 600; font-size: 14px; min-height: 0; }
.order-error:empty { display: none; }
.summary-note { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.summary-note i { color: var(--blue); }

/* Contacto (sin formulario) */
.contact-grid { align-items: center; }
.contact .map { aspect-ratio: 4 / 3; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }

@media (max-width: 991px) {
  .order { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

@media (max-width: 640px) {
  .order-card { padding: 20px; }
  .order-group { margin: 0 -10px 6px; padding: 12px 10px; }
  .qty-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .qty-unit { display: none; }
  .delivery { grid-template-columns: 1fr; }
}

/* El atributo hidden debe ganarle a los display de arriba */
[hidden] { display: none !important; }

/* Logo Grupo Empresarial Álica */
.group-logo { height: 96px; width: auto; margin: 0 auto 18px; }
.footer-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cfdcf5;
}
.footer-group img {
  height: 92px;
  width: auto;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  box-sizing: content-box;
}
