/* =========================================
 VARIABLES DE MARCA (ASTRA SEGUROS)
 ========================================= */
:root {
 --primary-blue: #233DFF;
 --secondary-yellow: #FFB200;
 --dark-blue: #1A1A4B;
 --light-gray: #F4F8FA;
 --white: #fff;
 --font-main: 'Outfit', sans-serif;
}
/* =========================================
 RESET + BASE
 ========================================= */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}
html, body {
 font-family: var(--font-main);
 color: var(--dark-blue);
 background: var(--white);
 overflow-x: hidden;
 scroll-behavior: smooth;
}
a {
 text-decoration: none;
}
ul {
 list-style: none;
}
img {
 max-width: 100%;
 height: auto;
 display: block;
}
.container {
 max-width: 1200px;
 margin: auto;
 padding: 0 20px;
}
/* =========================================
 HEADER (TRANSPARENTE ‑ BLANCO) + NAV
 ========================================= */
.site-header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 2000;
 background: transparent;
 transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease;
 padding: 20px 0;
 will-change: background-color, padding, box-shadow;
}
.site-header.sticky {
 background: var(--white) !important;
 padding: 10px 0;
 box-shadow: 0 5px 20px rgba(0,0,0,.12);
}
.nav-container {
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.logo img {
 height: 100px;
 transition: height .35s ease;
}
.site-header.sticky .logo img {
 height: 60px;
}
/* Menú */
nav ul {
 display: flex;
 gap: 30px;
 align-items: center;
}
nav a, .dropdown-toggle {
 font-weight: 700;
 font-size: 1.1rem;
 transition: color .25s ease;
 color: var(--primary-blue);
 text-shadow: none;
}
nav a:hover, .dropdown-toggle:hover {
 color: var(--secondary-yellow);
}
/* Hamburguesa (móvil) */
.menu-toggle {
 display: none;
 font-size: 1.8rem;
 cursor: pointer;
 background: none;
 border: 0;
 color: var(--primary-blue);
 text-shadow: none;
}
.site-header.sticky .menu-toggle {
 color: var(--dark-blue);
}
nav.open ul {
 display: flex;
 position: absolute;
 top: 80px;
 right: 20px;
 left: 20px;
 background: var(--white);
 padding: 20px;
 border-radius: 12px;
 flex-direction: column;
 gap: 15px;
 box-shadow: 0 12px 30px rgba(0,0,0,.12);
 z-index: 2100;
}
@media (max-width:900px) {
 .menu-toggle { display: block; }
 nav ul { display: none; }
}
/* Dropdown */
.has-dropdown {
 position: relative;
}
.dropdown-toggle {
 background: none;
 border: 0;
 cursor: pointer;
 display: inline-flex;
 align-items: center;
 gap: 6px;
}
.has-dropdown .fa-chevron-down {
 transition: transform .2s;
}
.has-dropdown.open .fa-chevron-down {
 transform: rotate(180deg);
}
.dropdown {
 position: absolute;
 top: 100%;
 left: 0;
 min-width: 240px;
 background: #fff;
 border-radius: 10px;
 box-shadow: 0 12px 30px rgba(0,0,0,.12);
 padding: 8px 0;
 display: none;
 z-index: 2200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
 display: block;
}
.dropdown a {
 display: block;
 padding: 10px 16px;
 color: var(--dark-blue);
 font-weight: 600;
 text-shadow: none;
}
.dropdown a:hover {
 background: #f3f6ff;
 color: var(--primary-blue);
}
@media (max-width:900px) {
 .dropdown {
  position: static;
  box-shadow: none;
  padding: 0;
  margin-top: 6px;
 }
 .has-dropdown.open .dropdown { display: block; }
}
/* =========================================
 BOTONES
 ========================================= */
.btn-primary {
 border: 2px solid var(--white);
 padding: 10px 25px;
 border-radius: 50px;
 transition: .3s;
}
.btn-primary:hover, .site-header.sticky .btn-primary {
 background: var(--primary-blue);
 border-color: var(--primary-blue);
 color: var(--white);
}
.btn-secondary {
 background: var(--secondary-yellow);
 color: var(--dark-blue);
 padding: 15px 30px;
 border-radius: 8px;
 font-weight: 900;
 text-transform: uppercase;
 border: none;
 cursor: pointer;
 box-shadow: 0 4px 15px rgba(255,178,0,.4);
 transition: transform .2s;
 display: inline-block;
}
.btn-secondary:hover {
 transform: translateY(-3px);
}
/* =========================================
 HERO
 ========================================= */
.hero {
 width: 100%;
 min-height: 97.5vh;
 background: url('img/banner-2.webp') center/cover no-repeat;
 position: relative;
 display: flex;
 align-items: center;
 padding-top: 100px;
 padding-bottom: 100px;
}
.hero-content-wrapper {
 position: relative;
 z-index: 1;
 width: 100%;
 max-width: 1200px;
 margin: auto;
 display: flex;
 justify-content: flex-start;
 text-align: left;
 gap: 40px;
}
.hero-content-wrapper.hero-center {
 justify-content: center;
 text-align: center;
}
.hero-text {
 color: var(--dark-blue);
 max-width: 900px;
 margin: 0;
}
.hero-text h1 {
 font-size: 3.5rem;
 line-height: 1.1;
 margin: 20px 0;
 text-transform: uppercase;
}
.hero-subtitle {
 margin-top: 10px;
 font-size: 1.1rem;
 opacity: .9;
 max-width: 780px;
 margin-left: auto;
 margin-right: auto;
}
.highlight {
 color: var(--secondary-yellow);
}
.hero-interno {
 min-height: 55vh;
 background: linear-gradient(180deg, rgba(35,61,255,.06), rgba(26,26,75,.03)), url('img/hero-about.jpg') center/cover no-repeat;
}
/* =========================================
 SOLUCIONES (Carrusel)
 ========================================= */
.services {
 padding-top: 20px;
 padding-bottom: 60px;
 background: var(--light-gray);
}
.section-header {
 text-align: center;
 color: var(--primary-blue);
 margin-bottom: 10px;
}
.section-header h1 {
 font-size: 2.5rem;
 color: var(--primary-blue);
 text-transform: uppercase;
}
.section-header h2 {
 font-size: 2.2rem;
 color: var(--primary-blue);
 text-transform: uppercase;
 margin-top: 10px;
}
.divider {
 height: 4px;
 width: 60px;
 background: var(--secondary-yellow);
 margin: 15px auto;
}
.anchor-offset {
 position: relative;
 top: -110px;
 height: 0;
}
/* Controles carrusel */
.carousel-header {
 display: flex;
 justify-content: flex-end;
 gap: 10px;
 align-items: center;
 margin-bottom: 10px;
}
.carousel-btn {
 width: 42px;
 height: 42px;
 border-radius: 50%;
 border: 2px solid var(--primary-blue);
 color: var(--primary-blue);
 background: #fff;
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 transition: .2s;
}
.carousel-btn:hover {
 background: var(--primary-blue);
 color: #fff;
}
/* Carrusel base */
.cards-carousel {
 display: flex;
 gap: 20px;
 align-items: stretch;
 overflow-x: auto;
 overflow-y: hidden;
 scroll-snap-type: x mandatory;
 -webkit-overflow-scrolling: touch;
 scroll-behavior: smooth;
 padding-bottom: 20px;
 /* ANTES: scrollbar-width: thin; */
 /* NUEVO ASTRA 2026-03-18: mantenemos compatibilidad y añadimos clase para ocultar */
 scrollbar-width: thin;
 touch-action: pan-x pinch-zoom;
 will-change: scroll-position;
}
.cards-carousel:focus {
 outline: 3px solid #dce3ff;
 outline-offset: 4px;
 border-radius: 8px;
}
.snap {
 scroll-snap-align: center;
}
/* Tarjetas base */
.service-card {
 flex: 0 0 80%;
 max-width: 560px;
 background: var(--white);
 border-radius: 10px;
 overflow: hidden;
 box-shadow: 0 5px 15px rgba(0,0,0,.05);
 transition: .3s;
 border-top: 4px solid transparent;
 position: relative;
 display: flex;
 flex-direction: column;
}
@media (min-width:700px) { .service-card { flex: 0 0 48%; } }
@media (min-width:1024px) { .service-card { flex: 0 0 32%; } }
.service-card:hover {
 transform: translateY(-6px);
 border-top: 4px solid var(--secondary-yellow);
}
.card-image-wrap {
 position: relative;
 overflow: hidden;
}
.card-image {
 width: 100%;
 aspect-ratio: 16/9;
 background-color: #ddd;
 background-size: cover;
 background-position: center;
 cursor: pointer;
}
@media (max-width:700px) { .card-image { aspect-ratio: 4/3; } }
.card-content {
 padding: 25px;
 flex-grow: 1;
}
.card-content h3 {
 color: var(--primary-blue);
 margin-bottom: 10px;
}
.text-link {
 color: var(--secondary-yellow);
 font-weight: bold;
 display: inline-block;
 margin-top: 10px;
}
.justificar {
 text-align: justify;
}
/* Imágenes carrusel */
.card-image.viaje { background-image: url('img/viaje-2.webp'); }
.card-image.arriendo { background-image: url('img/arriendo-3.webp'); }
.card-image.motos { background-image: url('img/motos-2.webp'); }
.card-image.mascotas { background-image: url('img/mascotas-2.png'); }
/* =========================================
 TARJETAS DIGITALES PREMIUM (NUEVO ESTÁNDAR)
 ========================================= */
.modern-digital-card {
 border-radius: 16px !important;
 border-top: none !important;
 background: #fff;
 transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.modern-digital-card:hover {
 transform: translateY(-10px) !important;
 box-shadow: 0 20px 40px rgba(35, 61, 255, 0.12) !important;
}
.card-badge {
 position: absolute;
 top: 15px;
 right: 15px;
 background: var(--primary-blue);
 color: #fff;
 padding: 5px 12px;
 border-radius: 50px;
 font-size: 0.75rem;
 font-weight: 700;
 z-index: 2;
}
.card-badge-soon {
 position: absolute;
 top: 15px;
 right: 15px;
 background: #6c757d;
 color: #fff;
 padding: 5px 12px;
 border-radius: 50px;
 font-size: 0.75rem;
 font-weight: 700;
 z-index: 2;
}
.provider-tag {
 font-size: 0.7rem;
 font-weight: 900;
 color: var(--secondary-yellow);
 text-transform: uppercase;
 letter-spacing: 1px;
 display: block;
 margin-bottom: 5px;
}
.btn-digital {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 width: 100%;
 margin-top: 15px;
 padding: 12px;
 background: var(--light-gray);
 color: var(--primary-blue);
 border-radius: 8px;
 font-weight: 700;
 font-size: 0.95rem;
 transition: all 0.3s ease;
}
.btn-digital:hover {
 background: var(--primary-blue);
 color: #fff;
}
.btn-digital.disabled {
 background: #f0f0f0;
 color: #aaa;
 cursor: not-allowed;
}
/* Dots Carrusel */
.carousel-dots {
 margin-top: 12px;
 display: flex;
 gap: 8px;
 justify-content: center;
 align-items: center;
}
.carousel-dots button {
 width: 10px;
 height: 10px;
 border-radius: 50%;
 border: none;
 background: #d9defe;
 cursor: pointer;
 transition: .2s;
}
.carousel-dots button[aria-current="true"] {
 background: var(--primary-blue);
 transform: scale(1.2);
}
/* =========================================
 EFECTO MÁQUINA DE ESCRIBIR
 ========================================= */
.typer-line {
 display: flex;
 gap: .5ch;
 align-items: baseline;
 justify-content: center;
 flex-wrap: wrap;
}
.typewriter {
 position: relative;
 font-weight: 900;
 color: var(--secondary-yellow);
 white-space: nowrap;
 overflow: hidden;
 border-right: 2px solid var(--secondary-yellow);
 padding-right: 2px;
 animation: caret-blink .9s step-end infinite;
}
@keyframes caret-blink { 0%,49% { border-color: var(--secondary-yellow) } 50%,100% { border-color: transparent } }
/* =========================================
 COMPAÑÍAS ASEGURADORAS ALIADAS
 ========================================= */
.partners {
 background: #fff;
 padding: 50px 0;
}
.partners-header {
 text-align: center;
 margin-bottom: 18px;
}
.partners-title {
 color: var(--primary-blue);
 text-transform: uppercase;
 font-size: 1.4rem;
 display: inline-flex;
 gap: 10px;
 align-items: center;
}
.partners-sub {
 margin-top: 6px;
 color: #3a3a63;
 font-size: .98rem;
}
.partners-grid {
 margin-top: 18px;
 display: grid;
 grid-template-columns: repeat(7, 1fr);
 gap: 16px 22px;
 align-items: center;
}
@media (max-width:1200px) { .partners-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width:900px) { .partners-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width:700px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width:520px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
.partners-item {
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 84px;
 padding: 6px 8px;
}
.partner-logo {
 height: 48px;
 width: auto;
 max-width: 100%;
 opacity: .85;
 filter: grayscale(100%);
 transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}
.partner-logo:hover {
 opacity: 1;
 filter: grayscale(0%);
 transform: translateY(-2px);
}
/* =========================================
 ACERCA / EQUIPO / VALORES
 ========================================= */
.about-section { padding: 70px 0; background: var(--white); }
.about-section.bg-light { background: var(--light-gray); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about-grid.reverse { grid-template-columns: 1fr 1.2fr; }
@media (max-width:900px) { .about-grid, .about-grid.reverse { grid-template-columns: 1fr; } }
.about-title { color: var(--primary-blue); text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.about-title.center { justify-content: center; }
.about-text { font-size: 1.05rem; }
.icon-modern i { font-size: 1.4rem; color: var(--primary-blue); filter: drop-shadow(0 2px 4px rgba(35,61,255,.15)); }
.about-visual { height: 320px; border-radius: 12px; background: #e9ecff center/cover no-repeat; box-shadow: 0 10px 24px rgba(0,0,0,.06); }
/* Equipo */
.team-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width:1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:640px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
 background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.06);
 transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0,0,0,.09); }
.team-photo-img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; object-position: top center; background: #f2f5ff; border-radius: 12px; }
.team-info { padding: 18px; }
.team-name { color: var(--primary-blue); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .3px; }
.team-role { font-weight: 700; margin: 6px 0 4px; color: var(--dark-blue); }
.team-mail { color: var(--primary-blue); word-break: break-all; }
.team-bio { font-size: .98rem; color: #3a3a63; }
/* Valores */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 20px; align-items: stretch; }
@media (max-width:1100px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width:700px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value-card {
 background: #fff; border-radius: 12px; padding: 22px 18px; box-shadow: 0 6px 18px rgba(0,0,0,.06);
 transition: transform .2s ease, box-shadow .2s ease; display: grid; grid-template-columns: 32px 1fr; grid-column-gap: 12px; align-items: start;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(0,0,0,.09); }
.value-card i { grid-column: 1; grid-row: 1 / span 2; font-size: 22px; color: var(--primary-blue); margin-top: 2px; }
.value-card h3 { grid-column: 2; margin: 0 0 6px 0; color: var(--primary-blue); font-size: 1.05rem; }
.value-card p { grid-column: 2; margin: 0; color: #3a3a63; font-size: .98rem; line-height: 1.5; }
/* =========================================
 PÁGINAS INTERNAS
 ========================================= */
.hero-empresas { background: linear-gradient(180deg, rgba(35,61,255,.15), rgba(26,26,75,.3)), url('img/hero-empresas3.png') center/cover no-repeat; }
.hero-personas { background: linear-gradient(180deg, rgba(35,61,255,.15), rgba(26,26,75,.3)), url('img/hero-personas.png') center/cover no-repeat; }
.hero-arl { background: linear-gradient(180deg, rgba(35,61,255,.15), rgba(26,26,75,.3)), url('img/hero-empresas.png') center/cover no-repeat; }
.grid-servicios-internos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
@media (max-width: 1000px) { .grid-servicios-internos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) { .grid-servicios-internos { grid-template-columns: 1fr; } }
/* Imágenes servicios */
.card-image.danos { background-image: url('img/emp-danos.png'); }
.card-image.rc { background-image: url('img/emp-rc.png'); }
.card-image.cumplimiento { background-image: url('img/emp-cumplimiento.png'); }
.card-image.colectivos { background-image: url('img/emp-colectivos.png'); }
.card-image.transporte { background-image: url('img/emp-transporte.png'); }
.card-image.copropiedades { background-image: url('img/emp-copropiedades.png'); }
.card-image.per-vida { background-image: url('img/vida-1.png'); }
.card-image.per-salud { background-image: url('img/per-salud.png'); }
.card-image.per-autos { background-image: url('img/per-autos.png'); }
.card-image.per-hogar { background-image: url('img/per-hogar.png'); }
.card-image.per-exequial { background-image: url('img/per-exequial.png'); }
.card-image.per-educativo { background-image: url('img/per-educacion.png'); }
.card-image.arl-asesoria { background-image: url('img/arl-asesoria.png'); }
.card-image.arl-prevencion { background-image: url('img/arl-prevencion.png'); }
.card-image.arl-normatividad { background-image: url('img/arl-normatividad.png'); }
/* =========================================
 FOOTER
 ========================================= */
.site-footer {
 background: var(--primary-blue);
 color: var(--white);
 padding-top: 36px;
 border-top: 1px solid rgba(255,255,255,.12);
}
.footer-grid {
 display: grid;
 grid-template-columns: 1.4fr .8fr;
 gap: 28px;
 align-items: start;
 padding-bottom: 24px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 56px; width: auto; margin-bottom: 12px; }
.footer-copy { margin: 6px 0 10px 0; font-weight: 600; }
.footer-address { font-style: normal; opacity: .95; line-height: 1.5; }
.footer-social { justify-self: end; }
@media (max-width: 900px) { .footer-social { justify-self: start; } }
.social-list { display: flex; gap: 14px; align-items: center; }
.social-link {
 height: 40px; width: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
 color: var(--primary-blue); background: var(--white); box-shadow: 0 6px 16px rgba(0,0,0,.18);
 transition: transform .2s ease;
}
.social-link:hover { transform: translateY(-3px); background: var(--secondary-yellow); color: var(--dark-blue); }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,.18); padding: 10px 0 14px 0; color: #eef1ff; font-size: .92rem; }
/* WhatsApp flotante */
.whatsapp-float {
 position: fixed; bottom: 20px; right: 20px; background: #25d366; color: #fff;
 width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
 font-size: 35px; box-shadow: 2px 2px 10px rgba(0,0,0,.3); z-index: 3000; transition: transform .3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
/* FAQ (ARL) */
.faq { background: #fff; padding: 50px 0; }
.faq-list { max-width: 900px; margin: 18px auto 0; display: grid; gap: 12px; }
.faq-q {
 width: 100%; text-align: left; background: #f6f8ff; color: #1a1a4b; border: 1px solid #e1e6ff;
 padding: 14px 16px; border-radius: 10px; font-weight: 800; cursor: pointer; display: flex; justify-content: space-between;
}
.faq-q[aria-expanded="true"] { background: #ecefff; }
.faq-a { padding: 12px 4px 4px 6px; color: #3a3a63; }

/* ==========================================================
   NUEVO ASTRA 2026-03-18 — Modo CONTINUO + diseño minimalista
   ========================================================== */
.cards-carousel.hide-scrollbar { scrollbar-width: none; }
.cards-carousel.hide-scrollbar::-webkit-scrollbar { height: 0; width: 0; display: none; }
.cards-carousel.continuous {
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}
.services.services--continuous .carousel-header,
.services.services--continuous .carousel-dots { display: none !important; }
.service-card.minimal { border: 1px solid #EEF1FF !important; border-top: none !important; box-shadow: 0 8px 24px rgba(35,61,255,0.08) !important; background: #fff !important; transition: transform .35s ease, box-shadow .35s ease !important; }
.service-card.minimal:hover { transform: translateY(-8px) !important; box-shadow: 0 18px 40px rgba(35,61,255,0.14) !important; }
.service-card.minimal .card-image-wrap { border-radius: 16px 16px 0 0; }
.service-card.minimal .card-image { aspect-ratio: 16/10; transition: transform .6s ease; }
.service-card.minimal:hover .card-image { transform: scale(1.03); }
.service-card.minimal .card-content { padding: 22px 22px 24px 22px !important; }
.service-card.minimal h3 { font-size: 1.15rem; line-height: 1.2; margin: 6px 0 8px 0; color: var(--primary-blue); }
.service-card.minimal p { color: #3a3a63; font-size: .98rem; line-height: 1.55; }
.service-card.minimal .text-link { margin-top: 14px; color: var(--primary-blue); font-weight: 800; }
.service-card.minimal .text-link i { transition: transform .2s ease; }
.service-card.minimal .text-link:hover i { transform: translateX(3px); }
.service-card.minimal .provider-tag { color: #6574ff; opacity: .9; letter-spacing: .6px; }
.cards-carousel.continuous { gap: 24px; }

/* ==========================================================
   NUEVO ASTRA 2026-03-19 — Estilos secciones de EMPRESAS
   ========================================================== */
.enterprise-intro { background: var(--white); padding: 60px 0; }
.enterprise-intro.bg-light { background: var(--light-gray); }
.enterprise-intro .section-lead { font-size: 1.05rem; margin: 10px auto; max-width: 900px; color: #3a3a63; }
.bullets-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width:700px){ .bullets-grid { grid-template-columns: 1fr; } }
.bullets-grid li { background: #f6f8ff; border: 1px solid #e1e6ff; color: #1a1a4b; border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.bullets-grid li i { color: var(--primary-blue); }
.macro-solutions { background: #fff; padding: 60px 0; }
.macro-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width:1000px){ .macro-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:640px){ .macro-grid { grid-template-columns: 1fr; } }
.macro-card { background: #fff; border: 1px solid #EEF1FF; border-radius: 14px; padding: 22px; box-shadow: 0 8px 24px rgba(35,61,255,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; color: var(--dark-blue); display: flex; flex-direction: column; gap: 10px; }
.macro-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(35,61,255,.14); border-color: #dfe4ff; }
.macro-card h3 { color: var(--primary-blue); font-size: 1.15rem; margin: 4px 0; }
.macro-card p { color: #3a3a63; }
.macro-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--primary-blue); margin-top: 6px; }
.macro-cta i { transition: transform .2s ease; }
.macro-card:hover .macro-cta i { transform: translateX(3px); }
.macro-icon { height: 48px; width: 48px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--primary-blue); border-radius: 12px; box-shadow: 0 6px 16px rgba(35,61,255,.25); }
.macro-icon i { font-size: 20px; }
.sectors { background: var(--light-gray); padding: 60px 0; }
.sector-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width:1000px){ .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:640px){ .sector-grid { grid-template-columns: 1fr; } }
.sector-card { background: #fff; border: 1px solid #EEF1FF; border-radius: 14px; padding: 22px; box-shadow: 0 8px 24px rgba(35,61,255,.08); display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; color: var(--dark-blue); }
.sector-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(35,61,255,.14); border-color: #dfe4ff; }
.sector-card h3 { color: var(--primary-blue); font-size: 1.1rem; margin: 2px 0; }
.sector-card p { color: #3a3a63; }
.sector-icon { height: 44px; width: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary-blue); background: #eef1ff; border-radius: 12px; }
.sector-icon i { font-size: 20px; }
.allies { background: #fff; padding: 60px 0; }
.ally-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width:1000px){ .ally-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:640px){ .ally-grid { grid-template-columns: 1fr; } }
.ally-card { background: #fff; border: 1px solid #EEF1FF; border-radius: 14px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px; box-shadow: 0 8px 24px rgba(35,61,255,.08); align-items: center; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ally-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(35,61,255,.14); border-color: #dfe4ff; }
.ally-logo { display: flex; align-items: center; justify-content: center; padding: 8px; background: #f6f8ff; border-radius: 12px; }
.ally-logo img { max-height: 64px; width: auto; }
.ally-body h3 { color: var(--primary-blue); margin-bottom: 6px; font-size: 1.1rem; }
.ally-body p { color: #3a3a63; }
.ally-links { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 8px; }
.ally-links a { color: var(--primary-blue); font-weight: 700; }
.ally-links .ally-site i { margin-left: 6px; }

/* ==========================================================
   NUEVO ASTRA 2026-03-19 — Responsividad unificada de tarjetas
   ========================================================== */
.grid-servicios-internos,
.macro-grid,
.sector-grid,
.ally-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) {
  .grid-servicios-internos, .macro-grid, .sector-grid, .ally-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .grid-servicios-internos, .macro-grid, .sector-grid, .ally-grid { grid-template-columns: 1fr; }
}
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #EEF1FF; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(35,61,255,.08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; min-height: 100%; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(35,61,255,.14); border-color: #dfe4ff; }
.card-image-wrap { position: relative; width: 100%; overflow: hidden; }
.card-image { width: 100%; aspect-ratio: 16/9; background-size: cover; background-position: center center; background-repeat: no-repeat; }
.card-image img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 9; }
.card-content { padding: 22px; flex: 1; }
.card-content h3 { color: var(--primary-blue); font-size: clamp(1.05rem, 1.5vw, 1.15rem); line-height: 1.2; margin: 0 0 8px 0; }
.card-content p { color: #3a3a63; font-size: clamp(.96rem, 1.4vw, 1rem); line-height: 1.55; text-align: justify; }
.card-content .text-link { color: var(--primary-blue); font-weight: 800; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; }
.service-card:focus, .service-card:focus-within { outline: 3px solid #dce3ff; outline-offset: 3px; }

/* Imágenes macro-grupo / sectores / aliados */
.card-image.macro-propiedad  { background-image: url('img/macro-propiedad.png'); }
.card-image.macro-patrimonio { background-image: url('img/macro-patrimonio.png'); }
.card-image.macro-beneficios { background-image: url('img/macro-beneficios.png'); }
.card-image.sector-salud        { background-image: url('img/sectores/salud.png'); }
.card-image.sector-educacion    { background-image: url('img/sectores/educacion.png'); }
.card-image.sector-turismo      { background-image: url('img/sectores/turismo.png'); }
.card-image.sector-restaurantes { background-image: url('img/sectores/restaurantes.png'); }
.card-image.sector-logistico    { background-image: url('img/sectores/logistico-maritimo.png'); }
.card-image.sector-construccion { background-image: url('img/sectores/construccion-ingenieria.png'); }
.card-image.ally-bitlegal,
.card-image.ally-chambacu,
.card-image.ally-voces { background-color: #fff; background-size: contain; background-position: center; background-repeat: no-repeat; aspect-ratio: 16 / 9; }
.card-image.ally-bitlegal { background-image: url('img/aliados/bit-legal-logo.png'); }
.card-image.ally-chambacu { background-image: url('img/aliados/fundacion-chambacu-logo.png'); }
.card-image.ally-voces    { background-image: url('img/aliados/ensamble-voces-logo.png'); }


/* === NUEVO ASTRA — Imágenes de ACERCA por CSS (sin inline) === */
.about-visual.quienes   { background-image: url('img/hero-empresas3.png'); background-size: cover; background-position: center; }
.about-visual.proposito { background-image: url('img/emp-colectivos.png');  background-size: cover; background-position: center; }
.about-visual.mision    { background-image: url('img/emp-transporte.png');  background-size: cover; background-position: center; }
.about-visual.vision    { background-image: url('img/emp-danos.png');       background-size: cover; background-position: center; }

/* (opcional) Ajuste de alturas responsivas */
@media (max-width:900px){ .about-visual { height: 260px; } }
