/* =============================================
   NORLUC — styles.css
   Rediseño: blanco/negro/azul eléctrico
   Agencia premium · Space Grotesk
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --white:   #ffffff;
  --black:   #0a0a0a;
  --blue:    #2563EB;
  --blue-h:  #1d4ed8;
  --blue-dim: rgba(37, 99, 235, 0.08);
  --blue-brd: rgba(37, 99, 235, 0.2);

  --g50:  #f9fafb;
  --g100: #f3f4f6;
  --g200: #e5e7eb;
  --g300: #d1d5db;
  --g400: #9ca3af;
  --g500: #6b7280;
  --g600: #4b5563;
  --g700: #374151;
  --g800: #1f2937;
  --g900: #111827;

  --font:  'Space Grotesk', sans-serif;
  --nav-h: 70px;
  --ease:  0.22s ease;
  --r:     12px;
  --r-sm:  8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Fade-in on page load ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-content { animation: fadeInUp 0.5s ease forwards; }

/* ─────────────────────────────
   NAVBAR
───────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 5%;
  background: var(--white);
  border-bottom: 1px solid var(--g200);
  transition: box-shadow var(--ease);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  color: var(--g600);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--ease);
}
.nav-links a:hover  { color: var(--black); }
.nav-links a.active { color: var(--black); font-weight: 700; }

/* CTA nav button: negro sólido con flecha */
.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  border-radius: var(--r-sm) !important;
  padding: 0.42rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background var(--ease), transform var(--ease) !important;
}
.nav-cta:hover { background: var(--g800) !important; transform: translateY(-1px) !important; }

/* Hamburger */
.hamburger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────
   FOOTER
───────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--g800);
  padding: 3.5rem 5% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand img {
  height: 28px; width: auto;
  margin-bottom: 0.75rem;
  filter: invert(1);           /* logo negro → blanco sobre fondo oscuro */
}
.footer-brand p { color: var(--g500); font-size: 0.84rem; }

.footer-links h4, .footer-social h4 {
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g500);
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  color: var(--g400);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--white); }

.footer-social-icons { display: flex; gap: 0.75rem; }
.footer-social-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--g700);
  color: var(--g400);
  text-decoration: none;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.footer-social-icons a:hover {
  border-color: var(--blue);
  color: var(--white);
  background: rgba(37,99,235,0.15);
}

.footer-bottom {
  border-top: 1px solid var(--g800);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--g600);
  font-size: 0.78rem;
}

/* ─────────────────────────────
   BOTONES
───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.5rem;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--ease);
  line-height: 1;
}
/* Primario: blanco (para secciones oscuras) */
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--g100); transform: translateY(-2px); }

/* Oscuro: negro (para secciones claras) */
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--g800); transform: translateY(-2px); }

/* Outline claro */
.btn-outline { background: transparent; border: 1.5px solid var(--g300); color: var(--black); }
.btn-outline:hover { border-color: var(--black); transform: translateY(-2px); }

/* Outline oscuro (para secciones dark) */
.btn-outline-dark { background: transparent; border: 1.5px solid rgba(255,255,255,0.25); color: var(--white); }
.btn-outline-dark:hover { border-color: var(--white); transform: translateY(-2px); }

/* Azul */
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-h); transform: translateY(-2px); }

