/* Tipografía base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    color: #0f172a;
    background-color: #f8fafc;
}

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

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary {
    background-color: #e5f4ff;
    color: #004a9f;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    background: transparent;
}

.btn-outline {
    border: 1px solid #cbd5f5;
    color: #0f172a;
    background: #ffffff;
}

.btn-green {
    background-color: #7dc242;
    color: #ffffff;
}

.btn-outline-primary {
    border: 1px solid #00aeef;
    color: #00aeef;
    background: transparent;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24);
}

.btn-green:hover {
    background-color: #63a82f;
}

.btn-secondary:hover {
    background-color: #c7e5ff;
}

.btn-outline-primary:hover {
    background-color: rgba(0, 174, 239, 0.12);
    color: #008bcc;
    border-color: #008bcc;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header.left {
    text-align: left;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(15, 23, 42, 0.35);
}

.section-header p {
    max-width: 38rem;
    margin: 0 auto;
    color: #64748b;
}

/* Planes y Coberturas (hero superior) */
.planes-coberturas-hero {
    background: linear-gradient(135deg, #004a9f, #00aeef);
    color: #ffffff;
    padding: 6rem 0 4.2rem;
    text-align: center;
}

.planes-coberturas-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    padding: 0.65rem 1.2rem;
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
}

.planes-coberturas-plan-header-inner {
    max-width: 58rem;
    margin: 0 auto;
    text-align: center;
}

.planes-coberturas-plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(0, 174, 239, 0.25);
    background: rgba(0, 174, 239, 0.10);
    color: #00aeef;
    font-weight: 800;
    margin-bottom: 1.1rem;
}

.faq-card {
    max-width: 46rem;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 1.2rem;
    padding: 1.6rem 1.4rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

.planes-coberturas-exclusions-vales-grid {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 1024px) {
    .planes-coberturas-exclusions-vales-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .planes-coberturas-exclusions-vales-grid .plan-exclusions-card,
    .planes-coberturas-exclusions-vales-grid .plan-vales-card {
        margin: 0;
    }
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 5rem;
}

.navbar-logo img {
    height: 10.1rem;
    width: auto;
    object-fit: contain;
}

.navbar-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    font-size: 1.02rem;
    font-weight: 500;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -0.15rem;
    width: 0;
    height: 2px;
    background-color: #00aeef;
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 75%;
}

.navbar-cta {
    display: none;
}

.navbar-cta .btn {
    font-size: 0.875rem;
    padding-inline: 1.5rem;
    white-space: nowrap;
}

.navbar-toggle-input {
    display: none;
}

.navbar-toggle-label {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    cursor: pointer;
}

.navbar-toggle-label span {
    width: 1.5rem;
    height: 2px;
    background-color: #0f172a;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    border: none;
    background: transparent;
    font: inherit;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 14rem;
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    display: none;
}

.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-caret {
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
    transform-origin: center;
    margin-top: 0.1rem;
}

.nav-dropdown:focus-within .nav-dropdown-caret {
    transform: rotate(-135deg);
}

.nav-link.active {
    color: #00aeef;
}

.nav-link.active::after {
    width: 75%;
}

.nav-dropdown-toggle.active {
    color: #00aeef;
}

.nav-dropdown-toggle.active .nav-dropdown-caret {
    transform: rotate(-135deg);
}

.nav-sublink.active {
    background: #e0f2fe;
    color: #00aeef;
    font-weight: 600;
}

.nav-sublink {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #0f172a;
}

.nav-sublink:hover {
    background: #f1f5f9;
}

@media (min-width: 1024px) {
    .navbar-inner {
        height: 5.5rem;
    }

    .navbar-cta {
        display: block;
    }
}

@media (max-width: 1023px) {
    .navbar-inner {
        height: 4rem;
    }

    .navbar-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid #e2e8f0;
        display: flex;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            max-height 0.28s ease,
            opacity 0.18s ease,
            transform 0.28s ease;
    }

    /* En móviles el dropdown puede verse translúcido por el backdrop del navbar.
       Forzamos un fondo blanco sólido para el submenú de "Planes". */
    .nav-dropdown-menu {
        background: #ffffff !important;
        background-color: #ffffff !important;
        backdrop-filter: none !important;
        opacity: 1 !important;
        z-index: 60;
    }

    .navbar-toggle-label {
        display: flex;
    }

    .navbar-toggle-input:checked ~ .navbar-menu {
        max-height: 85vh;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    color: #ffffff;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 60, 150, 0.95), rgba(0, 60, 150, 0.7), transparent);
}

.hero-content {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 520px;
}

.hero-text {
    max-width: 50%;
}

.hero-badge {
    display: flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: radial-gradient(circle at top left,
        rgba(255, 255, 255, 0.32),
        rgba(255, 255, 255, 0.16));
    backdrop-filter: blur(12px);
    font-size: 0.8rem;
    margin-bottom: 1.75rem;
    max-width: 360px;
    width: auto;
    color: #f9fbff;
}

.hero-badge span {
    padding-inline: 0.5rem;
}

.hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.9rem;
    font-size: 1.1rem;
}

