/* =========================================================
   MOBILE-FIRST + RESPONSIVE para catálogo y modal
   (Pegar al final de tu styles.css)
   ========================================================= */
:root{
  --bg: #0b0c10;
  --card: #12141a;
  --card-2: #171a22;
  --text: #e5e7eb;
  --muted: #9aa3b2;
  --border: #232633;
  --primary: #22c55e;
  --chip: #1f2937;
  --shadow: 0 6px 20px rgba(0,0,0,.25);
  --radius: 14px;
  --radius-lg: 18px;
  --card-aspect: 4/5;
  --space: clamp(10px, 2.5vw, 16px);
}


/* Tipografía base */
html {
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  background-color: #1f2937;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Títulos */
h1, h2, h3 {
  font-weight: 600;
  color: #f8f9f9;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

/* Texto general */
p, li, span, label {
  font-size: 1.05rem;
}

/* Botones y acciones */
button, a.btn-primary, a.whatsapp {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.25px;
  text-transform: none;
}

/* Modal texto */
.ml-desc, .ml-meta, .ml-price {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #ecf1fa;
}
/* ======================
   LAYOUT (mobile first)
   ====================== */
.catalog-layout{
  display: grid;
  grid-template-columns: 1fr;          /* móvil: 1 columna */
  gap: var(--space);
  padding: var(--space);
  padding-bottom: calc(var(--space) + env(safe-area-inset-bottom, 0px));
}

/* Sidebar: card a ancho completo en móvil */
.sidebar{
  position: static;
  align-self: start;
}
.sidebar .panel, .sidebar .card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(12px, 2.6vw, 16px);
  box-shadow: var(--shadow);
}
.sidebar label{
  display: block; color: var(--muted); font-size: .95em; margin-bottom: 6px;
}
.sidebar select, .sidebar input{
  width: 100%;
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 42px;                 /* área táctil */
}

/* GRID productos: fluido y compacto en móvil */
#grid{
  display: grid;
  gap: clamp(10px, 2vw, 16px);
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  align-items: start;
}
@media (min-width: 480px){
  #grid{ grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (min-width: 768px){
  #grid{ grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* A partir de tablet/desktop: 2 columnas (sidebar + contenido) */
@media (min-width: 900px){
  .catalog-layout{
    grid-template-columns: 260px 1fr;
  }
}
@media (min-width: 1200px){
  .catalog-layout{
    grid-template-columns: 280px 1fr;
  }
  .sidebar{ position: sticky; top: 16px; }
}

/* ======================
   TARJETA de producto
   ====================== */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: pointer;                     /* toda la ficha clicable */
}
.card:focus-within,
.card:hover{
  transform: translateY(-2px);
  border-color: #2b3040;
  box-shadow: 0 10px 26px rgba(0,0,0,.32);
}

/* Media con carrusel */
.card .media{
  aspect-ratio: var(--card-aspect);
  background: #0f1015;
}

