@import url("https://cdn.jsdelivr.net/npm/klaro@0.7.19/dist/klaro.min.css");

/* ============================================
   SAS BROKER DE SEGUROS - STYLES
   Nueva Identidad Corporativa
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES (Variables de Marca)
   ============================================ */
:root {
  /* Colores Principales */
  --sas-verde-principal: #00684f;
  --sas-verde-intermedio: #0f9979;
  --sas-azul-petroleo: #021926;
  --sas-celeste-claro: #a6c9e9;

  /* Colores Neutros */
  --sas-gris-oscuro: #404040;
  --sas-gris-claro: #b3b3b3;
  --sas-blanco: #ffffff;

  /* Gradientes */
  /* --sas-gradient-hero: linear-gradient(135deg, #00684f 0%, #021926 100%); */
  --sas-gradient-hero: linear-gradient(135deg, #007a5c 0%, #0f3f36 100%);
  --sas-gradient-card: linear-gradient(
    180deg,
    rgba(0, 104, 79, 0.05) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  /* --sas-gradient-cta: linear-gradient(135deg, #0f9979 0%, #00684f 100%); */
  --sas-gradient-cta: linear-gradient(135deg, #1bbf9a 0%, #007a5c 100%);

  /* Tipografía */
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Open Sans", sans-serif;
  --font-accent: "Raleway", sans-serif;

  /* Espaciado */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 104, 79, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 104, 79, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 104, 79, 0.15);
  --shadow-hover: 0 12px 50px rgba(0, 104, 79, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--sas-gris-oscuro);
  background-color: var(--sas-blanco);
  overflow-x: hidden;
  max-width: 100%;
}

#klaro {
  font-family: var(--font-secondary);
}

#klaro .cookie-notice,
#klaro .cookie-modal {
  font-family: var(--font-secondary);
}

#klaro .cookie-notice {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

#klaro .cookie-notice:not(.cookie-modal-notice) {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 99999;
}

#klaro .cn-body,
#klaro .cm-modal {
  border-radius: var(--radius-md);
}

#klaro .cm-btn,
#klaro .cn-ok,
#klaro .cn-decline,
#klaro .cn-learn-more {
  border-radius: 999px;
}

.privacy-card {
  background: var(--sas-blanco);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xl);
}

.privacy-card h2,
.privacy-card h3 {
  color: var(--sas-azul-petroleo);
  font-family: var(--font-primary);
  margin-bottom: 1rem;
}

.privacy-card h3 {
  margin-top: 2rem;
}

.privacy-card p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sas-azul-petroleo);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--sas-verde-principal);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--sas-verde-intermedio);
}

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.section-padding {
  padding: var(--spacing-xxl) 0;
}

.section-padding-sm {
  padding: var(--spacing-xl) 0;
}

.text-verde {
  color: var(--sas-verde-principal) !important;
}
.text-verde-claro {
  color: var(--sas-verde-intermedio) !important;
}
.bg-verde {
  background-color: var(--sas-verde-principal) !important;
}
.bg-verde-claro {
  background-color: var(--sas-verde-intermedio) !important;
}
.bg-azul {
  background-color: var(--sas-azul-petroleo) !important;
}
.bg-gris-claro {
  background-color: #f8f9fa !important;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title .subtitle {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--sas-verde-intermedio);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--spacing-xs);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--sas-gradient-cta);
  border-radius: 2px;
}

.section-title.text-start h2::after {
  left: 0;
  transform: none;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--sas-gris-oscuro);
}

.grid-8 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  justify-content: center;
  width: 100%;
  gap: 15px; /* opcional */
}

/* Tablet */
@media (max-width: 992px) {
  .grid-8 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .grid-8 {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Text utilities */

/* ============================================
   BUTTONS
   ============================================ */
.btn-sas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn-sas-primary {
  background: var(--sas-gradient-cta);
  color: var(--sas-blanco);
  box-shadow: var(--shadow-md);
}

.btn-sas-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--sas-blanco);
}

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

.btn-sas-outline:hover {
  background: var(--sas-blanco);
  color: var(--sas-verde-principal);
}

