/* =====================================================
   JOVI — Landing page (versión desktop)
   ===================================================== */

/* FONTS */

/* Tipografía secundaria: Best School.
   Coloca el archivo en assets/fonts/ y quedará activo. */
@font-face {
    font-family: "Best School";
    src: url("../assets/fonts/BestSchool.woff2") format("woff2"),
         url("../assets/fonts/BestSchool.woff") format("woff"),
         url("../assets/fonts/BestSchool.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

img{
    
}

/* ROOT / VARIABLES */
:root {
    --blue-primary: #256EB5;
    --blue-secondary: #498AC3;
    --green: #119438;
    --yellow: #FAB840;
    --dark: #171717;
    --white: #FFFFFF;

    --grey-50: #F7F9FC;
    --grey-100: #EDF2F8;
    --grey-400: #8A93A0;
    --grey-600: #5B6470;

    --font-main: "Montserrat", "Segoe UI", Arial, sans-serif;
    --font-display: "Best School", "Montserrat", sans-serif;

    --container: 1240px;
    --radius-s: 4px;
    --radius-m: 8px;
    --radius-l: 12px;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
}

h1 { font-size: 60px; }
h2 { font-size: 42px; }
h3 { font-size: 22px; }
h4 { font-size: 15px; }

p { margin: 0 0 18px; }

a {
    color: var(--blue-primary);
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

ul { list-style: none; margin: 0; padding: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

/* HELPERS */
.eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-secondary);
    margin-bottom: 14px;
}

.lead {
    font-size: 19px;
    color: var(--grey-600);
    max-width: 520px;
}

.slogan {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--blue-secondary);
    margin: 0;
}

.slogan-dark { color: var(--blue-primary); }
.slogan-light { color: var(--yellow); }

.section-head {
    max-width: 700px;
    margin-bottom: 64px;
}

.section-sub {
    font-size: 19px;
    color: var(--grey-600);
    margin: 0;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: 0;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.35s var(--ease), background-color 0.3s var(--ease),
                color 0.3s var(--ease), box-shadow 0.35s var(--ease);
}

.btn-yellow {
    background-color: var(--yellow);
    color: var(--dark);
}

.btn-yellow:hover {
    background-color: #F5AC26;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(23, 23, 23, 0.10);
}

.btn-blue {
    background-color: var(--blue-primary);
    color: var(--white);
}

.btn-blue:hover {
    background-color: #1C5B99;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(23, 23, 23, 0.10);
}

.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-nav { padding: 12px 26px; font-size: 14px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--blue-primary);
}

.link-arrow::after {
    content: "";
    display: inline-block;
    width: 26px;
    height: 2px;
    margin-left: 12px;
    background-color: var(--yellow);
    transition: width 0.35s var(--ease);
}

.link-arrow:hover::after { width: 46px; }

/* DECORATIVE BLOBS */
.blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.blob-blue {
    width: 520px;
    height: 520px;
    top: -180px;
    right: -120px;
    background: rgba(37, 110, 181, 0.07);
}

.blob-yellow {
    width: 220px;
    height: 220px;
    bottom: 60px;
    left: -90px;
    background-color: rgba(250, 184, 64, 0.22);
}

.blob-outline {
    width: 320px;
    height: 320px;
    right: 42%;
    bottom: -150px;
    border: 2px solid rgba(37, 110, 181, 0.14);
}

.blob-cta {
    width: 460px;
    height: 460px;
    top: -160px;
    left: -140px;
    background-color: rgba(255, 255, 255, 0.07);
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
                padding 0.35s var(--ease);
    padding: 22px 0;
}

.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(23, 23, 23, 0.07);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 94px;
    width: auto;
    transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .logo img { height: 36px; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    padding-bottom: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--yellow);
    transition: width 0.35s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }

.nav-link.is-active { color: var(--blue-primary); }

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 190px 0 120px;
    background: var(--white);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero h1 {
    font-size: 62px;
    font-weight: 800;
    max-width: 580px;
}

.hero h1 em {
    font-style: normal;
    color: var(--blue-primary);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin: 32px 0 34px;
}

