/* ── Google Fonts ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@400;600;700&display=swap');

/* ── Variables ────────────────────────────────── */
:root {
  /* Colores */
  --color-dark:   #1F1C1A;
  --color-yellow: #F4C017;
  --color-blue:   #0653A0;
  --color-white:  #FFFFFF;
  --color-gray:   #E9E9E9;

  /* Tipografías */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  /* Escala tipográfica (aprox. pt → px: 1pt ≈ 1.333px) */
  --fs-display:  80px;   /* Playfair 60pt */
  --fs-h1:       53px;   /* Playfair 40pt */
  --fs-h2:       80px;   /* Inter   60pt */
  --fs-h3:       53px;   /* Inter   40pt */
  --fs-h4:       29px;   /* Inter   22pt */
  --fs-body:     15px;
  --fs-label:    15px;
}

/* ── Base ─────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-dark);
}

/* ── Botón flotante WhatsApp ───────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  left: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #25D366;
  color: var(--color-white);
  border-radius: 50px;
  padding: 0.7rem 1.1rem 0.7rem 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, padding 0.3s ease;
}

.whatsapp-float i {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.whatsapp-float-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100px;
  transition: max-width 0.3s ease, opacity 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  color: var(--color-white);
}

/* ── Botón volver arriba ───────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.5rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  background-color: var(--color-yellow);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(244,192,23,0.45);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: #d4a800;
}

/* ── Clases tipográficas ──────────────────────── */
.display-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.1;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.15;
}

.text-label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.text-link {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ── Navbar ───────────────────────────────────── */
.navbar-alev {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (max-width: 991px) {
  .navbar-alev {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }
}


/* Hamburger animado */
.hamburger-btn {
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
}

.hamburger-btn:focus {
  outline: none;
  box-shadow: none;
}

.ham-line {
  display: block;
  height: 3px;
  background-color: var(--color-blue);
  border-radius: 3px;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.25s ease,
              width 0.35s ease;
  transform-origin: center;
  width: 100%;
}

.ham-line:nth-child(3) {
  width: 65%;
}

/* Al abrir → se convierte en X */
.hamburger-btn[aria-expanded="true"] .ham-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .ham-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn[aria-expanded="true"] .ham-line:nth-child(3) {
  width: 100%;
  transform: translateY(-9px) rotate(-45deg);
}

/* ── Drawer móvil ─────────────────────────────── */
#mobileDrawer {
  background: rgba(6, 83, 160, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 285px;
  overflow: hidden;
}

#mobileDrawer .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 1.5rem;
  position: relative;
  z-index: 1;
}

#mobileDrawer .offcanvas-body {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Círculo decorativo amarillo difuso */
.drawer-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(244,192,23,0.35) 0%, transparent 70%);
  bottom: -60px;
  right: -60px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Links con animación escalonada */
@keyframes drawerItemIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

.offcanvas.show .drawer-item {
  animation: drawerItemIn 0.35s ease both;
  animation-delay: calc(0.08s * var(--i) + 0.1s);
}

.nav-drawer {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s, padding-left 0.2s;
}

.nav-drawer:hover {
  color: var(--color-yellow) !important;
  padding-left: 0.4rem;
}

/* Subítems del drawer (categorías de productos) */
.nav-drawer-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65) !important;
  padding: 0.45rem 0;
  border-bottom: none;
  text-transform: uppercase;
  transition: color 0.2s, padding-left 0.2s;
}

.nav-drawer-sub:hover {
  color: var(--color-yellow) !important;
  padding-left: 0.5rem;
}

/* Chevron del drawer: gira al expandirse */
.drawer-chevron {
  font-size: 0.7rem;
  transition: transform 0.25s ease;
}

[aria-expanded="true"] .drawer-chevron {
  transform: rotate(180deg);
}

/* Dropdown desktop */
.dropdown-menu {
  background-color: #0653A0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.5rem 0;
  min-width: 340px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.dropdown-menu .dropdown-item {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.55rem 1.25rem;
  transition: color 0.2s, background-color 0.2s, padding-left 0.2s;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-yellow);
  padding-left: 1.55rem;
}

