/* =============================================
   Autos Seminuevos Gómez — style.css
   Diseño: Outline UI (60%) + Y2K/Cybercore (30%) + Neo-Brutalismo (10%)
   Fuentes: Outfit (titular) + Newsreader (cuerpo)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Newsreader:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ---- Variables ---- */
:root {
  --color-primario:    hsl(56, 68%, 42%);
  --color-secundario:  hsl(197, 55%, 36%);
  --color-acento:      hsl(312, 80%, 58%);
  --color-fondo:       hsl(56, 25%, 97%);
  --color-texto:       hsl(0, 0%, 10%);
  --color-borde:       hsl(0, 0%, 15%);
  --color-muted:       hsl(0, 0%, 45%);
  --color-card-bg:     hsl(0, 0%, 100%);
  --color-overlay:     hsla(197, 55%, 36%, 0.08);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'Newsreader', Georgia, serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-brutal: 4px 4px 0 var(--color-texto);
  --shadow-y2k: 0 0 20px hsla(197, 55%, 36%, 0.25), 0 4px 16px rgba(0,0,0,0.12);
  --border-std: 1.5px solid var(--color-borde);
  --border-thick: 3px solid var(--color-texto);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);

  --header-height: 64px;
  --container: 1160px;
}

/* ---- Reset base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--color-fondo);
  color: var(--color-texto);
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.2; }
p { margin-bottom: 0.9em; }
p:last-child { margin-bottom: 0; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---- Layout helpers ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ========== HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: hsla(56, 25%, 97%, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-std);
  height: var(--header-height);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: 1rem;
}
.nav-left, .nav-right {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav-right { justify-content: flex-end; }
.nav-link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  border-color: var(--color-secundario);
  color: var(--color-secundario);
  background: var(--color-overlay);
}
.header-logo {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  letter-spacing: -0.01em; color: var(--color-texto);
  text-decoration: none;
}
.header-logo img, .header-logo svg { height: 40px; width: auto; }
.header-logo span { display: none; }

/* Burger */
.burger-btn {
  display: none; background: none; border: var(--border-std);
  border-radius: var(--radius); padding: 0.4rem;
  flex-direction: column; gap: 4px; cursor: pointer;
}
.burger-btn span { display: block; width: 20px; height: 2px; background: var(--color-texto); border-radius: 2px; transition: var(--transition); }
.burger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; inset: var(--header-height) 0 0 0;
  background: var(--color-fondo); z-index: 850; padding: 2rem 1.5rem;
  overflow-y: auto; flex-direction: column; gap: 0.5rem;
  border-top: var(--border-std);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { font-size: 1.1rem; padding: 0.75rem 1rem; border: var(--border-std); margin-bottom: 0.25rem; }

/* Header search bar */
.header-search {
  position: relative; max-width: 220px; width: 100%;
}
.header-search input {
  width: 100%; padding: 0.35rem 2.2rem 0.35rem 0.75rem;
  border: var(--border-std); border-radius: 20px;
  background: transparent; font-family: var(--font-display);
  font-size: 0.8rem; color: var(--color-texto);
  transition: var(--transition);
}
.header-search input:focus { outline: none; border-color: var(--color-secundario); box-shadow: 0 0 0 2px hsla(197,55%,36%,0.15); }
.header-search button {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; padding: 0; color: var(--color-muted); font-size: 0.9rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-texto);
  color: var(--color-fondo);
  border-top: 3px solid var(--color-primario);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand p { font-size: 0.88rem; opacity: 0.75; margin-top: 0.75rem; }
.footer-logo-wrap { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.footer-logo-wrap svg { filter: brightness(10); height: 36px; }
.footer-logo-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.footer-col h3 {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primario);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.85rem; opacity: 0.8; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--color-primario); }
.footer-contact-item { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.84rem; opacity: 0.82; margin-bottom: 0.5rem; }
.footer-contact-item a { opacity: 1; transition: var(--transition); }
.footer-contact-item a:hover { color: var(--color-primario); }
.footer-bottom {
  border-top: 1px solid hsla(0,0%,100%,0.12);
  padding-top: 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; opacity: 0.55; }
/* Social icons */
.social-group { display: flex; align-items: center; gap: 0.6rem; }
.social-group a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1.5px solid hsla(0,0%,100%,0.25);
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--color-fondo);
}
.social-group a:hover { border-color: var(--color-primario); background: hsla(56,68%,42%,0.15); color: var(--color-primario); }
.social-group a svg { width: 18px; height: 18px; fill: currentColor; }
.social-label { font-size: 0.78rem; opacity: 0.55; margin-right: 0.25rem; }