.btn-sas-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-sas-outline-white:hover {
  background: #fff;
  color: #000;
}

.btn-sas-outline-dark {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}

.btn-sas-outline-dark:hover {
  background: #000;
  color: #fff;
}

.btn-sas-whatsapp {
  background: #25d366;
  color: var(--sas-blanco);
}

.btn-sas-whatsapp:hover {
  background: #128c7e;
  color: var(--sas-blanco);
  transform: translateY(-3px);
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #00684f;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--sas-azul-petroleo);
  padding: 10px 0;
  font-size: 0.875rem;
  transition: var(--transition-normal);
  position: relative;
  z-index: 1001;
}

.topbar a,
.topbar span {
  color: var(--sas-blanco);
  opacity: 0.9;
}

.topbar a:hover {
  opacity: 1;
  color: var(--sas-celeste-claro);
}

.topbar i {
  color: var(--sas-verde-intermedio);
}

.topbar .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-left: 8px;
  transition: var(--transition-normal);
}

.topbar .social-links a:hover {
  background: var(--sas-verde-principal);
  transform: translateY(-2px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.topbar.hidden {
  transform: translateY(-100%);
}

.header .logo-color {
  display: none;
}

.header.scrolled .logo-white {
  display: none !important;
}

.header.scrolled .logo-color {
  display: block !important;
}
.header {
  background: transparent;
  padding: 15px 0;
  transition: var(--transition-normal);
  z-index: 1000;
  top: 50px; /* Altura del topbar */
}

.header.scrolled {
  background: var(--sas-blanco);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  top: 0;
}

@media (max-width: 991.98px) {
  .header {
    top: 0;
  }
}

.header .logo img {
  height: 50px;
  transition: var(--transition-normal);
}

.header.scrolled .logo img {
  height: 45px;
}

.navbar-nav .nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--sas-blanco);
  padding: 10px 18px;
  position: relative;
  transition: var(--transition-normal);
}

.header.scrolled .navbar-nav .nav-link {
  color: var(--sas-azul-petroleo);
}

/* Underline effect - solo para links que NO son dropdown */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--sas-verde-intermedio);
  transition: var(--transition-normal);
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar-nav .nav-link:not(.dropdown-toggle).active::after {
  width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--sas-verde-intermedio);
}

.header.scrolled .navbar-nav .nav-link:hover,
.header.scrolled .navbar-nav .nav-link.active {
  color: var(--sas-verde-principal);
}

/* Header CTA Button */
.header .btn-cotiza {
  background: var(--sas-verde-principal);
  color: var(--sas-blanco);
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-normal);
}

.header .btn-cotiza:hover {
  background: var(--sas-verde-intermedio);
  transform: scale(1.05);
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-md);
  margin-top: 0 !important;
  min-width: 260px;
}

/* Dropdown toggle arrow fix */
.nav-link.dropdown-toggle::after {
  border: none;
  content: "\F282";
  font-family: "bootstrap-icons";
  font-size: 0.7rem;
  vertical-align: middle;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .nav-link.dropdown-toggle::after,
.nav-item.dropdown.show .nav-link.dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Desktop dropdown hover behavior */
@media (min-width: 992px) {
  .nav-item.dropdown {
    position: relative;
  }

  .nav-item.dropdown > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Invisible bridge to prevent dropdown from closing */
  .nav-item.dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
  }
}

.dropdown-item {
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  color: var(--sas-gris-oscuro);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(0, 104, 79, 0.08);
  color: var(--sas-verde-principal);
  transform: translateX(5px);
}

.dropdown-item i {
  color: var(--sas-verde-intermedio);
}

/* Mobile Navigation */
.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 104, 79, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--sas-blanco);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 15px;
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
  }

  .navbar-nav .nav-link {
    color: var(--sas-azul-petroleo);
    padding: 12px 15px;
  }

  .navbar-nav .nav-link:not(.dropdown-toggle)::after {
    display: none;
  }

  /* Toggler icon blanco sobre fondo verde */
  .header:not(.scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  background: var(--sas-gradient-hero);
  overflow: hidden;
  padding-top: 120px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

/* Decorative shapes */
.hero .shape-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--sas-verde-intermedio);
  opacity: 0.1;
  border-radius: 50%;
  top: -200px;
  right: -200px;
}