.dropdown-menu .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 0.35rem 0;
}

/* Botón CTA dentro del drawer */
.btn-contactanos-drawer {
  align-self: flex-start;
  background-color: var(--color-yellow) !important;
  color: var(--color-dark) !important;
  animation: none !important;
  transition: opacity 0.2s ease;
}

.btn-contactanos-drawer:hover {
  opacity: 0.85;
  color: var(--color-dark) !important;
}

.btn-contactanos-drawer .btn-arrow-circle {
  background-color: var(--color-blue);
  color: var(--color-white);
}

/* Bloque inferior del drawer */
.drawer-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* WhatsApp link */
.drawer-wa {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.drawer-wa i {
  font-size: 20px;
  color: #25D366;
}

.drawer-wa:hover {
  color: var(--color-white);
}

/* Redes sociales */
.drawer-social {
  display: flex;
  gap: 1rem;
}

.drawer-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  transition: color 0.2s, transform 0.2s;
}

.drawer-social a:hover {
  color: var(--color-yellow);
  transform: translateY(-2px);
}

.nav-alev {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-dark) !important;
  padding: 0.5rem 1.75rem;
  position: relative;
  transition: color 0.2s;
}

.nav-alev:hover {
  color: var(--color-blue) !important;
}

/* Subrayado del item activo */
.nav-alev.active {
  color: var(--color-blue) !important;
  font-weight: 700;
}

.nav-alev.active::after {
  content: '';
  display: block;
  height: 2px;
  background-color: var(--color-blue);
  position: absolute;
  bottom: 0;
}

.nav-alev.dropdown-toggle.active::after {
  display: inline-block;
  background-color: transparent;
  height: auto;
  position: static;
  bottom: auto;
}

/* Espaciado entre items y puntos */
.navbar-nav {
  gap: 0.5rem;
}

.dropdown-item.nav-dropdown-active {
  color: var(--color-yellow);
  font-weight: 700;
  background-color: transparent;
}

/* Puntos separadores */
.nav-dot {
  color: var(--color-yellow);
  font-size: 18px;
  line-height: 1;
  padding: 0 0.25rem;
  padding-left: 1rem ;
  padding-right: 1rem;
}

/* Botón Contáctanos */
.btn-contactanos {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background-color: var(--color-blue);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  padding: 0.45rem 0.45rem 0.45rem 1.25rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-contactanos:hover {
  background-color: #044a8a;
  color: var(--color-white);
}



/* ── Hero / Banner ────────────────────────────── */
/* Contenedor azul completo: texto + tarjetas + ola */
.hero-outer {
  background-color: var(--color-blue); /* fallback */
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
}

.hero-outer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.13);
  pointer-events: none;
  z-index: 0;
}

.hero-outer > * {
  position: relative;
  z-index: 1;
}

.hero-section {
  background: transparent;
}

.hero-content {
  padding-top: 4rem;
  padding-bottom: 1rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
.hero-content {
  padding-top: 2rem;
  padding-bottom: 0rem;
  position: relative;
  z-index: 2;
  }
}

/* Hero dos columnas */
.hero-col-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.hero-col-line {
  display: block;
  width: 36px;
  height: 2px;
  background-color: var(--color-yellow);
  flex-shrink: 0;
}

.hero-col-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

.hero-col-right {
  padding-left: 2.5rem;
}

.hero-col-right .cta-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .hero-col-right {
    padding-left: 0;
    padding-top: 0;
  }
}

.hero-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,1);
  margin-bottom: 1rem;
}

.hero-line {
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--color-yellow);
  margin: 0 auto .5rem;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 0;
}

/* Las palabras en cursiva usan Playfair Display */
.hero-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-white);
}

/* Ola inferior */
.hero-wave {
  line-height: 0;
  margin-bottom: -2px;
  margin-top: -1px;
}

.hero-wave svg {
  width: 100%;
  height: 12.5rem;
  display: block;
}

