/* Shared public experience: quieter surfaces, clear hierarchy and accessible controls. */
.site-footer,
body.page-home > .site-footer {
    position: relative;
    padding-top: 48px;
    background: radial-gradient(ellipse at 100% 0%, #17648650, transparent 55%), linear-gradient(115deg, #071b35 0%, #071b35 42%, #104764 100%);
}

.site-footer .footer-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid #ffffff20;
}

.site-footer .footer-welcome .eyebrow {
    color: #8bdeff;
    font-size: 10px;
}

.site-footer .footer-welcome h2 {
    font-size: clamp(28px, 3.3vw, 44px);
    line-height: 1.15;
    letter-spacing: -.04em;
    margin: 0;
}

.site-footer .footer-welcome h2 span {
    color: #81d8ef;
}

.site-footer .footer-grid,
body.page-home .site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr .85fr 1fr;
    gap: 32px;
    align-items: start;
}

.site-footer .footer-grid > div {
    min-width: 0;
}

.site-footer .footer-grid h2 {
    font-size: 13px;
    margin: 4px 0 20px;
}

.site-footer .footer-grid > div:not(:first-child) > a {
    display: block;
    margin: 0 0 11px;
    font-size: 12px;
    line-height: 1.6;
    text-wrap: pretty;
}

.site-footer .footer-grid .footer-subheading {
    margin-top: 28px;
}

.site-footer .footer-intro h2 {
    margin-top: 22px;
    font-size: 19px;
    line-height: 1.4;
}

.site-footer .footer-intro > p {
    font-size: 13px;
    line-height: 1.9;
}

.site-footer .footer-contact {
    margin-top: 32px;
}

.site-footer .footer-bottom,
body.page-home .site-footer .footer-bottom {
    margin-top: 24px;
    padding-block: 22px;
}

@media (max-width: 1100px) {
    .site-footer .footer-grid,
    body.page-home .site-footer .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 26px;
    }

    .site-footer .footer-intro {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .site-footer .footer-welcome {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer .footer-grid,
    body.page-home .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

    .site-footer .footer-grid > div:nth-child(2) {
        grid-column: auto;
    }

    .site-footer .footer-bottom,
    body.page-home .site-footer .footer-bottom {
        flex-wrap: wrap;
        align-items: flex-start;
        padding-bottom: 85px;
    }
}

.site-footer .footer-contact .official-contact {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 18px;
    margin: 20px 0 0;
    padding: 0;
    align-items: stretch;
}

.site-footer .footer-contact .official-contact > div {
    position: relative;
    min-width: 0;
    padding: 24px;
    border: 1px solid #ffffff20;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff09, #ffffff03);
    box-shadow: 0 8px 24px #00102215;
}

.site-footer .footer-contact .contact-label {
    color: #8bdeff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    margin-bottom: 14px;
}

.site-footer .footer-contact .official-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    color: #fff;
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.site-footer .footer-contact .official-contact address {
    color: #d2e2f1;
    font-size: 13px;
    font-style: normal;
    line-height: 1.85;
}

.site-footer .footer-contact .official-contact a:hover {
    color: #8bdeff;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.site-footer .footer-contact .official-contact > div::before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    margin-bottom: 18px;
    background-color: #8bdeff;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round' d='M3 5h18v14H3z M3 5l9 8 9-8'/%3E%3C/svg%3E") center / 24px no-repeat;
}

.site-footer .footer-contact .official-contact > div:nth-child(2)::before {
    mask-image: url('../images/whatsapp.svg');
}

.site-footer .footer-contact .official-contact > div:nth-child(3)::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.6' d='M12 22s8-8 8-14a8 8 0 1 0-16 0c0 6 8 14 8 14Z'/%3E%3Ccircle cx='12' cy='8' r='3' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
    .site-footer .footer-contact .official-contact {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer .footer-contact .official-contact > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .site-footer .footer-contact .official-contact {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .site-footer .footer-contact .official-contact > div {
        padding: 20px;
    }
}

@media (min-width: 951px) {
    .header.iq-header-v4 .header-inner {
        gap: 20px;
    }

    .header.iq-header-v4 #navigation {
        justify-content: flex-end;
        gap: 16px;
        margin-left: 0;
    }

    .header.iq-header-v4 #navigation .nav-actions {
        margin-left: 8px;
    }
}

