@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ── FONTS ── */
    --font-primary:   'Roboto', sans-serif;       /* cuerpo, UI, botones  */
    --font-secondary: 'Playfair Display', serif;  /* títulos destacados    */

    /* ── PRIMARY: Lima/Amarillo verdoso ── */
    --primary-lightest:  #f0faab;   /* +80% claridad */
    --primary-lighter:   #ddf26b;   /* +50% claridad */
    --primary-light:     #d4ee45;   /* +20% claridad */
    --primary:           #CBE536;   /* base            */
    --primary-dark:      #a8bf1e;   /* -20% oscuridad  */
    --primary-darker:    #7d8f16;   /* -40% oscuridad  */
    --primary-darkest:   #52600d;   /* -60% oscuridad  */

    /* ── SECONDARY: Azul marino oscuro ── */
    --secondary-lightest:#6b7ea8;   /* +80% claridad */
    --secondary-lighter: #304471;   /* +50% claridad */
    --secondary-light:   #1a2d55;   /* +20% claridad */
    --secondary:         #0A132A;   /* base            */
    --secondary-dark:    #070e1e;   /* -20% oscuridad  */
    --secondary-darker:  #040912;   /* -40% oscuridad  */
    --secondary-darkest: #020407;   /* -60% oscuridad  */

    /* ── WHITE & BLACK ── */
    --white:             #ffffff;
    --white-soft:        #f5f5f5;
    --white-muted:       #d9d9d9;
    --black:             #000000;
    --black-soft:        #111111;
    --black-muted:       #2a2a2a;

    /* ── CTA: Dorado ── */
    --cta-lightest:      #faeaa2;   /* +80% claridad */
    --cta-lighter:       #f5d96b;   /* +50% claridad */
    --cta-light:         #efcc45;   /* +20% claridad */
    --cta:               #EABD29;   /* base            */
    --cta-dark:          #c49b18;   /* -20% oscuridad  */
    --cta-darker:        #91720f;   /* -40% oscuridad  */
    --cta-darkest:       #5e4908;   /* -60% oscuridad  */
}

/* BASE */

body {
    font-family: var(--font-primary);
    background-color: var(--secondary);
}

p{
    font-family: var(--font-secondary);
}

