/* ========================================================= */
/* 1. VARIABLES GLOBALES                                      */
/* ========================================================= */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --secondary: #0B1120;
  --accent: #06B6D4;

  --bg-light: #F4F6FB;
  --bg-white: #FFFFFF;

  --text-main: #111827;
  --text-light: #FFFFFF;
  --text-muted: #6B7280;

  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px rgba(0,0,0,0.05);

  --font-main: 'Outfit', system-ui, sans-serif;
}

/* ========================================================= */
/* 2. RESET + TIPOGRAFÍA                                     */
/* ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.6;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

html { scroll-behavior: smooth; }

/* ========================================================= */
/* 3. CONTENEDORES                                           */
/* ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 1.5rem;
}

/* ========================================================= */
/* 4. GRIDS UNIVERSALES                                      */
/* ========================================================= */
.grid-3 {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
/* ========================================================= */
/* HEADER                                                    */
/* ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 50;
  transition: 0.3s ease;
}

.header-content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 77px;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
}
/* ========================================================= */
/* HERO VIDEO RESPONSIVE                                     */
/* ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100dvh;
  padding-top: 80px;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.4),
    rgba(255,255,255,0.75)
  );
  z-index: -1;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: auto;
  z-index: 10;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--secondary);
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 1.5rem auto 3rem auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
/* ========================================================= */
/* BOTONES GLOBALES                                          */
/* ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline:hover {
  background: var(--secondary);
  color: white;
}
/* ========================================================= */
/* SECTIONS                                                  */
/* ========================================================= */
.section {
  padding: 7rem 0;
}

.section h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--secondary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 4rem auto;
}

.section-soft-bg {
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
}

.section-alt {
  background: var(--bg-light);
}
/* ========================================================= */
/* SERVICIOS                                                 */
/* ========================================================= */
.services-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: white;
  border-radius: 18px;
  padding: 2rem 2rem 2.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.service-card ul li {
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
}

.service-card ul li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 10px;
  background: linear-gradient(135deg, #22C55E, #4ADE80);
}

.btn-service {
  margin-top: auto;
  padding: 0.9rem 1.4rem;
  background: #000;
  border-radius: 10px;
  color: white;
  text-align: center;
  transition: 0.3s;
}

.btn-service:hover {
  background: linear-gradient(90deg, #2563EB, #9333EA);
}
/* ========================================================= */
/* PAQUETES FEJESAN                                          */
/* ========================================================= */
.package-card {
  background: white;
  padding: 2.8rem;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: 0.25s;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.package-tagline {
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--accent);
}

.package-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
}

.package-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.package-features li::before {
  content: "•";
  font-size: 1.6rem;
  margin-right: 1rem;
  color: var(--accent);
}

.btn-buy {
  width: 100%;
}
/* ========================================================= */
/* TIENDA / PRODUCTOS                                        */
/* ========================================================= */
.product-carousel-wrapper {
  position: relative;
  margin-top: 3rem;
}

/* Carrusel base */
.product-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

/* Tarjeta de producto */
.store-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: 0.2s;
  cursor: pointer;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.store-card-image img {
  width: 100%;
  border-radius: 18px 18px 0 0;
}

.store-card-content {
  padding: 1.2rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.store-card-title {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.store-card-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* La bolsa de la tarjeta se estiliza más abajo en
   "BOLSA EN TARJETAS", aquí no hace falta repetir nada */

/* ---------- CARRUSEL RESPONSIVO: 1 / 2 / 4 TARJETAS ---------- */

/* MÓVIL: 1 tarjeta ocupa casi todo el ancho */
.product-carousel .store-card,
.product-carousel .product-card {
  flex: 0 0 90%;
  max-width: 90%;
  min-width: 0;
}

/* TABLET (>= 640px): 2 tarjetas visibles */
@media (min-width: 640px) {
  .product-carousel .store-card,
  .product-carousel .product-card {
    flex: 0 0 calc(50% - 0.75rem);   /* 2 columnas con gap 1.5rem */
    max-width: calc(50% - 0.75rem);
  }
}

/* ESCRITORIO (>= 1024px): 4 tarjetas visibles */
@media (min-width: 1024px) {
  .product-carousel .store-card,
  .product-carousel .product-card {
    flex: 0 0 calc(25% - 1.125rem);  /* 4 columnas con gap 1.5rem */
    max-width: calc(25% - 1.125rem);
  }
}


/* ========================================================= */
/* DRAWER CARRITO                                            */
/* ========================================================= */
.cart-drawer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
}

.cart-drawer.is-open { pointer-events: auto; }

.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: 0.25s;
}

.cart-drawer.is-open .cart-drawer-overlay {
  opacity: 1;
}

