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

:root {
  --azul:        #00347A;
  --azul-hover:  #002460;
  --azul-medio:  #0056B3;
  --azul-claro:  #E8F2FF;
  --azul-borde:  #C2D7F5;
  --fondo:       #F4F6F9;
  --blanco:      #FFFFFF;
  --texto:       #0D1B3E;
  --texto-2:     #3D5080;
  --texto-3:     #6B7FA6;
  --borde:       #D1D9E6;
  --exito:       #16A34A;
  --font:        'Inter', sans-serif;
  --radius:      8px;
  --radius-lg:   14px;
  --t:           0.2s ease;
  --header-h:    152px;
  --container:   1180px;
  --shadow-sm:   0 1px 4px rgba(0,52,122,.07);
  --shadow-md:   0 4px 20px rgba(0,52,122,.10);
  --shadow-lg:   0 8px 40px rgba(0,52,122,.14);
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--fondo); color: var(--texto); line-height: 1.6; overflow-x: hidden; max-width: 100%; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--azul-medio); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--azul); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.6rem; border-radius: var(--radius);
  font-family: var(--font); font-weight: 600; font-size: .9rem;
  letter-spacing: .01em; cursor: pointer; border: none;
  transition: all var(--t); text-decoration: none; white-space: nowrap;
  min-height: 46px;
}
.btn-primary   { background: var(--azul);        color: var(--blanco); }
.btn-primary:hover { background: var(--azul-hover); color: var(--blanco); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline   { background: transparent; color: var(--azul); border: 2px solid var(--azul); }
.btn-outline:hover { background: var(--azul); color: var(--blanco); }
.btn-wa        { background: #25D366; color: var(--blanco); }
.btn-wa:hover  { background: #1ebe5c; color: var(--blanco); transform: translateY(-1px); }
.btn-ghost     { background: rgba(255,255,255,.12); color: var(--blanco); border: 1.5px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: var(--blanco); }
.btn-sm        { padding: .45rem 1.1rem; font-size: .82rem; min-height: 38px; }
.btn svg       { flex-shrink: 0; }

/* ─── Section headers ───────────────────────────────────────────────────────── */
.section-header { margin-bottom: 2.75rem; }
.section-header--center { text-align: center; }
.section-header--center .section-header__desc { margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--azul-medio); margin-bottom: .6rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  color: var(--texto); line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.section-header__desc {
  color: var(--texto-2); font-size: 1rem; max-width: 560px; line-height: 1.7;
}

/* ─── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h); background: var(--blanco);
  border-bottom: 1px solid var(--borde); box-shadow: var(--shadow-sm);
}
.site-header .container {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.site-logo img {
  display: block; height: 138px; width: auto;
  object-fit: contain; object-position: left center;
}

/* Nav */
#fc-nav-toggle { display: none; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; background: none; border: none;
  min-width: 46px; min-height: 46px; align-items: center; justify-content: center;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--texto); border-radius: 2px; transition: all var(--t);
}
#fc-nav-toggle:checked ~ .site-header .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
#fc-nav-toggle:checked ~ .site-header .hamburger span:nth-child(2) { opacity: 0; }
#fc-nav-toggle:checked ~ .site-header .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.primary-nav {
  display: flex; align-items: center; gap: .2rem; list-style: none;
}
.primary-nav a {
  display: block; padding: .5rem .85rem; color: var(--texto-2);
  font-size: .88rem; font-weight: 500; border-radius: var(--radius);
  transition: all var(--t); text-decoration: none;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { color: var(--azul); background: var(--azul-claro); }

.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

@media (max-width: 1020px) {
  .hamburger { display: flex; }
  .primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--blanco); border-top: 2px solid var(--azul);
    flex-direction: column; align-items: stretch; padding: .75rem;
    box-shadow: var(--shadow-lg); max-height: 0; overflow: hidden;
    transition: max-height .3s ease; z-index: 999;
  }
  #fc-nav-toggle:checked ~ .site-header .primary-nav { max-height: 600px; }
  .primary-nav a { padding: .85rem 1rem; border-bottom: 1px solid var(--borde); font-size: 1rem; }
  .header-actions .btn-primary { display: none; }
}
.nav-overlay { display: none; }
#fc-nav-toggle:checked ~ .nav-overlay { display: block; position: fixed; inset: 0; z-index: 998; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  background: linear-gradient(135deg, var(--azul) 0%, #0056B3 55%, #0078D4 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.92); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: .35rem .85rem;
  border-radius: 100px; margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: var(--blanco);
  line-height: 1.08; letter-spacing: -.02em; margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: #7ECBFF; }
