/* 06. HOME / CABECERA
   =========================================================== */


header {
    grid-column: 1 / 13;
    grid-row: auto;

    display: grid;
    grid-template-rows: repeat(auto-fill, auto);
    grid-template-columns: repeat(12, 1fr);

    margin-top: 80px;
    gap: 15px;
}


/* ---------- Home left ---------- */
.homeleft {
    grid-column: 1 / 11;

    background: transparent;
    border-radius: 0;
    


    display: flex;
    flex-direction: column;

    padding-top: clamp(40px, 5vw, 80px);
    padding-right: clamp(50px, 8vw, 140px);

    gap: 40px;

    min-width: 400px;

    color: #1C1C1A;


}


.title {
    max-width: 1000px;
}


.title h1 {
    margin-bottom: 2rem;
}


.ctas {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 45px;
}


.intro {
    max-width: 650px;

    margin-top: 0;

    font-family: "Google Sans", sans-serif;

    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    font-weight: 350;

    line-height: 1.45;

    color: #3A3A38;
}


.bienvenida > p {
    margin: 0;

    font-family: "Google Sans", sans-serif;

    font-size: 0.72rem;
    font-weight: 500;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    opacity: 0.55;
}


/* ---------- Home right ---------- */
.homeright {
    grid-column: 11 / 13;

    display: flex;
    flex-direction: column;

    gap: 15px;
    padding-top: 50px;

    min-width: 300px;
}


/* ---------- Testimonio ---------- */
.firmatestimonio {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;
}


.firmatestimonio img {
    width: 24px;
    height: 24px;
}


.firmatestimonio h5 {
    margin: 0;

    font-family: "Google Sans", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.05em;

    opacity: 0.6;
}


.testimonio {
    background: transparent;
    border: 0;
    border-radius: 0;

    padding: 20px 0;
    padding-right: 15px;

    color: #1C1C1A;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;

    text-align: right;

    animation: entradaDer 0.6s ease-out 0.3s both;
}


.testimonio p {
    margin: 0 0 25px;

    font-family: "Google Sans", sans-serif;
    font-size: 0.9rem;
    line-height: 1.25;
    font-weight: 400;
    text-align:right;
    max-width: 260px;
}


/* ---------- Social ---------- */
.socials {
    background-color: #F7F6F2;

    border-radius: 30px;

    padding: 25px;

    width: 100%;
    height: auto;


    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    animation: entradaDer 0.6s ease-out 0.3s both;
    transition: transform 0.3s ease;
}


.socials svg,
.socials img {
    width: 24px;
    height: 24px;
    fill: #1C1C1A;
}


.socials img:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
}


/* ---------- Conóceme ---------- */
.conoceme {
    background: #FF5C4D;
    border-radius: 30px;
    padding: 35px;
    color: #F7F6F2;

    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    min-height: 110px;

    animation: entradaDer 0.7s ease-out 0.5s both;
}


.conoceme img {

    transition: transform 0.3s ease;
}


.conoceme:hover {
    transform: translateY(-4px);
}


.conoceme img:hover {
    transform: scale(1.05);
}


.conoceme .botonflecha {
    transition: transform 0.35s ease;
}


.conoceme:hover .botonflecha {
    transform: translate(4px, -4px);
}


/* ===========================================================
   07. PROYECTOS DESTACADOS (HOME)
   =========================================================== */


.selected-projects {
    grid-column: 1 / 13;

    display: grid;
    grid-template-columns: repeat(12, 1fr);

    gap: 30px;
}


.section-title {
    grid-column: 1 / 13;

    margin-top: 5%;
    margin-bottom: 2%;
}


.section-title h2 {
    font-family: "Google Sans Flex", sans-serif;
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.045em;
    margin-top: 24px;
}


.selected-projects-images {
    grid-column: 1 / 13;

    display: grid;
    grid-template-columns: repeat(12, 1fr);

    gap: 15px;

    width: 100%;
}


.project-large {
    grid-column: span 12;
}


.project-half {
    grid-column: span 6;
}


/* ---------- Project card ---------- */
.project-card {
    position: relative;
    overflow: hidden;

    border-radius: 30px;
    aspect-ratio: 16 / 9;

    cursor: pointer;

    text-decoration: none;
    color: inherit;
}