.hero-text-animated {
    min-height: 150px;
    margin-bottom: 2.1rem;
}

.hero-text-animated p {
    font-size: 1.15rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-dots {
    display: flex;
    gap: 0.4rem;
}

.hero-dot {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    width: 8px;
    transition: all 0.2s ease;
}

.hero-dot.active {
    width: 28px;
    background: #ffffff;
}

@media (min-width: 640px) {
    .hero {
        min-height: 580px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-actions {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: 680px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-text {
        max-width: 45%;
    }
}

/* Cards / secciones */
.cards-grid {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.card {
    border-radius: 0.6rem;
    padding: 1.75rem;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Iconos en los cards de la sección "¿Por qué elegir BaxterCL...?" */
.why-choose-us .card {
    position: relative;
    padding-top: 3.25rem;
}

.why-choose-us .card::before {
    position: absolute;
    left: 1.3rem;
    top: 0.9rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Iconos específicos por card, imitando el sitio de ejemplo */
.why-choose-us .cards-grid article:nth-child(1)::before {
    content: "🛡"; /* Agencia Exclusiva Autorizada */
}

.why-choose-us .cards-grid article:nth-child(2)::before {
    content: "👥"; /* Asesoría Personalizada */
}

.why-choose-us .cards-grid article:nth-child(3)::before {
    content: "🕒"; /* Atención 24/7 */
}

.why-choose-us .cards-grid article:nth-child(4)::before {
    content: "🎖"; /* Experiencia Comprobada */
}

.why-choose-us .cards-grid article:nth-child(5)::before {
    content: "🎧"; /* Soporte Continuo */
}

.why-choose-us .cards-grid article:nth-child(6)::before {
    content: "📈"; /* Mejores Beneficios */
}

.card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Lista con chulos para el plan familiar */
.tick-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
}

/* ============================
   Portal de Usuarios Colsanitas
   ============================ */

.portal-hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    background: radial-gradient(circle at top left, #004a9f, #00aeef 50%, #5fbf3a);
    color: #ffffff;
    text-align: center;
}

.portal-hero-inner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.portal-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.portal-hero-text {
    max-width: 40rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(241, 245, 249, 0.95);
}

.portal-quick-access {
    background-color: #f1f5f9;
}

.portal-cards-grid {
    display: grid;
    gap: 1.75rem;
}

.portal-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 1.1rem;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

.portal-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.8rem;
}

.portal-card-icon-blue {
    background: #004a9f;
}

.portal-card-icon-cyan {
    background: #00aeef;
}

.portal-card-icon-green {
    background: #5fbf3a;
}

.portal-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
    color: #0f172a;
}

.portal-card-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}

.portal-card-btn {
    width: 100%;
    background-color: #004a9f;
    color: #ffffff;
}

.portal-card-btn:hover {
    background-color: #005fc7;
}

@media (min-width: 768px) {
    .portal-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .portal-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.portal-instructivos {
    background-color: #ffffff;
}

.portal-instructivos-grid {
    display: grid;
    gap: 1.75rem;
}

.portal-instructivos-card {
    background: #ffffff;
    border-radius: 1.1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.portal-instructivos-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #004a9f;
}

.portal-instructivos-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.portal-instructivos-links {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.portal-instructivo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.75rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease;
}

.portal-instructivo-link:hover {
    background-color: #f1f5f9;
}

.portal-instructivo-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    border: 2px solid #004a9f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004a9f;
    font-size: 1.2rem;
}

.portal-instructivo-text {
    font-weight: 600;
    color: #004a9f;
}

@media (min-width: 1024px) {
    .portal-instructivos-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    }
}

.portal-benefits {
    background-color: #f1f5f9;
}

.portal-benefits-grid {
    display: grid;
    gap: 1.75rem;
}

.portal-benefit {
    text-align: center;
}

.portal-benefit-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.75rem;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #004a9f, #00aeef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}

.portal-benefit h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.portal-benefit p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .portal-benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.portal-institutional {
    background: linear-gradient(90deg, #004a9f, #00aeef);
    color: #ffffff;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.portal-institutional-text {
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================
   Página Nosotros
   ============================ */

.about-hero {
    background: radial-gradient(circle at top left, #004a9f, #00aeef 55%, #5fbf3a);
    color: #ffffff;
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.about-hero-inner h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    max-width: 36rem;
    margin: 0 auto;
}

.about-mission {
    background-color: #ffffff;
}

.about-mission-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.about-mission-text h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.about-mission-text p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 0.9rem;
}

.about-mission-btn {
    margin-top: 0.5rem;
}

.about-mission-image-inner {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.28);
}

.about-mission-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .about-mission-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }
}

.about-stats {
    background-color: rgba(148, 163, 184, 0.08);
}

.about-stats-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 36rem;
    margin: 0 auto;
}

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

.about-stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: #004a9f;
    margin-bottom: 0.2rem;
}

.about-stat-label {
    font-size: 0.95rem;
    color: #64748b;
}