.hero__lead {
  color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.7;
  margin-bottom: 2rem; max-width: 500px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__stats   { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat .num   { font-size: 1.9rem; font-weight: 800; color: var(--blanco); line-height: 1; }
.hero-stat .label { font-size: .72rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; }

.hero__visual {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
  backdrop-filter: blur(4px);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem; padding: 2rem;
}
.hero__visual-placeholder svg { width: 80px; height: 80px; opacity: .5; color: var(--blanco); }
.hero__visual-placeholder p   { color: rgba(255,255,255,.6); font-size: .9rem; text-align: center; }

@media (max-width: 820px) {
  .hero__grid    { grid-template-columns: 1fr; }
  .hero__visual  { display: none; }
  .hero { padding-bottom: 3.5rem; }
}

/* ─── Trust bar ─────────────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--blanco); border-bottom: 1px solid var(--borde);
  padding: 1.25rem 0;
}
.trust-bar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; font-weight: 500; color: var(--texto-2);
}
.trust-item svg { width: 20px; height: 20px; color: var(--azul-medio); flex-shrink: 0; }

/* ─── Categorías ─────────────────────────────────────────────────────────────── */
.section-categorias { background: var(--blanco); }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1.25rem 1.75rem; background: var(--fondo);
  border: 1.5px solid var(--borde); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--texto); gap: 1rem;
  transition: all var(--t); min-width: 0;
}
.cat-card:hover {
  border-color: var(--azul-medio); background: var(--azul-claro);
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  color: var(--texto);
}
.cat-icon {
  width: 56px; height: 56px; background: var(--azul-claro); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--azul); flex-shrink: 0;
}
.cat-icon svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: .92rem; font-weight: 700; line-height: 1.3; }
.cat-card .cat-count { font-size: .75rem; color: var(--texto-3); }