.project-card img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 0.5s ease;
}


.project-card:hover img {
    transform: scale(1.025);
}


/* ---------- Project overlay ---------- */
.project-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 30px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.15) 55%,
        rgba(0, 0, 0, 0) 100%
    );

    color: white;

    opacity: 0;

    transition: opacity 0.4s ease; 
    }


.project-card:hover .project-overlay {
    opacity: 1;
}


.project-overlay h3 {
    margin: 0;

    font-family: "Google Sans Flex", sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;

    letter-spacing: -0.04em;
}


.project-overlay p {
    margin: 8px 0 0;

    font-size: 0.8rem;
    font-weight: 500;

    letter-spacing: 0.04em;
    text-transform: uppercase;

    opacity: 0.75;
}


.project-overlay .botonflecha {
    width: 50px;
    height: 50px;

    right: 30px;
    bottom: 30px;

    transition: transform 0.35s ease;
}


.project-card:hover .botonflecha {
    transform: translate(5px, -5px);
}


.project-overlay > div,
.project-overlay > span {
    transform: translateY(10px);
    opacity: 0;

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}


.project-card:hover .project-overlay > div,
.project-card:hover .project-overlay > span {
    transform: translateY(0);
    opacity: 1;
}


/* ===========================================================
   08. SERVICIOS (HOME)
   =========================================================== */


.services {
    grid-column: 1 / 13;

    display: grid;
    grid-template-columns: repeat(12, 1fr);

    gap: 15px;
}


.services .section-title {
    grid-column: 1 / 13;

    margin-top: 8%;
    margin-bottom: 5%;
}


.services .section-title h2 {
    margin-top: 25px;

    font-family: "Google Sans Flex", sans-serif;

    font-size: 4rem;
    font-weight: 650;
    line-height: 0.95;

    letter-spacing: -0.04em;
}


.services-list {
    grid-column: 1 / 13;

    width: 100%;
}


