/* =========================================================
   TECNOFRED — Soluciones Gastronómicas
   Hoja de estilos principal
   ========================================================= */

:root {
  --navy: #0b2540;
  --navy-dark: #071626;
  --navy-light: #123a63;
  --red: #8f1c10;
  --red-dark: #5c0f08;
  --red-bright: #c92a1f;
  --ice: #eaf4fb;
  --ice-2: #dcedf9;
  --gray-900: #1e242b;
  --gray-700: #3f4750;
  --gray-500: #6b7580;
  --gray-200: #e6e9ec;
  --gray-100: #f4f6f8;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 2px 10px rgba(11, 37, 64, 0.08);
  --shadow-md: 0 10px 30px rgba(11, 37, 64, 0.14);
  --shadow-lg: 0 20px 50px rgba(11, 37, 64, 0.22);
  --radius: 14px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; line-height: 1.18; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; color: var(--gray-700); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 12px;
}
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn-primary { background: var(--red-bright); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* =========== Header =========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(7, 22, 38, 0.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background-color .2s ease;
}
/* backdrop-filter creates a containing block for position:fixed descendants
   (the mobile nav lives inside <header>), which would shrink the full-screen
   nav overlay down to the header's own height. Only blur above the nav breakpoint. */
@media (min-width: 1081px) {
  .site-header { backdrop-filter: saturate(160%) blur(8px); }
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: .01em; }
.brand-text span { color: #b9c8d8; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.main-nav { display: flex; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a, .main-nav > ul > li > button.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; color: #fff; font-weight: 600; font-size: 14.5px;
  border-radius: 8px; background: none; border: none; font-family: var(--font); cursor: pointer;
}
.main-nav > ul > li > a:hover, .main-nav > ul > li > button.nav-link:hover,
.main-nav > ul > li.open > button.nav-link { background: rgba(255,255,255,.1); }
.main-nav .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s; }
.main-nav li.open > button .caret { transform: rotate(-135deg); margin-top: 3px; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.main-nav li.open .dropdown, .main-nav li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--navy); font-weight: 600; font-size: 14px; }
.dropdown a:hover { background: var(--ice); color: var(--red-bright); }
.dropdown .dd-cat { display: block; padding: 8px 14px 2px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--gray-500); font-weight: 700; }
@media (min-width: 1081px) {
  .dropdown { min-width: 860px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 18px; }
}

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta .btn { padding: 11px 20px; font-size: 13.5px; }
.header-phone { display: none; }
@media (min-width: 1150px) {
  .header-phone { display: flex; flex-direction: column; color: #fff; font-size: 12.5px; line-height: 1.3; text-align: right; margin-right: 4px; }
  .header-phone strong { font-size: 14.5px; }
}

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
  background: transparent; cursor: pointer; flex-shrink: 0;
}
.nav-toggle span { display: block; height: 2px; width: 20px; background: #fff; margin: 0 auto; border-radius: 2px; }

@media (max-width: 1080px) {
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--navy-dark); overflow-y: auto; padding: 10px 0 40px;
    transform: translateX(-100%); transition: transform .25s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 0 16px; gap: 2px; width: 100%; }
  .main-nav > ul > li > a, .main-nav > ul > li > button.nav-link { width: 100%; justify-content: space-between; padding: 15px 12px; font-size: 16px; }
  .dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.04); display: none; opacity: 1; visibility: visible; transform: none; margin: 4px 0 8px; }
  .main-nav li.open .dropdown { display: block; }
  .dropdown a { color: #fff; }
  .dropdown a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .dropdown .dd-cat { color: #8ea3b8; }
  .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 480px) {
  .header-cta .btn-whatsapp { display: none; }
  .brand img { height: 34px; }
  .site-header .container { padding: 0 16px; }
}
body.nav-open { overflow: hidden; }

/* =========== Hero =========== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-h); overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--red) 100%);
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(11,37,64,.94) 0%, rgba(11,37,64,.72) 38%, rgba(143,28,16,.55) 75%, rgba(143,28,16,.72) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 60px 0 90px; }
.hero-content .eyebrow { color: #ffcfc5; }
.hero-content h1 { color: #fff; font-size: clamp(34px, 5.4vw, 64px); max-width: 780px; margin-bottom: 20px; }
.hero-content h1 em { font-style: normal; color: #ffb199; }
.hero-content p { color: #e6edf5; font-size: 18px; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 30px; font-weight: 800; color: #fff; }
.hero-stats div span { font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: #cfdbe8; }
.hero-dots { position: absolute; z-index: 2; bottom: 28px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: transparent; padding: 0; cursor: pointer; }
.hero-dots button.active { background: #fff; }
@media (max-width: 640px) {
  .hero-stats { gap: 24px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* =========== Features strip =========== */
.features { background: var(--red); padding: 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { padding: 44px 30px; border-right: 1px solid rgba(255,255,255,.14); color: #fff; }
.feature:last-child { border-right: none; }
.feature .ico { width: 46px; height: 46px; margin-bottom: 18px; }
.feature h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.feature p { color: #f3d9d4; font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } .feature { border-bottom: 1px solid rgba(255,255,255,.14); } }
@media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } }

/* =========== Empresa =========== */
.empresa { background: var(--white); }
.empresa .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.empresa-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.empresa-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.empresa-badge {
  position: absolute; left: -20px; bottom: -20px; background: var(--navy); color: #fff;
  border-radius: 12px; padding: 18px 24px; box-shadow: var(--shadow-lg);
}
.empresa-badge strong { display: block; font-size: 30px; font-weight: 800; }
.empresa-badge span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #cfe0ee; }
.empresa-list { margin: 26px 0 30px; display: grid; gap: 14px; }
.empresa-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--gray-700); font-size: 15px; }
.empresa-list svg { flex-shrink: 0; margin-top: 3px; color: var(--red-bright); }
@media (max-width: 860px) {
  .empresa .grid { grid-template-columns: 1fr; gap: 40px; }
  .empresa-media { order: -1; }
}

