/*
Theme Name: ADV Technology
Theme URI: https://www.adv.com.ar/
Author: ADV
Description: Tema corporativo responsive para ADV Technology, preparado para Hostinger y el ecosistema de productos ADV.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: adv-technology
*/

@font-face {
    font-family: "Asap ADV";
    src: url("assets/fonts/asap-medium.woff") format("woff");
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
}

@font-face {
    font-family: "Fira ADV";
    src: url("assets/fonts/firasans-light.woff") format("woff");
    font-style: normal;
    font-weight: 300 500;
    font-display: swap;
}

:root {
    --adv-navy: #111a44;
    --adv-blue: #2659ca;
    --adv-cyan: #00aee8;
    --adv-purple: #7446d8;
    --adv-ink: #182039;
    --adv-text: #566078;
    --adv-muted: #eef3fb;
    --adv-white: #fff;
    --adv-gradient: linear-gradient(125deg, #05aada 0%, #3154d4 48%, #7043cf 100%);
    --adv-shadow: 0 24px 65px rgba(23, 38, 92, .14);
    --adv-radius: 28px;
    --adv-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    color: var(--adv-text);
    background: #fff;
    font-family: "Fira ADV", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 {
    margin: 0;
    color: var(--adv-ink);
    font-family: "Asap ADV", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.08;
    text-wrap: balance;
}
p { margin: 0; }
.container { width: min(calc(100% - 48px), var(--adv-container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: 112px 0; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: -100px; left: 20px; z-index: 10000;
    padding: 10px 16px; background: #fff; color: var(--adv-ink); border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--adv-blue);
    font-family: "Asap ADV", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow-light { color: #fff; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: "Asap ADV", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--adv-gradient); box-shadow: 0 16px 32px rgba(37, 74, 202, .32); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.66); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.button-ghost:hover { background: rgba(255,255,255,.18); }
.button-light { color: var(--adv-blue); background: #fff; box-shadow: 0 16px 32px rgba(14, 28, 80, .18); }
.text-link { color: var(--adv-blue); font-family: "Asap ADV", Arial, sans-serif; font-size: 15px; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(35, 52, 111, .08);
    box-shadow: 0 5px 22px rgba(24, 32, 70, .06);
    transition: padding .25s ease, box-shadow .25s ease;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { padding: 8px 0; box-shadow: 0 9px 34px rgba(24, 32, 70, .12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.brand, .custom-logo-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img, .custom-logo { width: 218px; height: auto; max-height: 52px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: #343c55; font-family: "Asap ADV", Arial, sans-serif; font-size: 14px; font-weight: 700; }
.site-nav a:not(.nav-cta):hover { color: var(--adv-blue); }
.site-nav .nav-cta { padding: 10px 20px; color: #fff; background: var(--adv-gradient); border-radius: 999px; }
.menu-toggle { display: none; width: 46px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 26px; height: 2px; margin: 5px auto; background: var(--adv-ink); transition: transform .2s ease, opacity .2s ease; }

.hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--adv-navy);
}
.hero-background {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(11, 22, 68, .2), rgba(25, 62, 168, .05)), url("assets/images/hero-adv.webp");
    background-position: center;
    background-size: cover;
    transform: scale(1.01);
}
.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 19, 58, .25) 0%, rgba(10, 19, 58, 0) 70%);
}
.hero-content { position: relative; z-index: 2; padding-top: 100px; }
.hero h1 { display: flex; max-width: 720px; flex-direction: column; color: #fff; font-size: clamp(68px, 8vw, 116px); letter-spacing: -.045em; }
.hero-title-main, .hero-title-sub { display: block; color: #fff; -webkit-text-stroke: 0; }
.hero-title-sub { margin-top: -.08em; font-size: .76em; letter-spacing: -.035em; }
.hero p { max-width: 610px; margin-top: 28px; color: rgba(255,255,255,.92); font-size: clamp(21px, 2.5vw, 29px); line-height: 1.42; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.scroll-cue { position: absolute; right: 0; bottom: -94px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.82); font-size: 15px; }
.scroll-cue span { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.8); border-radius: 18px; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr); gap: 70px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .contact-copy h2, .docs-heading h2, .clients-heading h2, .infrastructure-intro h2 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.035em; }
.section-heading > p { max-width: 470px; padding-bottom: 7px; }

.services-section { background: #fff; }
.services-tabs { background: #fff; }
.services-tabs-nav { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.service-tab { position: relative; aspect-ratio: 1.035 / 1; min-width: 0; overflow: hidden; padding: 0; color: #fff; background: #c8c8c8; border: 0; font-family: "Asap ADV", Arial, sans-serif; text-align: left; cursor: pointer; }
.service-tab > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.45) contrast(.92); transform: scale(1.01); transition: filter .28s ease, transform .35s ease; }
.service-tab-shade { position: absolute; inset: 0; z-index: 1; margin: 0 !important; background: linear-gradient(100deg, rgba(0,120,211,.94) 0%, rgba(75,72,206,.8) 48%, rgba(117,57,205,.48) 72%, rgba(117,57,205,.08) 100%); opacity: 0; transition: opacity .28s ease; }
.service-tab-title { position: absolute; right: 15px; bottom: 24px; left: 23px; z-index: 2; display: block; margin: 0 !important; color: #fff !important; font-size: clamp(13px, 1.3vw, 17px) !important; font-weight: 700; letter-spacing: 0 !important; line-height: 1.18; text-transform: uppercase; text-shadow: 0 2px 9px rgba(18,27,59,.28); }
.service-tab-title::before { content: ""; display: block; width: 62px; height: 2px; margin-bottom: 10px; background: #fff; }
.service-tab:hover > img, .service-tab.is-active > img { filter: saturate(1) contrast(1.02); transform: scale(1.045); }
.service-tab:hover .service-tab-shade, .service-tab.is-active .service-tab-shade { opacity: 1; }
.service-tab:focus-visible { z-index: 2; outline: 4px solid rgba(38,89,202,.34); outline-offset: 3px; }
.services-panels { min-height: 185px; }
.service-panel { display: block; }
.service-panel[hidden] { display: none; }
.service-panel-copy { display: flex; min-height: 185px; flex-direction: column; align-items: flex-start; justify-content: center; padding: 38px 44px 18px; }
.service-panel-copy strong { display: block; color: var(--adv-blue); font-family: "Asap ADV", Arial, sans-serif; font-size: 19px; line-height: 1.45; }
.service-panel-copy p { max-width: 1050px; margin-top: 12px; font-size: 17px; }
.service-panel-copy .text-link { margin-top: 23px; }

.products-section { position: relative; overflow: hidden; background: var(--adv-gradient); }
.products-section::before, .products-section::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; filter: blur(1px); }
.products-section::before { top: -300px; right: -160px; border: 85px solid rgba(255,255,255,.06); }
.products-section::after { bottom: -360px; left: -220px; border: 100px solid rgba(255,255,255,.05); }
.products-section .container { position: relative; z-index: 2; }
.section-heading-light h2, .section-heading-light p { color: #fff; }
.section-heading-light p { opacity: .86; }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 32px 27px;
    color: var(--adv-text);
    background: #fff;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(17, 35, 103, .18);
    transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 28px 60px rgba(17, 35, 103, .29); }
.product-logo { display: flex; width: 100%; height: 92px; align-items: center; justify-content: center; padding: 10px; background: #fff; }
.product-logo img { width: auto; height: auto; max-width: 190px; max-height: 58px; object-fit: contain; }
.product-card p { margin-top: 25px; font-size: 15px; line-height: 1.62; }
.product-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; color: var(--adv-blue); border-top: 1px solid #e7eaf2; font-family: "Asap ADV", Arial, sans-serif; font-size: 14px; font-weight: 700; }
.product-link b { font-size: 20px; }

.about-section { overflow: hidden; background: #f2f2f5; }
.about-intro { margin-bottom: 62px; }
.about-intro h2 { color: #6750a4; font-size: clamp(40px, 5vw, 58px); letter-spacing: -.025em; text-transform: uppercase; }
.about-intro p { max-width: 1120px; margin-top: 20px; color: #656d7b; font-size: 18px; line-height: 1.6; }
.team-grid { display: grid; gap: 28px; }
.team-card { display: grid; grid-template-columns: minmax(280px, 32%) minmax(0, 1fr); overflow: hidden; background: #fff; border: 1px solid #e5e7ed; }
.team-card:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(280px, 32%); }
.team-card:nth-child(even) img { order: 2; }
.team-card img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; object-position: center; }
.team-card > div { align-self: center; padding: 42px 50px; }
.team-card h3 { font-size: 28px; }
.team-card span { display: block; margin-top: 5px; color: #6d7480; font-family: "Fira ADV", Arial, sans-serif; font-size: 17px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.team-card p { margin-top: 20px; font-size: 16px; line-height: 1.55; }

.clients-section { overflow: hidden; }
.clients-heading { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.clients-heading .eyebrow { justify-content: center; }
.client-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.client-track { display: flex; width: max-content; align-items: center; animation: adv-marquee 30s linear infinite; }
.client-logo { display: flex; width: 190px; height: 120px; flex: 0 0 190px; align-items: center; justify-content: center; margin: 0 12px; padding: 24px; background: #fff; border: 1px solid #e8ecf4; border-radius: 18px; }
.client-logo img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter .2s ease, opacity .2s ease; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
@keyframes adv-marquee { to { transform: translateX(-50%); } }

.docs-section { background: #f4f7fc; }
.docs-heading { max-width: 760px; margin-bottom: 52px; }
.docs-heading p { max-width: 650px; margin-top: 22px; }
.docs-groups { display: grid; gap: 24px; }
.docs-product { overflow: hidden; background: #fff; border: 1px solid #e1e7f1; border-radius: 24px; box-shadow: 0 12px 36px rgba(28,45,103,.06); }
.docs-product-header { display: flex; min-height: 104px; align-items: center; gap: 26px; padding: 24px 30px; background: linear-gradient(90deg, #fff, #f7f9fd); border-bottom: 1px solid #e7ebf3; }
.docs-product-header img { width: auto; height: auto; max-width: 190px; max-height: 52px; object-fit: contain; }
.docs-product-header h3 { margin-left: auto; color: #758097; font-size: 16px; }
.docs-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.doc-item { display: grid; grid-template-columns: 50px minmax(0,1fr) 24px; gap: 15px; align-items: start; padding: 25px 28px; border-right: 1px solid #e7ebf3; border-bottom: 1px solid #e7ebf3; transition: background .2s ease; }
.doc-item:nth-child(2n) { border-right: 0; }
.doc-item:hover { background: #f6f9ff; }
.doc-icon { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; color: #fff; background: var(--adv-gradient); border-radius: 11px; font-family: "Asap ADV", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.doc-copy { display: flex; min-width: 0; flex-direction: column; }
.doc-copy strong { color: var(--adv-ink); font-family: "Asap ADV", Arial, sans-serif; font-size: 16px; line-height: 1.35; }
.doc-copy small { margin-top: 4px; color: var(--adv-blue); font-size: 12px; font-weight: 600; }
.doc-copy > span { margin-top: 8px; color: #737d91; font-size: 14px; line-height: 1.4; }
.doc-download { color: var(--adv-blue); font-family: "Asap ADV", Arial, sans-serif; font-size: 22px; line-height: 1; }

.contact-section { position: relative; overflow: hidden; color: #fff; background: #111b49; }
.contact-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(0,174,232,.3), transparent 38%), radial-gradient(circle at 85% 80%, rgba(116,70,216,.3), transparent 42%); }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr); gap: 90px; align-items: center; }
.contact-copy h2 { color: #fff; }
.contact-copy > p { max-width: 520px; margin-top: 24px; color: rgba(255,255,255,.78); }
.contact-details { display: grid; gap: 18px; margin-top: 38px; }
.contact-details a, .contact-details > span { display: flex; flex-direction: column; }
.contact-details small { color: rgba(255,255,255,.6); font-family: "Asap ADV", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.contact-details strong { color: #fff; font-family: "Asap ADV", Arial, sans-serif; font-size: 18px; }
.contact-panel { padding: 40px; color: var(--adv-text); background: #fff; border-radius: 30px; box-shadow: 0 28px 70px rgba(0,0,0,.22); }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: var(--adv-ink); font-family: "Asap ADV", Arial, sans-serif; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; color: var(--adv-ink); background: #f7f9fc; border: 1px solid #dce2ed; border-radius: 10px; outline: 0; }
.contact-form textarea { min-height: 135px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--adv-blue); box-shadow: 0 0 0 3px rgba(38,89,202,.12); }
.contact-form .button { width: 100%; border: 0; }
.form-honeypot { position: absolute; left: -9999px; }
.form-notice { margin-bottom: 18px; padding: 13px 15px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.form-notice-success { color: #17633d; background: #e7f8ef; }
.form-notice-error { color: #8b2532; background: #fff0f1; }

.site-footer { padding: 72px 0 24px; color: rgba(255,255,255,.7); background: #090e29; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .8fr; gap: 70px; }
.footer-brand { display: inline-flex; padding: 8px 12px; background: #fff; border-radius: 10px; }
.footer-brand img { width: 190px; }
.footer-grid p { max-width: 420px; margin-top: 18px; font-size: 15px; }
.footer-grid h2 { margin-bottom: 16px; color: #fff; font-size: 16px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a:hover { color: #fff; }
.footer-product-link { font-family: Arial, sans-serif; font-variant-ligatures: none; font-feature-settings: "liga" 0, "clig" 0; letter-spacing: .01em; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: flex; width: 62px; height: 62px; align-items: center; justify-content: center; background: #25d366; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 14px 34px rgba(14, 47, 29, .28); transition: transform .2s ease; }
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; }

.subpage-hero { padding: 190px 0 110px; color: #fff; background: linear-gradient(110deg, rgba(11,22,68,.78), rgba(34,77,192,.55)), url("assets/images/hero-adv.webp") center/cover; }
.subpage-hero h1 { max-width: 850px; color: #fff; font-size: clamp(58px, 8vw, 100px); letter-spacing: -.045em; }
.subpage-hero p { max-width: 720px; margin: 24px 0 34px; color: rgba(255,255,255,.88); font-size: 23px; }
.back-link { display: block; margin-bottom: 34px; color: rgba(255,255,255,.84); font-family: "Asap ADV", Arial, sans-serif; font-size: 14px; font-weight: 700; }
.infrastructure-hero {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    padding: 160px 0 92px;
    overflow: hidden;
    background: linear-gradient(100deg, rgba(13, 37, 107, .82), rgba(43, 86, 185, .4)), url("assets/images/infra-hero.jpg") center/cover;
}
.infrastructure-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,24,70,.28), transparent 66%); }
.infrastructure-hero .container { position: relative; z-index: 1; }
.infrastructure-hero .back-link { margin-bottom: 54px; }
.infrastructure-hero h1 { max-width: 780px; font-size: clamp(58px, 7.4vw, 92px); text-transform: uppercase; }
.infrastructure-scroll { display: inline-flex; align-items: center; gap: 13px; margin-top: 56px; color: rgba(255,255,255,.9); font-size: 15px; }
.infrastructure-scroll span { display: inline-block; width: 25px; height: 40px; border: 2px solid rgba(255,255,255,.84); border-radius: 18px; }
.infrastructure-intro { padding: 56px 0; color: #72747d; background: #f0f0f2; text-align: center; }
.infrastructure-intro p { font-size: 19px; line-height: 1.7; }
.infrastructure-offerings { padding-top: 90px; }
.infrastructure-heading { margin-bottom: 72px; text-align: center; }
.infrastructure-heading h2 { color: #684d9e; font-size: clamp(38px, 4.8vw, 56px); letter-spacing: -.02em; text-transform: uppercase; }
.infrastructure-heading p { margin-top: 16px; color: #6e7480; font-size: 19px; }
.infrastructure-offerings-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: repeat(3, auto) auto; column-gap: 92px; row-gap: 54px; }
.infrastructure-offer { display: flex; align-items: flex-start; gap: 24px; min-width: 0; }
.infrastructure-offer > img { width: 68px; height: 68px; flex: 0 0 68px; object-fit: contain; }
.infrastructure-offer > div { min-width: 0; }
.infrastructure-offer h3 { color: #684d9e; font-size: 22px; line-height: 1.25; }
.infrastructure-offer-line { display: block; width: 58px; height: 3px; margin: 11px 0 12px; background: var(--adv-gradient); }
.infrastructure-offer p { color: #747b89; font-size: 15px; line-height: 1.52; }
.infrastructure-offer--left-1 { grid-column: 1; grid-row: 1; }
.infrastructure-offer--left-2 { grid-column: 1; grid-row: 2; }
.infrastructure-offer--left-3 { grid-column: 1; grid-row: 3; }
.infrastructure-offer--right-1 { grid-column: 2; grid-row: 1; }
.infrastructure-offer--right-2 { grid-column: 2; grid-row: 2; }
.infrastructure-offer--right-3 { grid-column: 2; grid-row: 3; }
.infrastructure-offer--full { grid-column: 1 / -1; grid-row: 4; max-width: 850px; justify-self: center; flex-direction: column; align-items: center; text-align: center; }
.infrastructure-offer--full .infrastructure-offer-line { margin-inline: auto; }
.infrastructure-contact { padding-top: 96px; }
.subpage-cta { color: #fff; background: var(--adv-gradient); }
.subpage-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.subpage-cta h2 { max-width: 820px; color: #fff; font-size: clamp(36px, 5vw, 55px); }
.page-content { padding-top: 160px; }
.prose h1 { margin-bottom: 30px; font-size: 56px; }
.prose > * + * { margin-top: 20px; }

@media (max-width: 1050px) {
    .site-nav { gap: 17px; }
    .site-nav a { font-size: 13px; }
    .products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .product-card { min-height: 300px; }
    .service-panel-copy { padding-inline: 34px; }
    .team-card { grid-template-columns: minmax(250px, 34%) minmax(0,1fr); }
    .team-card:nth-child(even) { grid-template-columns: minmax(0,1fr) minmax(250px, 34%); }
    .contact-grid { gap: 55px; }
    .footer-grid { gap: 35px; }
}

@media (max-width: 820px) {
    .admin-bar .site-header { top: 46px; }
    .section { padding: 84px 0; }
    .menu-toggle { display: block; cursor: pointer; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav { position: fixed; top: 84px; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 32px 24px; background: #fff; transform: translateX(105%); transition: transform .28s ease; }
    .admin-bar .site-nav { top: 130px; }
    .site-nav.is-open { transform: translateX(0); }
    .site-nav a { padding: 15px 10px; font-size: 19px; border-bottom: 1px solid #e9edf4; }
    .site-nav .nav-cta { margin-top: 18px; text-align: center; border: 0; }
    .hero { min-height: 760px; }
    .scroll-cue { position: static; margin-top: 50px; }
    .section-heading { grid-template-columns: 1fr; gap: 20px; }
    .services-tabs-nav { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
    .service-tab { min-width: 190px; flex: 1 0 190px; scroll-snap-align: start; }
    .contact-grid { grid-template-columns: 1fr; }
    .team-card, .team-card:nth-child(even) { grid-template-columns: 1fr; }
    .team-card:nth-child(even) img { order: 0; }
    .team-card img { height: 300px; min-height: 0; }
    .contact-grid { gap: 45px; }
    .docs-list { grid-template-columns: 1fr; }
    .doc-item, .doc-item:nth-child(2n) { border-right: 0; }
    .infrastructure-offerings-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 42px; }
    .infrastructure-offer--left-1, .infrastructure-offer--left-2, .infrastructure-offer--left-3,
    .infrastructure-offer--right-1, .infrastructure-offer--right-2, .infrastructure-offer--right-3,
    .infrastructure-offer--full { grid-column: auto; grid-row: auto; }
    .infrastructure-offer--full { max-width: none; justify-self: stretch; flex-direction: row; align-items: flex-start; text-align: left; }
    .infrastructure-offer--full .infrastructure-offer-line { margin-inline: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    html { scroll-padding-top: 76px; }
    body { font-size: 17px; }
    .container { width: min(calc(100% - 32px), var(--adv-container)); }
    .section { padding: 70px 0; }
    .site-header { padding: 9px 0; }
    .header-inner { min-height: 54px; }
    .brand img, .custom-logo { width: 172px; max-height: 44px; }
    .site-nav { top: 72px; }
    .admin-bar .site-nav { top: 118px; }
    .hero { min-height: 720px; }
    .hero-content { padding-top: 92px; }
    .hero h1 { max-width: 100%; font-size: clamp(56px, 18vw, 76px); overflow-wrap: normal; word-break: normal; }
    .hero p { margin-top: 22px; font-size: 20px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .scroll-cue { margin-top: 36px; }
    .section-heading { margin-bottom: 38px; }
    .section-heading h2, .contact-copy h2, .docs-heading h2, .clients-heading h2 { font-size: 38px; }
    .service-tab { min-width: 166px; flex-basis: 166px; padding: 0; }
    .service-tab-title { right: 12px; bottom: 18px; left: 16px; font-size: 13px !important; }
    .service-tab-title::before { width: 50px; margin-bottom: 8px; }
    .service-panel-copy { min-height: 210px; padding: 28px 8px 10px; }
    .service-panel-copy strong { font-size: 17px; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card { min-height: 285px; }
    .about-intro { margin-bottom: 42px; }
    .about-intro h2 { font-size: 42px; }
    .about-intro p { font-size: 17px; }
    .team-card > div { padding: 28px; }
    .team-card img { height: 260px; }
    .docs-product-header { min-height: 88px; padding: 20px; }
    .docs-product-header img { max-width: 155px; max-height: 45px; }
    .docs-product-header h3 { font-size: 13px; }
    .doc-item { grid-template-columns: 43px minmax(0,1fr) 18px; gap: 12px; padding: 21px 18px; }
    .doc-icon { width: 42px; height: 42px; font-size: 10px; }
    .contact-panel { padding: 25px; border-radius: 22px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 58px; height: 58px; }
    .subpage-hero { padding: 145px 0 80px; }
    .subpage-hero h1 { font-size: 55px; overflow-wrap: normal; word-break: normal; }
    .subpage-hero p { font-size: 20px; }
    .infrastructure-hero { min-height: 530px; padding: 126px 0 68px; background-position: 62% center; }
    .infrastructure-hero .back-link { margin-bottom: 36px; }
    .infrastructure-hero h1 { font-size: 48px; }
    .infrastructure-scroll { margin-top: 42px; }
    .infrastructure-intro { padding: 42px 0; }
    .infrastructure-intro p { font-size: 17px; }
    .infrastructure-offerings { padding-top: 68px; }
    .infrastructure-heading { margin-bottom: 50px; }
    .infrastructure-heading h2 { font-size: 40px; }
    .infrastructure-heading p { font-size: 17px; }
    .infrastructure-offer, .infrastructure-offer--full { gap: 18px; }
    .infrastructure-offer > img { width: 56px; height: 56px; flex-basis: 56px; }
    .infrastructure-offer h3 { font-size: 19px; }
    .infrastructure-contact { padding-top: 70px; }
    .subpage-cta .container { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .client-track { width: 100%; flex-wrap: wrap; justify-content: center; transform: none; }
    .client-track .client-logo[aria-hidden="true"] { display: none; }
}
