
/* ============================================================
   EXPO YOCONSTRUCTOR — HOME HUANCAYO 2026
   BANNER Y PRESENTACIÓN
   Archivo completo para public_html/assets/yoconstructor/home.css
   Ajuste de tipografia, jerarquia y botones segun referencia aprobada
   ============================================================ */

:root {
    --hy-dark: #052f28;
    --hy-green: #008b17;
    --hy-lime: #91d83c;
    --hy-white: #ffffff;
}

/* Evita márgenes heredados en el inicio */
.portal:has(.hy-hero) {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

/* ============================================================
   HERO
   ============================================================ */

.hy-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 525px;
    margin: 0;
    overflow: hidden;
    background: #eef1ea;
    color: var(--hy-dark);
}


/* Fotografía principal */

.hy-city {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("/assets/yoconstructor/huancayo.jpg");
    background-repeat: no-repeat;
    /* La fotografía real se carga desde public_html/assets/yoconstructor. */
    background-size: cover;
    background-position: 53% 66%;
}


/* Halo blanco suave y amplio detrás del contenido.
   Sin núcleo circular opaco ni bandas que nazcan del borde izquierdo:
   la fotografía sigue visible por arriba, a la izquierda y hacia la plaza. */
.hy-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
        ellipse 42% 96% at 19% 49%,
        rgba(255, 255, 255, .89) 0%,
        rgba(255, 255, 255, .84) 23%,
        rgba(255, 255, 255, .66) 43%,
        rgba(255, 255, 255, .33) 64%,
        rgba(255, 255, 255, .10) 83%,
        rgba(255, 255, 255, 0) 100%
    );
}


/* Diagonal verde del borde izquierdo */

.hy-left-accent {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: clamp(28px, 3vw, 50px);
    background: linear-gradient(90deg, rgba(15, 105, 49, .23), rgba(130, 220, 47, .36));
    clip-path: polygon(0 60%, 15% 60%, 100% 100%, 0 100%);
    pointer-events: none;
}


/* ============================================================
   TEXTO PRINCIPAL
   ============================================================ */

.hy-copy {
    position: relative;
    z-index: 4;
    width: min(770px, 55%);
    padding: 40px 0 108px clamp(36px, 5.6vw, 106px);
    color: var(--hy-dark);
}

.hy-overline {
    display: block;
    margin-bottom: 13px;
    color: var(--hy-dark);
    font-size: clamp(10px, .68vw, 12px);
    font-weight: 800;
    letter-spacing: .36em;
    line-height: 1.3;
}

.hy-year {
    display: flex;
    align-items: flex-start;
    white-space: nowrap;
    margin: 0 0 3px -5px;
    color: #042e27;
    font-size: clamp(94px, 8.55vw, 153px);
    font-weight: 900;
    letter-spacing: -.091em;
    line-height: .89;
    font-variant-numeric: lining-nums tabular-nums;
}

.hy-year span {
    margin: 0 0 0 10px;
    color: #91d83c;
    font-weight: 800;
    letter-spacing: -.07em;
}

.hy-copy h1 {
    margin: 9px 0 9px;
    max-width: 720px;
    color: #052f28;
    font-size: clamp(24px, 1.97vw, 36px);
    font-weight: 900;
    letter-spacing: -.039em;
    line-height: 1.07;
}

.hy-copy h1 em {
    color: #087c20;
    font-style: normal;
}

.hy-description {
    margin: 0 0 14px;
    color: #153c37;
    font-size: clamp(12px, .87vw, 16px);
    font-weight: 500;
    letter-spacing: .105em;
    line-height: 1.36;
}

/* ============================================================
   FECHA Y UBICACIÓN
   ============================================================ */

.hy-event-info {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 17px 0 18px;
}

.hy-event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hy-event-item + .hy-event-item {
    border-left: 1px solid rgba(5, 47, 40, .34);
    padding-left: 18px;
}

.hy-event-item svg {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
    color: #064c3b;
}

.hy-event-item strong {
    color: #052f28;
    font-size: clamp(15px, 1.12vw, 20px);
    font-weight: 800;
    line-height: 1.13;
}

/* ============================================================
   BOTONES
   ============================================================ */

.hy-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.hy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px 22px;
    white-space: nowrap;
    border: 1px solid #052f28;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.hy-btn:hover {
    transform: translateY(-2px);
}

.hy-btn-primary {
    border-color: #008b17;
    background: #008b17;
    color: #ffffff !important;
}

.hy-btn-primary:hover {
    background: #007513;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(0, 107, 23, .2);
}

.hy-btn-outline {
    background: rgba(255, 255, 255, .96);
    color: #052f28 !important;
}

