/* ==========================================================
   MASTERGLASS — IMÁGENES Y PIE DE PÁGINA
   01. Portada: imagen completa y mensaje en una franja separada
   ========================================================== */
.home-hero .hero-photo-brand {
    height: auto;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 50px #0044970a;
}
.home-hero .hero-photo-brand > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2076 / 758;
    object-fit: contain;
    object-position: center;
}
.hero-photo-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 35px;
    background: linear-gradient(110deg, #004497, #00316c);
}
.hero-photo-brand .photo-copy {
    position: static;
    font-size: clamp(28px, 3.4vw, 43px);
}
.hero-photo-brand .photo-cta {
    position: static;
    flex-shrink: 0;
    padding: 15px 20px;
}
.hero-photo-brand .photo-orbit {
    width: 52px;
    height: 52px;
    font-size: 18px;
}

/* 02. Carrusel: piezas completas, sin recortar textos ni logos */
.work-carousel .work-slide-artwork {
    display: flex;
    flex-direction: column;
    height: auto;
    background: #f0f5fb;
}
.work-artwork-stage {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 2076 / 758;
    overflow: hidden;
    background: #f0f5fb;
}
.work-artwork-stage > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}
.work-carousel .work-slide-artwork::after {
    display: none;
}
.work-carousel .work-slide-artwork figcaption {
    position: static;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    min-height: 90px;
    padding: 24px 30px;
    border-top: 1px solid #e0e8f3;
    background: #fff;
    color: var(--blue-deep);
}
.work-artwork-number {
    flex-shrink: 0;
    padding: 8px 11px;
    border-radius: 8px;
    background: #edf4fc;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}
.work-slide-artwork h3 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 29px);
    line-height: 1.25;
}
.work-artwork-brand {
    margin-left: auto;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
}
.carousel-bar {
    justify-content: center;
}

/* 03. Pie de página: identidad, navegación y contacto */
.footer-refresh {
    position: relative;
    padding-top: 0;
    overflow: hidden;
    background: linear-gradient(120deg, #002d66, #00214d);
}
.footer-refresh::before {
    content: "";
    display: block;
    height: 5px;
    background: linear-gradient(90deg, #075cbe 0 82%, var(--red) 82% 100%);
}
.footer-refresh .footer-main {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 1fr;
    gap: 55px;
    padding-top: 58px;
    padding-bottom: 44px;
}
.footer-refresh .footer-identity {
    min-width: 0;
}
.footer-refresh .footer-brand {
    display: block;
    width: 192px;
    padding: 10px 18px;
    border-radius: 13px;
    background: #fff;
}
.footer-refresh .footer-brand img {
    width: 100%;
    height: auto;
}
.footer-refresh .footer-tagline {
    margin-top: 22px;
    color: #e7f0ff;
    font-size: 27px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.04em;
}
.footer-refresh .footer-tagline strong {
    font-weight: 700;
}
.footer-refresh .footer-description {
    margin-top: 16px;
    color: #b6cce9;
    font-size: 15px;
    line-height: 1.7;
}
.footer-refresh .footer-navigation,
.footer-refresh .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding-top: 10px;
}
.footer-refresh .footer-navigation h2,
.footer-refresh .footer-contact h2 {
    margin-bottom: 23px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.footer-refresh .footer-navigation > a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    min-height: 41px;
    color: #c4d8f1;
    font-size: 16px;
    transition: color 0.2s;
}
.footer-refresh .footer-navigation > a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.footer-refresh .footer-phone {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.footer-refresh .footer-mail {
    margin-top: 8px;
    color: #c4d8f1;
    font-size: 16px;
    overflow-wrap: anywhere;
}
.footer-refresh .footer-contact > p {
    margin-top: 18px;
    color: #b6cce9;
    font-size: 14px;
}
.footer-refresh .footer-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 47px;
    margin-top: 23px;
    padding: 12px 16px;
    border: 1px solid #ffffff30;
    border-radius: 10px;
    background: #ffffff0a;
    color: #fff;
    font-size: 15px;
    transition: background 0.2s, border-color 0.2s;
}
.footer-refresh .footer-whatsapp:hover {
    border-color: #ffffff70;
    background: #ffffff18;
}

/* 04. Botones de Facebook, Instagram, TikTok, YouTube y LinkedIn */
.footer-refresh .footer-networks {
    padding-top: 28px;
    padding-bottom: 37px;
    border-top: 1px solid #ffffff1f;
}
.footer-networks-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}
.footer-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b6cce9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}
.footer-section-label::before {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4147;
}
.footer-refresh .footer-networks-heading h2 {
    color: #fff;
    font-size: 20px;
    letter-spacing: -0.02em;
}
.footer-socials {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.footer-refresh .footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 62px;
    padding: 15px 17px;
    border: 1px solid #ffffff26;
    border-radius: 12px;
    background: #ffffff08;
    color: #e0edff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.footer-social > svg {
    flex-shrink: 0;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}
