﻿/* =========================================================
   🎨 VARIABLES GLOBALES
========================================================= */
:root {
  --brand: #1F2D54;
  --brand-2: #0e1a3a;
  --accent: #06B6D4;
  --text: #222;
  --muted: #6b7280;
  --bg: #f5f7fb;
  --gold: rgb(252,152,3);
  --gold-700: rgb(210,127,3);
}

/* =========================================================
   ⚙️ RESET Y BASE
========================================================= */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* =========================================================
   🧭 HEADER FLOTANTE
========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 2000; /* ➕ subido para superponer al panel móvil */
  background: rgba(31, 45, 84, 0.95);
  backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  transition: all 0.3s ease;
}
body { padding-top: 90px; }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  position: relative; /* ➕ ancla el nav absoluto al header */
}

.logo a { display: flex; align-items: center; }
.logo-img { height: 72px; width: auto; display: block; transition: all .3s ease; }

/* =========================================================
   🧭 MENÚ
========================================================= */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 1999; /* ➕ queda debajo del header pero encima del contenido */
}
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  margin: 0 6px;
  color: #fff;
  font-weight: 400;
  opacity: .95;
  transition: .2s ease;
}
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.nav a.active {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold-700);
  border-radius: 9999px;
  padding: 6px 12px;
  box-shadow: 0 0 0 1px rgba(252,152,3,.18);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  z-index: 2001; /* ➕ por encima del panel del nav */
}

/* =========================================================
   🍔 MENÚ HAMBURGUESA (RESTABLECIDO)
   - Desktop: nav visible, botón oculto
   - Móvil: nav colapsado, botón visible
========================================================= */

/* Estado base (desktop) */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Botón hamburguesa (oculto en desktop) */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 8px;
  cursor: pointer;
}

/* Icono dentro del botón (opcional) */
.menu-toggle svg { display: block; }

/* -------- Responsive: activar hamburguesa -------- */
/* ======= HAMBURGUESA: móvil fuerte ======= */
@media (max-width: 768px) {
  /* Botón visible en móvil */
  .site-header .menu-toggle { 
    display: inline-flex !important; 
    margin-left: auto; 
  }

  /* El header sirve de ancla para el nav absoluto */
  .site-header .container { position: relative; }

  /* Nav colapsado por defecto (ganamos especificidad y prioridad) */
  .site-header .container .nav {
    display: none !important;           /* <- vence cualquier display:flex anterior */
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    padding: 12px 0;
    background: rgba(31,45,84,.97);
    border-top: 1px solid rgba(255,255,255,.15);
    z-index: 3001;                       /* por encima del contenido */
  }

  /* Nav abierto por JS */
  .site-header .container .nav.open {
    display: flex !important;
  }

  .site-header .container .nav a {
    width: calc(100% - 32px);
    margin: 6px 16px;
    padding: 10px 0;
    text-align: center;
    border-radius: 10px;
    color: #fff;
    font-weight: 400;
    font-size: 1.05rem;
    text-decoration: none;
  }

  .site-header .container .nav a.active {
    background: var(--gold);
    color: #fff;
    border: 1px solid var(--gold-700);
    padding: 10px 12px;
    box-shadow: 0 0 0 1px rgba(252,152,3,.18);
  }
}


/* =========================================================
   💡 EFECTO SCROLL HEADER
========================================================= */
.scrolled {
  background: rgba(15, 26, 58, 0.97);
  box-shadow: 0 3px 16px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}

/* =========================================================
   🏠 HERO (IMAGEN + TEXTO EN FILA)
========================================================= */
.hero {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 70px 0;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-col {
  flex: 1 1 50%;
  min-width: 300px;
}

/* Imagen más pequeña */
.hero-img {
  width: 100%;
  max-width: 300px;   /* antes 400px */
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.18));
  transition: transform .3s ease;
}
.hero-img:hover { transform: scale(1.02); }

/* Texto reducido */
.hero-text-col h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); /* antes 2.6rem */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-text-col p {
  font-size: clamp(0.9rem, 1vw, 1rem); /* antes 1.1rem */
  line-height: 1.6;
  color: #eef2ff;
  margin-bottom: 14px;
  text-align: justify;
}

.hero-text-col p strong {
  color: #fff;
  font-weight: 800;
}

/* Botón */
.hero .btn {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold-700);
  padding: 10px 24px; /* ligeramente más pequeño */
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(252,152,3,.22);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.hero .btn:hover {
  background: var(--gold-700);
  border-color: var(--gold-700);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(252,152,3,.28);
}

.hero-col.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra verticalmente */
  align-items: center;     /* centra horizontalmente */
  text-align: center;
  min-height: 100%;        /* asegura altura suficiente */
}
/* =========================================================
   📱 RESPONSIVE
========================================================= */

/* Tablets medianas */
@media (max-width: 992px) {
  .hero-flex {
    gap: 30px;
  }
  .hero-text-col h1 {
    font-size: 1.8rem;
  }
  .hero-text-col p {
    font-size: 0.95rem;
  }
  .hero-img {
    max-width: 320px;
  }
}

/* Móviles: imagen arriba, texto abajo */
@media (max-width: 768px) {
  .hero-flex {
    flex-direction: column;
    text-align: center;
  }
  .hero-col { flex: 1 1 100%; }
  .hero-img {
    max-width: 260px; /* más pequeña aún en móvil */
    margin-bottom: 18px;
  }
  .hero-text-col h1 {
    font-size: 1.5rem;
  }
  .hero-text-col p {
    font-size: 0.9rem;
    text-align: center;
  }
  .hero .btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}