.service-row {
    position: relative;

    display: grid;

    grid-template-columns: 80px 1fr 60px;

    align-items: start;

    gap: 40px;

    width: 100%;

    padding: 45px 0;

    border-top: 1px solid rgba(28, 28, 26, 0.18);

    color: #1C1C1A;

    text-decoration: none;

    transition:
        padding-left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Última línea */
.service-row:last-child {
    border-bottom: 1px solid rgba(28, 28, 26, 0.18);
}


/* Evitar estilos globales de enlaces */
.service-row,
.service-row:visited,
.service-row:hover,
.service-row:active {
    color: #1C1C1A;
    text-decoration: none;
}


.service-number {
    display: block;

    padding-top: 8px;

    font-family: "Google Sans Flex", sans-serif;

    font-size: 0.75rem;
    font-weight: 600;

    line-height: 1;

    opacity: 0.45;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}


.service-content {
    max-width: 700px;
}


/* ---------- Título ---------- */
.service-content h3 {
    margin: 0 0 15px;

    font-family: "Google Sans Flex", sans-serif;

    font-size: clamp(2rem, 3vw, 3.2rem);

    font-weight: 550;

    line-height: 0.95;

    letter-spacing: -0.035em;

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ---------- Descripción ---------- */
.service-content p {
    margin: 0;

    max-width: 480px;

    font-family: "Google Sans", sans-serif;

    font-size: 0.95rem;
    font-weight: 350;

    line-height: 1.5;

    opacity: 0.65;
}


.service-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 25px;

    font-family: "Google Sans", sans-serif;

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    opacity: 0.55;

    transition:
        opacity 0.3s ease,
        gap 0.3s ease;
}


.service-link-arrow {
    font-size: 1rem;

    line-height: 1;

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


.service-arrow {
    display: flex;

    justify-content: flex-end;

    font-family: "Google Sans Flex", sans-serif;

    font-size: 2rem;

    line-height: 1;

    opacity: 0.8;

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
}


.service-row:hover {
    padding-left: 15px;
}


/* Número */
.service-row:hover .service-number {
    color: #FF5C4D;

    opacity: 1;
}


/* Título */
.service-row:hover .service-content h3 {
    transform: translateX(5px);
}


/* Ver proyectos */
.service-row:hover .service-link {
    opacity: 1;

    gap: 12px;
}


/* Flecha pequeña */
.service-row:hover .service-link-arrow {
    transform: translate(3px, -3px);
}


/* Flecha grande */
.service-row:hover .service-arrow {
    transform: translate(5px, -5px);

    opacity: 1;
}


@media (prefers-reduced-motion: reduce) {

.service-row,
    .service-content h3,
    .service-link,
    .service-link-arrow,
    .service-arrow {
        transition: none;
    }

}


/* ===========================================================
   09. CONTACTO (HOME)
   =========================================================== */


.hablemos {
    grid-column: 1 / 13;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 120px 5%;
}


.hablemos h2 {
    max-width: 80%;

    margin: 0;

    font-family: "Google Sans Flex";
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 500;
}


.hablemos h2 strong {
    font-weight: 700;
}


.hablemos p {
    margin: 25px 0 35px;

    font-size: 1.1rem;

    max-width: 500px;
}


/* ===========================================================
   10. CLIENTES
   =========================================================== */


.clients {
    grid-column: 1 / 13;

    padding: 100px 0 80px;
}


/* ---------- Título ---------- */
.clients .section-title {
    margin-top: 0;
    margin-bottom: 70px;
}


.clients .section-title h2 {
    margin-top: 25px;

    font-family: "Google Sans Flex", sans-serif;
    font-size: 4rem;
    font-weight: 650;
    line-height: 0.95;
}


/* ---------- Logos ---------- */
.clientslogos {
    display: grid;

    grid-template-columns: repeat(7, 1fr);



    align-items: center;
}


/* ---------- Logo individual ---------- */
.client-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 70px;
}


.client-logo img {
    display: block;

    width: auto;
width: 160px;
    max-height: auto;

    object-fit: contain;

    opacity: 0.65;

    transition:
        opacity 0.3s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}


.client-logo:hover img {
    opacity: 1;

    transform: scale(1.04);
}


/* ===========================================================
   16. RESPONSIVE — HOME / GLOBAL
   =========================================================== */


/* ---------- 1500px ---------- */


@media (max-width: 1500px) {

.homeright {
        padding: 0px;
    }

}


/* ---------- 1200px ---------- */


@media (max-width: 1200px) {

/* ---------- Global ---------- */
body {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(auto-fill, auto);
    }


/* ---------- Header / Home ---------- */
header {
        grid-column: 1 / 13;
        grid-row: 1 / 3;
    }


.title {
        margin-bottom: 15px;
    }


.homeright {
        grid-column: 1 / 13;
        grid-row: auto;

        display: flex;
        flex-direction: column;

        margin-top: 0;
    min-width: 0;
    }


.homeleft {
        grid-column: 1 / 13;
        grid-row: auto;

        display: flex;
        flex-direction: column;

        margin-top: 0;
    min-width: 0;
    }


.conoceme {
        width: 100%;
    }


/* ---------- Contacto / Clientes / Footer ---------- */
.hablemos {
        grid-column: 1 / 13;
        grid-row: auto;
    }


.clients {
        grid-column: 1 / 13;
        grid-row: auto;
    }


}


/* ---------- 900px ---------- */


@media (max-width: 900px) {

/* ---------- Global ---------- */
body {
        padding: 0 5%;
    }


header h1 {
        font-size: 3rem;
    }


button {
        font-size: 0.8rem;
    }


.circle {
        display: none;
    }


/* ---------- Home ---------- */
.homeright {
        display: none;
    }


.homeleft {
    padding: 5% 0;
        gap: 15px;
        margin-bottom: 50px;
    }


.intro {
        margin-bottom: 0;
    }


.ctas {
        flex-wrap: wrap;
    margin-top: 0;
    transform: translateY(-5px);
    }


.testimonio {
        align-items: center;
        padding-right: 0;

        text-align: center;
    }


.testimonio p {
        max-width: 100%;

        text-align: center;
    }


.firmatestimonio {
        justify-content: center;
    }


/* ---------- About ---------- */
/* ---------- Home: títulos ---------- */
.section-title {
        margin-top: 5%;
        margin-bottom: 4%;
    }


.section-title h2 {
    font-size: 3rem;
        line-height: 0.95;
    }


.services .section-title h2,
.clients .section-title h2 {
        font-size: 3rem;
    }


/* ---------- Proyectos seleccionados ---------- */
.selected-projects {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }


.selected-projects .section-title {
        grid-column: 1 / 7;
    }


.selected-projects-images {
        grid-column: 1 / 7;

        grid-template-columns: repeat(6, 1fr);

        gap: 15px;
    }


.project-large {
        grid-column: 1 / 7;
    }


.project-half {
        grid-column: span 3;
    }


/* ---------- Servicios ---------- */
.services {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }


.services .section-title {
        grid-column: 1 / 7;
    }


.service-content h3 {
        font-size: 2.3rem;
    }


/* ---------- Clientes ---------- */
.clients {
        padding: 70px 0;
    }


.clients .section-title {
        margin-bottom: 40px;
    }


.clientslogos {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px 15px;
    }


.clientslogos img {
        width: 130px;
    }

}


@media screen and (max-width: 768px) {

.service-row {
        grid-template-columns: 35px minmax(0, 1fr) 30px;

        gap: 15px;
    }


.service-content {
        min-width: 0;
    }


.conoceme,
    .socials {
        display: none;
    }


.hablemos h2{
        font-size: 3rem;
    }

}


/* ---------- 600px (footer unificado aquí) ---------- */


@media (max-width: 600px) {

/* ---------- Títulos ---------- */
.section-title {
        margin-top: 8%;
        margin-bottom: 30px;
    }


.ctas {
        width: 100%;
        gap: 10px;
    }


.ctas a {
        flex: 1 1 140px;
    }


.ctas button {
        width: 100%;
        min-width: 0;
    }


.hablemos a {
        width: min(100%, 280px);
    }


.hablemos button {
        width: 100%;
    }


.section-title h2 {
    font-size: 2.2rem;
        line-height: 0.95;
    }


.services .section-title h2,
.clients .section-title h2 {
        font-size: 2.2rem;
    }


/* ---------- Proyectos seleccionados ---------- */
.selected-projects {
        grid-template-columns: 1fr;
        gap: 15px;
    }


.selected-projects .section-title {
        grid-column: 1;
    }


.selected-projects-images {
        grid-column: 1;

        grid-template-columns: 1fr;

        gap: 15px;
    }


.project-large,
    .project-half {
        grid-column: 1;
    }


.project-card {
        aspect-ratio: 4 / 3;
        border-radius: 30px;
    }


.project-overlay {
        padding: 20px;
    }


.project-overlay h3 {
        font-size: 1.5rem;
    }


.project-overlay p {
        font-size: 0.8rem;
    }


.project-overlay .botonflecha {
        width: 45px;
        height: 45px;

        right: 20px;
        bottom: 20px;
    }


/* Overlay visible en móvil */
.project-overlay {
        opacity: 1;

        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0)
        );
    }