/* Wrapper del marquee */
.hero-cards-wrapper {
  background-color: transparent;
  overflow: hidden;
  padding: 0 0 1.5rem;
  cursor: grab;
  user-select: none;
}

.hero-cards-wrapper:active {
  cursor: grabbing;
}

/* Track animado */
.hero-cards-track {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: flex-end;
  padding: 1.5rem 0 0.5rem;
  will-change: transform;
}

/* Tarjetas */
.hero-card {
  flex: 0 0 auto;
  height: 430px;
  width: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  background: linear-gradient(160deg, #f8f8f8 0%, #c8c8c8 100%);
  position: relative;
  text-decoration: none;
}

.hero-card-lg {
  width: 550px;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 1rem;
}

.hero-card-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-dark);
  background: transparent;
  padding: 0 1rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-card    { width: 220px; height: 300px; }
  .hero-card-lg { width: 360px; }
}

.btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-yellow);
  color: var(--color-white);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  margin-left: 0.75rem;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.btn-arrow-circle--wa {
  background-color: #25D366;
  color: var(--color-white);
}

/* ── Nosotros ─────────────────────────────────── */
.nosotros-section {
  padding: 4rem 0 1rem 0;
}

.nosotros-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blue);
  border-left: 3px solid var(--color-yellow);
  padding-left: 0.6rem;
  margin-bottom: 1.5rem;
}

.nosotros-label--hero {
  color: rgba(255, 255, 255, 0.85);
}

.nosotros-label--center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-left: none;
  padding-left: 0;
}

.nosotros-label--center::before {
  display: none;
}

.nosotros-label--center::after {
  display: none;
}

.nosotros-intro-big {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.45;
  color: var(--color-dark);
  margin-bottom: 2.5rem;
}

.nosotros-intro-sep {
  width: 36px;
  height: 3px;
  background: var(--color-yellow);
  margin: 0 auto 2.5rem;
}

.nosotros-body {
  line-height: 1.65;
  margin-bottom: 1rem;
}

.nosotros-tagline {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1.75rem;
}

.nosotros-cta-title {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.nosotros-cta-body {
  margin-bottom: 1.5rem;
}

.nosotros-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nosotros-img-wrap {
  position: relative;
  width: 100%;
  padding: 0 4rem;
  overflow: visible;
}

.nosotros-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

.nosotros-badge {
  position: absolute;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
}

.nosotros-badge-blue {
  background-color: var(--color-blue);
  color: var(--color-white);
  top: 1.5rem;
  right: 1rem;
}

.nosotros-badge-yellow {
  background-color: var(--color-yellow);
  color: var(--color-dark);
  bottom: 1.5rem;
  left: 1rem;
}


@media (max-width: 991px) {
  .nosotros-section {
    padding: 2rem 0;
  }
}

/* ── Productos ────────────────────────────────── */
.productos-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.productos-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.productos-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-dark);
}

.productos-cat-heading {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.productos-cat-line {
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--color-yellow);
  margin: 0 auto 2.5rem;
}

/* Cada categoría */
.cat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.cat-item img {
  width: 64px;
  height: auto;
  flex-shrink: 0;
  background: transparent;
}

.cat-grid-lg .cat-item img {
  width: 90px;
}

.cat-item span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  line-height: 1.35;
}

@media (max-width: 991px) {
  .productos-section {
    padding: 2rem 0 5rem 0;
    background: var(--color-white);
  }
}


/* ── Pedidos ──────────────────────────────────── */
.pedidos-outer {
  background-color: var(--color-blue);
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: visible;
  position: relative;
}

.pedidos-outer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.13);
  pointer-events: none;
  z-index: 0;
}

.pedidos-outer > * {
  position: relative;
  z-index: 1;
}

.pedidos-section {
  padding: 5rem 0 3rem;
}

.pedidos-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white);
  border-left: 3px solid var(--color-yellow);
  padding-left: 0.6rem;
  margin-bottom: 1.25rem;
}

.pedidos-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.pedidos-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-white);
}

.pedidos-body {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}