.site-footer,
body.page-home > .site-footer {
    background: linear-gradient(115deg, #071b35 0%, #071b35 42%, #104764 100%);
    color: #e2edf7;
    border-top: 1px solid #28516d;
}

.site-footer h2,
.site-footer .footer-grid h2 {
    color: #fff;
}

.site-footer .footer-grid > div:not(:first-child) > a,
.site-footer .footer-intro > p,
.site-footer .ref-footer-bar,
body.page-home .site-footer .footer-contact,
.site-footer .footer-bottom,
body.page-home .site-footer .footer-bottom {
    color: #d2e2f1;
}

.site-footer .footer-contact,
.site-footer .footer-bottom,
body.page-home .site-footer .footer-contact {
    border-color: #ffffff26;
}

.site-footer .footer-bottom > a {
    color: #8bdeff;
}

.site-footer .ref-footer-bar > a:first-child {
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    color: #183650;
}

body.page-home .site-footer a:not(.button):hover {
    color: #8bdeff;
}

.floating-whatsapp .whatsapp-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.brand:has(.brand-logo) {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: 156px;
    height: auto;
    object-fit: contain;
}

.iq-header-v4 .header-inner > .brand:has(.brand-logo)::after {
    content: none;
}

.site-footer .brand:has(.brand-logo) {
    padding: 10px 14px;
    background: #fff;
    border-radius: 12px;
}

@media (max-width: 720px) {
    .header .brand-logo {
        width: 132px;
    }
}

html {
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

main {
    min-width: 0;
}

.skip:focus {
    position: fixed;
    z-index: 1300;
    color: var(--text-primary);
    border-radius: 0 0 12px 0;
}

.header.iq-header-v4 {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 24px #071a3808;
}

.button {
    min-height: 48px;
    border-radius: 12px;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button.compact {
    min-height: 42px;
}

:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #078cff;
    outline-offset: 4px;
}

.section-heading h2,
.solution-stack h2,
.solution-challenge h2 {
    font-family: var(--font-heading);
    letter-spacing: -.04em;
    line-height: 1.18;
    text-wrap: balance;
}

.catalog-card,
.outcome-card {
    border-color: #e1e8f0;
    box-shadow: 0 8px 30px #071a3808;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.catalog-card p,
.outcome-card p {
    line-height: 1.8;
}

.solution-stack__products > a {
    transition: background 180ms ease, border-color 180ms ease;
}

.solution-stack__products > a:hover {
    background: #f0f6ff;
    border-color: #bdd4f8;
}

.site-cta {
    border-radius: 24px;
    box-shadow: 0 24px 60px #071a3814;
}

.site-footer {
    border-top: 1px solid #ffffff12;
}

.site-footer a:not(.button):hover {
    color: #64d6ef;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.page-home .hero-copy h1 {
    font-family: var(--font-heading);
    letter-spacing: -.055em;
    text-wrap: balance;
}

.page-home .hero-description {
    color: #bdd0e3;
    line-height: 1.85;
}

.page-home .hero-gradient {
    background: linear-gradient(110deg, #ffffff, #78e1f4 70%, #9bb8ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-home .dashboard {
    box-shadow: 0 32px 80px #00000045;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .button:hover {
        transform: translateY(-2px);
    }

    .catalog-card:hover,
    .outcome-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px #071a3812;
    }
}

@media (max-width: 720px) {
    .container,
    .header-inner {
        width: calc(100% - 36px);
    }

    .hero-buttons,
    .cta-buttons {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-buttons > .button,
    .cta-buttons > .button {
        white-space: normal;
        text-align: center;
    }

    .site-cta {
        border-radius: 18px;
    }

    .floating-whatsapp {
        bottom: max(16px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 420px) {
    .hero-buttons > .button,
    .cta-buttons > .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .catalog-card,
    .outcome-card,
    .solution-stack__products > a {
        transition: none;
    }
}