.project-overlay > div {
        transform: translateY(0);
    }


/* ---------- Servicios ---------- */
.services {
        grid-template-columns: 1fr;
        gap: 15px;
    }


.services .section-title {
        grid-column: 1;
    }


.numflecha .botonflecha {
        width: 40px;
        height: 40px;
    }


.service-content {
        margin-top: auto;
    }


.service-content h3 {
        font-size: 2rem;
        line-height: 1.05;

        margin-bottom: 12px;
    }


.service-content p {
        font-size: 0.95rem;
        line-height: 1.45;
    }


/* ---------- Clientes ---------- */
.clients {
        padding: 60px 0;
    }


.clientslogos {
        grid-template-columns: repeat(2, 1fr);

        gap: 35px 20px;
    }


.clientslogos img {
        width: 110px;
    }


}


/* ---------- 480px ---------- */


@media (max-width: 480px) {

html {
        font-size: 15px;
    }


body {
        gap: 15px;

        grid-template-rows: repeat(auto-fill, auto);
    }


/* ---------- Header ---------- */
header {
    padding: 40px 0;
    }


header h1 {
        font-size: 2.5rem;
    }


.bienvenida {
        max-width: 100%;
    }


.conoceme {
        flex-direction: column;

        justify-content: center;

        padding: 20px;
    }


.conoceme img {
        margin-top: 20px;
    }


/* ---------- Clientes ---------- */
.clientslogos img {
        width: 100px;
    }


}