.pedidos-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pedidos-list li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-white);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.pedidos-num {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 700;
  font-size: 200%;
  color: var(--color-yellow);
  flex-shrink: 0;
}

.pedidos-nota {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
}

.pedidos-bell {
  color: var(--color-yellow);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Pedidos imagen y badges ──────────────────── */
.pedidos-img-wrap {
  position: relative;
  width: 100%;
  padding: 0 4rem;
  overflow: visible;
}

.pedidos-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.pedidos-badge {
  position: absolute;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
}

.pedidos-badge-dark {
  background-color: #0d2d52;
  color: var(--color-white);
  bottom: 2.5rem;
  right: 1rem;
}

.pedidos-badge-yellow {
  background-color: var(--color-yellow);
  color: var(--color-dark);
  top: 2.5rem;
  left: 1rem;
}

/* Ola inferior */
.pedidos-wave {
  line-height: 0;
  margin-bottom: -2px;
  margin-top: -1px;
}

.pedidos-wave svg {
  width: 100%;
  height: 12.5rem;
  display: block;
  transform: scaleX(-1);
}

/* ── Marcas ───────────────────────────────────── */
.marcas-section {
  padding: 3rem 0 0rem;
  background: transparent;
}

.marcas-heading {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-align: center;
  margin-bottom: 2rem;
}

.marcas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.marca-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1.5px solid var(--color-gray);
  border-radius: 10px;
  padding: 1rem 1.75rem;
  min-width: 150px;
  height: 80px;
}

.marca-card img {
  max-height: 44px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 1;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.marca-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.marca-card-otras span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark);
}

/* ── Ventajas ─────────────────────────────────── */
.ventajas-section {
  padding: 5rem 0;
  background:
    linear-gradient(to bottom, #ffffff 10%, transparent 100%),
    url('../img/concrete-wall-2.png') repeat;
}

.ventajas-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.ventajas-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-dark);
}

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px dashed #d0d0d0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.ventaja-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
}

.ventaja-item:not(:last-child) {
  border-right: 1.5px dashed #d0d0d0;
}

.ventaja-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.ventaja-item span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  line-height: 1.4;
}

.ventajas-nota {
  font-family: var(--font-body);
  font-size: 14px;
    font-style: italic;
    color: rgba(0,0,0,0.85);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
}

.ventajas-bell {
  color: var(--color-yellow);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}


.ventajas-grid--2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.ventajas-grid--2x2 .ventaja-item {
  border-right: none;
}

.ventajas-grid--2x2 .ventaja-item:nth-child(odd) {
  border-right: 1.5px dashed #d0d0d0;
}

.ventajas-grid--2x2 .ventaja-item:nth-child(-n+2) {
  border-bottom: 1.5px dashed #d0d0d0;
}

@media (max-width: 991px) {
  .ventajas-section {
    padding: 0 0 5rem 0;
  }
}

@media (max-width: 575px) {
  .ventajas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ventaja-item:nth-child(1),
  .ventaja-item:nth-child(2) {
    border-bottom: 1.5px dashed #d0d0d0;
  }

  .ventaja-item:nth-child(2) {
    border-right: none;
  }

  .historia-values {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Industrias ───────────────────────────────── */
.industrias-outer {
  background-color: var(--color-blue);
  background-image: url('../img/industrias-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.industrias-section {
  padding: 6rem 0 5rem;
}

.industrias-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,1);
  margin-bottom: 0.6rem;
}

.industrias-title {
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}

.industrias-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-white);
}

.industrias-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0;
  margin-bottom: 2.5rem;
}

.industrias-cats span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  padding: 0 0.75rem;
}

.industrias-sep {
  color: rgba(255,255,255,0.4) !important;
  font-weight: 400 !important;
  padding: 0 !important;
}

.industrias-nota {
  font-family: var(--font-body);
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.industrias-nota strong {
  font-style: italic;
  color: var(--color-white);
}

/* Estilos de ventajas-nota (nota con campana en ventajas) */
.ventajas-nota {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-dark);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
}