/* ─── Products grid ──────────────────────────────────────────────────────────── */
.section-productos { background: var(--fondo); }
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--blanco); border: 1.5px solid var(--borde);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--t); display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  border-color: var(--azul-medio); box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.product-card__img {
  aspect-ratio: 4/3; overflow: hidden; background: var(--fondo);
  position: relative;
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__img .no-img {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; color: var(--borde);
}
.product-card__img .no-img svg { width: 64px; height: 64px; }
.product-card__badges {
  position: absolute; top: .75rem; left: .75rem; display: flex; gap: .35rem;
}
.product-card__body { padding: .85rem 1rem; flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.product-card__cats { display: flex; gap: .35rem; flex-wrap: wrap; }
.cat-tag {
  font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; color: var(--azul-medio);
  background: var(--azul-claro); border-radius: 4px; padding: .15rem .5rem;
}
.product-card__codigo { font-size: .72rem; color: var(--texto-3); font-family: 'Menlo', monospace; }
.product-card__body h3 { font-size: .82rem; font-weight: 600; line-height: 1.25; color: var(--texto); }
.product-card__body h3 a { color: inherit; text-decoration: none; }
.product-card__body h3 a:hover { color: var(--azul-medio); }
.product-card__specs {
  display: flex; flex-wrap: wrap; gap: .35rem .75rem;
  font-size: .78rem; color: var(--texto-3);
}
.spec-chip { display: flex; align-items: center; gap: .3rem; }
.spec-chip svg { width: 12px; height: 12px; flex-shrink: 0; }
.product-card__footer {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .9rem 1.25rem; border-top: 1px solid var(--borde);
  background: var(--fondo);
}

/* Estado */
.fc-estado {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; padding: .2rem .55rem; border-radius: 4px;
}
.fc-estado--disponible  { background: #D1FAE5; color: #065F46; }
.fc-estado--importacion { background: #FEF3C7; color: #92400E; }
.fc-estado--consultar   { background: var(--azul-claro); color: var(--azul); }

/* ─── Archivo / listado ──────────────────────────────────────────────────────── */
.page-archivo { padding: calc(var(--header-h) + 3rem) 0 5rem; }
.archivo-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }

.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.sidebar-widget {
  background: var(--blanco); border: 1.5px solid var(--borde);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.1rem;
}
.sidebar-widget__title {
  padding: .75rem 1.1rem; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--texto-3);
  background: var(--fondo); border-bottom: 1px solid var(--borde);
}
.sidebar-list { list-style: none; padding: .4rem 0; }
.sidebar-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 1.1rem; font-size: .86rem; color: var(--texto-2);
  text-decoration: none; transition: all var(--t);
}
.sidebar-list li a:hover { color: var(--azul); background: var(--azul-claro); }
.sidebar-list li a.current { color: var(--azul); font-weight: 600; }
.sidebar-list .count {
  font-size: .72rem; background: var(--fondo); border-radius: 4px;
  padding: .1rem .4rem; color: var(--texto-3);
}
.sidebar-cta { padding: 1.1rem; }
.sidebar-cta p { font-size: .82rem; color: var(--texto-3); line-height: 1.6; margin-bottom: 1rem; }

@media (max-width: 860px) {
  .archivo-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ─── Single producto ────────────────────────────────────────────────────────── */
.single-producto { padding: calc(var(--header-h) + 3rem) 0 5rem; }
.single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.single-gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.gallery-main {
  aspect-ratio: 1; background: var(--fondo);
  border: 1.5px solid var(--borde); border-radius: var(--radius-lg); overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.gallery-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .75rem; color: var(--borde);
}
.gallery-placeholder svg { width: 72px; height: 72px; }
.gallery-placeholder span { font-size: .8rem; color: var(--texto-3); }

.single-info { display: flex; flex-direction: column; gap: 1.5rem; }
.breadcrumb  { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--texto-3); flex-wrap: wrap; }
.breadcrumb a { color: var(--texto-3); } .breadcrumb a:hover { color: var(--azul-medio); }
.breadcrumb .sep { color: var(--borde); }

.single-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }

.specs-table {
  border: 1.5px solid var(--borde); border-radius: var(--radius); overflow: hidden;
}
.specs-table__head {
  padding: .7rem 1.1rem; font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--texto-3); background: var(--fondo);
  border-bottom: 1px solid var(--borde);
}
.specs-row { display: flex; border-bottom: 1px solid var(--borde); }
.specs-row:last-child { border-bottom: none; }
.specs-key { width: 140px; flex-shrink: 0; padding: .65rem 1.1rem; font-size: .82rem; color: var(--texto-3); background: var(--fondo); border-right: 1px solid var(--borde); }
.specs-val { padding: .65rem 1.1rem; font-size: .85rem; font-weight: 500; flex: 1; }

.price-box {
  background: var(--azul-claro); border: 1.5px solid var(--azul-borde);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
}
.price-box .price-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--azul); margin-bottom: .3rem; }
.price-box .price-val   { font-size: 1.15rem; font-weight: 600; color: var(--texto-2); }

.single-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.single-actions .btn { flex: 1; justify-content: center; min-width: 140px; }

@media (max-width: 768px) {
  .single-grid { grid-template-columns: 1fr; gap: 2rem; }
  .single-gallery { position: static; }
}

