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

:root {
  /* Neutros — se mantienen, se agregan dos escalones */
  --bg:              #F5F4F0;
  --bg-sunken:       #EDEBE4;
  --surface:         #FFFFFF;
  --surface-raised:  #FFFFFF;
  --border:          #E2E0D8;
  --border-strong:   #C8C5BB;
  --text-primary:    #1A1917;
  --text-secondary:  #6B6860;
  --text-muted:      #767369;
  --text-hint:       #A8A59E;

  /* Marca */
  --brand:           #4BB8C1;
  --brand-dark:      #2E8A93;
  --brand-deep:      #1F5F66;
  --brand-tint:      #EAF6F7;

  /* Acento oscuro para superficies de alto contraste */
  --ink:             #14201F;

  --wa:              #25D366;
  --wa-text:         #0F7A6C;

  --accent:          var(--text-primary);

  /* Tipografía — escala modular 1.25, ancla 16px */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.5rem;
  --text-2xl:  1.953rem;
  --text-3xl:  2.441rem;
  --text-4xl:  clamp(2.5rem, 5vw, 3.815rem);

  /* Espaciado — grilla de 8 puntos */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* Elevación y bordes */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(26, 25, 23, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 25, 23, 0.06);
  --shadow-lg: 0 12px 32px rgba(26, 25, 23, 0.10);

  /* Movimiento */
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  font-size: var(--text-base);
  line-height: 1.6;
}

img { max-width: 100%; }

a { color: var(--brand-deep); }

:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* UTILITIES */
.mono { font-family: 'IBM Plex Mono', monospace; }

.section--sunken { background: var(--bg-sunken); }

.section--ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
}
.section--ink .section-label { color: var(--text-hint); }
.section--ink .section-title { color: #fff; }
.section--ink a { color: var(--brand); }
.section--ink a:hover { color: #fff; }
.section--ink .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.section--ink .btn-secondary:hover { border-color: #fff; }
/* Las tarjetas mantienen su superficie clara: no heredan el color de texto oscuro */
.section--ink .card { color: var(--text-primary); }
.section--ink .card .section-link,
.section--ink .card a { color: var(--brand-deep); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent);
  color: #fff;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity var(--dur-fast) var(--ease);
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--text-primary);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  padding: calc(var(--space-3) - 1px) var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
}
.btn-secondary:hover { border-color: var(--text-primary); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--wa-text);
  color: #fff;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity var(--dur-fast) var(--ease);
}
.btn-wa:hover { opacity: 0.88; }
.btn-wa-block { width: 100%; }

/* NAV */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--dur-base) var(--ease);
}
nav.nav--scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.nav-brand img {
  height: 32px;
  width: 32px;
  display: block;
}
.nav-logo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 400;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a[aria-current="page"] {
  color: var(--text-primary);
  font-weight: 500;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--text-primary);
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-2) var(--space-6) var(--space-4);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }
}

/* WHATSAPP FLOATING BUTTON */
.wa-float {
  display: none;
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 150;
  box-shadow: var(--shadow-md);
}
@media (max-width: 700px) {
  .wa-float { display: flex; }
}

/* HERO */
.hero {
  border-bottom: 1px solid var(--border);
  padding: var(--space-12) var(--space-6) var(--space-12);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}
.hero h1 {
  font-size: var(--text-4xl);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}
.hero p.hero-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 65ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: block;
}

@media (min-width: 900px) {
  .hero { padding: var(--space-16) var(--space-6) var(--space-16); }
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

/* PAGE HEADER (páginas interiores) */
.page-header {
  padding: var(--space-12) var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--border);
}
.page-header-inner { max-width: 1100px; margin: 0 auto; }
.page-header h1 {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-3);
}
.page-header p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 65ch;
}

/* SECTIONS */
.section {
  padding: var(--space-16) var(--space-6);
  border-bottom: 1px solid var(--border);
}
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { margin-bottom: var(--space-8); }
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  margin-right: var(--space-2);
  vertical-align: middle;
}
.section-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