.hero-media {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-media-shape {
    position: absolute;
    inset: 8% -6% 6% 4%;
    background: radial-gradient(circle at 50% 55%, rgba(37, 110, 181, 0.16), rgba(37, 110, 181, 0) 68%);
    border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%;
}

.hero-media img {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 580px;
    filter: drop-shadow(0 30px 40px rgba(23, 23, 23, 0.12));
    
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

/* ABOUT */
.about {
    padding: 120px 0;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about-media {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-l);
}

.about-media img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.about-media:hover img { transform: scale(1.04); }

.values {
    margin-top: 40px;
    display: grid;
    gap: 26px;
}

.values li {
    grid-template-columns: 54px 1fr;
    align-items: start;
    padding-top: 22px;
    border-top: 1px solid var(--grey-100);
}

.value-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 0.08em;
}

.values h3 {
    font-size: 19px;
    margin: 0 0 4px;
}

.values p {
    margin: 0;
    font-size: 16px;
    color: var(--grey-600);
}

/* SERVICES */
.services {
    padding: 120px 0;
    background-color: var(--grey-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 28px;
}

.service {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-m);
    background-color: var(--dark);
}

.service-tall { grid-row: span 2; }
.service-wide { grid-column: span 2; }

.service-media,
.service-media img {
    width: 100%;
    height: 100%;
}

.service-media img {
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}

.service:hover .service-media img { transform: scale(1.06); }

.service-body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px;
    color: var(--white);
    background: linear-gradient(180deg, rgba(23, 23, 23, 0) 0%, rgba(23, 23, 23, 0.86) 62%);
}

.service-index {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--yellow);
    margin-bottom: 10px;
}

.service-body h3 {
    color: var(--white);
    margin-bottom: 8px;
}

.service-body p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 420px;
    opacity: 0;
    max-height: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease), max-height 0.5s var(--ease),
                transform 0.45s var(--ease);
}

.service:hover .service-body p {
    opacity: 1;
    max-height: 120px;
    transform: translateY(0);
}

/* CLIENTES SATISFECHOS */
.clients {
    padding: 120px 0;
    background-color: var(--white);
    overflow: hidden;
}

.clients-head {
    max-width: 760px;
    margin-bottom: 54px;
}

.clients-head h2 {
    max-width: 720px;
}

.clients-intro {
    max-width: 680px;
    color: var(--grey-600);
    font-size: 17px;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--grey-100);
    border-bottom: 1px solid var(--grey-100);
    background: #fff;
}

.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: logoScroll 42s linear infinite;
}

.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}

.client-logo {
    width: 210px;
    height: 145px;
    flex: 0 0 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 34px;
    border-right: 1px solid var(--grey-100);
}

.client-logo img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.64;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

.clients-note {
    padding-top: 24px;
}

.clients-note p {
    margin: 0;
    color: var(--grey-400);
    font-size: 12px;
}

@keyframes logoScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* CTA CATALOGO */
.cta-catalog {
    position: relative;
    overflow: hidden;
    background-color: var(--blue-primary);
    color: var(--white);
    padding: 96px 0;
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

.cta-text h2 {
    font-size: 44px;
    max-width: 520px;
}

.cta-text p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.86);
    max-width: 500px;
    margin-bottom: 30px;
}

.cta-media img {
    width: 100%;
    max-width: 440px;
    margin-left: auto;
    filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.22));
}

/* CONTACT */
.contact {
    padding: 120px 0;
    background-color: var(--grey-50);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 80px;
}

.contact-text h2 { font-size: 40px; max-width: 460px; }

.contact-text > p {
    color: var(--grey-600);
    max-width: 460px;
}

.contact-data {
    margin: 36px 0 28px;
    padding-top: 26px;
    border-top: 1px solid var(--grey-100);
    font-size: 16px;
    color: var(--grey-600);
}

.contact-data li { margin-bottom: 4px; }
.contact-data span { font-weight: 700; color: var(--dark); }