/* Verde (WhatsApp) */
.btn-green { background: #25D366; color: var(--white); }
.btn-green:hover { background: #1da851; transform: translateY(-2px); }

.btn-sm { padding: 0.48rem 0.95rem; font-size: 0.82rem; }

/* ─────────────────────────────
   LAYOUT / UTILITARIOS
───────────────────────────── */
.page-wrapper { padding-top: var(--nav-h); min-height: 100vh; }

.section       { padding: 6rem 5%; }
.section-dark  { background: var(--black); color: var(--white); }
.section-gray  { background: var(--g50); }

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Section-tag */
.section-tag {
  display: inline-block;
  color: var(--blue);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

/* Cabecera centrada */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.section-header p { color: var(--g500); font-size: 1rem; max-width: 520px; margin: 0 auto; }
.section-dark .section-header p { color: var(--g400); }

/* Cabecera dos columnas */
.section-header-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.section-header-2col h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
}
.section-header-2col .col-desc {
  padding-top: 0.25rem;
}
.section-header-2col p {
  font-size: 1rem;
  color: var(--g400);
  line-height: 1.75;
}

/* ─────────────────────────────
   HERO (index.html)
───────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 5% 5rem 5%;
}
.hero-left h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 1.3rem;
  color: var(--black);
}
.hero-left h1 .accent { color: var(--blue); }
.hero-left p {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--g500);
  max-width: 480px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-right {
  background: var(--g100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 520px;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─────────────────────────────
   PAGE HERO (páginas internas)
───────────────────────────── */
.page-hero {
  padding: 5rem 5% 4rem;
  text-align: center;
  border-bottom: 1px solid var(--g200);
  background: var(--g50);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--black);
}
.page-hero p { color: var(--g500); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ─────────────────────────────
   BENEFICIOS (sección oscura)
───────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r);
  overflow: hidden;
}
.benefit-card {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--ease);
}
.benefit-card:last-child { border-right: none; }
.benefit-card:hover { background: rgba(255,255,255,0.04); }

.benefit-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 10px;
}
.benefit-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.benefit-card p  { color: var(--g400); font-size: 0.84rem; line-height: 1.65; }

/* ─────────────────────────────
   PORTAFOLIO
───────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.portfolio-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }

.portfolio-card {
  overflow: hidden;
  border-radius: var(--r);
  border: 1.5px solid var(--g200);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: 0 12px 36px rgba(37,99,235,0.12);
}
.portfolio-thumb {
  height: 220px;
  display: flex;
  align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.45) 100%);
}
.portfolio-info { padding: 1.25rem 1.5rem 1.5rem; }
.portfolio-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue);
  background: var(--blue-dim);
  border: 1px solid var(--blue-brd);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  margin-bottom: 0.6rem;
}
.portfolio-info h3  { font-size: 1.05rem; font-weight: 700; color: var(--black); margin-bottom: 0.4rem; }
.portfolio-info p   { color: var(--g500); font-size: 0.85rem; margin-bottom: 1rem; line-height: 1.6; }
.portfolio-link {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--ease);
}
.portfolio-link:hover { gap: 0.65rem; }

/* ─────────────────────────────
   CTA SECTION (fondo negro)
───────────────────────────── */
.cta-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 5.5rem 5%;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.cta-section p {
  font-size: 1.05rem;
  color: var(--g400);
  max-width: 440px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}

/* ─────────────────────────────
   BARRA DE URGENCIA
───────────────────────────── */
.urgency-bar {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 0.58rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  position: sticky;
  top: var(--nav-h);
  z-index: 99;
  letter-spacing: 0.01em;
}
#countdown { font-weight: 800; font-variant-numeric: tabular-nums; }

/* ─────────────────────────────
   PLANES
───────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}
.plan-card {
  border-radius: var(--r);
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1.5px solid var(--g200);
  position: relative;
  transition: box-shadow var(--ease), transform var(--ease);
}
.plan-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Card destacada: fondo negro */
.plan-card.featured {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: scale(1.045);
  box-shadow: 0 20px 52px rgba(0,0,0,0.28);
  z-index: 1;
}
.plan-card.featured:hover {
  box-shadow: 0 28px 64px rgba(0,0,0,0.38);
  transform: scale(1.045) translateY(-2px);
}

.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.plan-name {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g500);
  margin-bottom: 1.1rem;
}
.plan-card.featured .plan-name { color: var(--g400); }