b{
    color: var(--primary);
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* General Mobile */
/* ── MEDIA QUERY: altura menor a 720px ── */
@media (max-height: 719px) {
    html {
        font-size: 14px;
    }
}
@media screen and (max-width: 370px) {
    html{
        font-size: 11px;
    }
}



/* HEADER */
header{
    height: 8dvh;
    width: 60%;
    display: flex;
    justify-content: center;
    color: var(--white);
}
    header h2{
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .logo-container{
        display: none;
        height: 8dvh;
        width: 8dvh;
        padding: 0 3px;
        padding-top: 4px;
    }
        .logo-container img{
            height: 100%;
        }

    .company{
        font-size: 2rem;
        display: flex;
        align-items: center;
        font-family: var(--font-secondary);
    }

    .menu-container{
        display: none;
        height: 8dvh;
        width: 8dvh;
        align-items: center;
        justify-content: center;
        color: var(--primary);
    }
        .menu-container i{
            font-size: 2rem;
        }

/* ── MEDIA QUERY: altura menor a 720px ── */
@media (max-height: 719px) {
    .header h2{
        font-size: 1.8rem;
    }

    .company{
        align-items: flex-end;
        font-size: 1.8rem;
    }
    .menu-container{
        align-items: flex-end;
    }
    .menu-container i{
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }

}

/* Mobile */
@media screen and (max-width: 719px) {

    header{
        width: 100%;
        border-bottom: 2px solid var(--primary-darkest);
        justify-content: space-between;
        align-items: center;
    }
    .menu-container{
        display: flex;
        align-items: center;
    }
    .logo-container{
        display: block;
    }
    .menu-container i{
        margin-top: 8px;
    }

}

/* Main */
main{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*Main Mobile */
@media screen and (max-width: 719px) {

    main{
        width: 100%;
        display: block;
    }

}


/* FIRST VIEW */


.first-view{
    display: flex;
    height: 92dvh;
    width: 60%;
    align-items: center;
    justify-content: center;
}

.first-view-text-container{
    width: 50%;
    height: 80%;
}
.img-bg-container-screen{
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 50%; */
    height: 80%;
}
.img-bg-container-screen img{
    height: 100%;
}

    .headline{
        padding: 1.50rem;
        color: var(--white);
        letter-spacing: -2%;
        padding-top: 0;
    }

    h1{
        font-size: 2.5rem;
    }

    .subHeadline{
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--white);
    }

        .subHeadline p{
            text-align: center;
            letter-spacing: 0.5px;
            font-weight: bold;
            font-size: 1.25rem;
        }
        .subHeadline button{
            box-shadow: 1px 1px 3px var(--cta-dark);
            margin-top: 0.8rem;
            padding: 0.8rem 1rem;
            border-radius: 1rem;
            letter-spacing: 0.8px;
            font-weight: bolder;
            border: none;
            outline: none;
            background-color: var(--cta);
            cursor: pointer;
        }
        .subHeadline button:hover{
           transform: translateY(-2px);
           background-color: var(--cta-lightest);
        }


    /* BENEFIT CONTAINER */
    .benefit-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem;
    }

    .benefit {
        display: flex;
        gap: 1rem;
        align-items: stretch;
        position: relative;
        padding-left: 0.25rem;
    }

    /* línea vertical que conecta los nodos */
    .benefit:not(:last-child)::after {
        content: '';
        position: absolute;
        left: calc(0.25rem + 21px);
        top: 44px;
        bottom: -1.5rem;
        width: 2px;
        background: var(--primary-darkest);
    }

    .benefit-node {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border-radius: 50%;
        border: 2px solid var(--primary);
        background-color: var(--secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: var(--primary);
        z-index: 1;
    }

    .benefit-info {
        flex: 1;
        padding-bottom: 1.5rem;
    }

    .benefit-title {
        font-family: var(--font-secondary);
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.25rem;
    }

    .benefit-desc {
        font-family: var(--font-primary);
        font-size: 0.82rem;
        color: var(--white-muted);
        line-height: 1.4;
    }

.img-bg-container {
    display: none;
    z-index: -1;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100dvw;
    position: absolute;
    overflow: hidden;
}
.img-bg-container img{
    position: absolute;
    top: 0vh;
    left: 15vh;
    opacity: 0.15;
    height: 100%;
    width: auto;
}

.first-view-text-container{
    display: flex;
    flex-direction: column;
    align-items: space-between;
    height: 80%;
}


/* First View Mobile */
@media (max-width: 719px) {
    .first-view{
        width: 100%;
        flex-direction: column;
    }

    .first-view-text-container{
        width: 100%;
        height: unset;
    }
        .benefit-container{
            order: 3;
            padding-top: 3rem;
            padding-bottom: 0;
        }
        .subHeadline{
            order: 2;
            padding-bottom: unset;
        }

    .img-bg-container {
        display: block;
        z-index: -1;
        top: 0;
        left: 0;
        height: 100dvh;
        width: 100dvw;
        position: absolute;
        overflow: hidden;
    }
    
    .img-bg-container-screen {
            display: none;
    }

}

/* SERVICIOS                                       */
.servicios {
    background-color: var(--secondary-darker);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 60%;
}
.srv-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-dark);
    text-transform: uppercase;
}
.srv-heading {
    font-family: var(--font-secondary);
    font-size: 1.55rem;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}
.srv-card-container {
    display: flex;
    gap: 1.5rem;
}
.srv-card {
    width: 50%;
    background-color: var(--secondary-light);
    border-radius: 12px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
}
.srv-card--featured {
    background-color: var(--secondary);
    outline: 1.5px solid var(--primary);
}
.srv-badge {
    position: absolute;
    top: -12px;
    left: 1.2rem;
    background: var(--primary);
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}
.srv-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.srv-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(203, 229, 54, 0.1);
    border: 1.5px solid var(--primary-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}