/* ---------- 400px ---------- */


@media (max-width: 400px) {

.section-title h2 {
    font-size: 2rem;
    }


.services .section-title h2,
.clients .section-title h2 {
        font-size: 2rem;
    }


.service-content h3 {
        font-size: 1.8rem;
    }


.clientslogos img {
        width: 95px;
    }


}


@media (min-width: 769px) and (max-width: 1024px) {

.homeright {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 15px;
        padding-top: 0;
        min-width: 0;
    }


.testimonio {
        grid-column: 1 / -1;
        grid-row: 1;

        align-items: center;
        padding: 10px 0;

        text-align: center;
        animation: none;
    }


.testimonio p {
        max-width: 650px;
        text-align: center;
    }


.firmatestimonio {
        justify-content: center;
    }


.conoceme {
        grid-column: 1;
        grid-row: 2;

        min-height: 100px;
        padding: 25px;
        animation: none;
    }


.conoceme .botonflecha {
        width: 50px;
        height: 50px;
    }


.socials {
        grid-column: 2;
        grid-row: 2;

        width: 100%;
        min-width: 0;
        padding: 18px;
        animation: none;
    }

}


@media (min-width: 769px) and (max-width: 1024px) {

.homeright {
        display: none;
    }

}

/* ===========================================================
   VISUAL HERO — NUEVO HEADER
   =========================================================== */


/* -----------------------------------------------------------
   HEADER PRINCIPAL
   ----------------------------------------------------------- */

.visual-hero {
    grid-column: 1 / 13;
    grid-row: auto;

    position: relative;

    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));

    min-height: calc(100vh - 80px);

    margin-top: 80px;
    padding: 35px 0 45px;

    gap: 30px;

    overflow: visible;
}


/* -----------------------------------------------------------
   COLUMNA IZQUIERDA
   ----------------------------------------------------------- */

.visual-hero-left {
    grid-column: 1 / 7;

    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 15px 0 0;
}


/* -----------------------------------------------------------
   TITULAR
   ----------------------------------------------------------- */

.visual-hero-title {
    max-width: 720px;

    animation:
        visualHeroText
        0.8s
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}


.visual-hero-title h1 {
    margin: 0;

    font-family: "Google Sans Flex", sans-serif;

    font-size: clamp(3.5rem, 5.8vw, 6.8rem);
    font-weight: 700;

    line-height: 0.88;
    letter-spacing: -0.025em;

    color: #050505;
}


.visual-hero-title h1 span {
    display: inline;
}


/* -----------------------------------------------------------
   INTRO
   ----------------------------------------------------------- */

.visual-hero-intro {
    max-width: 500px;

    margin: 35px 0 0;

    font-family: "Google Sans", sans-serif;

    font-size: clamp(0.95rem, 1.15vw, 1.15rem);
    font-weight: 400;

    line-height: 1.25;

    color: #1C1C1A;

    text-align: left;

    animation:
        visualHeroIntro
        0.8s
        0.12s
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}


/* -----------------------------------------------------------
   CTA — DEBAJO DE LA INTRO
   ----------------------------------------------------------- */

.visual-hero-ctas {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 30px;

    animation:
        visualHeroIntro
        0.8s
        0.2s
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}