.contact-form {
    background-color: var(--white);
    padding: 44px;
    border-radius: var(--radius-m);
    box-shadow: none;
    border: 1px solid var(--grey-100);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field { margin-bottom: 20px; }

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey-600);
    margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    background-color: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: var(--radius-s);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue-secondary);
    box-shadow: 0 0 0 4px rgba(73, 138, 195, 0.14);
}

.form-note {
    margin: 18px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--green);
    text-align: center;
}

/* FOOTER */
.site-footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 18px;
}

.footer-claim {
    font-size: 15px;
    max-width: 320px;
    margin-bottom: 14px;
}

.site-footer h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-nav li { margin-bottom: 10px; }

.footer-nav a,
.footer-contact a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.3s var(--ease);
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--yellow); }

.footer-contact p { font-size: 15px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    padding-bottom: 28px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ANIMATIONS (scroll reveal) */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1.is-visible { transition-delay: 0.12s; }
.reveal-delay-2.is-visible { transition-delay: 0.24s; }


/* =====================================================
   RESPONSIVE JOVI
   ===================================================== */

/* =====================================================
   PANTALLAS MUY GRANDES
   2K / 4K / MONITORES GAMER
   ===================================================== */

@media (min-width: 1600px) {

    :root {
        --container: 1480px;
    }

    body {
        font-size: 18px;
    }

    .container {
        padding-left: 60px;
        padding-right: 60px;
    }

    .hero {
        min-height: 900px;
        padding-top: 220px;
        padding-bottom: 150px;
    }

    .hero-inner {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 100px;
    }

    .hero h1 {
        font-size: 76px;
        max-width: 720px;
    }

    .lead {
        font-size: 21px;
        max-width: 620px;
    }

    .hero-media img {
        max-width: 700px;
    }

    .about,
    .services,
    .clients,
    .contact {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .about-inner {
        gap: 120px;
    }

    .about-media img {
        height: 650px;
    }

    h2 {
        font-size: 50px;
    }

    .services-grid {
        grid-auto-rows: 370px;
        gap: 32px;
    }

    .client-logo {
        width: 240px;
        height: 160px;
        flex-basis: 240px;
    }

    .cta-catalog {
        padding-top: 130px;
        padding-bottom: 130px;
    }

    .cta-text h2 {
        font-size: 52px;
    }

    .cta-media img {
        max-width: 520px;
    }

}


/* =====================================================
   LAPTOP GRANDE / DESKTOP
   ===================================================== */

@media (max-width: 1399px) {

    :root {
        --container: 1180px;
    }

    .container {
        padding-left: 36px;
        padding-right: 36px;
    }

    .main-nav {
        gap: 28px;
    }

    .main-nav ul {
        gap: 26px;
    }

    .hero-inner {
        gap: 50px;
    }

    .hero h1 {
        font-size: 56px;
    }

    .hero-media img {
        max-width: 520px;
    }

    .about-inner {
        gap: 60px;
    }

    .contact-inner {
        gap: 60px;
    }

}


/* =====================================================
   LAPTOP NORMAL
   1024 - 1199
   ===================================================== */

@media (max-width: 1199px) {

    :root {
        --container: 100%;
    }

    .container {
        padding-left: 42px;
        padding-right: 42px;
    }

    .logo img {
        height: 72px;
    }

    .main-nav {
        gap: 20px;
    }

    .main-nav ul {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .btn-nav {
        padding: 11px 20px;
    }

    .hero {
        padding-top: 170px;
        padding-bottom: 100px;
    }

    .hero-inner {
        gap: 35px;
    }

    .hero h1 {
        font-size: 49px;
    }

    .lead {
        font-size: 17px;
    }

    .hero-media img {
        max-width: 470px;
    }

    .about {
        padding: 100px 0;
    }

    .about-inner {
        gap: 50px;
    }

    .about-media img {
        height: 500px;
    }

    .services {
        padding: 100px 0;
    }

    .services-grid {
        grid-auto-rows: 290px;
        gap: 22px;
    }

    .service-body {
        padding: 28px;
    }

    .clients {
        padding: 100px 0;
    }

    .cta-inner {
        gap: 40px;
    }

    .contact {
        padding: 100px 0;
    }

    .contact-inner {
        gap: 45px;
    }

    .contact-form {
        padding: 36px;
    }

}


/* =====================================================
   TABLET HORIZONTAL
   900 - 1024
   ===================================================== */

@media (max-width: 1024px) {

    .container {
        padding-left: 34px;
        padding-right: 34px;
    }

    .site-header {
        padding: 16px 0;
    }

    .logo img {
        height: 60px;
    }

    .main-nav ul {
        gap: 15px;
    }

    .nav-link {
        font-size: 13px;
    }

    .btn-nav {
        padding: 10px 17px;
        font-size: 13px;
    }

    .hero {
        padding-top: 160px;
        padding-bottom: 90px;
    }

    .hero-inner {
        grid-template-columns: 1fr 0.9fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-media img {
        max-width: 420px;
    }

    h2 {
        font-size: 38px;
    }

    .about-inner {
        gap: 42px;
    }

    .about-media img {
        height: 450px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 330px;
    }

    .service-tall {
        grid-row: span 1;
    }

    .service-wide {
        grid-column: span 1;
    }

    .service-body p {
        opacity: 1;
        max-height: 120px;
        transform: none;
    }

    .client-logo {
        width: 180px;
        height: 125px;
        flex-basis: 180px;
        padding: 25px;
    }

    .cta-inner {
        grid-template-columns: 1fr 0.8fr;
    }

    .cta-text h2 {
        font-size: 38px;
    }

    .contact-inner {
        grid-template-columns: 0.85fr 1.15fr;
    }

}


/* =====================================================
   TABLET VERTICAL
   iPad / 768 - 900
   ===================================================== */

@media (max-width: 900px) {

    body {
        font-size: 16px;
    }

    .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    /*
       HEADER
       En tablet dejamos navegación visible pero compacta.
    */

    .header-inner {
        gap: 20px;
    }

    .logo img {
        height: 52px;
    }

    .main-nav {
        gap: 16px;
    }

    .main-nav ul {
        gap: 13px;
    }

    .nav-link {
        font-size: 12px;
    }

    .btn-nav {
        padding: 9px 14px;
        font-size: 12px;
    }

    /*
       HERO
    */

    .hero {
        padding-top: 145px;
        padding-bottom: 75px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 680px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 52px;
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }

    .lead {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .slogan {
        text-align: center;
    }

    .hero-media {
        margin-top: 25px;
    }

    .hero-media img {
        max-width: 520px;
        margin: 0 auto;
    }

    .blob-blue {
        width: 380px;
        height: 380px;
    }

    /*
       NOSOTROS
    */

    .about {
        padding: 85px 0;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-media {
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
    }

    .about-media img {
        height: 500px;
    }

    .about-text {
        max-width: 680px;
        margin: 0 auto;
    }

    /*
       SERVICIOS
    */

    .services {
        padding: 85px 0;
    }

    .section-head {
        margin-bottom: 45px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 360px;
        gap: 20px;
    }

    /*
       CLIENTES
    */

    .clients {
        padding: 85px 0;
    }

    .client-logo {
        width: 170px;
        height: 120px;
        flex-basis: 170px;
    }

    /*
       CTA
    */

    .cta-catalog {
        padding: 80px 0;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-text h2,
    .cta-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-media {
        margin-top: 30px;
    }

    .cta-media img {
        margin: 0 auto;
        max-width: 400px;
    }

    /*
       CONTACTO
    */

    .contact {
        padding: 85px 0;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-text {
        max-width: 680px;
    }

    .contact-form {
        max-width: 680px;
        width: 100%;
    }

    /*
       FOOTER
    */

    .footer-inner {
        grid-template-columns: 1.3fr 0.8fr 0.9fr;
        gap: 35px;
    }

}


/* =====================================================
   TELÉFONO GRANDE / TABLET PEQUEÑA
   600 - 767
   ===================================================== */

@media (max-width: 767px) {

    html,
    body {
        overflow-x: hidden;
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    /*
       HEADER
       Se convierte en encabezado compacto.
    */

    .site-header {
        position: sticky;
        top: 0;
        padding: 10px 0;
        background-color: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(23, 23, 23, 0.08);
    }

    .site-header.is-scrolled {
        padding: 10px 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 10px;
    }

    .logo img,
    .site-header.is-scrolled .logo img {
        height: 46px;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
        gap: 14px;
    }

    .main-nav ul {
        display: flex;
        gap: 17px;
    }

    .nav-link {
        font-size: 11px;
    }

    .btn-nav {
        padding: 8px 13px;
        font-size: 11px;
    }

    /*
       HERO
    */

    .hero {
        padding-top: 75px;
        padding-bottom: 65px;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.06;
    }

    .eyebrow {
        font-size: 11px;
    }

    .lead {
        font-size: 16px;
        line-height: 1.65;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 360px;
    }

    .hero-media img {
        max-width: 430px;
    }

    .blob-yellow {
        width: 140px;
        height: 140px;
    }

    .blob-outline {
        display: none;
    }

    /*
       TÍTULOS
    */

    h2 {
        font-size: 35px;
    }

    .section-sub {
        font-size: 16px;
    }

    /*
       ABOUT
    */

    .about {
        padding: 70px 0;
    }

    .about-media img {
        height: 430px;
    }

    .values {
        gap: 18px;
    }

    .values li {
        grid-template-columns: 45px 1fr;
    }

    /*
       SERVICIOS
    */

    .services {
        padding: 70px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 410px;
    }

    .service-tall,
    .service-wide {
        grid-row: auto;
        grid-column: auto;
    }

    .service-body {
        padding: 26px;
    }

    .service-body h3 {
        font-size: 24px;
    }

    /*
       CLIENTES
    */

    .clients {
        padding: 70px 0;
    }

    .clients-head {
        margin-bottom: 38px;
    }

    .clients-intro {
        font-size: 15px;
    }

    .client-logo {
        width: 155px;
        height: 105px;
        flex-basis: 155px;
        padding: 22px;
    }

    .client-logo img {
        max-height: 58px;
    }

    /*
       CTA
    */

    .cta-catalog {
        padding: 70px 0;
    }

    .cta-text h2 {
        font-size: 34px;
    }

    .cta-text p {
        font-size: 16px;
    }

    /*
       CONTACTO
    */

    .contact {
        padding: 70px 0;
    }

    .contact-text h2 {
        font-size: 34px;
    }

    .contact-form {
        padding: 30px;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /*
       FOOTER
    */

    .site-footer {
        padding-top: 60px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* =====================================================
   TELÉFONO MEDIANO
   430 - 599
   ===================================================== */

@media (max-width: 599px) {

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /*
       HEADER
    */

    .header-inner {
        align-items: center;
    }

    .main-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav ul {
        flex-shrink: 0;
    }

    .btn-nav {
        flex-shrink: 0;
    }

    /*
       HERO
    */

    .hero {
        padding-top: 60px;
        padding-bottom: 55px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .lead {
        font-size: 15px;
    }

    .hero-media {
        margin-top: 10px;
    }

    .hero-media img {
        max-width: 360px;
    }

    .slogan {
        font-size: 22px;
    }

    /*
       GLOBAL
    */

    h2 {
        font-size: 31px;
    }

    h3 {
        font-size: 21px;
    }

    .btn {
        padding: 14px 22px;
        font-size: 14px;
    }

    .section-head {
        margin-bottom: 35px;
    }

    /*
       ABOUT
    */

    .about {
        padding: 60px 0;
    }

    .about-inner {
        gap: 38px;
    }

    .about-media img {
        height: 360px;
    }

    .values li {
        display: grid;
        grid-template-columns: 38px 1fr;
    }

    .values p {
        font-size: 14px;
    }

    /*
       SERVICIOS
    */

    .services {
        padding: 60px 0;
    }

    .services-grid {
        grid-auto-rows: 360px;
        gap: 16px;
    }

    .service-body {
        padding: 22px;
    }

    .service-body h3 {
        font-size: 22px;
    }

    .service-body p {
        font-size: 14px;
    }

    /*
       CLIENTES
    */

    .clients {
        padding: 60px 0;
    }

    .client-logo {
        width: 140px;
        height: 100px;
        flex-basis: 140px;
        padding: 20px;
    }

    /*
       CTA
    */

    .cta-catalog {
        padding: 60px 0;
    }

    .cta-text h2 {
        font-size: 31px;
    }

    .cta-media img {
        max-width: 320px;
    }

    /*
       CONTACTO
    */

    .contact {
        padding: 60px 0;
    }

    .contact-text h2 {
        font-size: 31px;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .field input,
    .field select,
    .field textarea {
        font-size: 16px;
    }

    /*
       FOOTER
    */

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }

}


/* =====================================================
   TELÉFONO PEQUEÑO
   360 - 429
   ===================================================== */

@media (max-width: 429px) {

    body {
        font-size: 15px;
    }

    .container {
        padding-left: 17px;
        padding-right: 17px;
    }

    /*
       HEADER
    */

    .logo img,
    .site-header.is-scrolled .logo img {
        height: 42px;
    }

    .main-nav {
        gap: 12px;
    }

    .main-nav ul {
        gap: 14px;
    }

    .nav-link {
        font-size: 10px;
    }

    .btn-nav {
        font-size: 10px;
        padding: 7px 11px;
    }

    /*
       HERO
    */

    .hero {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 0.13em;
    }

    .lead {
        font-size: 14px;
    }

    .hero-actions {
        margin: 25px 0;
    }

    .hero-media img {
        max-width: 310px;
    }

    .slogan {
        font-size: 20px;
    }

    /*
       GENERAL
    */

    h2 {
        font-size: 28px;
    }

    .section-sub {
        font-size: 15px;
    }

    /*
       ABOUT
    */

    .about {
        padding: 52px 0;
    }

    .about-media img {
        height: 310px;
    }

    .values {
        margin-top: 28px;
    }

    .values h3 {
        font-size: 17px;
    }

    /*
       SERVICIOS
    */

    .services {
        padding: 52px 0;
    }

    .services-grid {
        grid-auto-rows: 330px;
    }

    .service-body h3 {
        font-size: 20px;
    }

    /*
       CLIENTES
    */

    .clients {
        padding: 52px 0;
    }

    .client-logo {
        width: 125px;
        height: 90px;
        flex-basis: 125px;
        padding: 17px;
    }

    .client-logo img {
        max-height: 48px;
    }

    /*
       CTA
    */

    .cta-catalog {
        padding: 52px 0;
    }

    .cta-text h2 {
        font-size: 28px;
    }

    /*
       CONTACTO
    */

    .contact {
        padding: 52px 0;
    }

    .contact-text h2 {
        font-size: 28px;
    }

    .contact-form {
        padding: 22px 17px;
    }

    /*
       FOOTER
    */

    .site-footer {
        padding-top: 50px;
    }

    .footer-inner {
        padding-bottom: 40px;
    }

}


/* =====================================================
   TELÉFONOS MUY PEQUEÑOS
   320 - 359
   ===================================================== */

@media (max-width: 359px) {

    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero h1 {
        font-size: 29px;
    }

    h2 {
        font-size: 26px;
    }

    .hero-media img {
        max-width: 280px;
    }

    .btn {
        font-size: 13px;
        padding: 13px 18px;
    }

    .services-grid {
        grid-auto-rows: 300px;
    }

    .service-body {
        padding: 18px;
    }

    .service-body h3 {
        font-size: 19px;
    }

    .client-logo {
        width: 115px;
        height: 82px;
        flex-basis: 115px;
    }

}


/* =====================================================
   DISPOSITIVOS TÁCTILES
   ===================================================== */

@media (hover: none) {

    .service-body p {
        opacity: 1;
        max-height: 140px;
        transform: translateY(0);
    }

    .service:hover .service-media img,
    .about-media:hover img,
    .client-logo:hover img {
        transform: none;
    }

}


/* =====================================================
   REDUCIR ANIMACIONES
   ACCESIBILIDAD
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}