/* Cuerpo */
.card .body{
  padding: 10px 12px 12px;
  display: grid;
  gap: 8px;
}
.card .title{
  font-weight: 700;
  line-height: 1.25;
  margin: 2px 0 0;

  overflow: hidden; text-overflow: ellipsis;
  font-size: clamp(14px, 2.1vw, 16px);
}
.card .meta{
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.card .price{ font-weight: 800; letter-spacing: .2px; }
.card .chip{
  font-size: 12px; color: #cbd5e1; background: var(--chip);
  border: 1px solid #2b3241; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.card .desc{
  color: var(--muted) !important; font-size: .92em !important;
}

/* Acciones: vertical en móvil, horizontal en pantallas grandes */
.card .actions{
  display: grid; gap: 8px; grid-auto-flow: row;
}
@media (min-width: 520px){
  .card .actions{ display: flex; align-items: center; gap: 10px; }
}
.card .actions .page-btn{
  flex: 1 1 auto;
  padding: 10px 12px;
  min-height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #1a1f2b, #121620);
  border: 1px solid #2a3141;
  color: var(--text);
}
.card .actions .page-btn:hover{ filter: brightness(1.06); }
.card .actions .whatsapp{
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 12px; min-height: 42px;
  border-radius: 12px; border: 1px solid rgba(34,197,94,.35);
  background: rgba(34,197,94,.13); color: #86efac; font-weight: 700;
}
.card .actions .whatsapp:hover{ background: rgba(34,197,94,.18); }

/* ======================
   PAGINACIÓN / ESTADO
   ====================== */
#stats{
  color: var(--muted); font-size: .92em; margin: 0 0 8px;
}
#pagination{
  display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 8px;
}
.page-btn{
  background: var(--card-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 12px; min-height: 40px; cursor: pointer;
}
.page-btn[disabled]{ opacity:.5; cursor: not-allowed; }

/* ======================
   MODAL (<dialog>)
   ====================== */



/* ======================
   ACCESIBILIDAD / PERF
   ====================== */
.card:focus-visible, button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible{
  outline: 2px solid #3b82f6; outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
}






/* ========= Filtro arriba y bonito en móviles ========= */

/* 1) Mobile-first: forzamos layout en columna y sidebar arriba */
@media (max-width: 900px){
  .catalog-layout{
    /* Si ya usas grid, esto lo convierte a columna sin tocar tu DOM */
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  /* Filtro arriba + sticky */
  .sidebar{
    order: -1;                 /* súbelo arriba de las fichas */
    position: sticky;
    top: 8px;                  /* separadito del borde superior */
    z-index: 20;
  }

  /* Tarjeta del filtro con estilo “top bar” */
  .sidebar .panel,
  .sidebar .card{
    background: rgba(18,20,26,.85);
    border: 1px solid #252a39;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: 0 10px 26px rgba(0,0,0,.28);
    backdrop-filter: blur(6px);
  }

  /* Encabezado del filtro */
  .sidebar .panel h3,
  .sidebar .card h3{
    margin: 0 0 6px;
    font-size: 15px;
    letter-spacing: .2px;
  }

  .sidebar label{
    margin: 0 0 6px;
    font-size: 13px;
    opacity: .9;
  }

  /* Select “bonito” y táctil */
  .sidebar select{
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 44px;            /* área táctil */
    padding: 10px 40px 10px 12px;
    border-radius: 12px;
    border: 1px solid #2a3141;
    background:
      linear-gradient(180deg, #171a22, #111420) padding-box,
      linear-gradient(180deg, #2a3141, #23293a) border-box;
    color: #e5e7eb;
    font-weight: 600;
    letter-spacing: .2px;
    position: relative;
  }
  /* Flecha personalizada */
  .sidebar select{
    background-image:
      url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
  }
  .sidebar select:focus{
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,.25);
  }

  /* Enlace “Quitar filtros” sutil */
  .sidebar a{
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    color: #93c5fd;
    text-decoration: none;
  }
  .sidebar a:hover{ text-decoration: underline; }
}

/* 2) Desktop: mantenemos tu layout lateral limpio */
@media (min-width: 901px){
  .catalog-layout{
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
  }
  .sidebar{
    position: sticky;
    top: 16px;
    align-self: start;
  }
  .sidebar .panel,
  .sidebar .card{
    background: #12141a;
    border: 1px solid #232633;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
  }
}

/* 3) Detalles de armonía con las fichas (opcional) */
#grid{ scroll-margin-top: 90px; } /* al paginar hace buen anclaje debajo del filtro */



/* ====== FIX HEADER + HERO (override) ====== */

/* Contenedor centrado con ancho máximo */
.container{
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

/* Header sticky y nav legible */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 12, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding-block: 12px; }
.brand{ display:flex; align-items:center; gap:12px; }
.logo{ height:44px; width:auto; }
.brand-text{ display:flex; flex-direction:column; font-size:14px; }
.brand-text strong{ font-size:16px; }

.main-nav{ display:flex; align-items:center; gap:16px; }
.main-nav a{
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
}
.main-nav a:hover{
  background: rgba(255,255,255,.06);
}

/* En móviles puedes ocultar la nav si quieres (ya la tenías) */
@media (max-width: 768px){
  .main-nav{ display:none; }
}

/* ===== Hero a pantalla completa, centrado y con texto visible ===== */
.full-hero{
  position: relative;
  min-height: clamp(520px, 92vh, 800px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Imagen de fondo: cubre toda el área y centrada */
.hero-background{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
  opacity: .9;
}

/* Capa de contenido */
.hero-overlay{
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
  padding: clamp(16px, 4vw, 28px);
  color: #fff;
  /* degradado sutil para asegurar contraste del texto */
  background: linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,0));
  border-radius: 16px;
}

.hero-text h1{
  font-size: clamp(28px, 4.6vw, 56px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.hero-text p{
  font-size: clamp(15px, 2.2vw, 20px);
  color: #e5e7eb;
  margin: 0 0 16px;
}
.hero-actions{
  display:flex; flex-wrap:wrap; gap:12px; justify-content:center;
}

/* Botones del hero */
.btn-primary{
  background: #1f2937;
  color: #f8f9fc;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}
.btn-secondary{
  background: #000;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
}
.btn-primary:hover, .btn-secondary:hover{ filter: brightness(1.05); text-decoration:none; }


/* === Select de categorías: oscuro === */
:root { color-scheme: dark; } /* ayuda a que los controles adopten tema oscuro */

#categorySelect,
.sidebar select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #0b0c10;   /* fondo del control */
  color: #ffffff;              /* texto del control */
  border: 1px solid #2a3141;
  border-radius: 12px;
  padding: 10px 40px 10px 12px;
}

/* Flecha blanca */
#categorySelect,
.sidebar select {
  background-image:
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

/* Lista de opciones (Chromium/Edge/Firefox soportan color y fondo) */
#categorySelect option,
#categorySelect optgroup,
.sidebar select option,
.sidebar select optgroup {
  background-color: #0b0c10;   /* fondo del popup */
  color: #ffffff;              /* texto del popup */
}

/* Opción seleccionada/hover más visible */
#categorySelect option:checked,
.sidebar select option:checked {
  background-color: #111827;
  color: #ffffff;
}

/* Enfoque accesible */
#categorySelect:focus,
.sidebar select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,.35);
}



/* ===========================
   FIJAR HEADER + FILTROS
   =========================== */
:root{ --header-h: 72px; }           /* ajusta si tu header es más alto */

/* 1) Header fijo arriba */
.site-header{
  position: fixed;
  left: 0; right: 0; top: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(11,12,16,.85);    /* oscuro translúcido */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #232633;
}

/* Empuja el contenido para que no quede oculto bajo el header */
body{ padding-top: var(--header-h); }

/* 2) Filtros fijos (sticky) debajo del header */
.sidebar{
  position: sticky;
  top: calc(var(--header-h) + 12px); /* margen visual bajo el header */
  align-self: start;
  z-index: 5;
}

/* Asegura que padres no rompan sticky */
main, .catalog-layout, .container{ overflow: visible; }

/* MÓVIL: el filtro va arriba y sigue fijo bajo el header */
@media (max-width: 900px){
  .catalog-layout{ display: flex; flex-direction: column; gap: 14px; }
  .sidebar{ order: -1; top: calc(var(--header-h) + 8px); }
}


/* ===== Filtro fijo exactamente en su lugar ===== */
:root{
  --pin-top: 0px;
  --pin-left: 0px;
  --pin-width: 320px;
  --pin-height: 120px;
}

/* evita que otras reglas lo oculten o muevan */
.sidebar.hide-on-scroll{ transform:none !important; opacity:1 !important; pointer-events:auto !important; }

/* cuando el JS añada .pin-fixed, queda anclado a la ventana */
.sidebar.pin-fixed{
  position: fixed !important;
  top: var(--pin-top);
  left: var(--pin-left);
  width: var(--pin-width);
  z-index: 70;
  /* para select y radios */
  overflow: visible;
}

/* reserva el hueco que ocupaba la sidebar para que el grid no suba */
.sidebar-placeholder{
  height: var(--pin-height);
}

/* por si algún padre tenía overflow que rompía el cálculo */
main, .catalog-layout, .container{ overflow: visible; }



/* === MÓVILES: el filtro NO se superpone ni queda fijo === */
@media (max-width: 900px){
  /* que el layout no reserve huecos extra */
  .catalog-layout{ padding-top: 0 !important; }

  /* la sidebar vuelve al flujo normal (no fixed, no sticky) */
  .sidebar,
  .sidebar.pin-fixed{               /* por si quedó la clase del script */
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    z-index: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    order: -1;                      /* arriba del grid, debajo del título */
  }

  /* no queremos placeholder en móvil */
  .sidebar-placeholder{
    display: none !important;
    height: 0 !important;
  }
}


/* ===== Móviles: todas las etiquetas (chips) del producto con mismo tamaño ===== */
:root{
  --chip-w-m: 96px;   /* ancho deseado en móvil */
  --chip-h-m: 28px;   /* alto deseado en móvil */
}

@media (max-width: 640px){
  .card .chip{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: var(--chip-w-m);
    min-width: var(--chip-w-m);
    height: var(--chip-h-m);

    padding: 0 8px;                  /* no crece: mantiene tamaño */
    font-size: 12px;
    line-height: 1;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;         /* “…” si el texto es largo */
  }
}


/* ===== Centrado limpio en móviles (≤640px) ===== */
@media (max-width: 640px){
  /* centra lo principal dentro de la tarjeta */
  .card .body{
    text-align: center;
  }

  /* meta en 2 filas y centrada */
  .card .meta{
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 6px;
    justify-items: center;           /* precio y chip centrados */
  }
  .card .price{ justify-self: center; }

  /* chip centrado y tamaño uniforme opcional */
  .card .chip{
    display: inline-flex; align-items: center; justify-content: center;
    width: var(--chip-w-m, 96px);
    min-width: var(--chip-w-m, 96px);
    height: var(--chip-h-m, 28px);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  /* título centrado con clamping */
  .card .title{
    justify-self: center;
    display: -webkit-box; -webkit-box-orient: vertical; 
    overflow: hidden; text-overflow: ellipsis;
  }

  /* la descripción queda centrada en el bloque, pero alineada a la izquierda para legibilidad */
  .card .desc{
    margin-inline: auto;             /* centra el bloque */
    text-align: left;                /* texto alineado a la izquierda */
    max-width: 90%;
  }

  /* botones centrados y del mismo ancho */
  .card .actions{
    display: flex; flex-direction: column; align-items: center; gap: 8px;
  }
  .card .actions .page-btn,
  .card .actions .whatsapp{
    width: 100%;
    max-width: 320px;                /* mismo ancho en todas las cards */
  }
}


/* Botón WhatsApp global, mismo estilo que en las fichas */
.whatsapp,
.card .actions .whatsapp{
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(34,197,94,.35);
  background: rgba(34,197,94,.13);
  color: #86efac;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  transition: filter .15s ease, background .15s ease, border-color .15s ease;
}
.whatsapp:hover{ background: rgba(34,197,94,.18); }
.whatsapp:focus-visible{
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

/* Centrado y ancho coherente con las tarjetas en móvil */
.cta-center{ display:flex; justify-content:center; }
@media (max-width: 640px){
  .whatsapp{ width: 100%; max-width: 400px; }
}





















/* Miniaturas en fila horizontal con scroll de derecha a izquierda */
.ml-thumbs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.ml-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  scroll-snap-align: center;
  flex-shrink: 0;
}

.ml-thumbs img.active {
  border-color: #3483fa;
}

/* Botón de cerrar igual al botón de WhatsApp */
.btn-close-modal {
  background: #3483fa;
  color: white;
  font-weight: bold;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
  border: none;
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
}

.ml-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}











/* MINIATURAS HORIZONTALES */
.ml-thumbs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.ml-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  scroll-snap-align: center;
  flex-shrink: 0;
}

.ml-thumbs img.active {
  border-color: #3483fa;
}

/* BOTONES DE ACCIÓN UNIFORMES */
.btn-buy,
.btn-close-modal {
  background: #3483fa;
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  border: none;
  margin-top: 8px;
  cursor: pointer;
  display: block;
  width: auto;
  max-width: 100%;
}

.ml-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .ml-ml-style {
    display: flex;
    flex-direction: column;
    padding: 16px;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .ml-left,
  .ml-right {
    width: 100%;
  }

  .ml-thumbs {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }

  .ml-thumbs img {
    width: 50px;
    height: 50px;
  }

  .ml-viewer img {
    width: 100%;
    height: auto;
  }

  .ml-title {
    font-size: 18px;
    text-align: center;
  }

  .ml-price {
    font-size: 24px;
    text-align: center;
  }

  .ml-old-price,
  .ml-discount,
  .ml-cuotas {
    text-align: center;
  }

  .ml-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
  }

  .btn-buy,
  .btn-close-modal {
    font-size: 15px;
    width: auto;
    padding: 12px 24px;
  }

  .ml-desc-extra {
    margin-top: 20px;
    padding-top: 12px;
  }

  .ml-desc-extra h3 {
    text-align: center;
    font-size: 16px;
  }

  .ml-desc-extra p {
    font-size: 14px;
  }
}















.how-to-buy h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #fff;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeInUp 1s ease-in-out both;
}

.step {
  background: #1e293b;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: scale(1.02);
}

.step .icon {
  font-size: 2rem;
  line-height: 1;
}

.step p {
  margin: 0;
  color: #f1f5f9;
  font-size: 1.125rem;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





.contact-section {
  padding: 2rem 0;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.contact-info p {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin: 0.4rem 0;
}

.contact-info a {
  color: #93c5fd;
  text-decoration: underline;
}

.contact-info strong {
  color: #f8fafc;
}

.contact-cta .btn-primary {
  font-size: 1.2rem;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  border-radius: 10px;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .contact-info, .contact-cta {
    flex: 1;
  }

  .contact-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}



.social-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
  justify-content: center;
}

.social-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.3);
}





.custom-pagination-btn {
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  margin: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.custom-pagination-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.custom-pagination-btn:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

/* Responsive: centrado y adaptable */
#pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}