/* Payment badges in footer */
.payment-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.badge-pay {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  border: 1px solid hsla(0,0%,100%,0.25); border-radius: 4px;
  padding: 0.15rem 0.5rem; opacity: 0.75;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.01em; padding: 0.65rem 1.5rem;
  border-radius: var(--radius); border: 2px solid transparent;
  transition: var(--transition); cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--color-primario); color: #fff;
  border-color: var(--color-primario);
}
.btn-primary:hover { background: transparent; color: var(--color-primario); }
.btn-outline {
  background: transparent; color: var(--color-secundario);
  border-color: var(--color-secundario);
}
.btn-outline:hover { background: var(--color-secundario); color: #fff; }
.btn-brutal {
  background: var(--color-acento); color: #fff;
  border: var(--border-thick); border-radius: 0;
  box-shadow: var(--shadow-brutal);
  transition: none;
}
.btn-brutal:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--color-texto); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-wa {
  background: #25d366; color: #fff; border-color: #25d366;
}
.btn-wa:hover { background: #1da851; border-color: #1da851; }

/* ========== CARDS — Outline UI ========== */
.card {
  background: var(--color-card-bg);
  border: var(--border-std);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-y2k); border-color: var(--color-secundario); }
.card-img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  background: linear-gradient(135deg, hsl(197,55%,92%), hsl(56,25%,90%));
  display: flex; align-items: center; justify-content: center;
}
.card-img svg { width: 100%; max-width: 280px; height: auto; }
.card-body { padding: 1.25rem; }
.card-tag {
  display: inline-block; font-family: var(--font-display); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border: 1.5px solid var(--color-secundario);
  border-radius: 20px; color: var(--color-secundario); margin-bottom: 0.6rem;
}
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.card-desc { font-size: 0.84rem; color: var(--color-muted); margin-bottom: 0.9rem; }
.card-price {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  color: var(--color-primario); margin-bottom: 0.75rem;
}
.card-price .currency { font-size: 0.9rem; font-weight: 500; opacity: 0.7; }
.card-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.card-meta span {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 500;
  color: var(--color-muted); display: flex; align-items: center; gap: 0.3rem;
}
.card-footer { display: flex; gap: 0.5rem; padding-top: 0.75rem; border-top: 1px solid hsl(0,0%,90%); }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: linear-gradient(160deg, hsl(197,55%,96%) 0%, var(--color-fondo) 60%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 80% 30%, hsla(197,55%,36%,0.06) 0%, transparent 60%),
    radial-gradient(circle at 20% 70%, hsla(56,68%,42%,0.08) 0%, transparent 50%);
  pointer-events: none;
}
/* Y2K grid decoration */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: repeating-linear-gradient(
    90deg,
    hsla(197,55%,36%,0.05) 0px, hsla(197,55%,36%,0.05) 1px,
    transparent 1px, transparent 40px
  );
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-eyebrow {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-secundario);
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 30px; height: 2px; background: var(--color-secundario); }
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
  margin-bottom: 1rem; line-height: 1.1;
}
.hero h1 em { font-style: normal; color: var(--color-secundario); }
.hero .bajada { font-size: 1.05rem; color: var(--color-muted); margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-stats {
  margin-top: 3rem; display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: var(--border-std);
}
.stat { font-family: var(--font-display); }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--color-primario); }
.stat span { font-size: 0.78rem; color: var(--color-muted); }

/* Hero search */
.hero-search {
  margin-top: 2.5rem;
  display: flex; max-width: 520px;
  border: 2px solid var(--color-borde); border-radius: var(--radius);
  overflow: hidden; background: #fff;
  box-shadow: var(--shadow-brutal);
}
.hero-search input {
  flex: 1; padding: 0.85rem 1rem;
  border: none; outline: none;
  font-family: var(--font-display); font-size: 0.9rem; color: var(--color-texto);
  background: transparent;
}
.hero-search button {
  background: var(--color-secundario); color: #fff;
  border: none; padding: 0 1.25rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.02em; transition: var(--transition);
}
.hero-search button:hover { background: hsl(197,55%,28%); }

/* ========== SECTION TITLES ========== */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 0.5rem;
}
.section-sub { font-size: 0.95rem; color: var(--color-muted); margin-bottom: 2.5rem; }
.section-header { margin-bottom: 2.5rem; }
.section-header.centered { text-align: center; }

/* Decorative accent line */
.accent-line {
  display: block; width: 48px; height: 3px;
  background: var(--color-acento); margin-bottom: 0.75rem;
  border-radius: 2px;
}
.centered .accent-line { margin-left: auto; margin-right: auto; }