/* CARDS (beneficios) */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 700px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid.cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.card-icon {
  color: var(--brand-dark);
  margin-bottom: var(--space-4);
}
.card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.section-link {
  display: inline-block;
  margin-top: var(--space-6);
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-sm);
}
.section-link:hover { text-decoration: underline; }

/* STEPS (cómo funciona) */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-sm);
  color: var(--brand-deep);
  margin-bottom: var(--space-2);
}
.step h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* DOWNLOADS */
.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  margin-top: var(--space-6);
  align-items: center;
}
.downloads a {
  font-size: var(--text-sm);
  color: var(--brand-deep);
  text-decoration: none;
}
.downloads a:hover { text-decoration: underline; }

/* CATÁLOGO DESTACADO (grid de categorías, inicio) */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 600px) {
  .catalogo-grid { grid-template-columns: repeat(4, 1fr); }
}
.catalogo-item {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.catalogo-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg);
}
.catalogo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--dur-base) var(--ease);
}
.catalogo-item:hover .catalogo-img-wrap img { opacity: 0.9; }
.catalogo-name {
  padding: var(--space-3) var(--space-4) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-primary);
  border-top: 1px solid var(--border);
}

/* CONTACTO RESUMIDO / CONTACTO */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 900px) {
  .contacto-grid { grid-template-columns: 1fr 1fr; }
}
.contacto-item { margin-bottom: var(--space-6); }
.contacto-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.contacto-text {
  font-size: var(--text-base);
  color: var(--text-primary);
  line-height: 1.5;
}
.contacto-map iframe {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: block;
}
.contacto-map a {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--brand-deep);
  text-decoration: none;
}
.contacto-map a:hover { text-decoration: underline; }

/* HORARIOS */
.horarios-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-2);
}
.horarios-table tr { border-bottom: 1px solid var(--border); }
.horarios-table tr:last-child { border-bottom: none; }
.horarios-table td { padding: var(--space-4) 0; font-size: var(--text-base); }
.horarios-table td:first-child { color: var(--text-secondary); }
.horarios-table td:last-child {
  text-align: right;
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-sm);
  color: var(--text-primary);
}
.td-cerrado { color: var(--text-muted) !important; font-style: italic; }

/* CATÁLOGO — buscador y chips */
.catalogo-toolbar {
  position: sticky;
  top: 57px;
  z-index: 90;
  background: var(--bg-sunken);
  padding: var(--space-4) 0;
  margin-bottom: var(--space-2);
}
.search-input {
  width: 100%;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: var(--text-base);
  padding: var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.search-input:focus {
  border-color: var(--brand-deep);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.chip {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--text-primary); }
.chip.active {
  background: var(--brand-deep);
  color: #fff;
  border-color: var(--brand-deep);
}
.chip-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  margin: 0 var(--space-1);
}

/* Toggle de filtros (solo móvil) */
.chips-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  width: 100%;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
}
.chips-toggle-caret {
  transition: transform var(--dur-fast) var(--ease);
}
.chips-toggle[aria-expanded="true"] .chips-toggle-caret {
  transform: rotate(180deg);
}

@media (max-width: 700px) {
  .chips-toggle { display: flex; }
  .chips {
    display: none;
    margin-top: var(--space-3);
    max-height: 45vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .chips.open { display: flex; }
}

.result-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: var(--space-6) 0 var(--space-4);
}

/* PRODUCT GRID (contenedor de secciones de categoría) */
.product-grid {
  display: flex;
  flex-direction: column;
}

.cat-block {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border);
}
.cat-block:first-child { padding-top: 0; }
.cat-block:last-child { border-bottom: none; }
.cat-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.cat-desc {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.5;
  max-width: 65ch;
  margin-bottom: var(--space-6);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 700px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--brand);
}
.product-card[hidden],
.cat-block[hidden] {
  display: none;
}
.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity var(--dur-base) var(--ease);
}
.product-img-wrap:hover img { opacity: 0.9; }
.product-info {
  padding: var(--space-3) var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}
.product-name {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
}
.product-fmt {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.product-info .btn-wa {
  margin-top: auto;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
}

.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  color: var(--text-secondary);
}
.empty-state p { margin-bottom: var(--space-6); }

