/* ==========================================================================
   Instalgas Chile - Sistema de Diseño y Estilos Web
   Paleta: Azul Seguridad (#0d254c), Rojo Urgencia (#c62828), Verde SEC (#10b981)
   ========================================================================== */

:root {
  --primary-blue: #0d254c;
  --primary-blue-dark: #07162e;
  --primary-blue-light: #183c78;
  --accent-red: #c62828;
  --accent-red-hover: #e53935;
  --sec-green: #10b981;
  --sec-green-dark: #047857;
  --alert-amber: #f59e0b;
  
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border-color: #e2e8f0;
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #ffffff;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(13, 37, 76, 0.1), 0 2px 4px -2px rgba(13, 37, 76, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(13, 37, 76, 0.12), 0 4px 6px -4px rgba(13, 37, 76, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(13, 37, 76, 0.15), 0 8px 10px -6px rgba(13, 37, 76, 0.1);
  --shadow-red: 0 10px 20px -5px rgba(198, 40, 40, 0.35);
  --shadow-green: 0 10px 20px -5px rgba(16, 185, 129, 0.3);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px; /* Espacio para barra móvil */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }

/* Contenedor */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Barra Superior Informativa y de Urgencias */
.top-bar {
  background: linear-gradient(90deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--accent-red);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-badge-sec {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.775rem;
}

.top-emergency-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
  font-weight: 600;
}

.top-phone-link:hover {
  color: #fca5a5;
}

/* Header & Navegación Principal */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--accent-red);
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sec-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-red);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-blue);
}

@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.is-active {
    display: flex;
  }
}

/* Botones y CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-red);
  color: #ffffff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--primary-blue-light);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  color: #ffffff;
}

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

.btn-outline:hover {
  background: var(--primary-blue);
  color: #ffffff;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 80% 20%, #173b75 0%, #0d254c 100%);
  color: #ffffff;
  padding: 3.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.03" fill-rule="evenodd"><circle cx="3" cy="3" r="1"/></g></svg>');
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: #fca5a5;
  text-decoration: underline;
  text-decoration-color: var(--accent-red);
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-badges-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #e2e8f0;
}

.hero-badge-icon {
  width: 24px;
  height: 24px;
  color: #34d399;
}

/* Tarjeta Credencial Hero */
.credential-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.credential-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.sec-stamp {
  background: #ecfdf5;
  color: var(--sec-green-dark);
  border: 1px solid #a7f3d0;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.credential-body {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.credential-photo {
  width: 135px;
  height: 135px;
  min-width: 135px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 3px solid #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
  flex-shrink: 0;
}

.credential-details h4 {
  font-size: 1.15rem;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.credential-rut {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-red);
  margin-bottom: 0.25rem;
}

.credential-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.credential-guarantees {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.credential-guarantees ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.credential-guarantees li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
}

.credential-guarantees li svg {
  color: var(--sec-green);
  flex-shrink: 0;
}

/* Secciones Generales */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
}

/* Tarjetas de Servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-blue);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.service-card:hover::before {
  background: var(--accent-red);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  background: rgba(13, 37, 76, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  margin-bottom: 1.25rem;
}

.service-card:hover .service-icon-box {
  background: var(--accent-red);
  color: #ffffff;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.service-features {
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.service-features li svg {
  color: var(--sec-green);
  flex-shrink: 0;
}

/* Sección de Comparativa / Por qué elegir SEC */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .comparison-container {
    grid-template-columns: 1fr;
  }
}

.comparison-box {
  border-radius: var(--radius-md);
  padding: 2rem;
  background: #ffffff;
}

.comparison-sec {
  border: 2px solid var(--sec-green);
  box-shadow: var(--shadow-green);
}

.comparison-non-sec {
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  opacity: 0.9;
}

.comparison-box h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.comparison-box ul li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

/* Acordeón FAQ para Tráfico Frío de Google */
.faq-grid {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.faq-item.is-open {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-blue);
  cursor: pointer;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-fast);
  color: var(--accent-red);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 1.5rem;
}

.faq-item.is-open .faq-answer {
  max-height: 800px;
}

/* Zonas de Cobertura */
.coverage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.coverage-pill {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

/* Banner de Emergencia / Llamado de Acción */
.emergency-banner {
  background: linear-gradient(135deg, var(--accent-red) 0%, #991b1b 100%);
  color: #ffffff;
  padding: 3rem 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-red);
  margin: 3rem auto;
  text-align: center;
}

.emergency-banner h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.emergency-banner p {
  color: #fee2e2;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 1.75rem;
}

/* Footer */
.site-footer {
  background: var(--primary-blue-dark);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--accent-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h3,
.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after,
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent-red);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  color: var(--accent-red);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-ai-links a {
  color: #94a3b8;
  text-decoration: underline;
  margin-left: 0.75rem;
}

/* Botón Flotante de WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 85px;
  right: 20px;
  z-index: 999;
  background-color: #25d366;
  color: #ffffff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
  text-decoration: none;
}

@media (min-width: 992px) {
  .floating-whatsapp {
    bottom: 30px;
    right: 30px;
  }
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.floating-whatsapp .pulse-effect {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 2s infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-unread-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* Barra Fija Móvil para Conversión Inmediata */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 998;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
}

@media (min-width: 992px) {
  .mobile-action-bar {
    display: none;
  }
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

.mobile-btn-phone {
  background: var(--primary-blue);
  color: #ffffff;
}

.mobile-btn-wa {
  background: #25d366;
  color: #ffffff;
}

/* Formularios de Diagnóstico / Contacto Rápido */
.contact-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-blue);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(13, 37, 76, 0.1);
}

/* Migas de pan */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--primary-blue);
}

.breadcrumbs span {
  margin: 0 0.4rem;
}

/* Sección de Testimonios Reales */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  font-family: serif;
  color: rgba(13, 37, 76, 0.08);
  pointer-events: none;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--primary-blue);
  font-size: 1rem;
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--accent-red);
  font-weight: 600;
}

/* Sección de Métricas y Experiencia */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.metric-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.metric-number.highlight {
  color: var(--accent-red);
}

.metric-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Tarjetas de Blog / Guías */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.blog-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--accent-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.blog-heading {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-blue);
}

.blog-heading a:hover {
  color: var(--accent-red);
}

.blog-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

