/* ============================================================================
   Infosoft — marca
   Azul corporativo  #0a1640  RGB(10,22,64)    Pantone 282 C
   Naranjo acento    #ff8d09  RGB(255,141,9)   Pantone 2013 C
   Verde institucional #01949a RGB(1,148,154)  Pantone 3541 C
   Tipografía: Montserrat (títulos) · Poppins (cuerpo, UI)
   ============================================================================ */

:root {
    --is-blue: #0a1640;
    --is-blue-rgb: 10, 22, 64;
    --is-orange: #ff8d09;
    --is-orange-rgb: 255, 141, 9;
    --is-orange-dark: #e67d00;
    --is-green: #01949a;
    --is-green-rgb: 1, 148, 154;
    --is-green-dark: #017a7f;
    --is-gray: #5c6578;
    --is-gray-light: #f4f5f8;
    --is-white: #ffffff;
    --is-shadow: 0 8px 24px rgba(10, 22, 64, 0.08);
    --is-radius: 1rem;
    --is-font-title: 'Montserrat', system-ui, sans-serif;
    --is-font-body: 'Poppins', system-ui, sans-serif;
}

body {
    font-family: var(--is-font-body);
    color: var(--is-blue);
    background-color: var(--is-white);
}

/* Títulos: azul corporativo + Montserrat */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.about-lead,
.about-eyebrow,
.card-title,
.page-hero h1,
.hero-home h1 {
    font-family: var(--is-font-title);
    color: var(--is-blue);
}

a {
    color: var(--is-green);
}

a:hover {
    color: var(--is-green-dark);
}

.site-header {
    background: var(--is-white);
    box-shadow: 0 2px 12px rgba(10, 22, 64, 0.06);
}

.site-logo {
    height: auto;
    max-height: 64px;
    width: auto;
}

.footer-logo {
    height: auto;
    max-height: 48px;
    width: auto;
}

/* Enlaces de menú: azul; activo/hover: naranjo */
.navbar .nav-link {
    color: var(--is-blue);
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--is-orange);
}

.dropdown-menu {
    border: 1px solid rgba(var(--is-orange-rgb), 0.22);
    border-radius: 0.75rem;
    box-shadow: var(--is-shadow);
    padding: 0.5rem 0;
}

.dropdown-item {
    color: var(--is-blue);
    font-size: 0.92rem;
    padding: 0.45rem 1.1rem;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(var(--is-orange-rgb), 0.1);
    color: var(--is-orange-dark);
}