.hy-btn-outline:hover {
    background: #ffffff;
    color: #052f28 !important;
}

.hy-btn-outline svg {
    width: 17px;
    height: 17px;
}

/* ============================================================
   PANEL DERECHO — ing.png YA INCLUYE LA FRANJA VERDE
   NO agregar otros paneles ni bandas con CSS.
   ============================================================ */
.hy-right {
    position: absolute;
    z-index: 3;
    inset: 0 0 0 auto;
    width: clamp(460px, 43%, 820px);
    overflow: hidden;
    pointer-events: none;
}

/* ing.png ya incluye al ingeniero y la franja verde.
   Ampliamos ligeramente su ANCHO hacia la izquierda, anclando el borde derecho,
   para que el tramo verde cubra todo el rótulo. No se dibuja ninguna franja extra.
   La URL /assets/... se sirve desde public_html en cPanel. */
.hy-worker {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("/assets/yoconstructor/ing.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 116% 100%;
}

/* Letrero blanco dentro del tramo OSCURO de la franja (sin cruzar el verde lima). */
.hy-right-text {
    position: absolute;
    z-index: 2;
    top: clamp(29px, 2.45vw, 46px);
    right: clamp(13px, 1.7vw, 29px);
    width: clamp(140px, 10.5vw, 185px);
    max-width: 30%;
    margin: 0;
    color: #fff;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: clamp(15px, 1.10vw, 21px);
    font-style: italic;
    font-weight: 600;
    line-height: 1.17;
    letter-spacing: 0;
    text-align: center;
    transform: rotate(-5deg);
    transform-origin: center;
    text-shadow: 0 2px 7px rgba(0, 30, 20, .33);
    white-space: nowrap;
}

.hy-right-text span {
    display: block;
}

.hy-right-text span + span {
    margin-top: 2px;
}

.hy-right-text::after {
    content: "";
    display: block;
    width: 65%;
    height: 2px;
    margin: 6px auto 0;
    border-radius: 999px;
    background: #b4ef24;
    transform: rotate(-4deg);
    transform: translateX(-28px);
}

/* ============================================================
   TARJETAS DE ACCESO RÁPIDO
   ============================================================ */

.hy-quick {
    position: absolute;
    z-index: 5;
    right: clamp(22px, 4.2vw, 76px);
    bottom: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(64%, 1110px);
}


.hy-quick > a {
    display: flex;
    align-items: center;
    gap: 14px;

    min-width: 0;
    min-height: 64px;
    padding: 10px 14px;

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 18px rgba(0, 32, 20, 0.1);

    color: var(--hy-dark);
    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.hy-quick > a:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 32, 20, 0.17);
}

.hy-quick-icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;

    width: 34px;
    height: 34px;
    color: #064b37;
}

.hy-quick-icon svg {
    width: 30px;
    height: 30px;
}

.hy-quick-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.hy-quick-copy strong {
    color: var(--hy-dark);
    font-size: clamp(10px, 0.73vw, 13px);
    font-weight: 900;
    line-height: 1.2;
}

.hy-quick-copy small {
    color: #38554c;
    font-size: clamp(10px, 0.67vw, 12px);
    line-height: 1.2;
}

.hy-quick-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 25px;

    width: 25px;
    height: 25px;
    margin-left: auto;

    border: 1px solid #008b17;
    border-radius: 50%;

    color: #008b17;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}

/* ============================================================
   SECCIÓN INFERIOR: CONSTRUYENDO OPORTUNIDADES
   ============================================================ */

.hy-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(24px, 3.5vw, 64px);

    width: 100%;
    padding: 30px clamp(28px, 5.3vw, 94px) 38px;

    background: #ffffff;
}

.hy-intro-copy {
    min-width: 0;
}

.hy-intro-copy .eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #008b17;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.22em;
}