@media (min-width: 640px) {
    .about-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.about-values {
    background-color: #ffffff;
}

.about-values-grid {
    display: grid;
    gap: 1.75rem;
}

.about-value-card {
    background: #f8fafc;
    border-radius: 1.1rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.about-value-icon {
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.9rem;
    font-size: 1.8rem;
    color: #ffffff;
}

.about-value-icon-blue {
    background: #004a9f;
}

.about-value-icon-pink {
    background: #ec4899;
}

.about-value-icon-green {
    background: #22c55e;
}

.about-value-icon-gold {
    background: #f59e0b;
}

.about-value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.about-value-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .about-values-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.about-why {
    background-color: rgba(148, 163, 184, 0.08);
}

.about-why-list {
    max-width: 52rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-why-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    border-radius: 1.1rem;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.about-why-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #004a9f1a;
    color: #004a9f;
    font-size: 1.7rem;
    flex-shrink: 0;
}

.about-why-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.about-why-content p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.about-cta {
    background-color: #ffffff;
}

.about-cta-card {
    max-width: 46rem;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 1.75rem;
    border-radius: 1.5rem;
    background: radial-gradient(circle at top left, #004a9f, #00aeef);
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.about-cta-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.about-cta-card p {
    margin: 0 0 1.5rem;
    font-size: 1rem;
}

.about-cta-btn {
    background-color: #ffffff;
    color: #004a9f;
}

.about-cta-btn:hover {
    background-color: #e5f0ff;
}

/* ============================
   Página Contacto
   ============================ */

.contact-hero {
    position: relative;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    background: linear-gradient(135deg, #004a9f, #00aeef, #5fbf3a);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.contact-hero-inner h1 {
    font-size: 2.7rem;
    margin-bottom: 0.75rem;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.contact-hero-text {
    max-width: 36rem;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-quick {
    background-color: #f8fafc;
    padding-bottom: 2.5rem;
}

.contact-quick-grid {
    display: grid;
    gap: 1.25rem;
}

.contact-quick-card {
    background: #ffffff;
    border-radius: 1.1rem;
    padding: 1.3rem 1.2rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.contact-quick-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    font-size: 1.8rem;
}

.contact-quick-icon-gradient {
    background: linear-gradient(135deg, #004a9f, #00aeef);
    color: #ffffff;
}

.contact-quick-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.contact-quick-value {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: #0f172a;
}

.contact-main {
    background-color: #ffffff;
    padding-top: 0;
}

.contact-main-grid {
    display: grid;
    gap: 2rem;
    align-items: flex-start;
}

.contact-form-wrapper {
    background: #ffffff;
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.contact-form-header {
    padding: 1.75rem 1.5rem;
    background: linear-gradient(90deg, rgba(0, 74, 159, 0.08), rgba(0, 174, 239, 0.08));
}

.contact-form-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.contact-form-header p {
    margin: 0;
    color: #64748b;
}

.contact-form {
    padding: 1.6rem 1.5rem 1.75rem;
}

.contact-form-row {
    display: grid;
    gap: 1rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.contact-field label {
    font-weight: 600;
    color: #0f172a;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    border-radius: 0.75rem;
    border: 1px solid #cbd5f5;
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #00aeef;
    box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.4);
}

.contact-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.contact-whatsapp-card {
    background: #f8fafc;
    border-radius: 1.4rem;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.contact-whatsapp-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.9rem;
    margin-bottom: 0.9rem;
}

.contact-whatsapp-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-whatsapp-card p {
    margin: 0 0 0.9rem;
    color: #475569;
    line-height: 1.7;
}

.contact-whatsapp-btn {
    width: 100%;
    background-color: #22c55e;
    color: #ffffff;
}

.contact-whatsapp-btn:hover {
    background-color: #16a34a;
}

.contact-whatsapp-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.6rem;
}

/* ============================
   Plan Integral Colsanitas
   ============================ */
.plan-hero {
    background: linear-gradient(135deg, #005DAA, #0a4fa0);
    color: #ffffff;
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
}

.plan-hero::before {
    content: "";
    position: absolute;
    inset: -120px -120px auto auto;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(0, 174, 239, 0.18);
    filter: blur(10px);
    pointer-events: none;
}

.plan-hero::after {
    content: "";
    position: absolute;
    inset: auto auto -140px -140px;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: rgba(125, 194, 66, 0.16);
    filter: blur(12px);
    pointer-events: none;
}

.plan-hero .plan-hero-badge {
    position: relative;
    z-index: 1;
}

.plan-hero .plan-hero-text h1,
.plan-hero .plan-hero-subtitle,
.plan-hero .plan-hero-description {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.plan-hero .plan-hero-description {
    color: rgba(255, 255, 255, 0.9);
}

.plan-hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.plan-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: radial-gradient(circle at top left,
        rgba(255, 255, 255, 0.32),
        rgba(255, 255, 255, 0.16));
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.plan-hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 0.6rem;
}

.plan-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-hero-description {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 28rem;
}

.plan-hero-text[style*="text-align: center"] .plan-hero-description {
    margin-left: auto;
    margin-right: auto;
}

.plan-hero-text[style*="text-align: center"] .plan-hero-actions {
    justify-content: center;
}

.plan-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.plan-hero-image img {
    width: 100%;
    border-radius: 1.6rem;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.32);
    object-fit: cover;
}

@media (min-width: 1024px) {
    .plan-hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }

    .plan-hero-actions {
        flex-direction: row;
    }
}

.plan-coverages {
    background-color: #ffffff;
}

.plan-coverages-grid {
    display: grid;
    gap: 1.75rem;
}

.plan-coverage-card {
    background: linear-gradient(135deg, #004a9f, #00aeef);
    color: #ffffff;
    border-radius: 1.1rem;
    padding: 1.6rem 1.4rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.45);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.plan-coverage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.6);
    filter: brightness(1.03);
}

.plan-coverage-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    background: rgba(148, 163, 184, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
}

.plan-coverage-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.plan-coverage-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.plan-coverage-card li + li {
    margin-top: 0.4rem;
}

@media (min-width: 768px) {
    .plan-coverages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.plan-services {
    background-color: #f1f5f9;
}

.plan-services-grid {
    display: grid;
    gap: 1.6rem;
}

.plan-services-grid-centered-two {
    max-width: 56rem;
    margin: 0 auto;
}

.plan-service-card {
    background: #ffffff;
    border-radius: 1.1rem;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
    text-align: left;
}

.plan-service-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    font-size: 1.5rem;
    color: #004a9f;
}

.plan-service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.plan-service-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .plan-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .plan-services-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .plan-services-grid-centered-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.plan-exclusions {
    background-color: #ffffff;
}

.plan-exclusions-card {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.9rem 1.6rem;
    border-radius: 1.2rem;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.plan-exclusions-grid {
    display: grid;
    gap: 0.75rem;
}

.plan-exclusion-item {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
}

.plan-exclusion-item::before {
    content: "✖";
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: #dc2626;
    font-size: 0.95rem;
}

.plan-inclusion-item {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
}

.plan-inclusion-item::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: #16a34a;
    font-size: 0.95rem;
}

@media (min-width: 640px) {
    .plan-exclusions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.plan-extras {
    background-color: #f8fafc;
}

.plan-extras-grid {
    display: grid;
    gap: 1.75rem;
}

.plan-extra-card {
    background: #ffffff;
    border-radius: 1.2rem;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
}

.plan-extra-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.plan-extra-icon {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 1rem;
    background: #004a9f1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #004a9f;
}

.plan-extra-icon-secondary {
    background: #e0f2fe;
    color: #0ea5e9;
}

.plan-extra-card ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
}

.plan-extra-card li + li {
    margin-top: 0.45rem;
}

@media (min-width: 1024px) {
    .plan-extras-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.plan-vales {
    background-color: #ffffff;
}

.plan-vales-card {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem 1.8rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #004a9f, #00aeef);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.4);
}

.plan-vales-icon {
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 1.2rem;
    background: rgba(15, 23, 42, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

.plan-vales-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-vales-content p {
    margin: 0;
    font-size: 0.98rem;
}

.plan-cta-final {
    background: radial-gradient(circle at top left, #004a9f, #00aeef 55%, #5fbf3a);
    color: #ffffff;
}

.plan-cta-final-inner {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.plan-cta-final-inner h2 {
    font-size: 1.9rem;
    margin-bottom: 0.8rem;
}

.plan-cta-final-inner p {
    margin: 0 0 1.6rem;
    font-size: 1.02rem;
}

.plan-cta-final-actions {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .plan-vales-card {
        padding-inline: 2.4rem;
    }

    .plan-cta-final-actions {
        flex-direction: row;
    }
}



@media (min-width: 640px) {
    .contact-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .contact-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .contact-quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .contact-main-grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }
}




.tick-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.4rem;
}

.tick-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.05rem;
    font-weight: 700;
    color: #0f172a;
}

.card-blue {
    background-color: #00aeef;
}

.card-green {
    background-color: #7dc242;
}

/* Efecto hover para los cards de planes */
.card-plan:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.35);
}

/* Hover para los cards de beneficios en Colsanitas Prepagada */
.colsanitas-benefits .card {
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.colsanitas-benefits .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.28);
}

/* Plan familiar destacado como "Más Popular" */
.card-plan-featured {
    position: relative;
    border: 2px solid #ffffff;
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.45);
    transform: translateY(-4px);
}

.card-plan-featured .card-badge {
    position: absolute;
    top: 0.9rem;
    right: 1.2rem;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #003C96, #00AEEF);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.card-plan-featured:hover {
    transform: translateY(-8px) scale(1.03);
}

/* Hover para los cards de la sección "¿Por qué elegir BaxterCL...?" */
.why-choose-us .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.32);
    filter: brightness(1.03);
}

.section-cta {
    margin-top: 2.5rem;
    text-align: center;
}

.section-cta p {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

/* Contenido SEO largo (artículo) */
.seo-content {
    max-width: 56rem; /* ~896px */
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #475569;
}

.seo-content h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
}

.seo-content p {
    margin-bottom: 0.75rem;
}

/* Cards para cada párrafo del contenido SEO largo */
.seo-paragraph-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.seo-paragraph-subtitle {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
    text-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
}

.seo-paragraph-card p {
    margin: 0;
}

/* Hover cards SEO */
.seo-paragraph-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 174, 239, 0.55);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
}