.hero .shape-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--sas-celeste-claro);
  opacity: 0.08;
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
}

/* Ocultar shapes en mobile para evitar overflow */
@media (max-width: 991.98px) {
  .hero .shape-1,
  .hero .shape-2,
  .page-header .shape-1 {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sas-celeste-claro);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-subtitle::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--sas-verde-intermedio);
}

.hero h1 {
  color: var(--sas-blanco);
  margin-bottom: var(--spacing-md);
  font-weight: 800;
}

.hero h1 .highlight {
  color: var(--sas-verde-intermedio);
  position: relative;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 550px;
  margin-bottom: var(--spacing-lg);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
  justify-content: center;
  /* margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15); */
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-primary);
  font-size: 4rem;
  font-weight: 800;
  color: var(--sas-blanco);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255);
  margin-top: 5px;
}

/* Social Sidebar: siempre visible al hacer scroll */
.social-sidebar {
  position: fixed; /* clave */
  top: 50%;
  transform: translateY(-50%);
  right: 0px; /* o left: 18px si la querés a la izquierda */
  z-index: 1100; /* arriba del contenido */
  display: flex;
  flex-direction: column;
  gap: 0px;
  background-color: #00684f;
  border-radius: 6px 0 0 6px;
}
.social-sidebar a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--verde-principal);
  color: var(--blanco);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-sidebar a:hover {
  background: var(--verde-intermedio);
  transform: scale(1.08);
}
/* Opcional: que no quede pegada al borde en pantallas chicas */
@media (max-width: 991.98px) {
  .social-sidebar {
    right: 12px;
  }
}

/* ============================================
   SEGUROS CARDS SECTION
   ============================================ */
.seguros-section {
  position: relative;
  background: #f8f9fa;
}

.seguro-card {
  background: var(--sas-verde-principal);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.seguro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--sas-gradient-cta);
  transform: scaleX(0);
  transition: var(--transition-normal);
}

.seguro-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.seguro-card:hover::before {
  transform: scaleX(1);
}

.seguro-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.seguro-card:hover .seguro-card-icon {
  background: var(--sas-gradient-cta);
}

.seguro-card-icon i {
  font-size: 2rem;
  color: var(--sas-verde-principal);
  transition: var(--transition-normal);
}

.seguro-card:hover .seguro-card-icon i {
  color: var(--sas-blanco);
}

.seguro-card h4 {
  margin-bottom: var(--spacing-sm);
  color: #fff;
  font-size: 18px;
}

.seguro-card p {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
}

/* ============================================
   STATS SECTION (¿Por qué elegirnos?)
   ============================================ */
.stats-section {
  background: var(--sas-gradient-hero);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  position: relative;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--sas-blanco);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.stat-number span {
  color: var(--sas-verde-intermedio);
}

.stat-label {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   MARCAS ASOCIADAS
   ============================================ */
/* .marcas-section {
  background: var(--sas-blanco);
} */

/* .marcas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--spacing-md);
  align-items: center;
  justify-items: center;
}

.marca-item {
  padding: var(--spacing-sm);
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition-normal);
}

.marca-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.marca-item img {
  max-height: 50px;
  width: auto;
}

/* =========================
   MARCAS (BOOTSTRAP GRID)
   ========================= */

.marca-card {
  background: var(--sas-blanco);
  border-radius: var(--radius-md);
  height: 110px; /* mismo marco para todos */
  padding: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.marca-card img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* llena sin deformar */
  filter: none; /* color original */
  opacity: 1;
}

.marca-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .marca-card {
    height: 95px;
  }
}

/* Swiper para marcas */
.marcas-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm);
  height: 120px; /* marco visual igual para todos */
}

.marcas-swiper .swiper-slide img {
  max-width: 140px; /* controla el ancho visual */
  max-height: 70px; /* controla el alto visual */
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition-normal);
}