.ventajas-bell {
  color: var(--color-yellow);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Historia ─────────────────────────────────── */
.historia-section {
  padding: 5rem 0;
  background:
    linear-gradient(to bottom, #ffffff 10%, transparent 100%),
    url('../img/concrete-wall-2.png') repeat;
}

.historia-intro {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--color-dark);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.historia-intro em {
  font-style: italic;
}

.historia-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

.historia-value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.historia-value-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.historia-value-item span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
}

@media (max-width: 767px) {
  .historia-values {
    grid-template-columns: 1fr;
  }
  .historia-value-item img {
    width: 52px;
    height: 52px;
  }
  .historia-value-item span {
    letter-spacing: 0.03em;
  }
}

/* Imagen y badges */
.historia-img-wrap {
  position: relative;
  width: 100%;
  padding: 0 4rem;
  overflow: visible;
}

.historia-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.historia-badge {
  position: absolute;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
}

.historia-badge-blue {
  background-color: var(--color-blue);
  color: var(--color-white);
  top: 1.5rem;
  left: 1rem;
}

.historia-badge-yellow {
  background-color: var(--color-yellow);
  color: var(--color-dark);
  bottom: 1.5rem;
  right: 1rem;
  transform: translateY(-50%);
}

/* Nota de ubicación */
.historia-nota {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-dark);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0 4rem;
}

.historia-pin {
  color: var(--color-yellow);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Botón texto + flecha */
.btn-texto-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: underline;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  padding-bottom: 2px;
}

.btn-texto-arrow:hover {
  color: var(--color-blue);
  border-bottom-color: var(--color-blue);
}

.btn-texto-arrow .btn-arrow-circle {
  background-color: var(--color-blue);
}

@media (max-width: 991px) {
  .historia-section {
  padding: 0 0 2rem 0;
  }
}



/* ── Ubicación ────────────────────────────────── */
.ubicacion-section {
  padding: 5rem 0;
  position: relative;
}

.ubicacion-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #ffffff 0%, transparent 100%),
    url('../img/concrete-wall-2.png') repeat bottom;
  opacity: 0.9;
  z-index: 0;
}

.ubicacion-section > .container {
  position: relative;
  z-index: 1;
}

.ubicacion-title {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.ubicacion-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-dark);
}

.ubicacion-address {
  font-family: var(--font-body);
  font-size: 16px;
  font-style: normal;
  color: var(--color-dark);
  line-height: 1.9;
}

.ubicacion-map-placeholder {
  width: 100%;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #d0d0d0;
}

.ubicacion-map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 991px) {
  .ubicacion-section {
  padding: 1rem 0 5rem 0;
  }
}


/* ── CTA ──────────────────────────────────────── */
.cta-outer {
  background-color: var(--color-blue);
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.cta-outer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.13);
  pointer-events: none;
  z-index: 0;
}

.cta-outer > * {
  position: relative;
  z-index: 1;
}

.cta-section {
  padding: 5rem 0 3rem;
}

.cta-title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.cta-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-white);
}

.cta-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .cta-section {
  padding: 3rem 0 0rem;
  }
}

/* ── FAQs ─────────────────────────────────────── */
.faqs-section {
  padding: 2rem 0 8rem 0;
  background:
    linear-gradient(to bottom, #ffffff 10%, transparent 100%),
    url('../img/concrete-wall-2.png') repeat;
}


.faqs-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 0.5rem;
}

.faqs-title em {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: var(--color-dark);
}

.faqs-accordion {
  max-width: 820px;
  margin: 0 auto;
}

.faqs-item {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px !important;
  margin-bottom: 0.5rem;
  background: transparent;
  transition: background 0.25s ease;
  overflow: hidden;
}

.faqs-item:has(.faqs-btn:not(.collapsed)) {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
}

.faqs-btn {
  background: transparent !important;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark) !important;
  padding: 1.25rem 1rem;
  box-shadow: none !important;
  gap: 0.75rem;
  transition: color 0.2s;
}

.faqs-btn:not(.collapsed) {
  color: var(--color-blue) !important;
}

.faqs-btn::after {
  display: none !important;
}