/* ========== CATALOG FILTERS ========== */
.catalog-toolbar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding: 1rem 1.25rem; border: var(--border-std); border-radius: var(--radius);
  background: #fff; margin-bottom: 2rem;
}
.filter-group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.filter-group label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--color-muted); }
.filter-select, .filter-input {
  font-family: var(--font-display); font-size: 0.82rem;
  padding: 0.4rem 0.75rem; border: var(--border-std);
  border-radius: var(--radius); background: var(--color-fondo);
  color: var(--color-texto); transition: var(--transition);
}
.filter-select:focus, .filter-input:focus { outline: none; border-color: var(--color-secundario); }
.filter-pills { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter-pill {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border: 1.5px solid var(--color-borde);
  border-radius: 20px; background: transparent; color: var(--color-texto);
  cursor: pointer; transition: var(--transition);
}
.filter-pill.active, .filter-pill:hover {
  border-color: var(--color-secundario); color: var(--color-secundario);
  background: var(--color-overlay);
}
.results-count { font-family: var(--font-display); font-size: 0.82rem; color: var(--color-muted); margin-left: auto; }
#no-results {
  text-align: center; padding: 4rem 2rem; display: none;
  font-family: var(--font-display); color: var(--color-muted);
}

/* ========== PROCESS STEPS ========== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.step {
  border: var(--border-std); border-radius: var(--radius);
  padding: 1.5rem; position: relative; background: #fff;
  transition: var(--transition);
}
.step:hover { border-color: var(--color-primario); }
.step-num {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.06em; color: var(--color-acento);
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.84rem; color: var(--color-muted); }

/* ========== FAQ / ACCORDION ========== */
.faq-item {
  border: var(--border-std); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 0.75rem; background: #fff;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.faq-question:hover { color: var(--color-secundario); }
.faq-question[aria-expanded="true"] { color: var(--color-secundario); }
.faq-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-secundario); transition: var(--transition); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  font-size: 0.88rem; padding: 0 1.25rem;
}
.faq-answer.open { max-height: 500px; padding: 0 1.25rem 1rem; }
.faq-answer p { color: var(--color-muted); }

/* ========== BLOG CARDS ========== */
.blog-card { border: var(--border-std); border-radius: var(--radius); background: #fff; overflow: hidden; transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-y2k); border-color: var(--color-secundario); transform: translateY(-2px); }
.blog-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, hsl(197,55%,90%), hsl(56,25%,88%)); display: flex; align-items: center; justify-content: center; }
.blog-card-body { padding: 1.25rem; }
.blog-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.6rem; font-family: var(--font-display); font-size: 0.75rem; color: var(--color-muted); }
.blog-meta .tag { color: var(--color-secundario); font-weight: 700; }
.blog-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.83rem; color: var(--color-muted); }
.blog-card a { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--color-secundario); margin-top: 0.75rem; }
.blog-card a:hover { text-decoration: underline; }

/* ========== GALLERY / LIGHTBOX ========== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem;
}
.gallery-item {
  border: var(--border-std); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; position: relative;
  aspect-ratio: 4/3; background: hsl(197,25%,93%);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.gallery-item:hover { border-color: var(--color-acento); box-shadow: var(--shadow-y2k); }
.gallery-item svg { width: 70%; height: 70%; transition: var(--transition); }
.gallery-item:hover svg { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0; background: hsla(197,55%,36%,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition); color: #fff;
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.9); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-content { position: relative; max-width: 85vw; max-height: 85vh; }
.lightbox-content svg { max-width: 100%; max-height: 80vh; }
.lightbox-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  background: none; border: 2px solid #fff; border-radius: 50%;
  width: 44px; height: 44px; color: #fff; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.lightbox-caption { color: #fff; text-align: center; margin-top: 0.75rem; font-size: 0.85rem; }

/* ========== FORMS ========== */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; }
.form-control {
  width: 100%; padding: 0.7rem 1rem;
  border: var(--border-std); border-radius: var(--radius);
  background: #fff; font-family: var(--font-body); font-size: 0.92rem;
  color: var(--color-texto); transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--color-secundario); box-shadow: 0 0 0 3px hsla(197,55%,36%,0.12); }
.form-control.error { border-color: hsl(0,80%,55%); }
.form-error { font-size: 0.75rem; color: hsl(0,80%,55%); margin-top: 0.3rem; display: none; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ========== MAP / CONTACT ========== */
.map-wrap {
  border: var(--border-std); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/8; background: hsl(197,30%,90%);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.contact-info-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  border: var(--border-std); border-radius: var(--radius); padding: 1rem;
  background: #fff;
}
.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 1.5px solid var(--color-secundario); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-secundario);
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-label { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.2rem; }
.contact-info-val { font-size: 0.88rem; font-weight: 500; }
.contact-info-val a { color: var(--color-secundario); }

