/*
  RZ Soluciones Fiscales — Premium Trust Design
  ================================================
  Psicologia aplicada:
  - Azul oscuro (#0B3D91) = autoridad, seguridad, estabilidad financiera
  - Dorado (#D4A843) = exito, prosperidad, servicio premium
  - Blanco + mucho espacio = transparencia, claridad, honestidad
  - Verde WhatsApp = accion inmediata, accesibilidad
  - Tipografia Inter = moderna, legible, institucional
  - Bordes suaves + sombras sutiles = amabilidad, profesionalismo
  - Sin elementos recargados = seriedad, no "vendemos humo"
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0B3D91;
  --primary-dark: #06285e;
  --primary-light: #e8eff8;
  --accent: #25D366;
  --accent-hover: #1da851;
  --gold: #D4A843;
  --gold-light: #faf3e0;
  --dark: #0f172a;
  --gray: #f8fafc;
  --gray-200: #e2e8f0;
  --text: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.04), 0 20px 48px rgba(0,0,0,0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   NAV — limpia, institucional, con aire
   ========================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--primary);
  font-weight: 800; font-size: 1rem; letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-logo img { height: 36px; border-radius: 8px; }
.nav-links { display: flex; gap: 2.25rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-light); font-size: 0.875rem;
  font-weight: 500; transition: color 0.3s var(--ease);
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Boton destacado en nav — Contabilidad Negocios */
.nav-links li a.nav-cta-highlight,
a.nav-cta-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #0B3D91, #1558b8) !important;
  color: #fff !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em;
  animation: nav-pulse 1.8s ease-in-out infinite;
  box-shadow: 0 2px 12px rgba(11,61,145,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none !important;
  line-height: 1.4;
}
.nav-links li a.nav-cta-highlight:hover,
a.nav-cta-highlight:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 24px rgba(11,61,145,0.5);
  color: #fff !important;
}
@keyframes nav-pulse {
  0%, 100% { box-shadow: 0 2px 10px rgba(11,61,145,0.3); transform: scale(1); }
  50% { box-shadow: 0 3px 18px rgba(11,61,145,0.55), 0 0 6px rgba(21,88,184,0.3); transform: scale(1.03); }
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--dark);
  margin: 5px 0; transition: 0.3s var(--ease); border-radius: 1px;
}

/* =========================================
   PAGE HEADER — elegante, con patron sutil
   ========================================= */
.page-header {
  padding: 11rem 2rem 5.5rem;
  background: linear-gradient(170deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-header h1 {
  font-size: 2.75rem; font-weight: 800; margin-bottom: 0.75rem;
  position: relative; z-index: 1; letter-spacing: -0.03em; line-height: 1.15;
}
.page-header p {
  font-size: 1.1rem; opacity: 0.75; position: relative; z-index: 1;
  max-width: 500px; margin: 0 auto; font-weight: 300; line-height: 1.7;
}

/* =========================================
   SECTIONS — mucho espacio, limpio
   ========================================= */
section { padding: 6.5rem 2rem; }
.section-header { text-align: center; max-width: 580px; margin: 0 auto 4rem; }
.section-header h2 {
  font-size: 2.25rem; font-weight: 800; color: var(--dark);
  margin-bottom: 1rem; letter-spacing: -0.03em; line-height: 1.2;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; line-height: 1.75; }
.section-label {
  display: inline-block; color: var(--primary); font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2.5px;
  margin-bottom: 0.75rem;
}

.container { max-width: 1100px; margin: 0 auto; }

/* =========================================
   BUTTONS — redondeados, premium
   ========================================= */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 2.5rem; border-radius: 50px; font-weight: 600;
  text-decoration: none; font-size: 0.925rem; transition: all 0.35s var(--ease);
  border: none; cursor: pointer; letter-spacing: 0.01em;
}
.btn-whatsapp { background: var(--accent); color: var(--white); }
.btn-whatsapp:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); transform: translateY(-3px); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(11,61,145,0.2); }

