html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--ink);
}

h1, h2, h3, h4, h5, h6, strong {
    font-weight: 700;
}

.container {
    max-width: 1200px;
}

.btn-brand {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .75rem 1.25rem;
    font-weight: 600
}

.btn-brand:hover {
    filter: brightness(0.95);
    color: #fff
}

.text-brand {
    color: var(--brand)
}

.badge-soft {
    background: #eef2ff;
    color: var(--brand);
    border-radius: 999px;
    font-weight: 600
}

.shadow-soft {
    box-shadow: var(--shadow)
}

.rounded-2xl {
    border-radius: 24px
}

.rounded-3xl {
    border-radius: 40px
}

.icon-circle {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2ff;
    font-size: 35px !important;
}

.hero-wrapper img {
    max-width: 100%;
}

.hero-illus picture {
    object-fit: cover;
    height: 100% !important;
    width: 100% !important;
}

.mirror {
    transform: scaleX(-1);
}

.navbar-brand {
    font-size: 25px;
}

/* Cards y secciones */
.section {
    padding-block: 64px
}

.section-heading {
    font-weight: 800;
    letter-spacing: -.02em
}

.feature-card {
    background: var(--card);
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 18px
}

.feature-card:hover {
    transform: translateY(-2px);
    transition: .2s;
    box-shadow: var(--shadow)
}

.sol-card {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    padding: 16px;
    background: #fff
}

.sol-card h6 {
    font-weight: 700
}

.metric-pill {
    background: #eef2ff;
    border-radius: 18px;
    padding: .75rem 1rem;
    text-align: center
}

.service-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 24px
}

.service-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.grey-band {
    background: #f1f5f9;
    border-radius: 18px
}

.blog-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px
}

.faq .accordion-button {
    font-weight: 600
}

.cta-band {
    background: #eef2ff;
    border: 1px dashed #c7d2fe
}

.footer {
    background: #0b1022;
    color: #cbd5e1
}

.footer a {
    color: #cbd5e1;
    text-decoration: none
}

.footer a:hover {
    color: #fff;
    text-decoration: underline
}

/* Utilidades */
.object-fit-cover {
    object-fit: cover;
}

.maxw-780 {
    max-width: 780px
}

.maxw-900 {
    max-width: 900px
}

.maxw-1100 {
    max-width: 1100px
}

.link-more {
    font-weight: 600
}

.nav-link {
    color: rgba(0, 0, 0, 0.8);
}

.nav-link:hover {
    color: var(--brand);
}

.faq-question {
    font-size: 20px;
}

.faq-number {
    font-size: 25px;
}

.accordion.faq .accordion-item {
    background: #0d6efd ! important;
}

/* Estilo base de los ítems cerrados */
.accordion.faq .accordion-item {
    border: none;
    margin-bottom: .75rem;
    border-radius: .75rem;
    overflow: hidden;
    background: #f1f5f9; /* gris claro */
}

/* Botón de la pregunta cuando está cerrado */
.accordion.faq .accordion-button {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 600;
    box-shadow: none;
}

/* Botón cuando está abierto */
.accordion.faq .accordion-button:not(.collapsed) {
    background: #0d6efd; /* azul Bootstrap */
    color: #fff;
    box-shadow: none;
}

/* Cuerpo del acordeón cerrado (no aplica background porque está oculto) */
.accordion.faq .accordion-body {
    background: transparent !important;
    color: #fff !important;
}

/* Cuerpo cuando está abierto */
.accordion.faq .accordion-collapse.show .accordion-body {
    background: #0d6efd;
    color: #fff;
}

/* Quitar borde predeterminado del botón */
.accordion.faq .accordion-button:focus {
    box-shadow: none;
}

.service-item {
    aspect-ratio: 1 / 1; /* cuadrado */
    width: 100%; /* se ajusta al ancho del contenedor padre */
    overflow: hidden; /* evita que la imagen se desborde */
    border-radius: 12px; /* opcional */
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* recorta sin deformar */
}

.card-service {
    border: 1px solid #e5e7eb; /* gris suave */
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.card-service .service-media {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .card-service .service-media {
        height: 100%;
        min-height: 320px;
    }
}

.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e7f1ff; /* primary-subtle */
    color: #0d6efd;
    box-shadow: inset 0 0 0 2px rgba(13, 110, 253, .08);
}

.check-list li + li {
    margin-top: .5rem;
}

.check-list i {
    color: #22c55e;
}

.lead-description {
    font-size: 15px;
}

.cta-band-ref {
    background: #f1f5f9; /* teal */
    border-radius: 28px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, .12);
    color: #000;
}

@media (max-width: 991.98px) {
    .cta-band-ref .display-5 {
        font-size: 2rem;
    }

    #cta .col-lg-4 .d-flex {
        justify-content: flex-start;
    }
}

/* verde ok */
@media (min-width: 992px) {
    .hero-illus {
        min-height: 340px
    }
}

.blog-card-modern {
    transition: transform .2s ease, box-shadow .2s ease;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(16, 24, 40, .06);
}

.blog-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(16, 24, 40, .12);
}

.blog-card-modern .card-img-top img {
    transition: transform .5s ease;
}

.blog-card-modern:hover .card-img-top img {
    transform: scale(1.05);
}

.badge-chip {
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, .06);
}

/* Estilo ligero y consistente */
.service-card {
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(16, 24, 40, .06);
    transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(16, 24, 40, .10);
}

.service-media img {
    transition: transform .5s ease;
}

.eyebrow {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #667085;
    margin-bottom: .25rem;
}

.li-check {
    position: relative;
    padding-left: 1.4rem;
    margin: .25rem 0;
}

.li-check::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35rem;
    width: .9rem;
    height: .9rem;
    border-radius: 999px;
    border: 2px solid #0d6efd;
}

.li-check::after {
    content: "";
    position: absolute;
    left: .22rem;
    top: .55rem;
    width: .45rem;
    height: .25rem;
    border: 2px solid #0d6efd;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
}

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

.dropdown-item .icon-circle {
    width: 30px;
    height: 30px;
    font-size: 15px !important;
}

.dropdown-menu {
    padding: 10px;
}

.dropdown-item {
    padding: 5px;
    border-radius: 16px;
}

.dropdown-item:hover {
    background: rgb(237, 242, 249);
}

.block-heading {
    font-weight: 400;
    margin: initial;
    font-size: 36px;
    letter-spacing: -.25px;
    line-height: 44px;
    padding: 24px 0;
}

@media (min-width: 992px) {
    /* Más aire vertical en desktop */
    .service-card .card-body {
        padding: 1.25rem 1.25rem 1.5rem;
    }
}