/* Botones primarios: naranjo acento */
.btn-infosoft-primary {
    background-color: var(--is-orange);
    border-color: var(--is-orange);
    color: var(--is-white);
    font-family: var(--is-font-body);
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-infosoft-primary:hover,
.btn-infosoft-primary:focus {
    background-color: var(--is-orange-dark);
    border-color: var(--is-orange-dark);
    color: var(--is-white);
}

.btn-infosoft-outline {
    color: var(--is-orange);
    border: 2px solid var(--is-orange);
    font-weight: 600;
}

.btn-infosoft-outline:hover {
    background-color: var(--is-orange);
    border-color: var(--is-orange);
    color: var(--is-white);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.btn-whatsapp .bi-whatsapp {
    font-size: 1.2em;
    line-height: 1;
}

.hero-home {
    min-height: calc(100vh - 88px);
    position: relative;
    background-image: url('../img/hero-home.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 64, 0.64);
}

.hero-home .hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-home h1 {
    color: var(--is-white);
    font-size: clamp(1.85rem, 4.2vw, 2.75rem);
}

.hero-lead {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero-eyebrow {
    font-family: var(--is-font-title);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--is-orange);
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    color: inherit;
    text-decoration: none;
}

.hero-phone:hover {
    color: var(--is-white);
}

.hero-phone__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: var(--is-orange);
    color: var(--is-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hero-phone__label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-phone__number {
    display: block;
    font-family: var(--is-font-title);
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--is-orange);
}

.mission-band {
    background: linear-gradient(115deg, var(--is-blue) 0%, #12305c 48%, var(--is-green-dark) 100%);
    padding: 5rem 0;
}

.mission-band .hero-eyebrow {
    color: var(--is-orange);
}

.mission-text {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.75;
}

.stat-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    line-height: 1.45;
}

.section-title {
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-lead {
    color: var(--is-gray);
    line-height: 1.7;
}

.icon-accent {
    color: var(--is-orange);
    font-size: 1.75rem;
    line-height: 1;
}

.stat-card {
    background: var(--is-white);
    border-radius: var(--is-radius);
    box-shadow: var(--is-shadow);
    border: 2px solid rgba(var(--is-orange-rgb), 0.22);
}

.stat-number {
    font-family: var(--is-font-title);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--is-orange);
    margin: 0;
    line-height: 1;
}

.service-box-img {
    display: block;
    width: 100%;
    max-width: 260px;
    height: 200px;
    margin-inline: auto;
    object-fit: contain;
}

.service-box h3 a {
    color: var(--is-blue);
    text-decoration: none;
}

.service-box h3 a:hover {
    color: var(--is-orange);
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--is-white);
    border: 2px solid rgba(var(--is-blue-rgb), 0.1);
    border-radius: var(--is-radius);
    box-shadow: var(--is-shadow);
    height: 100%;
}

.service-card-actions {
    margin-top: auto;
    padding-top: 1.5rem;
}

.diff-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: var(--is-green);
    color: var(--is-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.page-hero {
    background-color: var(--is-gray-light);
    padding: 4rem 0;
}

.page-hero h1 {
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.page-hero .section-img {
    display: block;
    width: auto;
    max-width: 280px;
    max-height: 220px;
    height: auto;
    margin-left: auto;
    object-fit: contain;
    border-radius: var(--is-radius);
    box-shadow: var(--is-shadow);
}

/* Asesorías / Desarrollo: ilustración centrada, apoyo visual (no protagonista) */
.page-hero .section-img.service-hero-img {
    max-width: 360px;
    max-height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero .section-img.service-hero-img--lg {
    max-width: 400px;
    max-height: 340px;
}

/* Software en arriendo: foto completa visible, tamaño contenido */
.page-hero .section-img.page-hero-photo {
    width: auto;
    max-width: 380px;
    max-height: 240px;
    height: auto;
    object-fit: contain;
    margin-left: 0;
    margin-right: auto;
}

.product-shot {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    background: var(--is-white);
    border-radius: var(--is-radius);
    box-shadow: var(--is-shadow);
    border: 1px solid rgba(var(--is-blue-rgb), 0.08);
    padding: 0.5rem;
}

/* Gesnovo y capturas verticales: llenan el cuadro sin estirarse */
.product-shot-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--is-radius);
    box-shadow: var(--is-shadow);
    border: 1px solid rgba(var(--is-blue-rgb), 0.08);
    overflow: hidden;
    background: var(--is-white);
}

.product-shot.product-shot--cover {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: top center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

@media (max-width: 991.98px) {
    .page-hero .section-img {
        margin: 0 auto;
        max-width: 220px;
        max-height: 180px;
    }

    .page-hero .section-img.service-hero-img {
        max-width: 280px;
        max-height: 240px;
    }

    .page-hero .section-img.service-hero-img--lg {
        max-width: 300px;
        max-height: 260px;
    }

    .page-hero .section-img.page-hero-photo {
        max-width: 300px;
        max-height: 200px;
        margin: 0 auto;
    }
}

.content-section {
    padding: 4.5rem 0;
}

.content-section.alt-bg {
    background-color: var(--is-gray-light);
}

.content-section img.section-img {
    border-radius: var(--is-radius);
    box-shadow: var(--is-shadow);
    width: 100%;
    object-fit: cover;
    max-height: 400px;
}

.site-footer .footer-strip {
    height: 8px;
    background: var(--is-orange);
}

.site-footer .footer-body {
    background: var(--is-blue);
}

.footer-title {
    font-family: var(--is-font-title);
    font-weight: 700;
    color: var(--is-white);
    margin-bottom: 0.85rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--is-green);
}

.trust-secure__footer .bi {
    color: var(--is-green);
    margin-right: 0.35rem;
    vertical-align: -0.1em;
}

.trust-secure__form {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    max-width: 28rem;
    line-height: 1.45;
}

.trust-secure__form .bi {
    color: var(--is-green);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-card {
    border-radius: var(--is-radius);
    border: 2px solid rgba(var(--is-orange-rgb), 0.28) !important;
}

.contact-details a {
    color: var(--is-green);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--is-green-dark);
    text-decoration: underline;
}

.privacy-content {
    border-radius: var(--is-radius);
}

.privacy-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p,
.privacy-content li {
    color: var(--is-gray);
    line-height: 1.7;
}

.privacy-content ul {
    padding-left: 1.25rem;
}

.form-control:focus {
    border-color: var(--is-green);
    box-shadow: 0 0 0 0.2rem rgba(var(--is-green-rgb), 0.2);
}

.privacy-summary-accordion .accordion-item {
    border: 1px solid rgba(var(--is-orange-rgb), 0.28);
    border-radius: var(--is-radius);
    overflow: hidden;
}

.privacy-summary-accordion .accordion-button {
    font-family: var(--is-font-title);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--is-blue);
    background-color: rgba(var(--is-orange-rgb), 0.08);
    box-shadow: none;
}

.privacy-summary-accordion .accordion-button:not(.collapsed) {
    color: var(--is-blue);
    background-color: rgba(var(--is-orange-rgb), 0.12);
}

.privacy-summary-accordion .accordion-button:focus {
    border-color: var(--is-orange);
    box-shadow: 0 0 0 0.2rem rgba(var(--is-orange-rgb), 0.2);
}

.privacy-summary-accordion .accordion-body {
    font-size: 0.9rem;
    color: var(--is-gray);
}

.privacy-summary-list {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.privacy-summary-list li {
    margin-bottom: 0.5rem;
}

.privacy-summary-list li:last-child {
    margin-bottom: 0;
}

.contact-card .form-check-input {
    width: 1.15em;
    height: 1.15em;
    border: 2px solid var(--is-orange);
    cursor: pointer;
}

.contact-card .form-check-input:focus {
    border-color: var(--is-orange-dark);
    box-shadow: 0 0 0 0.2rem rgba(var(--is-orange-rgb), 0.25);
}

.contact-card .form-check-input:checked {
    background-color: var(--is-green);
    border-color: var(--is-green-dark);
}

.about-eyebrow {
    color: var(--is-green);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.about-lead {
    font-size: 1.1rem;
}

.about-point {
    background: var(--is-white);
    border-radius: var(--is-radius);
    box-shadow: var(--is-shadow);
    border: 2px solid rgba(var(--is-blue-rgb), 0.1);
}

.action-card,
.product-card {
    background: var(--is-white);
    border-radius: var(--is-radius);
    box-shadow: var(--is-shadow);
    border: 2px solid rgba(var(--is-blue-rgb), 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--is-orange);
    box-shadow: 0 12px 32px rgba(10, 22, 64, 0.12);
}

.action-card-icon {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    background: rgba(var(--is-orange-rgb), 0.1);
    border: 2px solid var(--is-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: var(--is-orange);
    margin-bottom: 1.25rem;
}

body.cookie-notice-visible {
    padding-bottom: 7rem;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--is-white);
    border-top: 3px solid var(--is-orange);
    box-shadow: 0 -4px 24px rgba(10, 22, 64, 0.12);
}

.cookie-notice__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.cookie-notice__content {
    flex: 1 1 16rem;
    max-width: 42rem;
}

.cookie-notice__title {
    font-family: var(--is-font-title);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--is-blue);
}

.cookie-notice__text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--is-gray);
}

.cookie-notice__link {
    color: var(--is-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice__link:hover,
.cookie-notice__link:focus {
    color: var(--is-green-dark);
}

.cookie-notice__btn {
    flex-shrink: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 991.98px) {
    .hero-home {
        min-height: 70vh;
    }

    .site-logo {
        max-height: 52px;
    }
}

@media (max-width: 575.98px) {
    body.cookie-notice-visible {
        padding-bottom: 9.5rem;
    }

    .cookie-notice__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-notice__btn {
        width: 100%;
    }
}