.plan-price-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}
.plan-price-old { color: var(--g400); text-decoration: line-through; font-size: 0.9rem; }
.badge-save {
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.plan-price {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  color: var(--black);
}
.plan-card.featured .plan-price { color: var(--white); }

.plan-delivery {
  font-size: 0.78rem;
  color: var(--g500);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--g200);
}
.plan-card.featured .plan-delivery { color: var(--g400); border-bottom-color: rgba(255,255,255,0.1); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  min-height: 190px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--g700);
  line-height: 1.4;
}
.plan-card.featured .plan-features li { color: var(--g300); }
.plan-features li .check { color: var(--blue); flex-shrink: 0; margin-top: 1px; font-weight: 700; }

/* Botón del plan destacado: blanco sobre negro */
.plan-card.featured .btn-primary { background: var(--white); color: var(--black); }
.plan-card.featured .btn-primary:hover { background: var(--g200); }

/* Botón outline en cards claras */
.plan-card .btn-outline { border-color: var(--g300); color: var(--black); }
.plan-card .btn-outline:hover { border-color: var(--black); background: var(--black); color: var(--white); }

.plan-note {
  max-width: 680px;
  margin: 3rem auto 0;
  padding: 1.4rem 1.75rem;
  background: var(--g50);
  border: 1px solid var(--g200);
  border-radius: var(--r-sm);
  font-size: 0.84rem;
  color: var(--g500);
  line-height: 1.85;
}
.plan-note strong { color: var(--g800); }

/* ─────────────────────────────
   MODAL
───────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: var(--r);
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s ease;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--g400);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px;
  transition: color var(--ease);
}
.modal-close:hover { color: var(--black); }

.modal-summary {
  background: var(--blue-dim);
  border: 1px solid var(--blue-brd);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.modal-summary h3 { color: var(--blue); font-size: 1.05rem; font-weight: 700; }
.modal-summary p  { color: var(--g500); font-size: 0.84rem; margin-top: 0.25rem; }

.modal h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1.25rem;
  padding-right: 2rem;
}

.form-group { margin-bottom: 0.85rem; }
.form-group label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--g600);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.38rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--g200);
  border-radius: var(--r-sm);
  padding: 0.7rem 0.95rem;
  color: var(--black);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--ease);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { min-height: 80px; resize: vertical; }

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

/* Botones específicos del modal */
#btn-mp { background: var(--blue); color: var(--white); justify-content: center; }
#btn-mp:hover { background: var(--blue-h); }
#btn-transfer { background: transparent; border: 1.5px solid var(--g300); color: var(--black); justify-content: center; }
#btn-transfer:hover { border-color: var(--black); }

.bank-info {
  display: none;
  background: var(--g50);
  border: 1px solid var(--g200);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  margin-top: 0.5rem;
}
.bank-info.visible { display: block; }
.bank-info p { font-size: 0.84rem; color: var(--g600); line-height: 1.9; }
.bank-info strong { color: var(--black); }

/* ─────────────────────────────
   EXTRAS (sección oscura)
───────────────────────────── */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r);
  overflow: hidden;
}
.extra-card {
  padding: 1.6rem 1.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--ease);
}
.extra-card:hover { background: rgba(255,255,255,0.04); }
/* Quitar bordes del lado derecho e inferior de las últimas columnas */
.extra-card:nth-child(even)  { border-right: none; }
.extra-card:nth-last-child(-n+2):not(.extra-card:nth-child(odd):last-child) { border-bottom: none; }
.extra-card:last-child { border-bottom: none; }

.extra-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.extra-info p  { color: var(--g400); font-size: 0.82rem; line-height: 1.55; }
.extra-price   { font-size: 1.1rem; font-weight: 800; color: var(--blue); white-space: nowrap; }

.fixed-cost-card {
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--r);
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.fixed-cost-info h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.fixed-cost-info p  { color: var(--g400); font-size: 0.84rem; }
.fixed-cost-price .amount { font-size: 1.5rem; font-weight: 800; color: var(--blue); display: block; }
.fixed-cost-price .period  { color: var(--g500); font-size: 0.74rem; }