/* =========== Productos / categorías =========== */
.productos { background: var(--gray-100); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; height: 300px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,37,64,.92) 0%, rgba(11,37,64,.15) 55%, rgba(11,37,64,0) 75%); }
.cat-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; z-index: 2; color: #fff; }
.cat-card-body h3 { color: #fff; margin-bottom: 6px; font-size: 20px; }
.cat-card-body p { color: #d7e2ee; font-size: 13.5px; margin-bottom: 10px; }
.cat-card-body .link-arrow { font-size: 13.5px; font-weight: 700; color: #ffb199; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* Product listing (category page) */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.prod-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--gray-100); }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .thumb-empty {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; font-size: 12.5px; color: var(--gray-500); background: var(--gray-100);
}
.prod-card .body { padding: 18px 20px 22px; }
.prod-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.prod-card .link-arrow { font-size: 13.5px; font-weight: 700; color: var(--red-bright); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .prod-grid { grid-template-columns: 1fr; } }

.proyecto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proyecto-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  cursor: zoom-in; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  background: var(--gray-100); border: none; padding: 0; display: block; width: 100%;
}
.proyecto-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.proyecto-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proyecto-card:hover img { transform: scale(1.06); }
.proyecto-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,37,64,.85) 0%, rgba(11,37,64,0) 55%); }
.proyecto-card .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; z-index: 2; color: #fff; font-weight: 700; font-size: 14.5px; text-align: left; }
@media (max-width: 900px) { .proyecto-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proyecto-grid { grid-template-columns: 1fr; } }