.srv-name {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}
.srv-price {
    font-size: 0.9rem;
    color: var(--white-muted);
    font-family: var(--font-primary);
}
.srv-price strong {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 900;
}
.srv-tagline {
    font-size: 0.92rem;
    color: var(--white-soft);
    line-height: 1.55;
}
.srv-includes {
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    color: var(--primary-dark);
    text-transform: uppercase;
    margin-bottom: -0.3rem;
}
.srv-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.srv-list li {
    font-size: 0.88rem;
    color: var(--white-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.srv-list li i {
    color: var(--primary);
    font-size: 0.75rem;
    margin-top: 4px;
    flex-shrink: 0;
}
.srv-btn {
    align-self: stretch;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1.5px solid var(--primary-darker);
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    letter-spacing: 0.4px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.srv-btn--featured {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}
.srv-btn:not(.srv-btn--featured):hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

/* Servicios Mobile */
@media screen and (max-width: 719px) {

    .srv-card-container {
        gap: 2rem;
        flex-direction: column;
    }
    .srv-card{
        width: 100%;
    }

    .servicios{
        width: 100%;
    }

}

/* ═══════════════════════════════════════════════ */
/* SOBRE GAIA IT                                   */
/* ═══════════════════════════════════════════════ */
.sobre {
    background-color: var(--secondary-light);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 60%;
    margin: 5rem 0;
}

.sobre-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.sobre-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    width: 100%;
}

.sobre-heading-col {
    flex: 0 0 38%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    top: 1.5rem;
}

.sobre-heading {
    font-family: var(--font-secondary);
    font-size: 1.55rem;
    color: var(--white);
    line-height: 1.3;
}

.sobre-stat-row {
    display: flex;
    gap: 2rem;
}

.sobre-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sobre-stat-num {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.sobre-stat-label {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    color: var(--white-muted);
    letter-spacing: 0.3px;
}

.sobre-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sobre-p {
    font-size: 0.97rem;
    color: var(--white-muted);
    line-height: 1.75;
}

.sobre-p b {
    color: var(--primary);
}

/* Sobre Mobile */
@media screen and (max-width: 719px) {
    .sobre {
        margin: 0;
        width: 100%;
    }
    .sobre-inner {
        flex-direction: column;
        gap: 1.8rem;
    }
    .sobre-heading-col {
        position: static;
        flex: unset;
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════ */
/* CASOS DE ÉXITO — compartidos                      */
/* ═══════════════════════════════════════════════ */
.cases-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-dark);
    text-transform: uppercase;
}
.cases-heading {
    font-family: var(--font-secondary);
    font-size: 1.45rem;
    color: var(--white);
    line-height: 1.3;
}
.cases-sub {
    font-size: 0.88rem;
    color: var(--white-muted);
    line-height: 1.55;
    margin-bottom: 0.4rem;
}

/* ─────────────────────────────────────────────── */
/* TRABAJOS: Desktop                               */
/* ─────────────────────────────────────────────── */
.cases-desk {
    background-color: var(--secondary);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 60%;
}

.cd-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.cd-item {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.cd-item--reverse {
    flex-direction: row-reverse;
}

.cd-img {
    flex: 0 0 60%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1.5px solid var(--secondary-lighter);
}

.cd-img img {
    display: block;
    width: 100%;
    height: auto;
}

.cd-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cd-name {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--white);
}

.cd-desc {
    font-size: 0.92rem;
    color: var(--white-muted);
    line-height: 1.6;
}

/* Ocultar desktop en mobile, mostrar cases-a solo en mobile */
@media screen and (max-width: 719px) {
    .cases-desk { display: none; }
}

/* ─────────────────────────────────────────────── */
/* VARIANTE A: Cards imagen arriba + texto abajo   */
/* ─────────────────────────────────────────────── */
.cases-a {
    background-color: var(--secondary);
    padding: 2rem 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1.2rem;
    width: 60%;
}
.ca-card {
    height: 500px;
    padding: 1rem;
    margin: 0 2rem;
    border-radius: 12px;
    overflow: hidden;
    transform: rotate(3deg);
}

.ca-card-container {
    height: 800px;
}
.ca-card--first {
}
.ca-card--second {
    transform: translateY(-50%) rotate(3deg)
}

.ca-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 24px 4px rgba(255, 255, 255, 0.15);
}
.ca-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ca-body {
    padding: 1.1rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.ca-name {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--white);
}
.ca-desc {
    font-size: 0.86rem;
    color: var(--white-muted);
    line-height: 1.55;
}
.ca-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.ca-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ca-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: 1.5px solid var(--primary-darker);
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ca-btn:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

/*Cases Mobile */
@media screen and (max-width: 719px) {

    .cases-a{
        display: flex;
        width: 100%;
    }

}

/* ═══════════════════════════════════════════════ */
/* CONTACTO                                        */
/* ═══════════════════════════════════════════════ */
.contacto {
    background-color: var(--secondary-darker);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 60%;
}

.contacto-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.contacto-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    width: 100%;
}

/* ── Info (lado izquierdo) ── */
.contacto-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contacto-heading {
    font-family: var(--font-secondary);
    font-size: 1.55rem;
    color: var(--white);
    line-height: 1.3;
}

.contacto-desc {
    font-size: 0.92rem;
    color: var(--white-muted);
    line-height: 1.6;
}

.contacto-channels {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 0.4rem;
}

.contacto-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: opacity 0.2s;
}
.contacto-channel:hover {
    opacity: 0.75;
}