/* ─────────────────────────────
   CONTACTO
───────────────────────────── */
.contact-section { padding: 5rem 5%; max-width: 1100px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-col h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.contact-col > p { color: var(--g500); font-size: 0.9rem; margin-bottom: 1.75rem; line-height: 1.65; }

.contact-form { display: flex; flex-direction: column; gap: 0.85rem; }

.agent-card-large {
  background: var(--white);
  border: 1.5px solid var(--g200);
  border-radius: var(--r);
  padding: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.agent-card-large:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(37,99,235,0.12);
}
.agent-card-header { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.agent-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1.5px solid var(--blue-brd);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.agent-card-info h3 { font-size: 0.95rem; font-weight: 700; color: var(--black); }
.agent-card-info p  { color: var(--g500); font-size: 0.78rem; margin-top: 0.15rem; }
.agent-card-actions { display: flex; gap: 0.65rem; flex-wrap: wrap; }

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--g500);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}
.contact-info-item a { color: var(--blue); text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; }

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--g600);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--ease);
  margin-top: 0;
}
.instagram-link:hover { color: var(--blue); }

/* ─────────────────────────────
   WHATSAPP FLOTANTE
───────────────────────────── */
.wa-float { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 1100; }

.wa-float-btn {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 1100;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.45);
  transition: transform var(--ease), box-shadow var(--ease);
  text-decoration: none;
}
.wa-float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,0.55); }
.wa-float-btn svg { width: 28px; height: 28px; fill: white; }

.wa-popup {
  position: absolute;
  bottom: 68px; right: 0;
  width: 290px;
  background: var(--white);
  border: 1.5px solid var(--g200);
  border-radius: var(--r);
  padding: 1.15rem;
  box-shadow: 0 12px 44px rgba(0,0,0,0.14);
  transform: translateY(10px) scale(0.94);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: all 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wa-popup.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }

.wa-popup-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.85rem;
}
.wa-popup-header h4 { font-size: 0.85rem; font-weight: 700; color: var(--black); }
.wa-popup-close {
  background: none; border: none;
  color: var(--g400); cursor: pointer;
  font-size: 1rem; line-height: 1; padding: 2px;
  transition: color var(--ease);
}
.wa-popup-close:hover { color: var(--black); }

.wa-agent {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r-sm);
  background: var(--g50);
  border: 1px solid var(--g200);
  margin-bottom: 0.5rem;
  transition: border-color var(--ease), background var(--ease);
}
.wa-agent:last-of-type { margin-bottom: 0; }
.wa-agent:hover { border-color: var(--blue); background: var(--white); }

.wa-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1.5px solid var(--blue-brd);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.wa-agent-info { flex: 1; }
.wa-agent-info strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--black); }
.wa-agent-info span   { font-size: 0.72rem; color: var(--g500); }

.wa-chat-btn {
  background: #25D366; color: white; border: none;
  border-radius: 6px; padding: 0.38rem 0.75rem;
  font-family: var(--font); font-size: 0.75rem; font-weight: 700;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--ease);
  display: inline-flex; align-items: center;
}
.wa-chat-btn:hover { background: #1da851; }

/* ─────────────────────────────
   RESPONSIVE
───────────────────────────── */
@media (max-width: 1100px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit-card:nth-child(2) { border-right: none; }
  .benefit-card:nth-child(1),
  .benefit-card:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 900px) {
  /* Nav móvil */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--g200);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 5%;
    gap: 1.1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }

  /* Hero 1 columna */
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 300px; order: -1; }
  .hero-left  { padding: 4rem 5%; }

  .section-header-2col { grid-template-columns: 1fr; gap: 1rem; }

  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-2px); }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }

  .fixed-cost-card { flex-direction: column; align-items: flex-start; }
  .extras-grid { grid-template-columns: 1fr; }
  .extra-card { border-right: none; }
  .portfolio-grid.cols-4 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 5%; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .benefit-card:last-child { border-bottom: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-left h1 { font-size: 2.2rem; }
  .wa-popup { width: calc(100vw - 3.5rem); }
  .agent-card-actions { flex-direction: column; }
  .agent-card-actions .btn { width: 100%; justify-content: center; }
}
