/*
Theme Name: React ADV
Theme URI: https://www.react.com.ar/
Author: ADV Technology
Description: Tema corporativo responsive para React, preparado para WordPress en Hostinger.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: react-adv
*/

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

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

:root {
    --react-navy: #11163e;
    --react-blue: #087ed7;
    --react-cyan: #00a9e7;
    --react-purple: #5a33bd;
    --react-ink: #182039;
    --react-text: #5d6578;
    --react-muted: #f1f4fa;
    --react-white: #fff;
    --react-gradient: linear-gradient(125deg, #00a3e4 0%, #2759d1 48%, #6233bd 100%);
    --react-shadow: 0 24px 65px rgba(24, 38, 92, .14);
    --react-radius: 28px;
    --react-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    color: var(--react-text);
    background: #fff;
    font-family: "Fira React", 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(--react-ink);
    font-family: "Asap React", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.08;
    text-wrap: balance;
}
p { margin: 0; }
.container { width: min(calc(100% - 48px), var(--react-container)); margin-inline: auto; }
.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; color: var(--react-ink); background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--react-blue);
    font-family: "Asap React", 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;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: "Asap React", 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(--react-gradient); box-shadow: 0 16px 32px rgba(36, 76, 201, .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); }

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 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; min-height: 56px; align-items: center; justify-content: space-between; }
.brand, .custom-logo-link { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img, .custom-logo { width: 190px; max-height: 52px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 29px; }
.site-nav a { color: #343c55; font-family: "Asap React", Arial, sans-serif; font-size: 14px; font-weight: 700; }
.site-nav a:not(.nav-cta):hover { color: var(--react-blue); }
.site-nav .nav-cta { padding: 10px 20px; color: #fff; background: var(--react-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(--react-ink); transition: transform .2s ease, opacity .2s ease; }

.hero {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--react-navy);
}
.hero-background {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(100deg, rgba(29,21,91,.22), rgba(9,40,104,.16)), url("assets/images/hero.jpg");
    background-position: center;
    background-size: cover;
    transform: scale(1.01);
}
.hero-background::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,75,.5) 0%, rgba(20,18,75,.07) 72%); }
.hero-content { position: relative; z-index: 2; padding-top: 105px; }
.hero-logo { width: 240px; margin-bottom: 34px; }
.hero h1 { max-width: 890px; color: #fff; font-size: clamp(54px, 6.6vw, 92px); letter-spacing: -.04em; }
.hero p { max-width: 650px; margin-top: 28px; color: rgba(255,255,255,.9); font-size: clamp(20px, 2.3vw, 27px); line-height: 1.43; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.scroll-cue { position: absolute; right: 0; bottom: -86px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.84); font-size: 15px; }
.scroll-cue span { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.82); border-radius: 18px; }