/* ─── Features ───────────────────────────────────────────────────────────────── */
.section-features { background: var(--azul); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.feature-item { text-align: center; padding: 2rem 1.5rem; }
.feature-icon {
  width: 60px; height: 60px; background: rgba(255,255,255,.12); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem;
  color: var(--blanco);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-item h3 { font-size: .92rem; font-weight: 700; color: var(--blanco); margin-bottom: .4rem; }
.feature-item p  { font-size: .84rem; color: rgba(255,255,255,.68); line-height: 1.6; }

/* ─── Marcas banner ──────────────────────────────────────────────────────────── */
.section-aplicaciones { background: var(--blanco); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.aplicaciones-row { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.aplica-chip {
  padding: .5rem 1.25rem; border: 1.5px solid var(--borde); border-radius: 100px;
  font-size: .82rem; font-weight: 600; color: var(--texto-2); text-decoration: none;
  transition: all var(--t);
}
.aplica-chip:hover { border-color: var(--azul-medio); color: var(--azul); background: var(--azul-claro); }

/* ─── CTA ────────────────────────────────────────────────────────────────────── */
.section-cta { background: var(--fondo); text-align: center; }
.section-cta h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: .9rem; letter-spacing: -.02em; }
.section-cta p  { color: var(--texto-2); font-size: 1rem; max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-actions    { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ─── Contacto ───────────────────────────────────────────────────────────────── */
.section-contacto { background: var(--blanco); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contacto-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: .9rem; letter-spacing: -.02em; }
.contacto-info p  { color: var(--texto-2); line-height: 1.7; margin-bottom: 2rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-item { display: flex; align-items: flex-start; gap: .85rem; }
.contact-icon {
  width: 40px; height: 40px; background: var(--azul-claro); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: var(--azul); flex-shrink: 0;
}
.contact-icon svg  { width: 18px; height: 18px; }
.contact-text strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--texto-3); margin-bottom: .15rem; }
.contact-text span   { font-size: .9rem; color: var(--texto); }
.contact-text a      { color: var(--texto); }
.contact-text a:hover { color: var(--azul-medio); }

.form-card {
  background: var(--fondo); border: 1.5px solid var(--borde);
  border-radius: var(--radius-lg); padding: 2rem 2.25rem;
}
.form-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--texto-3);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .72rem 1rem; background: var(--blanco); border: 1.5px solid var(--borde);
  border-radius: var(--radius); color: var(--texto); font-family: var(--font);
  font-size: .9rem; outline: none; transition: border-color var(--t);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--azul-medio); }
.form-group textarea { min-height: 110px; resize: vertical; }
.hp-field  { display: none !important; }
.form-note { font-size: .76rem; color: var(--texto-3); margin-bottom: .9rem; }
.form-result {
  padding: .8rem 1rem; border-radius: var(--radius); font-size: .88rem;
  margin-top: .9rem; display: none;
}
.form-result.success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.form-result.error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

@media (max-width: 768px) {
  .contacto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem; }
}

/* ─── WhatsApp flotante ──────────────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 990;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.4); text-decoration: none;
  transition: all var(--t);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 26px rgba(37,211,102,.55); color: var(--blanco); }
.wa-float svg   { width: 28px; height: 28px; fill: var(--blanco); }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--texto); color: rgba(255,255,255,.78); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .site-logo { margin-bottom: 1rem; }
.footer-brand .site-logo .logo-text strong { color: var(--blanco); }
.footer-brand .site-logo .logo-text span   { color: rgba(255,255,255,.45); }
.footer-brand p { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.55); margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: .65rem; }
.footer-social-link {
  width: 36px; height: 36px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); transition: all var(--t); text-decoration: none;
}
.footer-social-link:hover { border-color: var(--azul-medio); color: var(--blanco); }
.footer-social-link svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.4); margin-bottom: 1.1rem; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a { font-size: .87rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--t); }
.footer-nav a:hover { color: var(--blanco); }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .55rem; font-size: .84rem; color: rgba(255,255,255,.55); }
.footer-contact li svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--azul-medio); }
.footer-contact a { color: rgba(255,255,255,.55); } .footer-contact a:hover { color: var(--blanco); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.38); }
.footer-bottom .powered { color: #7ECBFF; font-weight: 600; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ─── Paginación ─────────────────────────────────────────────────────────────── */
.paginacion { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.paginacion a, .paginacion span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius); border: 1.5px solid var(--borde);
  font-size: .88rem; text-decoration: none; color: var(--texto-2); transition: all var(--t);
}
.paginacion a:hover { border-color: var(--azul-medio); color: var(--azul); background: var(--azul-claro); }
.paginacion .current { background: var(--azul); color: var(--blanco); border-color: var(--azul); }