/* ========== FLOATING BUTTONS ========== */
.floating-group {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  display: flex; flex-direction: column; gap: 0.65rem; z-index: 800;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid transparent; box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: var(--transition); position: relative;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
.float-btn svg { width: 24px; height: 24px; }
.float-wa { background: #25d366; color: #fff; }
.float-tel { background: var(--color-secundario); color: #fff; }
.float-chat { background: var(--color-primario); color: #fff; }
.float-label {
  position: absolute; right: calc(100% + 10px);
  background: rgba(0,0,0,0.8); color: #fff;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  padding: 0.25rem 0.5rem; border-radius: 4px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.float-btn:hover .float-label { opacity: 1; }

/* ========== COOKIE CONSENT ========== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000;
  background: var(--color-texto); color: var(--color-fondo);
  padding: 1.25rem 1.5rem;
  display: none; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  border-top: 3px solid var(--color-primario);
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { font-size: 0.85rem; opacity: 0.85; max-width: 600px; }
.cookie-banner p a { color: var(--color-primario); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--color-primario); color: #fff;
  border: none; padding: 0.55rem 1.25rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; cursor: pointer;
}
.cookie-reject {
  background: transparent; color: var(--color-fondo);
  border: 1.5px solid hsla(0,0%,100%,0.35);
  padding: 0.55rem 1.25rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; cursor: pointer;
}

/* ========== CHATBOT ========== */
.chat-panel {
  position: fixed; bottom: 7rem; right: 1.5rem; width: 320px;
  background: #fff; border: var(--border-thick); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-y2k); z-index: 799;
  display: none; flex-direction: column; overflow: hidden;
  max-height: 480px;
}
.chat-panel.open { display: flex; }
.chat-header {
  background: var(--color-secundario); color: #fff; padding: 0.85rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header h4 { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; }
.chat-close { background: none; border: none; color: #fff; font-size: 1.1rem; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.chat-msg {
  font-size: 0.82rem; padding: 0.6rem 0.85rem; border-radius: var(--radius);
  max-width: 85%; line-height: 1.5;
}
.chat-msg.bot { background: hsl(197,25%,95%); border: 1px solid hsl(197,25%,88%); align-self: flex-start; }
.chat-msg.user { background: var(--color-secundario); color: #fff; align-self: flex-end; }
.chat-quick { padding: 0.75rem; border-top: 1px solid hsl(0,0%,90%); display: flex; flex-direction: column; gap: 0.4rem; }
.chat-quick-btn {
  background: none; border: 1.5px solid var(--color-secundario);
  border-radius: 20px; padding: 0.4rem 0.75rem;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  color: var(--color-secundario); cursor: pointer; text-align: left;
  transition: var(--transition);
}
.chat-quick-btn:hover { background: var(--color-overlay); }
.chat-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: #25d366; color: #fff; border: none; border-radius: var(--radius);
  padding: 0.6rem; font-family: var(--font-display); font-weight: 700;
  font-size: 0.82rem; cursor: pointer; margin: 0.25rem 0.75rem 0.75rem;
  transition: var(--transition);
}
.chat-wa-btn:hover { background: #1da851; }

/* ========== Y2K Decorative elements ========== */
.y2k-panel {
  background: linear-gradient(135deg, hsla(197,55%,36%,0.06) 0%, hsla(56,68%,42%,0.06) 100%);
  border: 1px solid hsla(197,55%,36%,0.2);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.y2k-panel::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: hsla(312,80%,58%,0.1);
  pointer-events: none;
}
/* Neo-Brutalism highlight box */
.brutal-box {
  border: var(--border-thick);
  border-radius: 0;
  box-shadow: var(--shadow-brutal);
  padding: 1.5rem;
  background: var(--color-fondo);
}
.highlight-strip {
  background: var(--color-acento);
  color: #fff;
  padding: 1rem 1.5rem;
  border-top: 3px solid var(--color-texto);
  border-bottom: 3px solid var(--color-texto);
  font-family: var(--font-display); font-weight: 800;
  text-align: center;
}

/* ========== FEATURE ICONS ========== */
.feature-icon {
  width: 48px; height: 48px;
  border: 1.5px solid var(--color-secundario);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-secundario);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card {
  border: var(--border-std); border-radius: var(--radius);
  padding: 1.5rem; background: #fff; transition: var(--transition);
}
.feature-card:hover { border-color: var(--color-secundario); }
.feature-card:hover .feature-icon { background: var(--color-secundario); color: #fff; }
.feature-card h3 { font-size: 0.98rem; margin-bottom: 0.35rem; }
.feature-card p { font-size: 0.83rem; color: var(--color-muted); }

/* ========== LEGAL PAGES ========== */
.legal-content {
  max-width: 800px; margin: 0 auto;
}
.legal-content h2 { font-size: 1.2rem; margin: 2rem 0 0.75rem; border-bottom: 1px solid hsl(0,0%,88%); padding-bottom: 0.5rem; }
.legal-content h3 { font-size: 1rem; margin: 1.25rem 0 0.5rem; color: var(--color-secundario); }
.legal-content ul { margin: 0.75rem 0 0.75rem 1.5rem; list-style: disc; }
.legal-content ul li { font-size: 0.88rem; margin-bottom: 0.35rem; }
.legal-content p { font-size: 0.88rem; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal-content th, .legal-content td { padding: 0.6rem 0.85rem; border: 1px solid hsl(0,0%,85%); font-size: 0.82rem; text-align: left; }
.legal-content th { background: hsl(0,0%,95%); font-family: var(--font-display); font-weight: 700; }

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(140deg, hsl(197,55%,96%) 0%, var(--color-fondo) 100%);
  border-bottom: var(--border-std);
}
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 0.4rem; }
.page-hero p { color: var(--color-muted); font-size: 0.95rem; }
.breadcrumb {
  display: flex; gap: 0.4rem; align-items: center;
  font-family: var(--font-display); font-size: 0.75rem; color: var(--color-muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--color-secundario); }
.breadcrumb span { opacity: 0.5; }

/* ========== TAGS / BADGES ========== */
.badge {
  display: inline-block; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 4px;
}
.badge-sold { background: hsl(0,80%,92%); color: hsl(0,70%,40%); }
.badge-new { background: hsl(140,60%,90%); color: hsl(140,60%,30%); }
.badge-featured { background: hsl(56,80%,88%); color: hsl(56,70%,30%); }

/* ========== NOSOTROS ========== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.25rem; }
.team-card { border: var(--border-std); border-radius: var(--radius); padding: 1.5rem; text-align: center; background: #fff; }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  border: 2px solid var(--color-secundario);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem; background: var(--color-overlay);
  color: var(--color-secundario); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
}
.team-card h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.team-card p { font-size: 0.78rem; color: var(--color-muted); }

/* ========== VALUES ========== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.value-item { padding: 1.25rem; border: var(--border-std); border-radius: var(--radius); background: #fff; }
.value-num { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: hsla(197,55%,36%,0.15); line-height: 1; margin-bottom: 0.25rem; }
.value-item h4 { font-size: 0.92rem; margin-bottom: 0.3rem; }
.value-item p { font-size: 0.8rem; color: var(--color-muted); }

/* ========== 404 ========== */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 15vw, 10rem); font-weight: 900; color: var(--color-secundario); line-height: 1; opacity: 0.2; }
.error-msg { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }

/* ========== ALERT / NOTICE BOXES ========== */
.notice {
  padding: 1rem 1.25rem; border-radius: var(--radius);
  border-left: 4px solid var(--color-primario);
  background: hsl(56,40%,95%); font-size: 0.85rem; margin-bottom: 1.25rem;
}
.notice.info { border-color: var(--color-secundario); background: hsl(197,30%,95%); }
.notice.warning { border-color: hsl(30,90%,55%); background: hsl(30,60%,95%); }

/* ========== DIVIDER ========== */
hr { border: none; border-top: 1px solid hsl(0,0%,88%); margin: 2rem 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .header-search { max-width: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-left, .nav-right { display: none; }
  .burger-btn { display: flex; }
  .header-search { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .chat-panel { right: 0.75rem; bottom: 7.5rem; width: calc(100vw - 1.5rem); }
  .catalog-toolbar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 3.5rem 0; }
  .hero-search { flex-direction: column; box-shadow: none; border-radius: var(--radius); }
  .hero-search input { border-bottom: var(--border-std); }
  .hero-search button { width: 100%; padding: 0.65rem; border-radius: 0 0 var(--radius) var(--radius); }
  .floating-group { bottom: 1rem; right: 1rem; }
  .float-btn { width: 46px; height: 46px; }
}

/* ========== PRINT ========== */
@media print {
  .site-header, .site-footer, .floating-group, .cookie-banner, .chat-panel { display: none; }
  .hero, .section { padding: 1rem 0; }
}