/* =========================================
   HERO — impactante, con confianza
   ========================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(170deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  padding: 10rem 2rem 6rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--gray), transparent);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }

/* Hero con imagen de fondo */
.hero-with-image {
  background: none;
}
.hero-with-image::before {
  content: ''; position: absolute; inset: 0;
  background: url('/porta-opt.jpg') center/cover no-repeat;
}
.hero-with-image::after {
  content: ''; position: absolute; inset: 0; height: auto;
  background: linear-gradient(170deg, rgba(11,61,145,0.85) 0%, rgba(6,40,94,0.9) 100%);
}
.hero-with-image .hero-content {
  max-width: 800px;
}
.hero-with-image .hero-image { display: none; }
.hero-badge {
  display: inline-block; background: rgba(212,168,67,0.15);
  color: var(--gold); padding: 0.5rem 1.5rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 2rem;
  border: 1px solid rgba(212,168,67,0.25); letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 3.5rem; font-weight: 800; line-height: 1.1;
  margin-bottom: 1.75rem; letter-spacing: -0.04em;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.125rem; opacity: 0.8; max-width: 520px;
  margin: 0 auto 3rem; line-height: 1.8; font-weight: 300;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Trust bar en hero */
.trust-bar {
  display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap;
  margin-top: 4.5rem; padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-item { text-align: center; }
.trust-item .number { font-size: 1.75rem; font-weight: 800; color: var(--gold); }
.trust-item .label { font-size: 0.78rem; opacity: 0.6; margin-top: 0.2rem; font-weight: 400; }

/* =========================================
   PREVIEW CARDS (HOME) — limpias, con aire
   ========================================= */
.preview-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.preview-card {
  display: block; text-decoration: none; color: var(--text);
  background: var(--white); padding: 2.75rem; border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
}
.preview-card:hover {
  border-color: rgba(11,61,145,0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.preview-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.preview-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.preview-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.25rem; }
.preview-link {
  font-size: 0.875rem; font-weight: 600; color: var(--primary);
  display: inline-flex; align-items: center; gap: 0.3rem;
  transition: gap 0.3s var(--ease);
}
.preview-card:hover .preview-link { gap: 0.6rem; }

/* =========================================
   SERVICIO CARDS
   ========================================= */
.servicios-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.servicio-card {
  background: var(--white); padding: 2.75rem; border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
}
.servicio-card:hover {
  border-color: rgba(11,61,145,0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.servicio-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #1558b8);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.75rem;
}
.servicio-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--dark); letter-spacing: -0.01em; }
.servicio-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }

/* =========================================
   ESCENARIOS
   ========================================= */
.escenarios-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.escenario-item {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: var(--white); padding: 2rem 2.25rem; border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all 0.35s var(--ease);
}
.escenario-item:hover {
  border-color: rgba(37,211,102,0.2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.escenario-check {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #1da851);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1rem;
}
.escenario-item h4 { font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.escenario-item p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

/* =========================================
   GARANTIA — impactante, confianza total
   ========================================= */
.garantia {
  background: linear-gradient(170deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
.garantia::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}
.garantia .section-header { position: relative; z-index: 1; }
.garantia .section-header h2 { color: var(--white); }
.garantia .section-header p { color: rgba(255,255,255,0.7); }
.garantia-box {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  padding: 4rem 3rem; border-radius: 24px; max-width: 600px; margin: 0 auto;
  position: relative; z-index: 1;
}
.garantia-box .icon { font-size: 3rem; margin-bottom: 1.5rem; }
.garantia-box h3 { font-size: 2rem; font-weight: 800; margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.garantia-box p { font-size: 1.05rem; opacity: 0.8; line-height: 1.8; max-width: 440px; margin: 0 auto; font-weight: 300; }

/* =========================================
   ABOUT
   ========================================= */
.about-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-text h3 {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 1.5rem;
  color: var(--dark); letter-spacing: -0.02em; line-height: 1.3;
}
.about-text p { color: var(--text-light); margin-bottom: 1.25rem; line-height: 1.8; font-size: 0.95rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-box {
  background: var(--white); padding: 2.25rem 1.5rem; border-radius: var(--radius);
  text-align: center; border: 1px solid var(--gray-200);
  transition: all 0.35s var(--ease);
}
.stat-box:hover { border-color: rgba(11,61,145,0.15); box-shadow: var(--shadow); }
.stat-box .number { font-size: 2.5rem; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; }
.stat-box .label { font-size: 0.8rem; color: var(--text-light); margin-top: 0.3rem; }

/* =========================================
   MISION VISION VALORES
   ========================================= */
.mvv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.mvv-card {
  background: var(--white); padding: 3rem; border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--primary);
  transition: all 0.35s var(--ease);
}
.mvv-card:hover { box-shadow: var(--shadow); }
.mvv-card.vision { border-top-color: var(--gold); }
.mvv-card.valores { border-top-color: var(--accent); }
.mvv-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 1.25rem; letter-spacing: -0.01em; }
.mvv-card p, .mvv-card li { color: var(--text-light); font-size: 0.93rem; line-height: 1.8; }
.valores-list { list-style: none; }
.valores-list li { padding: 0.5rem 0; padding-left: 1.75rem; position: relative; }
.valores-list li::before {
  content: ''; position: absolute; left: 0; top: 0.95rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

/* =========================================
   COMO FUNCIONA (STEPS)
   ========================================= */
.steps-grid {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0; max-width: 900px; margin: 0 auto;
}
.step-item {
  flex: 1; text-align: center; padding: 0 2rem;
}
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(11,61,145,0.25);
}
.step-item h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--dark);
  margin-bottom: 0.75rem;
}
.step-item p {
  color: var(--text-light); font-size: 0.92rem; line-height: 1.7;
}
.step-divider {
  width: 60px; height: 2px; background: var(--gray-200);
  flex-shrink: 0; margin-top: 28px;
}

/* =========================================
   FAQ GRID
   ========================================= */
.faq-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.faq-item {
  background: var(--white); padding: 2rem; border-radius: var(--radius);
  border: 1px solid var(--gray-200); border-left: 4px solid var(--gold);
  transition: all 0.35s var(--ease);
}
.faq-item:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
  border-left-color: var(--primary);
}
.faq-item h4 {
  font-size: 1.05rem; font-weight: 700; color: var(--dark);
  margin-bottom: 0.75rem; line-height: 1.4;
}
.faq-item p {
  color: var(--text-light); font-size: 0.92rem; line-height: 1.75;
}

/* =========================================
   TESTIMONIOS
   ========================================= */
.testimonios-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.testimonio-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease);
}
.testimonio-card:hover {
  border-color: rgba(11,61,145,0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.testimonio-video {
  width: 100%; aspect-ratio: 9/16; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; cursor: pointer;
  max-height: 500px;
}
.testimonio-video video { width: 100%; height: 100%; object-fit: contain; }
.testimonio-video .play-btn {
  position: absolute; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease); pointer-events: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.testimonio-video:hover .play-btn { transform: scale(1.08); }
.play-btn::after {
  content: ''; width: 0; height: 0;
  border-style: solid; border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 5px;
}
.testimonio-video.playing .play-btn { display: none; }
.testimonio-body { padding: 2rem; }
.testimonio-body .stars { color: var(--gold); font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 3px; }
.testimonio-body p { color: var(--text-light); font-size: 0.92rem; line-height: 1.75; font-style: italic; }
.testimonio-body .name { font-weight: 600; color: var(--dark); font-style: normal; margin-top: 1.25rem; font-size: 0.95rem; }
.testimonio-body .role { font-size: 0.8rem; color: var(--text-light); font-style: normal; margin-top: 0.15rem; }
.testimonios-note {
  text-align: center; margin-top: 3rem; padding: 2rem;
  background: var(--primary-light); border-radius: var(--radius-sm);
  color: var(--text-light); font-size: 0.875rem;
  border: 1px solid rgba(11,61,145,0.06);
}

/* =========================================
   CONTACTO
   ========================================= */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contacto-info { display: flex; flex-direction: column; gap: 2.25rem; }
.contacto-item { display: flex; align-items: flex-start; gap: 1.25rem; }
.contacto-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
}
.contacto-item h4 { font-weight: 600; color: var(--dark); margin-bottom: 0.35rem; font-size: 0.95rem; }
.contacto-item p, .contacto-item a { color: var(--text-light); font-size: 0.9rem; text-decoration: none; line-height: 1.6; }
.contacto-item a:hover { color: var(--primary); }
.contacto-form {
  background: var(--white); padding: 2.75rem; border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; font-size: 0.875rem; margin-bottom: 0.5rem; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.9rem 1.15rem; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.925rem;
  transition: all 0.3s var(--ease); outline: none; background: var(--gray);
  color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary); background: var(--white);
  box-shadow: 0 0 0 4px rgba(11,61,145,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; }

/* =========================================
   LEGAL
   ========================================= */
.legal { max-width: 700px; margin: 0 auto; }
.legal h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 2.25rem 0 0.75rem; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text-light); font-size: 0.92rem; line-height: 1.85; margin-bottom: 0.5rem; }
.legal ul { padding-left: 1.5rem; }
.legal a { color: var(--primary); text-decoration: none; }
.legal a:hover { text-decoration: underline; }