.marcas-swiper .swiper-slide:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .marcas-swiper .swiper-slide {
    height: 100px;
  }

  .marcas-swiper .swiper-slide img {
    max-width: 110px;
    max-height: 55px;
  }
}
*/

/* ============================================
   CLIENTES SECTION
   ============================================ */
.clientes-section {
  background: #f8f9fa;
}

.cliente-logo {
  background: var(--sas-blanco);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  /* box-shadow: var(--shadow-sm); */
  /* transition: var(--transition-normal); */
}

/* .cliente-logo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
} */

.cliente-logo img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

/* ============================================
   PROCESO / COMO TRABAJAMOS
   ============================================ */
.proceso-section {
  background: var(--sas-blanco);
}

.proceso-step {
  position: relative;
  padding: var(--spacing-lg);
  text-align: center;
}

.proceso-step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  background: var(--sas-gradient-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sas-blanco);
  position: relative;
  z-index: 2;
}

.proceso-step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(
    135deg,
    rgba(0, 104, 79, 0.1) 0%,
    rgba(15, 153, 121, 0.05) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.proceso-step-icon i {
  font-size: 2rem;
  color: var(--sas-verde-principal);
}

.proceso-step h4 {
  margin-bottom: var(--spacing-sm);
}

.proceso-step p {
  color: var(--sas-gris-oscuro);
  font-size: 0.95rem;
}

/* Línea conectora entre pasos */
@media (min-width: 992px) {
  .proceso-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 45px;
    right: -10%;
    width: 20%;
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--sas-verde-principal),
      var(--sas-verde-intermedio)
    );
    z-index: 1;
  }
}

/* ============================================
   CATEGORÍAS DE SEGUROS (Accordion)
   ============================================ */
.seguros-categoria {
  margin-bottom: var(--spacing-md);
}

.accordion-item {
  border: none;
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--sas-azul-petroleo);
  background: var(--sas-blanco);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    rgba(0, 104, 79, 0.05) 0%,
    rgba(15, 153, 121, 0.02) 100%
  );
  color: var(--sas-verde-principal);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300684f' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-body {
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
}

.seguro-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #eee;
  transition: var(--transition-fast);
}

.seguro-item:last-child {
  border-bottom: none;
}

.seguro-item:hover {
  padding-left: var(--spacing-sm);
  color: var(--sas-verde-principal);
}

.seguro-item i {
  color: var(--sas-verde-intermedio);
  font-size: 0.75rem;
}

/* ============================================
   CONTACTO SECTION
   ============================================ */
.contacto-section {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--sas-gradient-hero);
  overflow: hidden;
  padding-top: 120px;
}

.contacto-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(
    data:image/svg + xml,
    %3Csvgwidth="60"height="60"viewBox="0 0 60 60"xmlns="http://www.w3.org/2000/svg"%3E%3Cgfill="none"fill-rule="evenodd"%3E%3Cgfill="%23ffffff"fill-opacity="0.03"%3E%3Cpathd="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E
  );
  opacity: 0.5;
}

.contacto-info-card {
  background: var(--sas-blanco);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
}

.contacto-info-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-bottom: 1px solid #eee;
}

.contacto-info-item:last-child {
  border-bottom: none;
}

.contacto-info-item .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    rgba(0, 104, 79, 0.1) 0%,
    rgba(15, 153, 121, 0.05) 100%
  );
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contacto-info-item .icon i {
  font-size: 1rem;
  color: var(--sas-verde-principal);
}

.contacto-info-item h5 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contacto-info-item p,
.contacto-info-item a {
  color: var(--sas-gris-oscuro);
  margin: 0;
  font-size: 0.85rem;
}

/* Form Styles */
.contacto-form {
  background: var(--sas-blanco);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
}

.form-control,
.form-select {
  border: 2px solid #e9ecef;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sas-verde-principal);
  box-shadow: 0 0 0 4px rgba(0, 104, 79, 0.1);
}