/* =========================
   Colsanitas Prepagada page
   ========================= */
.colsanitas-hero {
    background: linear-gradient(135deg, #005DAA, #0a4fa0);
    color: #ffffff;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
}

.colsanitas-hero-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.colsanitas-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    margin-bottom: 1.5rem;
}

.colsanitas-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.colsanitas-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.colsanitas-hero-text {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 46rem;
    margin: 0 auto 1.75rem;
}

.colsanitas-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

.colsanitas-hero-actions .btn {
    min-width: 220px;
}

@media (min-width: 640px) {
    .colsanitas-hero {
        padding-top: 4rem;
        padding-bottom: 4.5rem;
    }

    .colsanitas-hero h1 {
        font-size: 3rem;
    }

    .colsanitas-hero-subtitle {
        font-size: 1.6rem;
    }

    .colsanitas-hero-actions {
        flex-direction: row;
    }
}

/* =========================
   Agencia Colsanitas page
   ========================= */
.agencia-hero {
    background: linear-gradient(135deg, #005DAA, #0a4fa0);
    color: #ffffff;
}

.agencia-hero-grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
}

.agencia-hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.agencia-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.agencia-hero-body {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.agencia-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    margin-bottom: 1.25rem;
}

.agencia-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agencia-hero-image {
    position: relative;
    min-height: 260px;
}