.visual-hero-ctas a {
    width: 180px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border-radius: 999px;

    font-family: "Google Sans", sans-serif;

    font-size: 0.9rem;
    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


/* -----------------------------------------------------------
   CTA PRINCIPAL — VER PROYECTOS
   ----------------------------------------------------------- */

.visual-project-button,
.visual-project-button:visited {
    background: #FF5C4D;

    border: 1px solid #FF5C4D;

    color: #F7F6F2;
}


.visual-project-button:hover {
    transform: translateY(-3px);

    background: #050505;

    border-color: #050505;

    color: #F7F6F2;
}


/* -----------------------------------------------------------
   CTA SECUNDARIO — HABLEMOS
   ----------------------------------------------------------- */

.visual-contact-button {
    background: #F7F6F2;

    border: 1px solid #050505;

    color: #050505;
}


.visual-contact-button:hover {
    transform: translateY(-3px);

    background: #050505;

    border-color: #050505;

    color: #F7F6F2;
}


/* -----------------------------------------------------------
   MÉTRICAS
   ----------------------------------------------------------- */

.visual-hero-bottom {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 25px;

    max-width: 720px;

    padding-top: 35px;


    animation:
        visualHeroIntro
        0.8s
        0.3s
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}


.visual-hero-stat {
    min-width: 0;
}


.visual-hero-stat strong {
    display: block;

    margin-bottom: 12px;

    font-family: "Google Sans Flex", sans-serif;

    font-size:
        clamp(3rem, 5vw, 5rem);

    font-weight: 650;

    line-height: 0.85;

    letter-spacing: -0.06em;

    color: #050505;
}


.visual-hero-stat p {
    margin: 0;

    max-width: 220px;

    font-family: "Google Sans", sans-serif;

    font-size: 0.78rem;

    font-weight: 500;

    line-height: 1.2;

    color: #1C1C1A;
}


/* -----------------------------------------------------------
   COLUMNA DERECHA
   ----------------------------------------------------------- */

.visual-hero-right {
    grid-column: 7 / 13;

    position: relative;

    min-width: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding-right: 25px;
}


/* -----------------------------------------------------------
   TARJETA DE IMAGEN
   ----------------------------------------------------------- */

.visual-image-card {
    position: relative;

    width: min(100%, 650px);

    height: min(75vh, 620px);

    min-height: 480px;

    overflow: hidden;

    border-radius: 65px;

    background: #FFB43D;

    box-shadow:
        0 35px 60px
        rgba(28, 28, 26, 0.08);

    animation:
        visualHeroImage
        0.9s
        0.1s
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}


.visual-image-card::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.10),
            transparent 40%
        );

    z-index: 2;
}


.visual-image-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform
        0.8s
        cubic-bezier(0.22, 1, 0.36, 1);
}


.visual-image-card:hover img {
    transform: scale(1.025);
}

/* -----------------------------------------------------------
   REDES SOCIALES — CÍRCULOS SOBRE LA FOTO
   ----------------------------------------------------------- */

.visual-hero-socials {
    position: absolute;

    left: 35px;
    top: 40%;

    transform: translateY(-50%);

    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;

    margin: 0;

    animation:
        visualHeroIntro
        0.8s
        0.2s
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}


.visual-hero-socials a {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 1px solid #1C1C1A;

    border-radius: 50%;

    background: #F7F6F2;

    color: #050505;

    text-decoration: none;



    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}