/* ─── Utilities ──────────────────────────────────────────────────────────────── */
.scroll-margin { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.no-content { text-align: center; padding: 4rem 2rem; color: var(--texto-3); }
.no-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .6rem; color: var(--texto-2); }

/* ─── Search bar ─────────────────────────────────────────────────────────────── */
.search-bar-section { background: var(--blanco); border-bottom: 1px solid var(--borde); padding: 1.5rem 0; }
.search-form {
  display: flex; max-width: 640px; margin: 0 auto;
  border: 1.5px solid var(--borde); border-radius: var(--radius); overflow: hidden;
  background: var(--fondo); transition: border-color var(--t);
}
.search-form:focus-within { border-color: var(--azul-medio); }
.search-form input[type="search"] {
  flex: 1; padding: .8rem 1.1rem; background: transparent; border: none;
  color: var(--texto); font-family: var(--font); font-size: .95rem; outline: none;
}
.search-form input::placeholder { color: var(--texto-3); }
.search-form button {
  padding: 0 1.25rem; background: var(--azul); border: none; color: var(--blanco);
  cursor: pointer; font-family: var(--font); font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; transition: background var(--t);
  min-height: 46px;
}
.search-form button:hover { background: var(--azul-hover); }

/* ─── Responsive final ───────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .cats-grid     { grid-template-columns: 1fr 1fr; }
  .productos-grid{ grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__stats   { gap: 1.5rem; }
  .cta-actions   { flex-direction: column; align-items: center; }
}


/* ─── Envíos a todo Chile ─────────────────────────────────────────── */
.section-envios { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.envios-card {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: linear-gradient(135deg, #00347A 0%, #0056B3 100%);
  border-radius: 22px; padding: clamp(1.75rem, 4vw, 3rem);
  color: #fff; box-shadow: 0 24px 60px -28px rgba(0,52,122,.55); overflow: hidden; position: relative;
}
.envios-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(126,203,255,.25), transparent 70%); pointer-events: none;
}
.eyebrow--light { color: #7ECBFF; }
.envios-card__text h2 { color: #fff; margin: .35rem 0 .75rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.envios-card__lead { color: rgba(255,255,255,.85); margin: 0 0 1.25rem; max-width: 46ch; line-height: 1.6; }
.envios-feats { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .9rem; }
.envios-feats li { display: flex; gap: .85rem; align-items: flex-start; }
.envios-feats svg { width: 26px; height: 26px; color: #7ECBFF; flex: none; margin-top: 2px; }
.envios-feats strong { display: block; font-size: .98rem; }
.envios-feats span { color: rgba(255,255,255,.72); font-size: .9rem; }
.envios-card__badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px; padding: 1.75rem 1.25rem; backdrop-filter: blur(4px);
}
.envios-card__badge > svg { width: 64px; height: 64px; color: #7ECBFF; }
.envios-card__badge-txt { font-size: 1.35rem; line-height: 1.1; font-weight: 800; }
.envios-card__badge-txt b { color: #7ECBFF; }
.envios-card__badge > span { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.gallery-main--empty { display: flex; align-items: center; justify-content: center; min-height: 280px; background: var(--gris-fondo, #F4F6F9); border-radius: 14px; }
@media (max-width: 860px) {
  .envios-card { grid-template-columns: 1fr; }
  .envios-card__badge { order: -1; flex-direction: row; gap: 1rem; padding: 1.1rem 1.25rem; }
  .envios-card__badge > svg { width: 44px; height: 44px; }
}