.agencia-hero-photo {
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    background-image: url("../img/medical-team.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.45);
}

.agencia-hero-label {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
    font-size: 0.75rem;
}

.agencia-hero-label-icon {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #005DAA;
    color: #ffffff;
    font-size: 1rem;
}

.agencia-hero-label-title {
    font-weight: 600;
    color: #0f172a;
}

.agencia-hero-label-subtitle {
    color: #64748b;
}

@media (min-width: 768px) {
    .agencia-hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }

    .agencia-hero-actions {
        flex-direction: row;
    }

    .agencia-hero-text h1 {
        font-size: 2.8rem;
    }
}

/* =========================
   Cotizar page
   ========================= */
.cotizar-hero {
    background: #f8fafc;
}

.cotizar-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.cotizar-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    border: 2px solid rgba(0, 93, 170, 0.15);
    background: rgba(0, 93, 170, 0.05);
    font-weight: 600;
    color: #005daa;
    margin-bottom: 1.5rem;
}

.cotizar-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cotizar-hero h1 span {
    background: linear-gradient(90deg, #005daa, #00aeef);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cotizar-hero-text {
    font-size: 1.1rem;
    color: #64748b;
}

.cotizar-benefits {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: #f1f5f9;
    padding: 2.5rem 0;
}

.cotizar-benefits-inner {
    display: grid;
    gap: 1.5rem;
}

.cotizar-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cotizar-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    background: rgba(0, 93, 170, 0.05);
    font-size: 1.3rem;
}

.cotizar-benefit h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cotizar-benefit p {
    font-size: 0.9rem;
    color: #64748b;
}

.cotizar-form-section {
    background: #ffffff;
}

.cotizar-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.cotizar-form {
    margin-top: 1.5rem;
}