.form-label {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sas-azul-petroleo);
  margin-bottom: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--sas-azul-petroleo);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-brand img {
  height: 50px;
  margin-bottom: var(--spacing-md);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 350px;
}

.footer h5 {
  color: var(--sas-blanco);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--sas-verde-intermedio);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--sas-verde-intermedio);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--sas-verde-intermedio);
  padding-left: 5px;
}

.footer-links a:hover::before {
  width: 15px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--sas-verde-intermedio);
  width: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: var(--spacing-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sas-blanco);
  transition: var(--transition-normal);
}

.footer-social a:hover {
  background: var(--sas-verde-principal);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
}

.ssn-logo img {
  height: 40px;
  opacity: 0.8;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  color: white;
  font-size: 1.75rem;
  transition: var(--transition-normal);
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* Pulse animation */
.whatsapp-float a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #25d366;
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

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

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
  background: var(--sas-gradient-hero);
  padding: 180px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .shape-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--sas-verde-intermedio);
  opacity: 0.1;
  border-radius: 50%;
  top: -150px;
  right: -100px;
}

.page-header h1 {
  color: var(--sas-blanco);
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.page-header .breadcrumb-item.active {
  color: var(--sas-verde-intermedio);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--sas-gradient-cta);
  padding: var(--spacing-xxl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -250px;
  right: -100px;
}

.cta-section h2 {
  color: var(--sas-blanco);
  margin-bottom: var(--spacing-sm);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
  background: var(--sas-blanco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: var(--spacing-lg);
}

.blog-card-meta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  font-size: 0.85rem;
  color: var(--sas-gris-claro);
}

.blog-card-meta i {
  color: var(--sas-verde-intermedio);
  margin-right: 5px;
}

.blog-card h4 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.blog-card h4 a {
  color: var(--sas-azul-petroleo);
}

.blog-card h4 a:hover {
  color: var(--sas-verde-principal);
}

/* ============================================
   QUIENES SOMOS PAGE
   ============================================ */
.about-content {
  padding: var(--spacing-xl) 0;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--sas-verde-principal);
  border-radius: var(--radius-lg);
  top: 20px;
  left: 20px;
  z-index: -1;
}

.about-values {
  margin-top: var(--spacing-xl);
}

.value-item {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.value-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(0, 104, 79, 0.1) 0%,
    rgba(15, 153, 121, 0.05) 100%
  );
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon i {
  font-size: 1.25rem;
  color: var(--sas-verde-principal);
}

.value-content h5 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.value-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sas-gris-oscuro);
}

/* Mission & Vision Cards */
.mv-card {
  background: var(--sas-blanco);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  height: 100%;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--sas-gradient-cta);
}