.footer-social .social-fill {
    fill: currentColor;
    stroke: none;
}
.footer-social-arrow {
    margin-left: auto;
    color: #8faed5;
    font-size: 18px;
}
.footer-refresh .footer-social[href]:hover {
    transform: translateY(-3px);
    border-color: #ffffff60;
    background: #ffffff15;
}
.footer-refresh .footer-social[aria-disabled="true"] {
    cursor: default;
}
.footer-refresh .footer-bottom {
    align-items: center;
    padding-top: 23px;
    padding-bottom: 23px;
    border-top: 1px solid #ffffff1f;
    color: #a7c1e2;
    font-size: 12px;
}
.footer-refresh .footer-bottom > a {
    margin-left: auto;
    color: #d1e4fc;
    font-size: 13px;
}
.footer-refresh .footer-bottom > a span {
    margin-left: 8px;
}

/* 05. Tabletas, celulares y preferencias de movimiento */
@media (max-width: 1050px) {
    .footer-refresh .footer-main {
        grid-template-columns: 1.1fr 0.8fr 1fr;
        gap: 30px;
    }
    .footer-refresh .footer-social {
        gap: 9px;
        padding: 14px 12px;
        font-size: 14px;
    }
    .footer-social-arrow {
        display: none;
    }
    .footer-refresh .footer-phone {
        font-size: 25px;
    }
    .footer-refresh .footer-whatsapp {
        gap: 12px;
        font-size: 14px;
    }
}
@media (max-width: 760px) {
    .home-hero .hero-photo-brand {
        border-radius: 18px;
    }
    .hero-photo-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 23px;
        padding: 25px 24px;
    }
    .hero-photo-brand .photo-copy {
        font-size: 34px;
    }
    .hero-photo-brand .photo-cta {
        gap: 12px;
        max-width: 100%;
        padding: 13px 16px;
        border-radius: 12px;
    }
    .hero-photo-brand .photo-orbit {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    .hero-photo-brand .photo-cta > div {
        font-size: 11px;
    }
    .hero-photo-brand .photo-cta strong {
        font-size: 14px;
    }
    .work-carousel .work-slide-artwork figcaption {
        gap: 12px;
        min-height: 82px;
        padding: 17px;
    }
    .work-artwork-number {
        padding: 7px 8px;
        font-size: 11px;
    }
    .work-carousel .work-slide-artwork h3 {
        font-size: 19px;
    }
    .work-artwork-brand {
        display: none;
    }
    .footer-refresh .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 36px 25px;
        padding-top: 40px;
        padding-bottom: 34px;
    }
    .footer-refresh .footer-identity {
        grid-column: 1 / -1;
    }
    .footer-refresh .footer-brand {
        width: 182px;
    }
    .footer-refresh .footer-tagline {
        font-size: 29px;
    }
    .footer-refresh .footer-description {
        font-size: 15px;
    }
    .footer-refresh .footer-navigation,
    .footer-refresh .footer-contact {
        padding-top: 0;
    }
    .footer-refresh .footer-navigation h2,
    .footer-refresh .footer-contact h2 {
        margin-bottom: 16px;
        font-size: 18px;
    }
    .footer-refresh .footer-navigation > a {
        min-height: 40px;
        font-size: 14px;
    }
    .footer-refresh .footer-phone {
        font-size: 23px;
    }
    .footer-refresh .footer-mail {
        font-size: 14px;
    }
    .footer-refresh .footer-contact > p {
        font-size: 13px;
        line-height: 1.7;
    }
    .footer-refresh .footer-whatsapp {
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 18px;
        padding: 11px 12px;
        font-size: 13px;
    }
    .footer-networks-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
    }
    .footer-socials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .footer-refresh .footer-social {
        gap: 11px;
        min-height: 59px;
        padding: 14px 16px;
        font-size: 14px;
    }
    .footer-social:last-child {
        grid-column: 1 / -1;
    }
    .footer-social-arrow {
        display: block;
    }
    .footer-refresh .footer-bottom {
        align-items: flex-start;
        gap: 9px;
        font-size: 11px;
    }
    .footer-refresh .footer-bottom > a {
        margin-top: 8px;
        margin-left: 0;
    }
}
@media (max-width: 380px) {
    .hero-photo-bottom {
        padding: 23px 18px;
    }
    .hero-photo-brand .photo-copy {
        font-size: 31px;
    }
    .hero-photo-brand .photo-cta {
        gap: 9px;
        padding: 12px;
    }
    .hero-photo-brand .photo-cta strong {
        font-size: 12px;
    }
    .work-carousel .work-slide-artwork figcaption {
        padding: 14px;
    }
    .work-carousel .work-slide-artwork h3 {
        font-size: 17px;
    }
    .footer-refresh .footer-main {
        grid-template-columns: minmax(0, 1fr);
    }
    .footer-refresh .footer-navigation {
        grid-column: 1;
    }
    .footer-refresh .footer-social {
        gap: 9px;
        padding: 13px 11px;
        font-size: 13px;
    }
    .footer-social > svg {
        width: 21px;
        height: 21px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .footer-refresh .footer-social {
        transition: none;
    }
}