/* Número */
.faqs-num {
  font-family: var(--font-heading);
  font-size: 200%;
  font-weight: 700;
  color: var(--color-yellow);
  flex-shrink: 0;
  line-height: 1;
}

.faqs-icon {
  color: var(--color-blue);
  font-size: 17px;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faqs-btn.collapsed .faqs-icon {
  transform: rotate(0deg);
}

.faqs-btn:not(.collapsed) .faqs-icon {
  transform: rotate(0deg);
}

.catalogo-tabla-wrap .faqs-btn.collapsed .faqs-icon {
  transform: rotate(0deg);
}

.catalogo-tabla-wrap .faqs-btn:not(.collapsed) .faqs-icon {
  transform: rotate(180deg);
}

.faqs-body {
  padding: 0.25rem 1rem 1.25rem 3rem;
  background: transparent;
  color: var(--color-dark);
  opacity: 0.85;
}

@media (max-width: 991px) {
  .faqs-section {
    padding: 0 0 4rem 0;
  }
}

/* ── Footer ───────────────────────────────────── */
.footer-top {
  padding: 4rem 0;
  padding-bottom: 6rem;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray);
}

.footer-logo {
  height: 64px;
  display: block;
}

.navbar-brand img {
}

.footer-desc {
  line-height: 1.65;
}

.footer-desc strong {
  font-style: normal;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blue);
  border-left: 3px solid var(--color-yellow);
  padding-left: 0.6rem;
  margin-bottom: 1.25rem;
}

/* Alinea los links con el texto descriptivo de col 1 (logo 64px + mb-3 16px - título ~18px - mb 1.25rem) */
.footer-links {
  list-style: none;
  padding: 0;
  padding-top: calc(64px + 1rem - 1em - 1.25rem);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-links a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-blue);
}

@media (max-width: 991px) {
  .footer-top {
  padding: 2rem 0;
  padding-bottom: 6rem;
  }

  .footer-links {
  padding-top: .5rem;
  }
}

/* Barra inferior */
.footer-bottom {
  background-color: var(--color-blue);
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  padding: 2rem 0;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.13);
  pointer-events: none;
  z-index: 0;
}

.footer-bottom > * {
  position: relative;
  z-index: 1;
}

.footer-legal {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
}

.footer-social a {
  color: var(--color-white);
  font-size: 22px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 0.75;
}

@media (max-width: 991px) {
  .footer-bottom {
  padding: 1.25rem 0 6rem 0;
  }
}

/* ── Animación badges ─────────────────────────── */
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes badge-float-center {
  0%, 100% { transform: translateY(-50%); }
  50%       { transform: translateY(calc(-50% - 8px)); }
}

/* Nosotros */
.nosotros-badge-blue {
  animation: badge-float 3.5s ease-in-out infinite;
}
.nosotros-badge-yellow {
  animation: badge-float 3.5s ease-in-out infinite 1s;
}

/* Pedidos */
.pedidos-badge-dark {
  animation: badge-float 3.5s ease-in-out infinite 0.5s;
}
.pedidos-badge-yellow {
  animation: badge-float 3.5s ease-in-out infinite 1.5s;
}

/* Historia — el badge amarillo usa translateY(-50%) para centrar verticalmente */
.historia-badge-blue {
  animation: badge-float 3.5s ease-in-out infinite 0.8s;
}
.historia-badge-yellow {
  animation: badge-float-center 3.5s ease-in-out infinite 1.8s;
}

/* ── Breadcrumbs ──────────────────────────────── */
.breadcrumb-alev {
  background: transparent;
  border-bottom: 1.5px dashed #d0d0d0;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
}

.breadcrumb-list a {
  color: var(--color-blue);
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb-list a:hover {
  opacity: 0.75;
}

.breadcrumb-list [aria-current="page"] {
  color: var(--color-dark);
}

.breadcrumb-sep {
  color: #ccc;
  font-weight: 400;
}

/* ── Trust badge ──────────────────────────────── */
.cat-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 192, 23, 0.12);
  border: 1.5px solid var(--color-yellow);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.cat-trust-badge i {
  color: var(--color-yellow);
  font-size: 16px;
  flex-shrink: 0;
}