.intro-section { background: #fff; }
.intro-grid { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(0,1.2fr); gap: 100px; align-items: start; }
.intro-grid h2 { max-width: 520px; font-size: clamp(42px,5vw,64px); letter-spacing: -.035em; }
.intro-copy { display: grid; gap: 19px; }
.intro-copy p:first-child { color: var(--react-purple); font-family: "Asap React", Arial, sans-serif; font-size: 23px; font-weight: 700; line-height: 1.45; }

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

.services-section { background: var(--react-muted); }
.services-selector { overflow: hidden; background: #fff; border: 1px solid #e1e6f0; border-radius: var(--react-radius); box-shadow: 0 18px 56px rgba(26,41,95,.09); }
.services-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; background: #fff; }
.service-card { position: relative; min-width: 0; aspect-ratio: 1.48 / 1; overflow: hidden; padding: 0; color: #fff; background: #2e3460; border: 0; text-align: left; cursor: pointer; }
.service-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(.94); transform: scale(1.01); transition: filter .28s ease, transform .4s ease; }
.service-card-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg,rgba(12,18,56,.88) 0%,rgba(18,28,77,.25) 66%,rgba(18,28,77,.08) 100%); transition: background .28s ease; }
.service-card-content { position: absolute; right: 26px; bottom: 24px; left: 26px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.service-card-content > img { width: 54px; height: 48px; margin-bottom: 17px; object-fit: contain; }
.service-card-content strong { max-width: 310px; color: #fff; font-family: "Asap React", Arial, sans-serif; font-size: clamp(15px,1.5vw,19px); font-weight: 700; line-height: 1.18; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.28); }
.service-card-content > span { margin-top: 11px; color: rgba(255,255,255,.88); font-size: 13px; }
.service-card:hover .service-card-image, .service-card.is-active .service-card-image { filter: saturate(1) contrast(1); transform: scale(1.045); }
.service-card:hover .service-card-shade, .service-card.is-active .service-card-shade { background: linear-gradient(105deg,rgba(0,133,215,.9),rgba(80,47,187,.82)); }
.service-card:focus-visible { z-index: 3; outline: 4px solid rgba(8,126,215,.42); outline-offset: -4px; }
.services-details { background: #fff; }
.service-detail { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 34px; align-items: start; min-height: 330px; padding: 54px 64px 47px; }
.service-detail[hidden] { display: none; }
.service-detail-icon { display: flex; width: 86px; height: 86px; align-items: center; justify-content: center; background: var(--react-gradient); border-radius: 22px; box-shadow: 0 14px 28px rgba(54,64,193,.2); }
.service-detail-icon img { width: 52px; height: 48px; object-fit: contain; }
.service-detail h3 { color: var(--react-purple); font-size: clamp(30px,3.3vw,44px); }
.service-detail p { max-width: 930px; margin-top: 17px; font-size: 16px; line-height: 1.63; }
.services-hint { padding: 0 30px 28px; color: #8a91a1; font-size: 14px; text-align: center; }

.clients-section { overflow: hidden; background: #fff; }
.clients-heading { max-width: 750px; margin-bottom: 54px; text-align: center; }
.clients-heading .eyebrow { justify-content: center; }
.clients-heading p { margin-top: 21px; }
.client-marquee { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent); }
.client-track { display: flex; width: max-content; align-items: center; animation: react-marquee 38s 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 react-marquee { to { transform: translateX(-50%); } }

.products-section { position: relative; overflow: hidden; background: var(--react-gradient); }
.products-section::before, .products-section::after { content: ""; position: absolute; width: 500px; height: 500px; border: 88px solid rgba(255,255,255,.05); border-radius: 50%; }
.products-section::before { top: -320px; right: -170px; }
.products-section::after { bottom: -390px; left: -230px; }
.products-section .container { position: relative; z-index: 1; }
.section-heading-light h2, .section-heading-light p { color: #fff; }
.section-heading-light p { opacity: .86; }
.products-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.product-card { display: flex; min-height: 330px; flex-direction: column; padding: 28px 23px; color: var(--react-text); background: #fff; border: 1px solid rgba(255,255,255,.65); border-radius: 23px; 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: 88px; align-items: center; justify-content: center; padding: 11px; background: #fff; }
.product-logo img { width: auto; height: auto; max-width: 165px; max-height: 55px; object-fit: contain; }
.product-logo-adv img { max-width: 180px; max-height: 42px; }
.product-logo-react img { max-width: 150px; max-height: 38px; }
.product-card p { margin-top: 22px; font-size: 14px; line-height: 1.58; }
.product-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; color: var(--react-blue); border-top: 1px solid #e7eaf2; font-family: "Asap React", Arial, sans-serif; font-size: 14px; font-weight: 700; }
.product-link b { font-size: 20px; }

.contact-section { position: relative; overflow: hidden; color: #fff; background: var(--react-navy); }
.contact-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%,rgba(0,169,231,.27),transparent 38%), radial-gradient(circle at 85% 80%,rgba(90,51,189,.32),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 React", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.contact-details strong { color: #fff; font-family: "Asap React", Arial, sans-serif; font-size: 18px; }
.contact-panel { padding: 40px; color: var(--react-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(--react-ink); font-family: "Asap React", Arial, sans-serif; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; color: var(--react-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(--react-blue); box-shadow: 0 0 0 3px rgba(8,126,215,.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: #080c25; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .85fr; gap: 70px; }
.footer-brand { display: inline-flex; }
.footer-brand img { width: 190px; }
.footer-grid p { max-width: 430px; margin-top: 18px; font-size: 15px; }
.footer-adv { display: inline-flex; margin-top: 16px; color: rgba(255,255,255,.78); font-family: "Asap React", Arial, sans-serif; font-size: 13px; font-weight: 700; }
.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-webflow { 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; }
.page-content { padding-top: 160px; }
.prose h1 { margin-bottom: 30px; font-size: 56px; }
.prose > * + * { margin-top: 20px; }

@media (max-width: 1120px) {
    .site-nav { gap: 20px; }
    .products-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .product-card { min-height: 300px; }
}

@media (max-width: 920px) {
    .section { padding: 88px 0; }
    .intro-grid { gap: 55px; }
    .service-card-content { right: 20px; bottom: 20px; left: 20px; }
    .service-card-content > img { width: 47px; height: 42px; margin-bottom: 13px; }
    .service-detail { padding-inline: 45px; }
    .contact-grid { gap: 48px; }
    .footer-grid { gap: 35px; }
}

@media (max-width: 820px) {
    .admin-bar .site-header { top: 46px; }
    .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: 46px; }
    .intro-grid, .section-heading, .contact-grid { grid-template-columns: 1fr; }
    .intro-grid, .section-heading { gap: 24px; }
    .services-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
    .service-card { min-width: 285px; flex: 1 0 285px; scroll-snap-align: start; }
    .service-detail { grid-template-columns: 80px minmax(0,1fr); gap: 27px; padding: 45px 38px 38px; }
    .service-detail-icon { width: 76px; height: 76px; }
    .service-detail-icon img { width: 46px; height: 42px; }
    .products-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .contact-grid { gap: 45px; }
    .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(--react-container)); }
    .section { padding: 70px 0; }
    .site-header { padding: 9px 0; }
    .header-inner { min-height: 54px; }
    .brand img, .custom-logo { width: 150px; max-height: 42px; }
    .site-nav { top: 72px; }
    .admin-bar .site-nav { top: 118px; }
    .hero { min-height: 735px; }
    .hero-content { padding-top: 92px; }
    .hero-logo { width: 190px; margin-bottom: 30px; }
    .hero h1 { max-width: 100%; font-size: clamp(44px,13vw,60px); overflow-wrap: normal; word-break: normal; }
    .hero p { margin-top: 22px; font-size: 19px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .scroll-cue { margin-top: 34px; }
    .intro-grid h2, .section-heading h2, .clients-heading h2, .contact-copy h2 { font-size: 38px; }
    .intro-copy p:first-child { font-size: 20px; }
    .section-heading { margin-bottom: 42px; }
    .services-selector { border-radius: 20px; }
    .service-card { min-width: 248px; flex-basis: 248px; }
    .service-card-content { right: 18px; bottom: 18px; left: 18px; }
    .service-card-content > img { width: 44px; height: 39px; margin-bottom: 12px; }
    .service-card-content strong { font-size: 15px; }
    .service-detail { grid-template-columns: 1fr; gap: 21px; min-height: 0; padding: 31px 25px 34px; }
    .service-detail-icon { width: 66px; height: 66px; border-radius: 18px; }
    .service-detail-icon img { width: 41px; height: 38px; }
    .service-detail h3 { font-size: 31px; }
    .service-detail p { font-size: 15px; }
    .services-hint { padding: 0 22px 23px; font-size: 13px; }
    .client-logo { width: 160px; height: 104px; flex-basis: 160px; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card { min-height: 280px; }
    .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; }
}

@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; }
}