.cotizar-form-grid {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea {
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #005daa;
    box-shadow: 0 0 0 1px rgba(0, 93, 170, 0.25);
}

.form-group-inline {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group-inline input[type="checkbox"] {
    margin-top: 0.2rem;
}

.cotizar-form-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .cotizar-benefits-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cotizar-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cotizar-form-actions {
        flex-direction: row;
        align-items: center;
    }
}

/* =========================
   Blog page
   ========================= */
.blog-hero {
    background: linear-gradient(135deg, rgba(0, 93, 170, 0.08), #ffffff);
}

.blog-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    background: rgba(0, 93, 170, 0.08);
    color: #005daa;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.blog-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.blog-hero-text {
    font-size: 1.05rem;
    color: #64748b;
}

.blog-list-section {
    padding: 3rem 0;
}

.blog-grid {
    display: grid;
    gap: 1.75rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 0.6rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: #005daa;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0.25rem 0 0.5rem;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.blog-card-link {
    margin-top: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #005daa;
    text-decoration: none;
}

.blog-card-link:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Blog post detail */
.blog-post-hero {
    background: linear-gradient(135deg, rgba(0, 93, 170, 0.08), #ffffff);
}

.blog-post-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.blog-post-breadcrumb {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.blog-post-breadcrumb a {
    color: #005daa;
    text-decoration: none;
}

.blog-post-breadcrumb a:hover {
    text-decoration: underline;
}

.blog-post-breadcrumb span {
    margin: 0 0.25rem;
}

.blog-post-meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.blog-post-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.blog-post-intro {
    font-size: 1rem;
    color: #475569;
}

.blog-post-content {
    background: #ffffff;
}

.blog-post-layout {
    display: grid;
    gap: 2rem;
}

.blog-post-body {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #1f2933;
}

.blog-post-body h2 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.blog-post-body ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.blog-post-body li {
    margin-bottom: 0.35rem;
}

.blog-post-aside {
    display: flex;
    flex-direction: column;
}

.blog-post-aside-card {
    border-radius: 0.6rem;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-post-aside-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.blog-post-aside-card p {
    font-size: 0.9rem;
    color: #64748b;
}

.blog-post-aside-card .btn {
    width: 100%;
}

@media (min-width: 900px) {
    .blog-post-layout {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }
}

@media (min-width: 1024px) {
    .cotizar-hero h1 {
        font-size: 3rem;
    }

    .cotizar-benefits-inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* =========================
   Responsive mobile tweaks
   ========================= */
@media (max-width: 640px) {
    .section {
        padding: 2.5rem 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .container {
        padding-inline: 1.25rem;
    }

    .navbar-inner {
        gap: 0.5rem;
    }

    .navbar-logo img {
        height: 6.5rem;
    }

    .hero {
        min-height: 480px;
    }

    .hero-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .cards-grid {
        gap: 1.25rem;
    }

    .card {
        padding: 1.5rem;
    }

    .seo-content {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .testimonials-grid {
        gap: 1.25rem;
    }

    .footer-grid {
        padding: 2rem 0;
        gap: 1.25rem;
    }
}

@media (min-width: 640px) {
    .section-cta-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Benefits */
.benefits-grid {
    display: grid;
    gap: 2rem;
}

.benefits-list {
    grid-row: 1;
}

.benefits-image-wrapper {
    grid-row: 2;
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
        align-items: flex-start;
    }

    .benefits-image-wrapper {
        grid-column: 1;
        grid-row: auto;
        position: sticky;
        top: 6rem;
    }

    .benefits-list {
        grid-column: 2;
        grid-row: auto;
    }
}

.benefits-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
}

.benefits-image {
    width: 100%;
    border-radius: 1.25rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
    object-fit: cover;
    max-height: 480px;
}

.benefits-overlay-card {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25);
}

.benefits-overlay-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: #7dc242;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.benefits-overlay-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.benefits-overlay-title {
    font-weight: 700;
}

.benefits-overlay-subtitle {
    font-size: 0.85rem;
    color: #64748b;
}

.benefits-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.benefits-badge {
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    color: #ffffff;
}

.benefits-badge-blue {
    background-color: #003c96;
}

.benefits-badge-green {
    background-color: #7dc242;
}

.benefits-badge-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.benefits-badge-label {
    font-size: 0.85rem;
}

.benefits-list {
    margin-top: 0.75rem;
}

/* Benefits accordion (index/home) */
.benefits-list .accordion {
    gap: 1rem;
}

.benefits-list .accordion-item {
    padding: 1rem 1.5rem;
}

.benefits-list .accordion-item summary {
    padding: 0;
}

.benefit-accordion-trigger {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-accordion-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.95rem;
    background: #00aeef;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    flex-shrink: 0;
}

.benefit-accordion-icon svg {
    width: 1.45rem;
    height: 1.45rem;
    fill: currentColor;
    display: block;
}

.benefit-accordion-title {
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    border-radius: 0.85rem;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    padding: 0.75rem 1rem;
}

.accordion-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item p {
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

/* Accordion hover open transition (hover-delayed via JS) */
.accordion[data-accordion] details.accordion-item p {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.accordion[data-accordion] details.accordion-item[open] p {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials */
.testimonials {
    background-color: #ffffff;
}

.testimonials-grid {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.testimonial-card {
    position: relative;
    border-radius: 1.1rem;
    padding: 1.75rem;
    background-color: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.testimonial-role {
    font-size: 0.85rem;
    color: #64748b;
}

.testimonial-rating {
    color: #facc15;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.testimonial-content {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* Footer */
.footer {
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.footer-grid {
    display: grid;
    align-items: start;
    gap: 1.75rem;
    padding: 2.5rem 0;
    overflow: visible;
}

/* La primera columna del footer (logo + texto + partner) a veces queda "más abajo"
   porque contiene elementos con márgenes por defecto. La fijamos con un layout
   consistente para que el contenido arranque alineado con el resto de columnas. */
.footer-grid > .footer-col:first-child {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: auto;
    overflow: visible;
}

.footer-grid > .footer-col {
    min-width: auto;
    overflow: visible;
}

.footer-grid > .footer-col:first-child .footer-text {
    margin: 0;
}

.footer-grid > .footer-col:first-child .footer-partner-logo {
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.footer-logo {
    height: auto !important;
    max-height: 7.94rem !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: unset;
    object-position: unset;
    display: block;
    margin: 0 !important;
}

.footer-partner-logo {
    height: auto;
    max-height: 2rem;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: contain;
    object-position: left top;
    display: block;
    overflow: visible;
    opacity: 0.8;
    margin-top: 0.75rem;
}

.footer-text {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

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

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

.footer-link {
    font-size: 0.9rem;
    color: #64748b;
}

.footer-link:hover {
    color: #00aeef;
}

.footer-icon {
    margin-right: 0.4rem;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

@media (max-width: 767px) {
    .footer .container {
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }

    /* Mejor legibilidad en móvil para párrafos largos */
    main p,
    .footer p {
        text-align: justify;
        text-justify: inter-word;
    }
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Errores */
.error-page {
    padding: 6rem 0;
    text-align: center;
}

.error-page h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.error-page-inner p {
    margin-bottom: 1rem;
    color: #64748b;
}

/* Home - FAQ section */
.faq-home {
    background: rgba(125, 194, 66, 0.18);
    padding: 5rem 0;
}

.faq-home-container {
    max-width: 1440px;
}

.faq-home-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.faq-home-header h2 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 0.75rem;
    color: #0f172a;
}

.faq-home-header p {
    margin: 0 auto;
    max-width: 42rem;
    color: #64748b;
    font-size: 1.1rem;
}

.faq-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

.faq-home-accordion .accordion-item {
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.faq-home-image {
    position: relative;
}

.faq-home-image-sticky {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
}

.faq-home-image-sticky img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.faq-home-overlay-card {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.1rem 1rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    text-align: left;
}

.faq-home-overlay-title {
    font-weight: 800;
    margin: 0 0 0.35rem;
    color: #0f172a;
}

.faq-home-overlay-subtitle {
    margin: 0 0 0.9rem;
    color: #64748b;
    font-size: 0.95rem;
}

.btn-faq-whatsapp {
    width: 100%;
    background: #7dc242;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    font-weight: 800;
}

.btn-faq-whatsapp:hover {
    background: #6bb235;
}

.faq-decor {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
}

.faq-decor-right {
    width: 6rem;
    height: 6rem;
    right: -1.5rem;
    top: -1.5rem;
    background: rgba(0, 174, 239, 0.20);
    filter: blur(12px);
}

.faq-decor-left {
    width: 8rem;
    height: 8rem;
    left: -2rem;
    bottom: -2rem;
    background: rgba(125, 194, 66, 0.25);
    filter: blur(12px);
}

/* Home - CTA section */
.cta-home {
    background: #ffffff;
    padding: 5rem 0;
}

.cta-home-container {
    max-width: 1440px;
}

.cta-home-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.cta-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 174, 239, 0.08);
    color: #004a9f;
    border: 1px solid rgba(0, 174, 239, 0.20);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.cta-home-badge-check {
    display: inline-flex;
    width: 1.3rem;
    height: 1.3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 174, 239, 0.15);
}

.cta-home-title {
    font-size: 2.3rem;
    font-weight: 950;
    margin: 0 0 1rem;
    color: #0f172a;
}

.cta-home-description {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 1.6rem;
}

.cta-home-link {
    color: #00aeef;
    text-decoration: underline;
    font-weight: 800;
}

.cta-home-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 1.6rem;
}

.cta-home-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
    font-weight: 700;
}

.cta-home-benefit-icon {
    width: 2.3rem;
    height: 2.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 174, 239, 0.08);
    border-radius: 0.8rem;
}

.cta-home-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.cta-home-primary {
    background: #004a9f;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.95rem 1.4rem;
    text-decoration: none;
    justify-content: space-between;
    gap: 1rem;
}

.cta-home-primary-arrow {
    font-weight: 900;
}

.cta-home-outline {
    border: 1px solid #004a9f;
    background: transparent;
    color: #004a9f;
    border-radius: 999px;
    padding: 0.95rem 1.4rem;
    text-decoration: none;
}

.cta-home-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cta-home-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
    background: rgba(125, 194, 66, 0.12);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
}

.cta-home-info-badge span:first-child {
    color: #7dc242;
    font-weight: 900;
}

.cta-home-image {
    position: relative;
    overflow: hidden;
    border-radius: 1.6rem;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.26);
}

.cta-home-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.cta-home-image-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.3rem 1.3rem 1.2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
    color: #ffffff;
}

.cta-home-offer-pill {
    display: inline-flex;
    background: #7dc242;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.9rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}

.cta-home-image-overlay h3 {
    margin: 0 0 0.45rem;
    font-size: 1.25rem;
    font-weight: 950;
}

.cta-home-image-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* Home - Clients section */
.clients-home {
    background: #F7F9FA;
    padding: 4.5rem 0;
}

.clients-home-container {
    max-width: 1440px;
}

.clients-home-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.clients-home-header h2 {
    color: #003C96;
    font-size: 2.25rem;
    font-weight: 950;
    margin: 0 0 0.6rem;
}

.clients-home-header p {
    margin: 0 auto;
    max-width: 52rem;
    color: #6C757D;
    font-size: 1.05rem;
    line-height: 1.7;
}

.clients-home-carousel-wrapper {
    position: relative;
    padding: 0 2.2rem;
}

.clients-home-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 0;
    scrollbar-width: none;
}

.clients-home-carousel::-webkit-scrollbar {
    display: none;
}

.client-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: none;
    padding: 1.5rem 1rem 1.4rem;
    position: relative;
    overflow: hidden;
}

.client-card-accent {
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #003C96, #00AEEF);
    opacity: 0.9;
}

.client-card-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.client-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: rgba(0, 60, 150, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    color: #003C96;
}

.client-card-desc {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #003C96;
}

.client-card-tag {
    margin: 0;
    font-size: 0.85rem;
    color: #00AEEF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 700;
}

.client-star {
    color: #00AEEF;
    font-size: 0.95rem;
}

.clients-home-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 60, 150, 0.2);
    background: #ffffff;
    color: #003C96;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.clients-home-nav-left {
    left: 0.6rem;
}

.clients-home-nav-right {
    right: 0.6rem;
}

.clients-home-footnote {
    margin-top: 1.6rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6C757D;
}

@media (min-width: 1024px) {
    .faq-home-grid {
        grid-template-columns: 3fr 2fr;
        gap: 3.5rem;
    }

    .faq-home-image-sticky {
        position: sticky;
        top: 4.5rem;
    }

    .cta-home-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3rem;
    }

    .cta-home-benefits {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .cta-home-actions {
        grid-template-columns: 1fr 0.6fr;
        align-items: center;
    }
}

/* =========================
   Maya Asistente Virtual
   ========================= */

.maya-open-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 9999;
    width: 6rem;
    height: 6rem;
    border-radius: 999px;
    background: #ff6b35;
    border: none;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
}

.maya-open-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 26px 65px rgba(0, 0, 0, 0.3);
}

.maya-open-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.maya-open-label {
    font-size: 0.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
}

.maya-chat-window {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 9999;
    width: 380px;
    height: 550px;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.35);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.maya-chat-header {
    background: #ff6b35;
    color: #ffffff;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.maya-chat-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.maya-chat-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.maya-chat-avatar svg {
    width: 1.25rem;
    height: 1.25rem;
}

.maya-chat-title-wrap {
    display: flex;
    flex-direction: column;
}

.maya-chat-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.maya-chat-subtitle {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
}

.maya-chat-header-actions {
    display: flex;
    gap: 0.25rem;
}

.maya-chat-icon-btn {
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    padding: 0;
}

.maya-chat-icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.maya-chat-icon-btn svg {
    width: 1rem;
    height: 1rem;
}

.maya-chat-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.maya-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.maya-message-row {
    display: flex;
}

.maya-message-row.maya-bot-row {
    justify-content: flex-start;
}

.maya-message-row.maya-user-row {
    justify-content: flex-end;
}

.maya-bot-bubble {
    max-width: 85%;
    background: #f3f4f6;
    padding: 0.75rem 0.9rem;
    border-radius: 1rem;
    border-top-right-radius: 0.35rem;
    white-space: pre-line;
    line-height: 1.45;
    font-size: 0.92rem;
    color: #0f172a;
}

.maya-user-bubble {
    max-width: 85%;
    background: #ff6b35;
    padding: 0.75rem 0.9rem;
    border-radius: 1rem;
    border-top-left-radius: 0.35rem;
    white-space: pre-line;
    line-height: 1.45;
    font-size: 0.92rem;
    color: #ffffff;
}

.maya-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.maya-option-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    white-space: normal;
    text-align: left;
    border-radius: 0.5rem;
    border: 1px solid #cbd5f5;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.maya-option-btn:hover {
    background: #00aeef;
    color: #ffffff;
    border-color: rgba(0, 174, 239, 0.7);
}

.maya-contact-form {
    margin-top: 0.25rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: rgba(243, 244, 246, 0.35);
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.maya-form-title {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.maya-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.maya-form-label {
    font-size: 0.75rem;
    color: #0f172a;
    font-weight: 600;
}

.maya-chat-input {
    height: 2.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 0 0.75rem;
    font-size: 0.9rem;
    outline: none;
}

.maya-chat-input:focus {
    border-color: rgba(0, 174, 239, 0.6);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.12);
}

.maya-send-btn {
    width: 100%;
    height: 2.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #ff6b35;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.15s ease;
}

.maya-send-btn:hover {
    background: rgba(255, 107, 53, 0.9);
}

.maya-send-btn svg {
    width: 0.95rem;
    height: 0.95rem;
}

.maya-chat-footer {
    border-top: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    background: #ffffff;
}


/* =========================
   Modal: Formulario enviado
   ========================= */

.contact-sent-modal {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.contact-sent-modal--open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.contact-sent-modal-panel {
    transform: translateY(10px) scale(0.985);
    transition: transform 180ms ease;
    will-change: transform;
}

.contact-sent-modal--open .contact-sent-modal-panel {
    transform: translateY(0) scale(1);
}

/* Maya responsive (movil) */
@media (max-width: 767px) {
    .maya-open-btn {
        left: 0.85rem;
        bottom: 0.85rem;
        width: 4.75rem;
        height: 4.75rem;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    }

    .maya-open-icon svg {
        width: 1.45rem;
        height: 1.45rem;
    }

    .maya-open-label {
        font-size: 0.42rem;
        line-height: 1.05;
    }

    .maya-chat-window {
        left: 0.6rem;
        right: 0.6rem;
        bottom: 0.6rem;
        width: auto;
        height: auto;
        max-height: calc(100vh - 1.2rem);
        border-radius: 0.85rem;
    }

    .maya-chat-header {
        padding: 0.85rem;
    }

    .maya-chat-title {
        font-size: 0.95rem;
    }

    .maya-chat-subtitle {
        font-size: 0.68rem;
    }

    .maya-chat-scroll {
        padding: 0.8rem;
    }
}