.cart-drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 380px;
  max-width: 100%;
  height: 100%;
  background: white;
  transform: translateX(100%);
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open .cart-drawer-panel {
  transform: translateX(0);
}
/* ========================================================= */
/* CONTACTO                                                  */
/* ========================================================= */
.section-dark {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
/* ========================================================= */
/* FOOTER                                                    */
/* ========================================================= */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2.5rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
/* ========== NAV RESPONSIVO ========== */

/* Botón hamburguesa oculto en escritorio */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--secondary);
}

/* Menú desktop */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Vista móvil */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 40;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  }

  .main-nav a {
    width: 100%;
    font-size: 0.98rem;
  }

  .main-nav .cart-button {
    margin-top: 0.5rem;
  }

  /* Estado abierto (se lo añade app.js) */
  .main-nav.is-open {
    transform: translateY(0);
  }
}
/* ========== CARRITO DE COMPRA EN HEADER ========== */
/* =======================
   Botón de carrito redondo
   ======================= */

.cart-button {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

/* Icono del carrito (SVG) */
.cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon svg {
  width: 22px;
  height: 22px;
  stroke: #2563EB;
}

/* Contador dentro del carrito */
.cart-count {
  position: absolute;
  /* Ajusta estos dos valores si quieres moverlo un poco */
  top: 3px;   /* más grande = baja el círculo */
  left: 12px;  /* más grande = mueve el círculo a la derecha */

  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e5f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #020617;
  pointer-events: none; /* que no interfiera con el click */
}

/* Hover suave sin cambiar el diseño */
.cart-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.22);
  border-color: #c7d2fe;
}
.cart-icon svg {
  width: 50px;
  height: 50px;
}




/* ========== BOLSA EN TARJETAS DE TIENDA ========== */

.store-card-bag {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #111827;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

/* Degradado al pasar el mouse, como me comentaste */
.store-card-bag:hover {
  background: linear-gradient(90deg, #2563EB, #9333EA);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}
/* ========== PANEL LATERAL DEL CARRITO ========== */

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100%;
  height: 100%;
  background: #ffffff;
  box-shadow: -8px 0 30px rgba(15, 23, 42, 0.25);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-open {
  pointer-events: auto;
}

.cart-drawer.is-open .cart-drawer-overlay {
  opacity: 1;
}

.cart-drawer.is-open .cart-drawer-panel {
  transform: translateX(0);
}
/* ========== HEADER LAYOUT ========== */

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Links del nav */
.main-nav a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--primary);
}

/* ========== NAV RESPONSIVO ========== */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--secondary);
}

/* Desktop: nav visible, burger solo en móvil */
@media (min-width: 769px) {
  .main-nav {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 40;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }
}

/* ========== BOLSA HEADER ========== */

.header-actions .cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease;
}

.header-actions .cart-icon {
  font-size: 1.2rem;
}

.header-actions .cart-count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  background: #e5f0ff;
  color: #111827;
}

/* Hover degradado */
.header-actions .cart-button:hover {
  background: linear-gradient(90deg, #2563EB, #9333EA);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.header-actions .cart-button:hover .cart-icon,
.header-actions .cart-button:hover .cart-count {
  color: #ffffff;
  background: transparent;
}
/* ========== ESTILO DEL CARRITO LATERAL ========== */

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 1.25rem 1.25rem;
  background: #f9fafb;
}

.cart-empty {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 1rem;
}

/* Cada item como "tarjetita" */
.cart-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2563eb;
}

/* Controles cantidad + eliminar */
.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.cart-qty-group {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.cart-qty-btn {
  border-radius: 999px;
  width: 24px;
  height: 24px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-qty {
  font-size: 0.9rem;
  min-width: 1.5rem;
  text-align: center;
}

.cart-remove-btn {
  border: none;
  background: transparent;
  font-size: 0.8rem;
  color: #ef4444;
  cursor: pointer;
}

/* Footer del carrito más marcado */
.cart-drawer-footer {
  border-top: 1px solid #e5e7eb;
  padding: 0.9rem 1.25rem 1.1rem;
  background: #ffffff;
}

.cart-drawer-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}
/* ========================================================= */
/* CTA FINAL                                                  */
/* ========================================================= */
.cta-final {
  padding: 4.5rem 0;
  background: linear-gradient(90deg, #2563EB 0%, #9333EA 100%);
  color: #ffffff;
}

.cta-final-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.cta-final-content h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-final-content p {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 2.4rem auto;
  opacity: 0.9;
}

.cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-cta-primary,
.btn-cta-secondary {
  border-radius: 999px;
  padding: 0.9rem 1.9rem;
  font-weight: 600;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-cta-primary {
  background: #ffffff;
  color: #111827;
}

.btn-cta-primary:hover {
  background: #f9fafb;
}

.btn-cta-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}

.btn-cta-secondary:hover {
  background: rgba(15,23,42,0.15);
}

/* ========================================================= */
/* FOOTER EXTENDIDO                                           */
/* ========================================================= */

.site-footer {
  background: #020617; /* muy oscuro tipo tailwind slate-950 */
  color: rgba(248,250,252,0.82);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.9rem;
}

/* 4 columnas (Fejesan Digital, Servicios, Empresa, Conecta) */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 3rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
}

.footer-logo-pill {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563EB, #9333EA);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(15,23,42,0.45);
}

.footer-brand h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: #e5e7eb;
  text-transform: capitalize;
}