/* ── Tarjetas de tipo (categoría cerraduras) ──── */
.cat-tipo-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  border: 1.5px dashed #d0d0d0;
  border-radius: 12px;
  padding: 1.5rem;
  background: transparent;
}

@media (max-width: 575.98px) {
  .historia-section .row-cols-2 > .col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.cat-tipo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  font-size: 42px;
}

.cat-tipo-icon i {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 35%, #EC4899 70%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2));
}

.cat-tipo-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.cat-tipo-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
  font-size: 14px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cat-tipo-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-tipo-list li i {
  color: var(--color-blue);
  font-size: 16px;
  flex-shrink: 0;
}

/* ── Catálogo Carrusel ────────────────────────── */
.galeria-placeholder-section {
  padding: 5rem 0;
  background: var(--color-white);
}

.catalogo-carousel-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
}

.catalogo-carousel .carousel-item {
  height: 520px;
  background: #f0f0f0;
}

.catalogo-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  display: block;
}

.catalogo-carousel-caption {
  padding: 0.65rem 0.25rem 0;
  text-align: center;
}

.catalogo-carousel-titulo {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-dark);
  margin: 0 0 0.2rem;
  text-transform: uppercase;
}

.catalogo-carousel-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.catalogo-carousel-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(10, 10, 10, 0.5);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  z-index: 10;
  pointer-events: none;
}

.catalogo-carousel .carousel-control-prev,
.catalogo-carousel .carousel-control-next {
  width: 3rem;
  opacity: 1;
}

.catalogo-carousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230653A0'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.catalogo-carousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230653A0'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

@media (max-width: 767px) {
  .catalogo-carousel .carousel-item {
    height: 300px;
  }
  .catalogo-carousel-desc {
    display: none;
  }
}

/* ── Formulario de contacto ──────────────────── */
.contacto-form {
  border-radius: 16px;
  padding: 2rem 2.5rem;
}

.contacto-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.contacto-input {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  background: #fff;
  color: var(--color-dark);
  transition: border-color 0.2s;
}

.contacto-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(6, 83, 160, 0.1);
  outline: none;
}

.contacto-input.is-invalid {
  border-color: #dc3545;
}

.contacto-input.is-valid {
  border-color: #198754;
}

.contacto-error-msg {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  color: #dc3545;
  margin-top: 0.3rem;
  min-height: 1em;
}

.contacto-counter {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: #aaa;
  text-align: right;
  margin-top: 0.25rem;
}

.contacto-alert {
  font-family: var(--font-body);
  font-size: 14px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  color: #664d03;
  margin-bottom: 1.5rem;
}

.contacto-alert--danger {
  background: #f8d7da;
  border-color: #f5c2c7;
  color: #842029;
}

@media (max-width: 767px) {
  .contacto-form {
    padding: 1.5rem 1.25rem;
  }
}

/* ── Cat-card (página todos los productos) ───── */
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: var(--color-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.cat-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.cat-card-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

.cat-card-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: #666;
  margin: 0 0 1rem;
  line-height: 1.45;
  flex-grow: 1;
}

.cat-card-arrow {
  font-size: 18px;
  color: var(--color-blue);
  margin-top: auto;
}

/* ── Catálogo tabla ───────────────────────────── */
.catalogo-tabla-wrap {
  margin-top: 1.5rem;
}

.catalogo-tabla-filtro {
  width: 100%;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.catalogo-tabla-filtro:focus {
  border-color: var(--color-blue);
}

.catalogo-tabla {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
}

.catalogo-tabla thead th {
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  border-bottom: 2px solid #e8e8e8;
}

.catalogo-tabla tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}

.catalogo-tabla tbody tr:hover {
  background: #f7f7f7;
}

.catalogo-tabla td {
  padding: 0.6rem 0.75rem;
  vertical-align: middle;
  color: var(--color-dark);
}