.contacto-channel-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.contacto-channel-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-dark);
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.contacto-channel-value {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
}

/* ── Formulario (lado derecho) ── */
.contacto-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contacto-field label {
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--white-muted);
    text-transform: uppercase;
}

.contacto-toggle-label {
    display: flex;
    gap: 0.4rem;
}

.contacto-toggle-btn {
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    border: 1.5px solid var(--secondary-lighter);
    background: transparent;
    color: var(--white-muted);
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.contacto-toggle-btn--active {
    background: rgba(203, 229, 54, 0.12);
    border-color: var(--primary);
    color: var(--primary);
}

.contacto-field input,
.contacto-field textarea {
    background-color: var(--secondary-light);
    border: 1.5px solid var(--secondary-lighter);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    font-size: 0.92rem;
    color: var(--white);
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.contacto-field input::placeholder,
.contacto-field textarea::placeholder {
    color: var(--secondary-lightest);
    opacity: 0.55;
}

.contacto-field input:focus,
.contacto-field textarea:focus {
    border-color: var(--primary);
}

.contacto-btn {
    align-self: stretch;
    margin-top: 0.25rem;
    padding: 0.9rem 1.4rem;
    border-radius: 8px;
    border: none;
    background: var(--cta);
    color: var(--secondary);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 2px 10px rgba(234, 189, 41, 0.2);
    transition: background 0.2s, box-shadow 0.2s;
}
.contacto-btn:hover {
    background: var(--cta-light);
    box-shadow: 0 4px 18px rgba(234, 189, 41, 0.35);
}

/* Contacto Mobile */
@media screen and (max-width: 719px) {
    .contacto {
        width: 100%;
    }
    .contacto-inner {
        flex-direction: column;
        gap: 2rem;
    }
    .contacto-info,
    .contacto-form {
        width: 100%;
        flex: unset;
    }
}

.footer-discreto {
  width: 100%;
  background: var(--secondary-darkest, #020407);
  color: var(--white-muted, #d9d9d9);
  padding: 1.2rem 0 1.1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  margin-top: 2.5rem;
}
.footer-content {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.footer-logo {
  height: 1.7rem;
  width: auto;
  opacity: 0.7;
  user-select: none;
  pointer-events: none;
}