.visual-hero-socials a img,
.visual-hero-socials a svg {
    width: 18px;
    height: 18px;

    display: block;

    object-fit: contain;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


.visual-hero-socials a:hover {
    transform: translateX(5px);

    background: #FF5C4D;

    border-color: #FF5C4D;

    color: #F7F6F2;
}


.visual-hero-socials a:hover img,
.visual-hero-socials a:hover svg {
    transform: scale(1.08);

    opacity: 0.9;
}

/* ===========================================================
   ANIMACIONES
   =========================================================== */

@keyframes visualHeroText {

    from {
        opacity: 0;

        transform:
            translateX(-60px);
    }

    to {
        opacity: 1;

        transform:
            translateX(0);
    }

}


@keyframes visualHeroIntro {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


@keyframes visualHeroImage {

    from {
        opacity: 0;

        transform:
            translateX(60px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateX(0)
            scale(1);
    }

}


/* ===========================================================
   TABLET — 1200px
   =========================================================== */

@media (max-width: 1200px) {

    .visual-hero {
        grid-template-columns:
            repeat(12, minmax(0, 1fr));

        gap: 20px;

        min-height: auto;

        padding-top: 30px;
    }


    .visual-hero-left {
        grid-column: 1 / 7;
        padding-top: 15px;
    }


    .visual-hero-right {
        grid-column: 7 / 13;

        padding-right: 15px;
        padding-bottom: 15px;
    }


    .visual-hero-title h1 {
        font-size:
            clamp(3.5rem, 6vw, 5.8rem);
    }


    .visual-image-card {
        height: 65vh;

        min-height: 450px;

        border-radius: 50px;
    }


    .visual-hero-socials {
        left: 0;
    }

}


/* ===========================================================
   TABLET PEQUEÑO — 900px
   =========================================================== */

@media (max-width: 900px) {

    .visual-hero {
        grid-template-columns: 1fr;

        gap: 45px;

        margin-top: 75px;

        padding: 30px 0 40px;
    }


    .visual-hero-left,
    .visual-hero-right {
        grid-column: 1;
    }


    .visual-hero-left {
        padding-top: 0;
    }


    .visual-hero-title {
        max-width: 850px;
    }


    .visual-hero-title h1 {
        font-size:
            clamp(4rem, 10vw, 6.5rem);

        line-height: 0.84;
    }


    .visual-hero-intro {
        max-width: 500px;

        margin-left: 0;
    }


    .visual-hero-right {
        min-height: 600px;

        padding:
            0 40px;
    }


    .visual-image-card {
        width: 100%;

        height:
            min(75vh, 650px);

        min-height: 500px;
    }


    .visual-hero-socials {
        left: 20px;
    }

}


/* ===========================================================
   MOBILE — 600px
   =========================================================== */

@media (max-width: 600px) {

    .visual-hero {
        gap: 35px;

        margin-top: 70px;

        padding:
            25px 0 30px;
    }


    .visual-hero-title h1 {
        font-size:
            clamp(3.3rem, 15vw, 5rem);

        line-height: 0.86;

        letter-spacing: -0.06em;
    }


    .visual-hero-intro {
        max-width: 90%;

        margin-top: 25px;

        font-size: 0.95rem;

        line-height: 1.3;
    }


    /* CTA */

    .visual-hero-ctas {
        gap: 8px;

        margin-top: 25px;
    }


    .visual-hero-ctas a {
        width: 145px;

        height: 46px;

        font-size: 0.82rem;
    }


    /* Métricas */

    .visual-hero-bottom {
        gap: 20px;

        padding-top: 25px;
    }


    .visual-hero-stat strong {
        font-size:
            clamp(2.5rem, 12vw, 4rem);
    }


    .visual-hero-stat p {
        font-size: 0.68rem;
    }


    /* Foto */

    .visual-hero-right {
        min-height: 500px;

        padding:
            0 1% 0 1%;
    }


    .visual-image-card {
        width: 100%;

        height: 520px;

        min-height: 0;

        border-radius: 38px;
    }


    /* Redes */

    .visual-hero-socials {
        left: 0;

        gap: 4px;
    }


    .visual-hero-socials a {
        width: 34px;
        height: 34px;
    }


    .visual-hero-socials a img,
    .visual-hero-socials a svg {
        width: 17px;
        height: 17px;
    }

}


/* ===========================================================
   MOBILE PEQUEÑO — 400px
   =========================================================== */

@media (max-width: 400px) {

    .visual-hero {
        margin-top: 65px;
    }


    .visual-hero-title h1 {
        font-size: 3.2rem;
    }


    .visual-hero-intro {
        max-width: 100%;

        font-size: 0.9rem;
    }


    .visual-hero-ctas {
        gap: 6px;
margin-bottom: 20px;
    }


    .visual-hero-ctas a {
        width: 135px;

        height: 44px;

        font-size: 0.78rem;
    }


    .visual-hero-bottom {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .visual-hero-stat strong {
        font-size: 3rem;
    }


    .visual-hero-right {
        min-height: 420px;

        padding-right: 15px;
    }


    .visual-image-card {
        height: 430px;

        border-radius: 30px;
    }


    .visual-hero-socials {
        left: -2px;
    }

}


/* ===========================================================
   REDUCED MOTION
   =========================================================== */

@media (prefers-reduced-motion: reduce) {

    .visual-hero-title,
    .visual-hero-intro,
    .visual-hero-ctas,
    .visual-hero-socials,
    .visual-hero-bottom,
    .visual-image-card {
        animation: none;
    }


    .visual-image-card img,
    .visual-hero-ctas a,
    .visual-hero-socials a {
        transition: none;
    }

}