.catalogo-tabla td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.catalogo-tabla td:last-child {
  text-align: center;
  width: 2.5rem;
}

.catalogo-tabla-ver {
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  color: var(--color-blue);
  font-size: 18px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.catalogo-tabla-ver:hover {
  background: var(--color-blue);
  color: #fff;
}

@media (max-width: 767px) {
  .catalogo-tabla thead th:nth-child(2),
  .catalogo-tabla td:nth-child(2) {
    display: none;
  }
  .catalogo-tabla td:first-child {
    white-space: normal;
  }
}

.catalogo-tabla-sin-resultados {
  text-align: center;
  color: #aaa;
  font-size: 13px;
  padding: 1.5rem 0;
  display: none;
}

/* ── Ticker ───────────────────────────────────── */
.ticker-wrap {
  background-color: var(--color-yellow);
  overflow: hidden;
  padding: 0.7rem 0;
  position: relative;
  z-index: 2;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.ticker-item i {
  color: var(--color-blue);
  font-size: 13px;
  flex-shrink: 0;
}

.ticker-sep {
  color: rgba(0, 0, 0, 0.25);
  font-size: 10px;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Navbar scrolled ──────────────────────────── */
.navbar-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

/* ── Zoom en fotos ────────────────────────────── */
.img-zoom-wrap {
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.nosotros-img,
.pedidos-img,
.historia-img {
  transition: transform 0.5s ease;
}

.img-zoom-wrap:hover .nosotros-img,
.img-zoom-wrap:hover .pedidos-img,
.img-zoom-wrap:hover .historia-img {
  transform: scale(1.06);
}

/* ── Glow pulse en botón CTA ──────────────────── */
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,83,160,0.5); }
  50%       { box-shadow: 0 0 0 12px rgba(6,83,160,0); }
}

.cta-section .btn-contactanos,
.nosotros-contact .btn-contactanos,
#navbarMain .btn-contactanos {
  animation: cta-pulse 2.5s ease-in-out infinite;
}

/* ── Hover lift marcas ────────────────────────── */
.marca-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.marca-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(6,83,160,0.12);
  border-color: var(--color-blue);
}

/* ── Hover lift categorías ────────────────────── */
.cat-item {
  transition: transform 0.25s ease;
}

.cat-item:hover {
  transform: translateY(-4px);
}

/* ── Aviso de Privacidad ──────────────────────── */
.aviso-section {
  padding: 4rem 0 5rem;
}

.aviso-doc {
  font-family: var(--font-body);
  color: var(--color-dark);
}

.aviso-doc-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-gray);
}

.aviso-meta {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.aviso-section-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-gray);
}

.aviso-section-block:last-of-type {
  border-bottom: none;
}

.aviso-h2 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 1rem;
}

.aviso-h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.aviso-p {
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.aviso-list {
  font-size: 14.5px;
  line-height: 1.75;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
}

.aviso-list li {
  margin-bottom: 0.35rem;
}

.aviso-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.aviso-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.aviso-table th {
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 0.65rem 0.9rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.aviso-table td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--color-gray);
  vertical-align: top;
  line-height: 1.5;
}

.aviso-table tbody tr:last-child td {
  border-bottom: none;
}

.aviso-table tbody tr:nth-child(even) td {
  background-color: #f8f8f8;
}

.aviso-table-nota {
  font-size: 12.5px;
  font-style: italic;
  color: #777;
  margin-top: 0.5rem;
}

.aviso-doc-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-gray);
  font-size: 13px;
  color: #777;
}

.aviso-doc-footer p {
  margin: 0.2rem 0;
}

/* ── Barra de cookies ─────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  display: none;
}

.cookie-bar--visible {
  display: block;
  transform: translateY(0);
}

.cookie-bar--hiding {
  transform: translateY(100%);
}

.cookie-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-bar-text {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-bar-link {
  color: var(--color-yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar-link:hover {
  color: #ffd740;
}

.cookie-bar-btn {
  flex-shrink: 0;
  background-color: var(--color-blue);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.4rem;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.cookie-bar-btn:hover {
  background-color: #044787;
}