.mv-card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(0, 104, 79, 0.1) 0%,
    rgba(15, 153, 121, 0.05) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.mv-card-icon i {
  font-size: 1.75rem;
  color: var(--sas-verde-principal);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1199.98px) {
  .hero {
    padding-top: 100px;
  }

  .hero-stats {
    gap: var(--spacing-lg);
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-content {
    text-align: center;
    margin-bottom: var(--spacing-xl);
  }

  .hero-subtitle {
    justify-content: center;
  }

  .hero-subtitle::before {
    display: none;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-image {
    text-align: center;
  }

  .topbar {
    display: none;
  }

  .header {
    background: var(--sas-blanco);
    box-shadow: var(--shadow-sm);
  }

  .header .logo img.logo-white {
    display: none;
  }

  .header .logo img.logo-color {
    display: block !important;
  }

  .section-padding {
    padding: var(--spacing-xl) 0;
  }
}

@media (max-width: 767.98px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-stat .number {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float a {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-sas {
    width: 100%;
  }

  .proceso-step:not(:last-child)::after {
    display: none;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scroll offset for fixed header */
html {
  scroll-padding-top: 100px;
}

/* Selection color */
::selection {
  background: var(--sas-verde-principal);
  color: var(--sas-blanco);
}

/* Focus states for accessibility */
:focus-visible {
  outline: 2px solid var(--sas-verde-principal);
  outline-offset: 2px;
}

/* ============================================
   BLOG ARTICLE DETAIL PAGE
   ============================================ */
.page-header-sm {
  padding: 140px 0 40px;
}

.article-header {
  margin-bottom: var(--spacing-xl);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
}

.article-category {
  background: var(--sas-verde-principal);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

.article-date,
.article-read {
  color: var(--sas-gris-claro);
}

.article-date i,
.article-read i {
  color: var(--sas-verde-intermedio);
  margin-right: 5px;
}

.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-sm);
}

.article-header .lead {
  font-size: 1.15rem;
  color: var(--sas-gris-oscuro);
}

.article-image {
  margin-bottom: var(--spacing-xl);
}

.article-image img {
  width: 100%;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.5rem;
  margin: var(--spacing-xl) 0 var(--spacing-md);
  color: var(--sas-verde-principal);
}

.article-body h3 {
  font-size: 1.25rem;
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.article-body ul {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
}

.article-body li {
  margin-bottom: 8px;
}

.article-highlight {
  background: linear-gradient(
    135deg,
    rgba(0, 104, 79, 0.08) 0%,
    rgba(15, 153, 121, 0.05) 100%
  );
  border-left: 4px solid var(--sas-verde-principal);
  padding: var(--spacing-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: var(--spacing-lg) 0;
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}

.article-highlight i {
  color: var(--sas-verde-principal);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.article-highlight p {
  margin: 0;
}

.article-checklist {
  margin: var(--spacing-lg) 0;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #eee;
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-item i {
  color: var(--sas-verde-principal);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.article-footer {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tag-label,
.share-label {
  font-weight: 600;
  color: var(--sas-azul-petroleo);
  font-size: 0.9rem;
}

.tag {
  background: #f0f0f0;
  color: var(--sas-gris-oscuro);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.tag:hover {
  background: var(--sas-verde-principal);
  color: white;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 50%;
  color: var(--sas-gris-oscuro);
  transition: var(--transition-fast);
}

.share-btn:hover {
  background: var(--sas-verde-principal);
  color: white;
}

.article-cta {
  background: var(--sas-gradient-hero);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  margin-top: var(--spacing-xl);
  color: white;
}

.article-cta h3 {
  color: white;
  margin-bottom: var(--spacing-xs);
}

.article-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-lg);
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--sas-verde-principal);
}

.related-article {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid #eee;
}

.related-article:last-child {
  border-bottom: none;
}

.related-article img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.related-article a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sas-azul-petroleo);
  display: block;
  line-height: 1.3;
}

.related-article span {
  font-size: 0.8rem;
  color: var(--sas-gris-claro);
}

.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-categories li {
  border-bottom: 1px solid #eee;
}

.sidebar-categories li:last-child {
  border-bottom: none;
}

.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--sas-gris-oscuro);
}

.sidebar-categories a span {
  background: #f0f0f0;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.sidebar-categories a:hover {
  color: var(--sas-verde-principal);
}

.sidebar-contact {
  background: var(--sas-gradient-hero);
  color: white;
}

.sidebar-contact h4 {
  color: white;
  border-bottom-color: var(--sas-verde-intermedio);
}

.sidebar-contact p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-link i {
  font-size: 1.1rem;
}

.contact-link.whatsapp:hover {
  color: #25d366;
}

/* ============================================
   SEGURO DETAIL PAGE
   ============================================ */
.seguro-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.seguro-header-badge i {
  color: var(--sas-verde-intermedio);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.feature-icon {
  width: 28px;
  height: 28px;
  background: var(--sas-verde-principal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.cobertura-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition-normal);
  text-align: center;
}

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

.cobertura-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(0, 104, 79, 0.1) 0%,
    rgba(15, 153, 121, 0.05) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.cobertura-icon i {
  font-size: 1.75rem;
  color: var(--sas-verde-principal);
}

.cobertura-card h4 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
}

.cobertura-card p {
  font-size: 0.95rem;
  color: var(--sas-gris-oscuro);
  margin: 0;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.benefit-item {
  display: flex;
  gap: var(--spacing-md);
}

.benefit-number {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--sas-verde-intermedio);
  opacity: 0.5;
  line-height: 1;
  flex-shrink: 0;
}

.benefit-content h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.benefit-content p {
  font-size: 0.95rem;
  color: var(--sas-gris-oscuro);
  margin: 0;
}

.marca-item {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  box-shadow: var(--shadow-sm);
}

.marca-item img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-normal);
}

.marca-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.cta-form-box {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-form-box .form-control,
.cta-form-box .form-select {
  background: #f8f9fa;
  border: none;
}

.cta-form-box .form-control:focus,
.cta-form-box .form-select:focus {
  background: white;
  border: 2px solid var(--sas-verde-principal);
}

/* ============================================
   TABLE COMPARISON
   ============================================ */
.table-comparison {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.table-comparison thead {
  background: var(--sas-verde-principal);
  color: white;
}

.table-comparison thead th {
  font-weight: 600;
  padding: 16px;
  border: none;
}

.table-comparison tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  border-color: #eee;
}

.table-comparison tbody tr:hover {
  background: rgba(0, 104, 79, 0.03);
}

.table-comparison i.bi-check-circle-fill {
  font-size: 1.2rem;
}

.table-comparison i.bi-x-circle {
  font-size: 1.2rem;
  opacity: 0.4;
}

/* ============================================
   CATEGORIA CARDS - Tarjetas de categorías
   ============================================ */
.categoria-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.categoria-card {
  background: var(--sas-blanco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
}

.categoria-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.categoria-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.categoria-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.categoria-card:hover .categoria-card-img img {
  transform: scale(1.1);
}

.categoria-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 104, 79, 0.3) 0%,
    rgba(2, 25, 38, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.categoria-card-overlay i {
  font-size: 3rem;
  color: var(--sas-blanco);
  opacity: 0.9;
}

.categoria-card-body {
  padding: var(--spacing-lg);
  text-align: center;
}

.categoria-card-body h4 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  color: var(--sas-azul-petroleo);
}

.categoria-card-body p {
  color: var(--sas-gris-oscuro);
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
}

.btn-ver-mas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sas-verde-principal);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.categoria-card:hover .btn-ver-mas {
  color: var(--sas-verde-intermedio);
}

.btn-ver-mas i {
  transition: var(--transition-fast);
}

.categoria-card:hover .btn-ver-mas i {
  transform: translateX(5px);
}

/* ============================================
   SEGURO CARDS - Tarjetas de seguros individuales
   ============================================ */
.seguro-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.seguro-card-img {
  background: var(--sas-blanco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
}

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

.seguro-card-img .card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.seguro-card-img .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.seguro-card-img:hover .card-image img {
  transform: scale(1.05);
}

.seguro-card-img .card-body {
  padding: var(--spacing-md);
  text-align: center;
}

.seguro-card-img .card-body h5 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--sas-azul-petroleo);
}

.seguro-card-img .card-body .cotizar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sas-verde-principal);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.seguro-card-img:hover .cotizar-link {
  color: var(--sas-verde-intermedio);
}

.seguro-card-img-active {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border: 2px solid var(--sas-verde-principal);
}

.seguro-card-img-active .cotizar-link {
  color: var(--sas-verde-intermedio);
  font-weight: 700;
}

.seguro-card-img-active .card-body h5 {
  color: var(--sas-verde-principal);
}

.seguro-card-img-active:hover {
  transform: translateY(-20px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.ts-wrapper.single .ts-control {
  min-height: 52px;
  border-radius: 12px;
  border: 2px solid #d7dee3;
  padding: 10px 14px;
  font-size: 1rem;
  box-shadow: none;
}

.ts-wrapper.focus .ts-control {
  border-color: var(--sas-verde-principal);
  box-shadow: 0 0 0 0.15rem rgba(0, 128, 96, 0.12);
}

.ts-dropdown {
  border-radius: 12px;
  overflow: hidden;
  z-index: 99999;
}

.ts-dropdown .option {
  padding: 10px 14px;
  font-size: 1rem;
}

.embeddedMessagingFrame{
  z-index: 99999 !important;
}