/* MODAL / LIGHTBOX */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  animation: modalFadeIn 150ms forwards;
}
@keyframes modalFadeIn { to { opacity: 1; } }
.modal-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
}
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: var(--space-1);
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  line-height: 1;
}
.modal-close:hover { color: var(--text-primary); }
.modal-body {
  overflow-y: auto;
  padding: var(--space-6);
  flex: 1;
}
.lightbox {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
}
.lightbox-caption {
  text-align: center;
  padding: var(--space-4) var(--space-2) var(--space-1);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lbx-name { font-size: var(--text-base); font-weight: 600; color: var(--text-primary); }
.lbx-fmt { font-family: 'IBM Plex Mono', monospace; font-size: var(--text-sm); color: var(--text-secondary); }

/* FOOTER */
footer {
  padding: var(--space-8) var(--space-6);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.footer-meta span { font-size: var(--text-sm); color: var(--text-secondary); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-links span.sep { color: var(--text-muted); }
.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-hint);
  margin-top: var(--space-2);
}

@media (min-width: 900px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
}

/* HERO FULL-BLEED (inicio) */
.hero-full {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-full-media {
  position: absolute;
  inset: 0;
}
.hero-full-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 31, 0.15) 0%, rgba(20, 32, 31, 0.88) 100%);
}
.hero-full-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-24) var(--space-6) var(--space-16);
}
.hero-full-content .hero-eyebrow { color: rgba(255, 255, 255, 0.75); margin-bottom: var(--space-6); }
.hero-full-content h1 {
  font-size: var(--text-4xl);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  margin-bottom: var(--space-6);
}
.hero-full-content .hero-desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 65ch;
  margin-bottom: var(--space-8);
}
.hero-full-content .hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

@media (min-width: 900px) {
  .hero-full { min-height: 560px; }
  .hero-full-content { padding: var(--space-32) var(--space-6) var(--space-24); }
}

/* STATS BAR */
.stats-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.9);
}
.stats-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-8);
  justify-content: center;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
}

/* LÍNEAS DE NEGOCIO */
.lineas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 700px) {
  .lineas-grid { grid-template-columns: repeat(2, 1fr); }
}
.linea-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease);
}
.linea-card:hover { box-shadow: var(--shadow-md); }
.linea-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease);
}
.linea-card:hover img { transform: scale(1.03); }
.linea-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20, 32, 31, 0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
}
.linea-card-title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: #fff;
}
.linea-card-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
  margin-top: var(--space-1);
}

/* MURO DE MARCAS */
.brand-wall-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-12);
  align-items: center;
  justify-content: center;
}
.brand-wall-item {
  font-family: 'IBM Plex Mono', monospace;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-hint);
  letter-spacing: 0.02em;
}

/* PAGE HEADER CON FOTO (negocios) */
.page-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 900px) {
  .page-header-grid { grid-template-columns: 1fr 1fr; }
}
.page-header-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: block;
}

/* TIPOS DE CLIENTE */
.client-types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 700px) {
  .client-types-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .client-types-grid { grid-template-columns: repeat(5, 1fr); }
}
.client-type {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.client-type h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.client-type p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.contacto-grid--single { grid-template-columns: 1fr !important; max-width: 640px; }

/* CONTACTO — mapa ancho completo */
.contacto-map-full { margin-top: var(--space-8); }
.contacto-map-full iframe { display: block; }
.contacto-map-full .btn-secondary { margin-top: var(--space-4); }

.open-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin: var(--space-2) 0 var(--space-6);
}
.open-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-hint);
}
.open-status.is-open { color: var(--wa-text); }
.open-status.is-open::before { background: var(--wa-text); }
.open-status.is-closed { color: var(--text-secondary); }
.open-status.is-closed::before { background: var(--text-hint); }

/* CATÁLOGO — barra de resultados + limpiar */
.result-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-4);
}
.result-bar .result-count { margin: 0; }
.clear-filters {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.clear-filters:hover { border-color: var(--text-primary); color: var(--text-primary); }
.clear-filters[hidden] { display: none; }

.empty-state-icon {
  color: var(--text-hint);
  margin-bottom: var(--space-4);
}