/* =========== Stats =========== */
.stats { background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 20px; }
.stats-grid strong { display: block; font-size: clamp(30px, 5vw, 46px); font-weight: 800; color: #fff; }
.stats-grid span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #a9bdd1; }

.google-reviews { text-align: center; display: flex; flex-direction: column; align-items: center; }
.google-reviews h2 { color: #fff; margin-bottom: 18px; }
.google-reviews .rating-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.google-reviews .rating-number { font-size: 40px; font-weight: 800; color: #fff; }
.google-reviews .stars { display: flex; gap: 8px; }
.google-reviews .stars svg { width: 26px; height: 26px; fill: #ffb199; }
.google-reviews p { color: #cfdbe8; max-width: 460px; margin: 0 auto 26px; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

/* =========== Clientes =========== */
.clientes { background: var(--white); }
.client-slider { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.client-track { display: flex; align-items: center; gap: 18px; width: max-content; animation: client-scroll 34s linear infinite; }
.client-track.paused { animation-play-state: paused; }
@keyframes client-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logo {
  width: 108px; height: 108px; border-radius: 50%; overflow: hidden; background: var(--gray-100);
  box-shadow: var(--shadow-sm); flex-shrink: 0; border: none; padding: 0; cursor: pointer;
}
.client-logo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); opacity: .72; transition: filter .35s ease, opacity .35s ease, transform .25s ease; }
.client-logo:hover img { transform: scale(1.05); }
.client-logo.active { box-shadow: 0 0 0 3px var(--red-bright), var(--shadow-md); }
.client-logo.active img { filter: grayscale(0%); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .client-track { animation: none; } }

/* =========== Servicios list =========== */
.servicios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.servicio-card { background: var(--gray-100); border-radius: var(--radius); padding: 32px; border-left: 4px solid var(--red-bright); }
.servicio-card .num { font-size: 13px; font-weight: 800; color: var(--red-bright); letter-spacing: .08em; margin-bottom: 10px; display: block; }
.servicio-card h3 { font-size: 19px; margin-bottom: 10px; }
@media (max-width: 760px) { .servicios-grid { grid-template-columns: 1fr; } }

/* =========== CTA band =========== */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, var(--navy) 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e6edf5; max-width: 560px; margin: 0 auto 30px; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========== Contacto =========== */
.contacto-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; }
.info-card h3 { color: #fff; font-size: 18px; }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.info-row:first-of-type { border-top: none; }
.info-row svg { flex-shrink: 0; color: var(--red-bright); margin-top: 2px; }
.info-row strong { display: block; font-size: 14px; margin-bottom: 2px; }
.info-row span, .info-row a { color: #cfdbe8; font-size: 14.5px; }
.info-row a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.social-row a:hover { background: var(--red-bright); }

.form-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border-radius: 9px; border: 1.5px solid var(--gray-200);
  font-family: var(--font); font-size: 14.5px; color: var(--gray-900); background: var(--gray-100);
  transition: border-color .18s, background .18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red-bright); background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--gray-500); margin-top: 12px; text-align: center; }
@media (max-width: 900px) { .contacto-grid { grid-template-columns: 1fr; } }

.map-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* =========== Breadcrumb / page hero (subpáginas) =========== */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--red) 130%);
  color: #fff; padding: calc(var(--header-h) + 56px) 0 56px; text-align: left;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 10px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: #cfdbe8; margin-bottom: 16px; }
.breadcrumb a { color: #cfdbe8; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span[aria-hidden] { color: #7c93a9; }
.page-hero p { color: #e6edf5; max-width: 640px; margin: 0; }

/* =========== Producto detalle =========== */
.producto-detalle { padding-top: 70px; }
.producto-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.producto-layout.no-gallery { grid-template-columns: 1fr; max-width: 720px; }
.producto-gallery-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; background: var(--gray-100); cursor: zoom-in; }
.producto-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.producto-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.producto-thumbs button { width: 74px; height: 74px; border-radius: 9px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--gray-100); }
.producto-thumbs button.active { border-color: var(--red-bright); }
.producto-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.producto-info .cat-tag { display: inline-block; background: var(--ice); color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.producto-info h1 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 14px; }
.caract-list { display: grid; gap: 11px; margin: 22px 0 30px; }
.caract-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--gray-700); }
.caract-list svg { flex-shrink: 0; margin-top: 3px; color: var(--red-bright); }
.producto-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 860px) { .producto-layout { grid-template-columns: 1fr; gap: 30px; } }

.related-title { font-size: 20px; margin-bottom: 22px; }

/* =========== Lightbox =========== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(7,22,38,.94);
  display: none; align-items: center; justify-content: center; padding: 40px 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.lightbox-close:hover { background: var(--red-bright); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 22px; cursor: pointer; }
.lightbox-nav:hover { background: var(--red-bright); }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }
.lightbox-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #dfe8f1; font-size: 14px; }

/* =========== Footer =========== */
.site-footer { background: var(--navy-dark); color: #cfdbe8; padding: 68px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: #92a6ba; font-size: 14px; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: 14.5px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 11px; }
.site-footer ul a { color: #a9bdd1; font-size: 14.5px; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; flex-wrap: wrap; gap: 10px; color: #7c93a9; font-size: 13px; }
.footer-bottom a { color: #a9bdd1; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========== WhatsApp float =========== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 800;
  width: 62px; height: 62px; border-radius: 50%; background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.28);
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { background: var(--whatsapp-dark); }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 14px rgba(37,211,102,0); } }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; } }

/* =========== Utilities =========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; color: var(--navy); padding: 12px 18px;
  z-index: 3000; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; }