/* =========================================
   FOOTER — sobrio, institucional
   ========================================= */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.55); padding: 5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
}
.footer-brand h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.footer-links h4 {
  color: rgba(255,255,255,0.85); font-size: 0.8rem; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600;
}
.footer-links a {
  display: block; color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 0.875rem; padding: 0.3rem 0; transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px; margin: 3rem auto 0; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.3);
}

/* =========================================
   WHATSAPP FLOTANTE
   ========================================= */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  border-radius: 50px;
  background: var(--accent);
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.3rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
  transition: all 0.4s var(--ease);
  text-decoration: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
}
.whatsapp-float:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 10px 36px rgba(37,211,102,0.4); color: #fff; }
.whatsapp-float svg { width: 26px; height: 26px; min-width: 26px; min-height: 26px; fill: var(--white); flex-shrink: 0; }

/* Segundo boton flotante — Contabilidad Negocios (azul confianza) */
.whatsapp-float-blue {
  position: fixed; bottom: 5.5rem; right: 2rem; z-index: 999;
  border-radius: 50px;
  background: linear-gradient(135deg, #0B3D91, #1a5bbf);
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.3rem;
  box-shadow: 0 6px 24px rgba(11,61,145,0.3);
  transition: all 0.4s var(--ease);
  text-decoration: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
}
.whatsapp-float-blue:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 10px 36px rgba(11,61,145,0.45); color: #fff; }
.whatsapp-float-blue svg { width: 26px; height: 26px; min-width: 26px; min-height: 26px; fill: var(--white); flex-shrink: 0; }

/* =========================================
   PILLARS — 3 columnas de confianza
   ========================================= */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.pillar { text-align: center; padding: 1rem; }
.pillar-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.75rem;
  transition: all 0.4s var(--ease);
}
.pillar:hover .pillar-icon {
  background: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(11,61,145,0.2);
}
.pillar:hover .pillar-icon svg { stroke: var(--white); }
.pillar h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--dark);
  margin-bottom: 0.75rem; letter-spacing: -0.01em;
}
.pillar p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; max-width: 320px; margin: 0 auto; }