.footer-brand p {
  margin: 0;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-column {
  min-width: 160px;
}

.footer-column h4 {
  margin: 0 0 0.9rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.footer-column a {
  display: block;
  margin-bottom: 0.45rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-column p {
  margin: 0 0 0.9rem 0;
  color: #9ca3af;
}

.btn-footer-subscribe {
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  border: none;
  background: linear-gradient(90deg, #2563EB, #9333EA);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-footer-subscribe:hover {
  filter: brightness(1.05);
}

.footer-bottom {
  border-top: 1px solid rgba(148,163,184,0.35);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* Tablets: 2 columnas */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Móviles: 1 columna centrada */
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
    max-width: 100%;
  }

  .footer-column {
    text-align: center;
  }
}
/* ========================================================= */
/* BLOG HERO TIPO TECHCRUNCH                                 */
/* ========================================================= */

/* Fondo en degradado estilo fejesan, tipo franja completa */
.blog-hero {
  background: linear-gradient(90deg, #2563EB, #9333EA);
  color: #F9FAFB;
  padding: 2.5rem 0 3.5rem;
}

/* Centrado del contenido */
.blog-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* LOGO CENTRADO COMO TECHCRUNCH */
.blog-hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.blog-logo-img {
  height: 52px;              /* ajusta si quieres más grande */
  filter: drop-shadow(0 10px 25px rgba(15,23,42,0.3));
}

/* GRID 3 COLUMNAS: grande + 2 medios + lista lateral */
.blog-hero-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.4fr 1.2fr;
  gap: 1.75rem;
  align-items: stretch;
}

/* Artículo principal grande */
.blog-hero-main {
  background: #020617;
  border-radius: 1.5rem;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.blog-hero-main-placeholder {
  color: rgba(249,250,251,0.85);
  font-size: 0.95rem;
}

/* Cuando tenga contenido real (pondrás estas clases desde JS) */
.blog-hero-main-category {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.9);
  margin-bottom: 0.75rem;
}

.blog-hero-main-title {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 0.75rem 0;
}

.blog-hero-main-meta {
  margin-top: auto;
  font-size: 0.8rem;
  color: rgba(148,163,184,0.9);
}

/* Columna central: 2 tarjetas apiladas */
.blog-hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.blog-hero-side-card {
  background: rgba(15,23,42,0.9);
  border-radius: 1.25rem;
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.blog-hero-side-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(15,23,42,0.4);
  background: rgba(15,23,42,1);
}

.blog-hero-side-category {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.95);
  margin-bottom: 0.4rem;
}

.blog-hero-side-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.4rem 0;
}

.blog-hero-side-meta {
  margin-top: auto;
  font-size: 0.78rem;
  color: rgba(148,163,184,0.9);
}

/* Columna derecha: “Artículos principales” */
.blog-hero-headlines {
  background: #F9FAFB;
  color: #020617;
  border-radius: 1.5rem;
  padding: 1.6rem 1.4rem;
}

.blog-hero-headlines h3 {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0f172a;
}

.blog-hero-headlines ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-hero-headlines li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.blog-hero-headlines li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-top: 0.25rem;
  background: linear-gradient(135deg,#2563EB,#9333EA);
}

/* Link del título dentro de la lista */
.blog-hero-headlines a {
  color: #111827;
}

.blog-hero-headlines a:hover {
  color: #2563EB;
}

/* ================== RESPONSIVE ================== */

/* Laptops pequeñas / tablets paisaje */
@media (max-width: 1024px) {
  .blog-hero-grid {
    grid-template-columns: 1.8fr 1.5fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "main side"
      "headlines headlines";
  }

  .blog-hero-main {
    grid-area: main;
  }

  .blog-hero-side {
    grid-area: side;
  }

  .blog-hero-headlines {
    grid-area: headlines;
  }
}

/* Tablets y móviles */
@media (max-width: 768px) {
  .blog-hero {
    padding: 2rem 0 2.75rem;
  }

  .blog-logo-img {
    height: 44px;
  }

  .blog-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "side"
      "headlines";
  }

  .blog-hero-main {
    min-height: 260px;
  }

  .blog-hero-headlines {
    margin-top: 0.5rem;
  }
}