.hy-intro-copy h2 {
    margin: 0 0 13px;
    color: var(--hy-dark);
    font-size: clamp(28px, 2.45vw, 45px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.hy-intro-copy p {
    max-width: 530px;
    margin: 0;
    color: #66777a;
    font-size: 14px;
    line-height: 1.55;
}

.hy-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.hy-features > a {
    position: relative;
    display: block;
    min-width: 0;
    height: 190px;
    overflow: hidden;

    border-radius: 11px;
    background: #153b2f;
    color: #ffffff;
    text-decoration: none;
}

.hy-features > a::after {
    content: "";
    position: absolute;
    inset: 25% 0 0;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(0, 0, 0, 0.83)
    );
    pointer-events: none;
}

.hy-features img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hy-features > a:hover img {
    transform: scale(1.06);
}

.hy-features strong {
    position: absolute;
    z-index: 1;
    right: 45px;
    bottom: 15px;
    left: 14px;

    color: #ffffff;
    font-size: clamp(12px, 0.9vw, 16px);
    font-weight: 800;
    line-height: 1.15;
}

.hy-features > a > span {
    position: absolute;
    z-index: 1;
    right: 11px;
    bottom: 13px;

    display: grid;
    place-items: center;

    width: 30px;
    height: 30px;
    border-radius: 50%;

    background: #ffffff;
    color: #064b37;
    font-size: 19px;
}

/* ============================================================
   TABLETS
   ============================================================ */

@media (max-width: 1200px) {

    .hy-copy {
        width: 61%;
    }

    .hy-copy h1 {
        font-size: clamp(23px, 2.3vw, 31px);
    }

    .hy-right {
        width: 44%;
        min-width: 420px;
    }


    .hy-right-text {
        top: 25px;
        right: 14px;
        width: 136px;
        max-width: 30%;
        font-size: clamp(12px, 1.2vw, 16px);
    }

    .hy-quick {
        width: 72%;
        right: 20px;
    }

    .hy-quick > a {
        gap: 8px;
        padding: 10px;
    }

    .hy-quick-icon {
        flex-basis: 28px;
        width: 28px;
    }

    .hy-quick-icon svg {
        width: 26px;
        height: 26px;
    }

    .hy-intro {
        grid-template-columns: 1fr;
    }

    .hy-features > a {
        height: 200px;
    }
}

/* ============================================================
   MÓVILES
   ============================================================ */

@media (max-width: 767px) {

    .hy-hero {
        min-height: 0;
        padding-bottom: 16px;
    }

.hy-city {
        background-size: cover;
        background-position: 57% 58%;
    }


    /* En móvil el halo también se concentra detrás del contenido. */
    .hy-hero-shade {
        background: radial-gradient(
            ellipse 105% 61% at 43% 34%,
            rgba(255, 255, 255, .97) 0%,
            rgba(255, 255, 255, .94) 38%,
            rgba(255, 255, 255, .70) 62%,
            rgba(255, 255, 255, .22) 82%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .hy-left-accent {
        left: -92px;
        width: 110px;
    }

    .hy-copy {
        width: 100%;
        padding: 30px 20px 245px;
    }

    .hy-overline {
        font-size: 10px;
        letter-spacing: 0.28em;
    }

    .hy-year {
        font-size: clamp(76px, 18vw, 116px);
    }

    .hy-copy h1 {
        font-size: clamp(21px, 5.4vw, 30px);
    }

    .hy-description {
        font-size: 10px;
        letter-spacing: 0.06em;
    }

    .hy-description br {
        display: none;
    }

    .hy-event-info {
        flex-wrap: wrap;
        gap: 12px;
    }

    .hy-event-item {
        gap: 8px;
    }

    .hy-event-item + .hy-event-item {
        padding-left: 12px;
    }

    .hy-event-item svg {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
    }

    .hy-event-item strong {
        font-size: 12px;
    }

    .hy-btn {
        min-height: 43px;
        padding: 11px 14px;
        font-size: 12px;
    }

    .hy-right {
        top: auto;
        right: 0;
        bottom: 190px;
        width: 72%;
        min-width: 0;
        height: 240px;
    }

    .hy-worker {
        background-size: 112% 100%;
        background-position: right center;
    }

    .hy-right-text {
        top: 10px;
        right: 7px;
        width: 43%;
        max-width: 43%;
        font-size: clamp(11px, 2.6vw, 15px);
        line-height: 1.13;
    }

    .hy-right-text::after {
        margin-top: 6px;
    }

    .hy-quick {
        position: relative;
        right: auto;
        bottom: auto;

        grid-template-columns: 1fr;
        gap: 8px;

        width: auto;
        margin: 0 16px;
    }

    .hy-quick > a {
        min-height: 57px;
        padding: 8px 12px;
    }

    .hy-quick-copy strong {
        font-size: 11px;
    }

    .hy-quick-copy small {
        font-size: 10px;
    }

    .hy-intro {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 32px 18px;
    }

    .hy-intro-copy h2 {
        font-size: clamp(28px, 7vw, 38px);
    }

    .hy-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hy-features > a {
        height: 175px;
    }

    .hy-features strong {
        font-size: 17px;
    }
}

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

    .hy-btn,
    .hy-quick > a,
    .hy-features img {
        transition: none;
    }
}

/* Ajuste del texto sobre la franja verde */
.hy-right-text > span {
    transform: translateX(-28px);
}