/* =========================================
   CTA FINAL
   ========================================= */
.cta-final {
  background: var(--gray);
  padding: 7rem 2rem;
}
.cta-title {
  font-size: 2.5rem; font-weight: 800; color: var(--dark);
  margin: 0.75rem 0 1rem; letter-spacing: -0.03em; line-height: 1.2;
}
.cta-subtitle {
  color: var(--text-light); font-size: 1.1rem; line-height: 1.7;
  max-width: 480px; margin: 0 auto 2.5rem;
}
.cta-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* =========================================
   HELPERS
   ========================================= */
.bg-gray { background: var(--gray); }

/* =========================================
   ANIMATIONS — suaves, profesionales
   ========================================= */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200); gap: 0.75rem;
  }
  .nav-links.active { display: flex; }
  .steps-grid { flex-direction: column; align-items: center; gap: 2rem; }
  .step-divider { width: 2px; height: 40px; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 2.5rem; }
  .about-content { grid-template-columns: 1fr; gap: 3rem; }
  .contacto-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .escenarios-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 2rem; }
  .pillars { grid-template-columns: 1fr; gap: 2rem; }
  .hero-with-image .hero-content { text-align: center; }
}

@media (max-width: 600px) {
  section { padding: 4.5rem 1.25rem; }
  .section-header h2 { font-size: 1.75rem; }
  .section-header { margin-bottom: 3rem; }
  .hero { padding: 8rem 1.25rem 4rem; }
  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1rem; }
  .page-header { padding: 8.5rem 1.25rem 4rem; }
  .page-header h1 { font-size: 2rem; }
  .nav-inner { padding: 0.85rem 1.25rem; }
  .garantia-box { padding: 2.75rem 1.75rem; }
  .preview-card { padding: 2rem; }
  .servicio-card { padding: 2rem; }
  .escenario-item { padding: 1.5rem; }
}