/* =========================================================
   ⚓ FOOTER
========================================================= */
.site-footer {
  background: #0b132b;
  color: #9ca3af;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}
.muted { color: var(--muted); font-size: .9rem; }

/* ----- Servicios ----- */
.sec-title { display:flex; gap:.6rem; align-items:center; font-weight:800; }

.servicios-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.servicio-card{
  grid-column: span 12;
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:1rem;
  background: #0f1733;           /* mantiene estética oscura */
  color:#fff;
  border-radius:16px;
  padding:14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.servicio-media img{
  width:100%; height:140px; object-fit:cover;
  border-radius:12px;
}

.servicio-body h3{ margin:0 0 .35rem; font-weight:800; }
.servicio-body p{ margin:0 0 .8rem; line-height:1.5; color:#dfe6ff; }

.servicio-actions{
  display:flex; flex-wrap:wrap; gap:.6rem;
}

.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  border:0; cursor:pointer; border-radius:999px;
  padding:.55rem .95rem; font-weight:700; text-decoration:none;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}

.btn i{ font-size:1rem; }         /* icono a la izquierda */
.btn span{ line-height:1; }       /* texto a la derecha */

.btn-info{ background:#3757ff; color:#fff; }
.btn-info:hover{ transform:translateY(-1px); box-shadow:0 6px 16px rgba(55,87,255,.35); }

.btn-precios{ background:#1abc9c; color:#0b2239; }
.btn-precios:hover{ transform:translateY(-1px); box-shadow:0 6px 16px rgba(26,188,156,.35); }

.planes{
  margin-top:.9rem;
  display:grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap:.7rem;
  animation: fadeIn .2s ease;
}

.plan{
  background:#0b1330;
  border:1px solid #263160;
  border-radius:14px; padding:.85rem;
}

.plan h4{ margin:0 0 .25rem; font-size:1rem; font-weight:800; }
.plan .precio{ font-weight:800; margin-bottom:.35rem; }
.plan ul{ margin:0; padding-left:1rem; font-size:.92rem; color:#c8d1ff; }
.plan li{ margin:.15rem 0; }

@keyframes fadeIn{ from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:none;} }

/* Responsive */
@media (max-width: 920px){
  .servicio-card{ grid-template-columns: 1fr; }
  .servicio-media img{ height:180px; }
  .planes{ grid-template-columns: 1fr; }
}

/* Asegura que todo panel con hidden realmente no se vea */
.planes[hidden] {
  display: none !important;
}

/* =========================================================
   ⚓ FOOTER (UNIFICADO)
========================================================= */

/* ==== Footer principal ==== */
.site-footer {
  background: #0a1129;
  color: #fff;
  padding-top: 40px;
  position: relative;
  z-index: 5;
}

/* ==== Footer Grid (UNA sola definición) ==== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr; /* 3 columnas */
  gap: 40px;
  align-items: flex-start;
  justify-items: center; /* centramos contenido sin forzar ancho */
  padding: 48px 0 40px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
}

/* ==== Columna 1: Marca Centrada ==== */
.footer-brand.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-brand.center .footer-logo img {
  width: 190px;
  height: auto;
  margin-bottom: 20px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}
.footer-brand.center .footer-logo img:hover {
  transform: scale(1.07);
  filter: drop-shadow(0 4px 12px rgba(255,255,255,0.2));
}
.footer-brand.center .footer-desc {
  max-width: 420px;
  margin: 0 auto 22px;
  font-size: 0.95rem;
  color: #cfd6f5;
  line-height: 1.6;
  text-align: center;
}
.footer-brand.center .footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-brand.center .footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: #18224a; color: #e9eefc; font-size: 1.5rem;
  transition: all .25s ease; text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,.3);
}
.footer-brand.center .footer-social a:hover { transform: translateY(-4px); }
.footer-brand.center .footer-social a[aria-label*="Facebook"]:hover { background:#1877f2; }
.footer-brand.center .footer-social a[aria-label*="TikTok"]:hover { background:linear-gradient(45deg,#ff0050,#00f2ea); }
.footer-brand.center .footer-social a[aria-label*="YouTube"]:hover { background:#ff0000; }
@media (max-width: 480px){
  .footer-brand.center .footer-logo img { width:150px; }
  .footer-brand.center .footer-social a { width:48px; height:48px; font-size:1.3rem; }
}

/* ==== Columna 2: WhatsApp Directo (ANCHO MEJORADO) ==== */
.footer-whatsapp {
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  width: 100%;
}
.footer-whatsapp .whatsapp-item {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(145deg,#18224a,#111832);
  border-radius: 16px;
  padding: 18px 24px;                  /* ↑ más padding */
  width: 100%;
  max-width: 460px;                    /* ↑ más ancho */
  color: #e9eefc; text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.footer-whatsapp .whatsapp-item:hover { transform: translateY(-4px); filter: brightness(1.15); }

/* Icono principal (izquierda) */
.footer-whatsapp .whatsapp-item i {
  font-size: 1.8rem; width: 50px; height: 50px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 50%; background:#1F2D54; transition: all .25s ease;
}

/* Texto centrado */
.footer-whatsapp .whatsapp-text {
  display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1.3;
}
.footer-whatsapp .label {
  font-size: .95rem; color:#cfd6f5; text-transform:uppercase; letter-spacing:.4px; margin-bottom:4px;
}
.footer-whatsapp .number {
  font-size: 1.2rem; font-weight: 800; color:#fff;
  display:flex; align-items:center; gap:8px;
}

/* Colores distintivos por tipo */
.footer-whatsapp .ventas i { background:#25D366; color:#fff; }
.footer-whatsapp .activaciones i { background:#1877f2; color:#fff; }
.footer-whatsapp .soporte i { background:#ff9800; color:#fff; }

/* Hover icono */
.footer-whatsapp .whatsapp-item:hover i { transform: scale(1.08); box-shadow:0 0 10px rgba(255,255,255,.25); }

/* Responsivo col 2 */
@media (max-width: 992px){
  .footer-whatsapp .whatsapp-item { max-width: 520px; } /* más ancho en tablet */
}
@media (max-width: 768px){
  .footer-whatsapp .whatsapp-item { width: 92%; max-width: 520px; }
}

/* ==== Columna 3: Enlaces y Contacto Centrado ==== */
.footer-links.center {
  display:flex; flex-direction:column; align-items:center; text-align:center; justify-content:center; gap:24px;
}
.footer-links.center h4{
  font-size:1.1rem; color:#fff; letter-spacing:.4px; margin-bottom:10px;
  display:flex; align-items:center; justify-content:center; gap:8px; text-transform:uppercase;
}
.footer-links.center h4 i{ color:#00bcd4; font-size:1rem; }

/* Enlaces */
.footer-links-nav{
  display:flex; flex-direction:column; align-items:center; gap:12px;
}
.footer-links-nav a{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  color:#cfd6f5; text-decoration:none; padding:8px 14px; border-radius:10px;
  transition: all .25s ease; font-weight:500; background:rgba(255,255,255,.03);
  width: 240px;                          /* ↑ un poco más ancho para equilibrio visual */
}
.footer-links-nav a i{ font-size:1rem; opacity:.9; width:18px; }
.footer-links-nav a:hover{
  color:#fff; background:rgba(255,255,255,.08); transform: translateY(-3px);
  box-shadow:0 2px 10px rgba(0,0,0,.2);
}
.footer-links-nav a[href*="proyectos"] i{ color:#1abc9c; }
.footer-links-nav a[href*="eventos"] i{ color:#f1c40f; }
.footer-links-nav a[href*="comprobantes"] i{ color:#e67e22; }
.footer-links-nav a[href*="clientes"] i{ color:#3498db; }

/* Contacto */
.footer-contact{ display:flex; flex-direction:column; align-items:center; gap:6px; color:#d7defc; line-height:1.5; }
.footer-contact p{ margin:0; font-size:.95rem; display:flex; align-items:center; gap:8px; justify-content:center; }
.footer-contact p i{ color:#00bcd4; width:18px; text-align:center; }

@media (max-width:768px){
  .footer-links.center { align-items:center; }
  .footer-links-nav a { width:100%; max-width: 300px; }
}

/* ==== Footer Bar (fuera del grid) ==== */
.footer-bar {
  width: 100%;
  background: #050a1b;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  text-align: center;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.footer-bar-inner{
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px;
  font-size:.95rem; color:#bfc8f0;
}
.footer-bar-inner p{ margin:0; color:#bfc8f0; font-size:.95rem; }
.footer-bar-inner a{ color:#cfd6f5; text-decoration:none; font-weight:500; transition: color .25s ease; }
.footer-bar-inner a:hover{ color:#00bcd4; text-decoration:underline; }
.footer-bar-inner .divider{ color:#7985ba; font-weight:600; }

@media (max-width:600px){
  .footer-bar-inner{ flex-direction:column; gap:6px; font-size:.9rem; }
  .footer-bar-inner .divider{ display:none; }
}



/* enlaces de contacto clicables (correo/teléfono) – compacto */
.footer-links.center .footer-contact .contact-link {
  color: #cfd6f5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;          /* 🔻 menos padding */
  min-height: 36px;           /* 🔻 menos alto */
  border-radius: 8px;
  font-size: 0.95rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.footer-links.center .footer-contact .contact-link:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.footer-links.center .footer-contact .contact-link:active {
  transform: translateY(0);
}

/* En móvil mantenemos accesibilidad táctil */
@media (max-width: 480px) {
  .footer-links.center .footer-contact .contact-link {
    padding: 10px 12px;
    min-height: 44px;
  }
}




/* =========================================================
   ⚓ FOOTER (UNIFICADO)
========================================================= */

/* ==== Footer principal ==== */
.site-footer {
  background: #0a1129;
  color: #fff;
  padding-top: 40px;
  position: relative;
  z-index: 5;
}

/* ==== Footer Grid ==== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr; /* 3 columnas */
  gap: 40px;
  align-items: flex-start;
  justify-items: center;
  padding: 48px 0 40px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
}

/* ==== Columna 1: Marca Centrada ==== */
.footer-brand.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-brand.center .footer-logo img {
  width: 190px;
  height: auto;
  margin-bottom: 20px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}
.footer-brand.center .footer-logo img:hover {
  transform: scale(1.07);
  filter: drop-shadow(0 4px 12px rgba(255,255,255,0.2));
}
.footer-brand.center .footer-desc {
  max-width: 420px;
  margin: 0 auto 22px;
  font-size: 0.95rem;
  color: #cfd6f5;
  line-height: 1.6;
  text-align: center;
}
.footer-brand.center .footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-brand.center .footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: #18224a; color: #e9eefc; font-size: 1.5rem;
  transition: all .25s ease; text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,.3);
}
.footer-brand.center .footer-social a:hover { transform: translateY(-4px); }
.footer-brand.center .footer-social a[aria-label*="Facebook"]:hover { background:#1877f2; }
.footer-brand.center .footer-social a[aria-label*="TikTok"]:hover { background:linear-gradient(45deg,#ff0050,#00f2ea); }
.footer-brand.center .footer-social a[aria-label*="YouTube"]:hover { background:#ff0000; }
@media (max-width: 480px){
  .footer-brand.center .footer-logo img { width:150px; }
  .footer-brand.center .footer-social a { width:48px; height:48px; font-size:1.3rem; }
}

/* ==== Columna 2: WhatsApp Directo ==== */
.footer-whatsapp {
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  width: 100%;
}
.footer-whatsapp .whatsapp-item {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(145deg,#18224a,#111832);
  border-radius: 16px;
  padding: 18px 24px;
  width: 100%;
  max-width: 460px;
  color: #e9eefc; text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.footer-whatsapp .whatsapp-item:hover { transform: translateY(-4px); filter: brightness(1.15); }

.footer-whatsapp .whatsapp-item i {
  font-size: 1.8rem; width: 50px; height: 50px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 50%; background:#1F2D54; transition: all .25s ease;
}

.footer-whatsapp .whatsapp-text {
  display:flex; flex-direction:column; align-items:center; justify-content:center; line-height:1.3;
}
.footer-whatsapp .label {
  font-size: .95rem; color:#cfd6f5; text-transform:uppercase; letter-spacing:.4px; margin-bottom:4px;
}
.footer-whatsapp .number {
  font-size: 1.2rem; font-weight: 800; color:#fff;
  display:flex; align-items:center; gap:8px;
}

/* Colores distintivos */
.footer-whatsapp .ventas i { background:#25D366; color:#fff; }
.footer-whatsapp .activaciones i { background:#1877f2; color:#fff; }
.footer-whatsapp .soporte i { background:#ff9800; color:#fff; }

.footer-whatsapp .whatsapp-item:hover i { transform: scale(1.08); box-shadow:0 0 10px rgba(255,255,255,.25); }
@media (max-width: 992px){ .footer-whatsapp .whatsapp-item { max-width: 520px; } }
@media (max-width: 768px){ .footer-whatsapp .whatsapp-item { width: 92%; max-width: 520px; } }

/* ==== Columna 3: Enlaces/Contacto ==== */
.footer-links.center {
  display:flex; flex-direction:column; align-items:center; text-align:center; justify-content:center; gap:24px;
}
.footer-links.center h4{
  font-size:1.1rem; color:#fff; letter-spacing:.4px; margin-bottom:10px;
  display:flex; align-items:center; justify-content:center; gap:8px; text-transform:uppercase;
}
.footer-links.center h4 i{ color:#00bcd4; font-size:1rem; }

/* Enlaces */
.footer-links-nav{
  display:flex; flex-direction:column; align-items:center; gap:12px;
}
.footer-links-nav a{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  color:#cfd6f5; text-decoration:none; padding:8px 14px; border-radius:10px;
  transition: all .25s ease; font-weight:500; background:rgba(255,255,255,.03);
  width: 240px;
}
.footer-links-nav a i{ font-size:1rem; opacity:.9; width:18px; }
.footer-links-nav a:hover{
  color:#fff; background:rgba(255,255,255,.08); transform: translateY(-3px);
  box-shadow:0 2px 10px rgba(0,0,0,.2);
}
.footer-links-nav a[href*="proyectos"] i{ color:#1abc9c; }
.footer-links-nav a[href*="eventos"] i{ color:#f1c40f; }
.footer-links-nav a[href*="comprobantes"] i{ color:#e67e22; }
.footer-links-nav a[href*="clientes"] i{ color:#3498db; }

/* Contacto */
.footer-contact{ display:flex; flex-direction:column; align-items:center; gap:6px; color:#d7defc; line-height:1.5; }
.footer-contact p{ margin:0; font-size:.95rem; display:flex; align-items:center; gap:8px; justify-content:center; }
.footer-contact p i{ color:#00bcd4; width:18px; text-align:center; }

@media (max-width:768px){
  .footer-links.center { align-items:center; }
  .footer-links-nav a { width:100%; max-width: 300px; }
}

/* ==== Footer Bar ==== */
.footer-bar {
  width: 100%;
  background: #050a1b;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  text-align: center;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.footer-bar-inner{
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px;
  font-size:.95rem; color:#bfc8f0;
}
.footer-bar-inner p{ margin:0; color:#bfc8f0; font-size:.95rem; }
.footer-bar-inner a{ color:#cfd6f5; text-decoration:none; font-weight:500; transition: color .25s ease; }
.footer-bar-inner a:hover{ color:#00bcd4; text-decoration:underline; }
.footer-bar-inner .divider{ color:#7985ba; font-weight:600; }

@media (max-width:600px){
  .footer-bar-inner{ flex-direction:column; gap:6px; font-size:.9rem; }
  .footer-bar-inner .divider{ display:none; }
}

/* enlaces de contacto clicables (correo/teléfono) */
.footer-links.center .footer-contact .contact-link {
  color: #cfd6f5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  min-height: 36px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.footer-links.center .footer-contact .contact-link:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.footer-links.center .footer-contact .contact-link:active { transform: translateY(0); }
@media (max-width: 480px) {
  .footer-links.center .footer-contact .contact-link {
    padding: 10px 12px;
    min-height: 44px;
  }
}




/* =========================================================
   📄 Comprobantes — Fondo azul moderno + glass
   - Fondo igual a “Clientes”
   - Título blanco y en negrita
   - Tarjeta translúcida + botón dorado
========================================================= */

:root{
  --brand: #1F2D54;
  --brand-2: #0e1a3a;
  --gold: #FCA503;
  --gold-700: #D27F03;
  --muted: #cfd7ff;
  --bg: #0f1a37;

  /* Extras para look moderno */
  --glass-bg: rgba(255,255,255,0.08);
  --glass-stroke: rgba(255,255,255,0.18);
  --text-subtle: rgba(255,255,255,0.85);
  --shadow-1: 0 10px 30px rgba(0,0,0,0.35);
  --shadow-2: 0 20px 50px rgba(0,0,0,0.35);
  --ring: 0 0 0 3px rgba(252,165,3,0.25);
}

/* ---------- Fondo azul moderno ---------- */
.redir-section {
  min-height: 100vh;
  padding: clamp(28px, 5vw, 60px) 20px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Gradiente + luces */
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(6,182,212,0.16), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(31,45,84,0.22), transparent 60%),
    linear-gradient(180deg, #0b1430 0%, #14234f 100%);
  position: relative;
  overflow: hidden;
}

.redir-section::before,
.redir-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  pointer-events: none;
  transition: transform .6s ease;
}
.redir-section::before {
  background: #06B6D4;
  top: -140px;
  left: -160px;
}
.redir-section::after {
  background: #3b5eff;
  bottom: -160px;
  right: -180px;
}
.redir-section:hover::before { transform: translate3d(0,6px,0); }
.redir-section:hover::after { transform: translate3d(0,-6px,0); }

/* ---------- Grid general ---------- */
.redir-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(380px, 520px);
  align-items: center;
  column-gap: clamp(20px, 3vw, 32px);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .redir-grid { grid-template-columns: 1fr; row-gap: 24px; text-align: center; }
}

/* ---------- Columna izquierda ---------- */
.redir-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.redir-mascota {
  width: clamp(200px, 34vw, 320px);
  height: auto;
  filter:
    drop-shadow(0 0 0 #000)
    drop-shadow(0 2px 0 #000)
    drop-shadow(0 -2px 0 #000)
    drop-shadow(2px 0 0 #000)
    drop-shadow(-2px 0 0 #000)
    drop-shadow(0 10px 24px rgba(0,0,0,.45));
  animation: floaty 4.8s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ---------- Tarjeta derecha (glass) ---------- */
.redir-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-stroke);
  border-radius: 20px;
  padding: clamp(22px, 3.2vw, 36px);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
}
.redir-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%);
  pointer-events: none;
}

/* ---------- Título principal ---------- */
#redir-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
  color: #fff;          /* Blanco puro */
  font-weight: 800;     /* Negrita */
  text-transform: none;
}
#redir-title strong {
  font-weight: inherit; /* Evita doble grosor */
}

/* ---------- Descripción ---------- */
.redir-card .lead {
  color: var(--text-subtle);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ---------- Botones ---------- */
.redir-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.btn-primary {
  display: block;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--gold), var(--gold-700));
  color: #141e3d;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 22px rgba(252,165,3,.35),
              inset 0 2px 0 rgba(255,255,255,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(252,165,3,.42);
}
.btn-primary:focus-visible {
  outline: none;
  box-shadow: var(--ring), 0 10px 22px rgba(252,165,3,.35);
}

/* ---------- Contador opcional ---------- */
.mini {
  font-size: .9rem;
  color: #a8b7e6;
  margin-top: 10px;
}
.mini .count {
  font-weight: 800;
  color: #fff;
}
.mini-cancel {
  margin-left: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  transition: background .15s ease;
}
.mini-cancel:hover {
  background: rgba(255,255,255,.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .redir-card { padding: 24px; }
  .redir-mascota { width: clamp(150px, 58vw, 250px); }
  .redir-actions .btn { width: 100%; }
}

/* ===== Compactar espacio arriba SOLO en móvil/tablet ===== */
@media (max-width: 768px) {
  .redir-section {
    /* deja de centrar verticalmente para que suba el contenido */
    align-items: flex-start;
    /* recorta el espacio superior al mínimo */
    padding-top: clamp(40px, 1vh, 10px) !important;
    /* evita que el 100vh genere “aire” extra bajo headers fijos */
    min-height: auto;
  }

  /* un poco menos de aire entre mascota y texto */
  .redir-left { gap: 6px; }

  /* por si el título aporta espacio arriba */
  #redir-title { margin-top: 4px; }
}




/* =========================================================
   Proyectos
========================================================= */
/* ===== Base ===== */
.redir-section { padding: 32px 0; }
.redir-section .container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ===== Encabezado (mascota + texto) ===== */
.proy-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.proy-mascota {
  width: 100px; height: 100px; object-fit: contain;
  border-radius: 12px;
}
.proy-descripcion h1 { font-size: 1.8rem; margin: 0 0 6px; }
.proy-descripcion .lead { margin: 0; color: #a5a8ad; }

/* ===========================
   Utilidad / Accesibilidad
=========================== */
/* =========================================================
   UTILIDADES Y TITULARES PRINCIPALES
========================================================= */

/* Accesibilidad: ocultar visualmente (para lectores de pantalla) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}


/* Centra el subtítulo “Listado de proyectos” */
.proy-title {
  text-align: center;
  display: block;
  width: 100%;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 30px 0 20px;
}

/* =========================================================
   ENCABEZADO DE PROYECTOS (imagen + texto)
========================================================= */
.proy-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px; /* 🔹 separación justa entre imagen y texto */
  margin-bottom: 24px;
  flex-wrap: wrap; /* adaptable */
}

/* Imagen (mascota sin tarjeta) */
.proy-mascota {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 0;        /* sin bordes redondeados */
  box-shadow: none;        /* sin sombra */
  background: none;        /* sin fondo */
  border: none;            /* sin borde */
  transition: width 0.3s ease, height 0.3s ease;
}

/* Descripción (título + texto) */
.proy-descripcion {
  max-width: 640px;
  text-align: justify; /* 🔹 texto justificado */
}

/* Párrafo */
.proy-descripcion .lead {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}

.proy-nombre strong {
  text-transform: none;       /* evita que se ponga mayúscula automática */
}

/* =========================================================
   📱 AJUSTES EN CELULAR
========================================================= */
@media (max-width: 768px) {
  .proy-head {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  #redir-title {
    font-size: 1.8rem;
  }

  .proy-title {
    font-size: 1.5rem;
  }

  .proy-mascota {
    width: 250px;
    height: 250px;
  }

  .proy-descripcion {
    text-align: justify;
    padding: 0 12px;
  }

  .proy-descripcion .lead {
    font-size: 1rem;
    line-height: 1.6;
  }
}


/* ===========================
   Variables de tamaño unificado
   — Un solo control para logo, tarjetas y video
=========================== */
.proyecto-row {
  --size: 180px;      /* tamaño base desktop */
  --gap: 12px;        /* separación entre tarjetas */
  --card-r: 12px;     /* radio de tarjetas */
  --soft-shadow: 0 10px 24px rgba(0,0,0,.05);
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  padding: 18px;
  display: grid;
  gap: 16px;
}

/* ===========================
   Titular
=========================== */
.proy-header { margin-bottom: 4px; }
.proy-resumen {
  margin: 0;
  color: #2b3347;
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: center;
}

/* ===========================
   Grid 3 columnas
   (Logo | Testimonios | Video)
=========================== */
.proy-grid {
  display: grid;
  grid-template-columns: minmax(220px, calc(var(--size) + 60px)) 1fr minmax(260px, calc(var(--size) + 180px));
  gap: 16px;
  align-items: start;
}


/* ===========================
   Columna: Logo
=========================== */
.proy-col-logo .proy-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(180deg, #fff, #f6f8ff);
  border: 1px solid #e9ecf5;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  padding: 10px;
  width: fit-content;
  margin: 0 auto;
  transition: all 0.3s ease;
}

/* Logo adaptable (más pequeño en PC) */
.proy-logo {
  width: clamp(140px, 14vw, 200px);
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  transition: width 0.3s ease;
}

/* Nombre del proyecto (más pequeño en PC) */
.proy-nombre {
  font-weight: 800;
  color: #1F2D54;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  text-transform: capitalize;
  letter-spacing: 0.4px;
  text-align: center;
  transition: font-size 0.3s ease;
}

/* ===========================
   📱 Celular (crece)
=========================== */
@media (max-width: 768px) {
  .proy-col-logo .proy-logo-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    width: fit-content;
    background: linear-gradient(180deg, #fff, #f3f5ff);
  }

  .proy-nombre {
    order: -1; /* texto arriba del logo */
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    color: #14204a;
  }

  .proy-logo {
    width: clamp(240px, 80vw, 360px);
  }
}


/* ===========================
   Columna: Testimonios
=========================== */
.proy-col-testimonios{
  --gap: 14px;
  --card-r: 12px;
  /* 📌 PC/Tablet: más pequeño */
  --size: clamp(140px, 14vw, 200px);
}

.carousel-top{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; margin-bottom:8px;
}
.carousel-title{ margin:0; font-size:1rem; color:#1F2D54; }
.carousel-counter{ font-size:.9rem; color:#6b748a; }

/* Carrusel con dos visibles (PC/Tablet) */
.proy-col-testimonios .carousel{
  display:flex; gap:var(--gap);
  overflow-x:auto; scroll-snap-type:x mandatory;
  scrollbar-width:thin; scrollbar-color:#b7c1d6 #eef1f8;
  padding-bottom:4px; align-items:center;

  width: calc(var(--size) * 2 + var(--gap)); /* 2 visibles */
  max-width:100%; margin-inline:auto;
}
.proy-col-testimonios .carousel:focus{
  outline:2px dashed #c7d2fe; outline-offset:2px;
}

/* Scrollbar */
.proy-col-testimonios .carousel::-webkit-scrollbar{ height:8px; }
.proy-col-testimonios .carousel::-webkit-scrollbar-track{ background:#eef1f8; border-radius:8px; }
.proy-col-testimonios .carousel::-webkit-scrollbar-thumb{ background:#b7c1d6; border-radius:8px; }
.proy-col-testimonios .carousel::-webkit-scrollbar-thumb:hover{ background:#98a7c7; }

/* Tarjetas */
.proy-col-testimonios .carousel .card{
  flex:0 0 var(--size);
  height:var(--size);
  scroll-snap-align:start;
  background:#fff; border:1px solid #e9ecf5; border-radius:var(--card-r);
  padding:12px; display:grid; place-items:center; text-align:center;
  box-shadow:0 6px 16px rgba(0,0,0,.04);
}
.card.mini blockquote{
  margin:0; font-size:.95rem; color:#2b3347; line-height:1.35;
}
.card.mini .by{
  font-size:.82rem; color:#647089;
}

/* ===========================
   📱 Celular: CRECE + 1 visible
=========================== */
@media (max-width: 768px){
  .proy-col-testimonios{
    --size: clamp(240px, 78vw, 360px); /* crece solo en móvil */
  }
  .proy-col-testimonios .carousel{
    width: var(--size);               /* 1 visible */
    justify-content:center;
  }
  .card.mini blockquote{ font-size: clamp(1rem, 4.2vw, 1.25rem); }
  .card.mini .by{ font-size: clamp(.9rem, 3.4vw, 1rem); }
}

/* ==========================================
   TESTIMONIOS — FOTO, NOMBRE, CIUDAD Y TEXTO
========================================== */

/* ======= Cabecera: Foto + Nombre ======= */
.testi-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  justify-content: flex-start;
}

/* Foto pequeña */
.foto-circular {
  width: clamp(34px, 4.8vw, 44px);
  height: clamp(34px, 4.8vw, 44px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e9ecf5;
  flex-shrink: 0;
}

/* Nombre más pequeño (junto a la foto) */
.testi-name {
  font-size: clamp(.72rem, .85vw, .82rem);
  color: #40485a;
  font-weight: 600;
  line-height: 1.2;
}

/* Ciudad debajo (más visible) */
.testi-city {
  font-size: clamp(.9rem, 1.1vw, 1rem);
  color: #1F2D54;
  font-weight: 700;
  margin-bottom: 5px;
  text-align: left;
}

/* Comentario del testimonio */
.card.mini blockquote {
  margin: 0;
  font-size: clamp(.85rem, .95vw, .95rem);
  color: #2b3347;
  line-height: 1.4;
  text-align: left;
}

/* ====== Responsivo (celular) ====== */
@media (max-width: 768px) {
  .testi-head {
    gap: 10px;
    margin-bottom: 8px;
    justify-content: center;       /* centrado en móvil */
  }

  .foto-circular {
    width: 60px;
    height: 60px;
  }

  .testi-name {
    font-size: 1.05rem;            /* más grande en móvil */
  }

  .testi-city {
    font-size: 1.25rem;
    margin-bottom: 8px;
    text-align: center;
  }

  .card.mini blockquote {
    font-size: 1.05rem;
    line-height: 1.55;
    text-align: center;
  }
}


/* ======= Cabecera: Foto + Nombre ======= */
.testi-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  justify-content: flex-start;
}

/* Foto pequeña */
.foto-circular {
  width: clamp(34px, 4.8vw, 44px);
  height: clamp(34px, 4.8vw, 44px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e9ecf5;
  flex-shrink: 0;
}

/* Nombre más pequeño (junto a la foto) */
.testi-name {
  font-size: clamp(.72rem, .85vw, .82rem);
  color: #40485a;
  font-weight: 600;
  line-height: 1.2;
}

/* Ciudad debajo (más visible) */
.testi-city {
  font-size: clamp(.9rem, 1.1vw, 1rem);
  color: #1F2D54;
  font-weight: 700;
  margin-bottom: 5px;
  text-align: left;
}

/* Comentario del testimonio */
.card.mini blockquote {
  margin: 0;
  font-size: clamp(.85rem, .95vw, .95rem);
  color: #2b3347;
  line-height: 1.4;
  text-align: left;
}

/* ====== Responsivo (celular) ====== */
@media (max-width: 768px) {
  .testi-head {
    gap: 10px;
    margin-bottom: 8px;
    justify-content: center;       /* centrado en móvil */
  }

  .foto-circular {
    width: 120px;
    height: 120px;
  }

  .testi-name {
    font-size: 1.05rem;            /* más grande en móvil */
  }

  .testi-city {
    font-size: 1.55rem;
    margin-bottom: 8px;
    text-align: center;
  }

  .card.mini blockquote {
    font-size: 1.35rem;
    line-height: 1.55;
    text-align: center;
  }
}


/* ===========================
   Columna: Video (más ancho tipo YouTube)
=========================== */
.proy-col-video .card.video {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e9ecf5;
  border-radius: var(--card-r);
  padding: 10px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
  max-width: calc(var(--size) * 2.4);  /* más ancho tipo reproductor */
  margin-inline: auto;
}

/* Contenedor del video (iframe embebido) */
.card.video .thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;        /* proporción panorámica */
  width: 100%;
  background: #000;
  border: 1px solid #e6e9f0;
  margin: 0 auto;
}

/* Iframe responsivo */
.card.video .thumb iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Botón de reproducción (overlay opcional si hay imagen) */
.card.video .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  background: rgba(0,0,0,.55);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 22px;
  pointer-events: none;
}

/* Texto inferior + enlace a YouTube */
.card.video .video-caption {
  font-size: .95rem;
  color: #1F2D54;
  margin-top: 10px;
  text-align: center;
}
.card.video .video-caption a {
  color: #1F2D54;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.card.video .video-caption a:hover {
  color: #1F2D54;
  text-decoration: underline;
}

/* ===========================
   Ajustes Responsivos
=========================== */
@media (max-width: 1200px) {
  .proy-col-testimonios .carousel {
    width: calc(var(--size) * 2 + var(--gap));
  }
  .proy-col-video .card.video {
    max-width: calc(var(--size) * 2.2);
  }
}

@media (max-width: 992px) {
  .proy-col-video .card.video {
    max-width: 640px;
  }
}

@media (max-width: 768px) {
  .proy-col-testimonios .carousel {
    width: var(--size); /* solo 1 tarjeta visible */
  }
  .proy-col-video .card.video {
    max-width: 100%;
  }
}


/* ===========================
   Botones acciones (actualizado)
=========================== */
.proy-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.proy-actions .btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

/* Botón principal: verde claro (“¡Lo quiero!”) */
.proy-actions .btn-primary {
  background: linear-gradient(180deg, #4CAF50, #3DAA4A);
  color: #fff;
  border-color: #3DAA4A;
  box-shadow: 0 6px 14px rgba(60, 170, 75, 0.25);
}
.proy-actions .btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #5BCF60, #3BAE4B);
  box-shadow: 0 8px 18px rgba(60, 170, 75, 0.35);
}

/* 🔵 Botón información: azul oscuro */
.proy-actions .btn-info {
  background: #1F2D54;
  color: #fff;
  border-color: #1F2D54;
}
.proy-actions .btn-info:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 45, 84, 0.3);
}



/* ===========================
   Responsivo
=========================== */

/* Laptops medianas: baja ligeramente el tamaño */
@media (max-width: 1200px) {
  .proyecto-row { --size: 160px; }
  .proy-grid {
    grid-template-columns: minmax(200px, calc(var(--size) + 56px)) 1fr minmax(240px, calc(var(--size) + 140px));
  }
}

/* Tablet: video baja a la siguiente fila */
@media (max-width: 992px) {
  .proyecto-row { --size: 150px; }
  .proy-grid { grid-template-columns: minmax(200px, calc(var(--size) + 50px)) 1fr; }
  .proy-col-video { grid-column: 1 / -1; }
  .proy-col-video .card.video { max-width: 560px; }
}

/* Móvil: 1 columna; 1 testimonio visible; logo no sticky */
@media (max-width: 768px) {
  .proyecto-row { --size: 130px; }
  .proy-resumen { font-size: 1rem; }
  .proy-grid { grid-template-columns: 1fr; }

  .proy-col-logo .proy-logo-wrap {
    position: static;
    justify-items: start;
    grid-template-columns: auto 1fr;
    gap: 10px;
  }

  /* clave: en móvil solo 1 tarjeta visible */
  .proy-col-testimonios .carousel {
    width: var(--size);
  }
}

/* Móvil pequeño */
@media (max-width: 420px) {
  .proyecto-row { --size: 120px; }
  .proy-actions .btn { width: 100%; text-align: center; }
}



/* ========================================== 
   🐣 Mascota (todas): silueta + movimiento
   - Aplica a: <img class="redir-mascota" ...>
========================================== */

/* Desktop / Tablet (mantiene tamaño asignado) */
.redir-mascota{
  width: clamp(220px, 34vw, 340px);
  height: auto;

  /* Silueta negra + sombra piso */
  filter:
    drop-shadow(0 0 0 #000)
    drop-shadow(0 2px 0 #000)
    drop-shadow(0 -2px 0 #000)
    drop-shadow(2px 0 0 #000)
    drop-shadow(-2px 0 0 #000)
    drop-shadow(0 10px 24px rgba(0,0,0,.45));

  /* Movimiento (flotar + leve balanceo) */
  animation: floaty 5s ease-in-out infinite,
             tilt   6s ease-in-out infinite;
  transform-origin: 50% 85%;
  will-change: transform, filter;
}

/* Flotar vertical */
@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%    { transform: translateY(-6px); }
}

/* Balanceo leve */
@keyframes tilt{
  0%,100%{ transform: rotate(0deg); }
  50%    { transform: rotate(-1.5deg); }
}

/* Accesibilidad: reduce movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce){
  .redir-mascota{ animation: none; }
}

/* ==========================================
   📱 Celular: MISMO tamaño que en “Proyectos”
   (250 × 250)
========================================== */
@media (max-width: 768px){
  .redir-mascota{
    width: 250px !important;
    height: 250px !important;
    object-fit: contain;
  }
}

/* ==========================================
   🔖 Contexto “Proyectos”
   - Desktop: 150 × 150
   - Celular: 250 × 250
   (usa un contenedor de encabezado, ej.: .proy-head)
========================================== */
.proy-head .redir-mascota{
  width: 150px !important;
  height: 150px !important;
  object-fit: contain;
}

@media (max-width: 768px){
  .proy-head .redir-mascota{
    width: 250px !important;
    height: 250px !important;
  }
}



/* =========================================================
   🧩 Estilos — Eventos InSOFT (scoped)
   - Grid fluido: 1 col (móvil), 2 col (tablet), 3 col (desktop)
   - Tarjetas ligeras con hover y CTA consistente
========================================================= */
/* =========================================================
   🎨 VARIABLES — Fondo especial de clientes
========================================================= */
:root {
  --brand: #1F2D54;
  --brand-2: #0e1a3a;
  --gold: #FCA503;
  --gold-700: #D27F03;
  --muted: #cfd7ff;
  --bg: #0f1a37;

  /* Extras visuales */
  --glass-bg: rgba(255,255,255,0.08);
  --glass-stroke: rgba(255,255,255,0.18);
  --text-subtle: rgba(255,255,255,0.85);
  --shadow-1: 0 10px 30px rgba(0,0,0,0.35);
  --shadow-2: 0 20px 50px rgba(0,0,0,0.35);
  --ring: 0 0 0 3px rgba(252,165,3,0.25);
}

/* =========================================================
   🌌 Fondo general de la sección Clientes/Eventos
========================================================= */
.clientes-section {
  min-height: 100vh;
  padding: clamp(28px, 5vw, 48px) 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Gradiente + patrón sutil */
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(6,182,212,0.16), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(31,45,84,0.22), transparent 60%),
    linear-gradient(180deg, #0b1430 0%, #14234f 100%);
  position: relative;
  overflow: hidden;
}

/* Partículas decorativas */
.clientes-section::before,
.clientes-section::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
  pointer-events: none;
  transition: transform .6s ease;
}
.clientes-section::before {
  background: #19191a;
  top: -120px; left: -140px;
}
.clientes-section::after {
  background: #3b5eff;
  bottom: -140px; right: -160px;
}
.clientes-section:hover::before { transform: translate3d(0,6px,0); }
.clientes-section:hover::after  { transform: translate3d(0,-6px,0); }

.clientes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 880px) {
  .clientes-grid { grid-template-columns: 1.05fr 1fr; }
}

/* =========================================================
   🧩 Tarjetas de eventos (sin cambios funcionales)
========================================================= */
.eventos-insoft {
  max-width: 1060px;
  margin: 24px auto;
  background: #fff;
  border: 1px solid #e9ecf5;
  border-radius: 16px;
  padding: 18px 16px 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.eventos-insoft h2 {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--brand);
  text-align: left;
}

.eventos-insoft .eventos-sub {
  margin: 0 0 14px;
  color: #000000; 
  font-size: 0.95rem;
}

/* Grid adaptable */
.event-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .event-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .event-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1280px) {
  .eventos-insoft { max-width: 980px; }
}

/* Tarjetas individuales */
.event-card {
  border: 1px solid #e9ecf5;
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #f7f9ff);
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.06);
  border-color: rgba(31,45,84,0.12);
}

/* Metadatos y chips */
.event-pill {
  justify-self: start;
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  background: var(--accent, #06B6D4);
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 700;
}
.event-pill.gold { background: var(--gold); }

.event-title {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--brand-2);
  line-height: 1.25;
}

.event-desc {
  margin: 0;
  color: #374151;
  font-size: 0.95rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}
.meta-item {
  background: #eef2ff;
  color: #4b5563;
  padding: 4px 8px;
  border-radius: 10px;
}

/* Botón CTA */
.event-cta {
  margin-top: 2px;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  background: var(--brand);
  color: #fff;
  transition: background .2s ease;
}
.event-cta:hover { background: var(--brand-2); }




/* =========================================================
   ✨ Portal de Clientes — Diseño Moderno
   - Fondo con gradiente + patrón sutil
   - Tarjeta glassmorphism
   - Botón dorado con microanimación
   - Cuponera tipo ticket, compacta y elegante
========================================================= */

:root{
  /* Variables base (se sobreescriben si ya existen en tu global) */
  --brand: #1F2D54;
  --brand-2: #0e1a3a;
  --gold: #FCA503;
  --gold-700: #D27F03;
  --muted: #cfd7ff;
  --bg: #0f1a37;

  /* Extras para el look moderno */
  --glass-bg: rgba(255,255,255,0.08);
  --glass-stroke: rgba(255,255,255,0.18);
  --text-subtle: rgba(255,255,255,0.85);
  --shadow-1: 0 10px 30px rgba(0,0,0,0.35);
  --shadow-2: 0 20px 50px rgba(0,0,0,0.35);
  --ring: 0 0 0 3px rgba(252,165,3,0.25);
}

/* ---------- Sección base ---------- */
.clientes-section {
  min-height: 100vh;
  padding: clamp(28px, 5vw, 48px) 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Gradiente + patrón sutil */
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(6,182,212,0.16), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(31,45,84,0.22), transparent 60%),
    linear-gradient(180deg, #0b1430 0%, #14234f 100%);
  position: relative;
  overflow: hidden;
}

/* Partículas/luces suaves (decorativo, no intrusivo) */
.clientes-section::before,
.clientes-section::after{
  content:"";
  position:absolute;
  width:480px; height:480px;
  border-radius:50%;
  filter: blur(80px);
  opacity: .18;
  pointer-events:none;
  transition: transform .6s ease;
}
.clientes-section::before{
  background: #06B6D4;
  top:-120px; left:-140px;
}
.clientes-section::after{
  background: #3b5eff;
  bottom:-140px; right:-160px;
}
.clientes-section:hover::before{ transform: translate3d(0,6px,0); }
.clientes-section:hover::after{ transform: translate3d(0,-6px,0); }

.clientes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 880px) {
  .clientes-grid { grid-template-columns: 1.05fr 1fr; }
}

/* ---------- Mascota (izquierda) ---------- */
.clientes-left {
  display: grid;
  place-items: center;
}
.redir-mascota {
  width: clamp(200px, 34vw, 360px);
  height: auto;
  filter:
    drop-shadow(0 0 0 #000)
    drop-shadow(0 2px 0 #000)
    drop-shadow(0 -2px 0 #000)
    drop-shadow(2px 0 0 #000)
    drop-shadow(-2px 0 0 #000)
    drop-shadow(0 18px 36px rgba(0,0,0,.55));
  animation: float-y 4.6s ease-in-out infinite;
  will-change: transform, filter;
  transform: translateZ(0);
}
@keyframes float-y {
  0%, 100% { transform: translateY(0) }
  50%      { transform: translateY(-10px) }
}

/* ---------- Tarjeta (derecha) — Glassmorphism ---------- */
.clientes-card {
  position: relative;
  text-align: center;
  padding: clamp(20px, 3.4vw, 44px);
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--shadow-1);
  isolation: isolate;
}
.clientes-card::after{
  /* brillo superior suave */
  content:"";
  position:absolute; inset: 0;
  pointer-events:none;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%);
}

.clientes-card h1 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: .2px;
  color: #fff;
}
.clientes-card .lead {
  max-width: 62ch;
  margin: 0 auto 22px;
  color: var(--text-subtle);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.65;
}

.clientes-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* ---------- Botón dorado (animación sutil) ---------- */
.btn-gold {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--gold), var(--gold-700));
  color: #141e3d;
  font-weight: 900;
  font-size: 1rem;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  box-shadow:
    0 6px 14px rgba(252,165,3,0.35),
    inset 0 2px 0 rgba(255,255,255,0.25);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 26px rgba(252,165,3,0.42),
    inset 0 2px 0 rgba(255,255,255,0.25);
}
.btn-gold:active { transform: translateY(0); filter: brightness(.98); }
.btn-gold:focus-visible { outline: none; box-shadow: var(--ring), 0 6px 14px rgba(252,165,3,0.35); }

/* ---------- Mini redirección (opcional) ---------- */
#auto.mini {
  margin-top: 14px;
  color: var(--muted);
  font-size: .95rem;
}
#auto .mini-cancel {
  margin-left: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
#auto .mini-cancel:hover { background: rgba(255,255,255,0.08); }

/* =========================================================
   🎟️ Cuponera — Ticket moderno integrado
========================================================= */
.cuponera {
  margin-top: clamp(18px, 2.2vw, 24px);
  display: flex;
  justify-content: center;
}
.cuponera-inner {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;

  background: #ffffff;
  color: #1F2D54;
  border-radius: 16px;
  border: 1px dashed rgba(31,45,84,0.28);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  padding: clamp(16px, 3vw, 24px);
}

/* Perforación lateral */
.perfo {
  position: absolute;
  top: 0; bottom: 0;
  width: 18px;
  pointer-events: none;
  background:
    radial-gradient(12px 12px at 9px 12px, #0000 10px, rgba(0,0,0,0.08) 11px, #0000 12px)
    repeat-y;
  background-size: 18px 36px;
}
.perfo-left  { left: -9px; }
.perfo-right { right: -9px; }

/* Header de cupón */
.cuponera-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cuponera-badge {
  display: grid;
  place-items: center;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), var(--gold-700));
  color: #18224a;
  font-weight: 900;
  font-size: 1.05rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  box-shadow: inset 0 2px 8px rgba(255,255,255,0.25), 0 6px 14px rgba(0,0,0,0.15);
}
.cuponera-title{
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 900;
  color: #17224c;
}

/* Cuerpo del cupón */
.cuponera-body {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  text-align: center;
}
.cuponera-desc {
  margin: 0;
  color: #2b375f;
  line-height: 1.55;
}

/* Código seleccionable */
.code-box {
  user-select: all;
  background: #f6f8ff;
  border: 2px dashed #9aa7d7;
  color: #1F2D54;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 12px 16px;
  border-radius: 12px;
  display: inline-block;
  min-width: 210px;
  text-align: center;
  outline: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.code-box:hover,
.code-box:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17,24,39,0.10), 0 0 0 3px rgba(26,54,120,0.16);
}

/* Pie (si lo necesitas en el futuro) */
.cuponera-foot {
  margin-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
  color: #4a5688;
  font-size: .92rem;
}
.cuponera-etiqueta {
  background: #eaf0ff;
  color: #1F2D54;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.cuponera-fecha { opacity: .85; }

/* ---------- Responsivo fino ---------- */
@media (max-width: 879px){
  .redir-mascota { width: clamp(160px, 58vw, 260px); }
  .clientes-card  { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce){
  .redir-mascota { animation: none; }
  .btn-gold, .code-box { transition: none; }
}
