:root {
    --color-dark: #09121C;
    --color-red: #F24740;
    --color-mint: #B3ECE6;
    --color-white: #FFFFFF;
    --color-bg-dark: #09111B;
    --color-text-muted: #D9D9D9;
    --color-btn: #EB455D;
    --font-main: "Montserrat", sans-serif;
    --font-alt: "Montserrat Alternates", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--color-dark);
    color: var(--color-white);
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.anchor-target {
    position: relative;
    top: -80px;
    visibility: hidden;
}

.anchor-target--mint {
    top: 0;
    height: 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2400;
    padding: 8px 0 0;
}

.site-header__logo img {
    width: 32px;
    height: 48px;
}

.site-header__actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
}

.site-header__menu-btn,
.site-header__search {
    color: var(--color-white) !important;
    font-size: 1.5rem;
    padding: 4px 7px;
    line-height: 1;
    text-decoration: none;
    border: none;
}

.site-header__menu-btn:hover,
.site-header__search:hover {
    color: var(--color-red) !important;
}

.site-header__hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 28px;
    height: 22px;
    vertical-align: middle;
}

.site-header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 1px;
}

/* Search overlay */
.site-search {
    position: fixed;
    inset: 0;
    z-index: 2700;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
}

.site-search.is-open {
    display: flex;
}

.site-search[hidden] {
    display: none !important;
}

body.site-search-open {
    overflow: hidden;
}

.site-search__top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0.85rem 1.25rem 0;
}

.site-search__top-icon {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.35rem;
    line-height: 1;
    padding: 0.35rem 0.5rem;
    pointer-events: none;
}

.site-search__close {
    position: relative;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    padding: 0;
}

.site-search__close-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    margin: -1px 0 0 -11px;
    background: var(--color-white);
    border-radius: 1px;
}

.site-search__close-lines::before,
.site-search__close-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    border-radius: 1px;
}

.site-search__close-lines::before {
    top: -7px;
}

.site-search__close-lines::after {
    top: 7px;
}

.site-search__close-x {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    font-weight: 300;
    line-height: 1;
}

.site-search__body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem 3rem;
}

.site-search__form {
    position: relative;
    width: min(92vw, 760px);
}

.site-search__input {
    width: 100%;
    padding: 1.05rem 3.25rem 1.05rem 1.75rem;
    border: 1px solid var(--color-white);
    border-radius: 999px;
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    outline: none;
}

.site-search__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.site-search__input:focus {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.site-search__field-icon {
    position: absolute;
    right: 1.35rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-white);
    font-size: 1.15rem;
    pointer-events: none;
}

/* Offcanvas menu */
.site-menu {
    z-index: 2600 !important;
    top: 0 !important;
    height: 100vh !important;
    max-height: 100vh;
    background-color: var(--color-white);
    border: none;
    box-shadow: none;
    width: 100% !important;
    max-width: 420px;
}

.site-menu.show ~ .offcanvas-backdrop,
.offcanvas-backdrop {
    z-index: 2550 !important;
}

@media (max-width: 500px) {
    .site-menu {
        max-width: 100%;
    }
}

.site-menu .offcanvas-header {
    background: var(--color-white);
    border: none;
    padding: 1.5rem 1.75rem 0.75rem;
    justify-content: flex-end;
}

.site-menu .offcanvas-body {
    background: var(--color-white);
    padding: 0;
}

.site-menu__close {
    border: none;
    background: transparent;
    color: var(--color-red);
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.site-menu__close:hover {
    opacity: 0.75;
}

.site-menu__list {
    padding: 0.5rem 0 2rem;
}

.site-menu__link,
.site-menu__sublink {
    display: block;
    padding: 0.85rem 2.125rem;
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-dark);
    transition: color 0.2s;
}

.site-menu__link:hover,
.site-menu__link.active,
.site-menu__sublink:hover,
.site-menu__sublink.active {
    color: var(--color-red);
}

.site-menu__sub {
    padding: 0 0 0.35rem;
}

.site-menu__sublink {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 2.125rem 0.5rem 2.75rem;
}

/* Hero */
.hero-video {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: url('/assets/2024/11/1frame.jpg') center / cover no-repeat;
}

.hero-video__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Somos */
.section-somos {
    position: relative;
    padding: 5rem 0;
    background: var(--color-dark);
    overflow: hidden;
}

.section-somos__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.section-somos__overlay {
    position: absolute;
    inset: 0;
    background: var(--color-dark);
    opacity: 0.3;
    z-index: 1;
}

.section-somos .container-fluid {
    position: relative;
    z-index: 2;
}

.somos-title-img {
    width: 50%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4rem;
}

.somos-content {
    padding: 4rem;
}

.somos-logo {
    max-width: 100%;
    margin: 0 auto 2rem;
}

.somos-text {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 105%;
}

.somos-text p:last-child {
    margin-bottom: 0;
}

/* Elevator */
.section-elevator {
    background: var(--color-bg-dark);
    padding: 2rem 0 0;
}

.elevator-video video {
    width: 100%;
    border-radius: 0;
}

.elevator-content {
    padding: 1rem;
}

.elevator-logo {
    width: 51%;
    margin: 0 auto;
    border-radius: 0 0 0 5px;
}

.elevator-text {
    font-weight: 200;
    text-align: center;
    color: var(--color-white);
    margin-top: -2.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.elevator-cta {
    width: 35%;
    margin: 0 auto;
}

.section-divider {
    border: 0;
    border-top: 1px solid #000;
    margin: 15px 0;
    opacity: 1;
}

/* Hacemos intro */
.section-hacemos-intro {
    position: relative;
    overflow: visible;
    background-color: var(--color-mint);
    scroll-margin-top: 4.5rem;
}

.hacemos-stage {
    position: relative;
    z-index: 1;
    min-height: 75vh;
    background-color: var(--color-mint);
    background-image: url("../assets/2021/11/Cabra-verde.png");
    background-position: 31vw 46px;
    background-repeat: no-repeat;
    background-size: cover;
}

.hacemos-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-mint);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.hacemos-stage__media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hacemos-stage__photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 75vh;
    object-fit: fill;
    object-position: center top;
}

.hacemos-stage__content {
    position: relative;
    z-index: 2;
    padding: calc(5rem + 72px) 15px 2.5rem;
    min-height: 75vh;
    box-sizing: border-box;
}

.hacemos-bridge {
    position: relative;
    z-index: 20;
    line-height: 0;
    margin-top: -2px;
    margin-bottom: calc(-1 * clamp(18px, 2.8vw, 42px));
    pointer-events: none;
}

.hacemos-bridge__arrow {
    display: block;
    width: 100%;
    height: auto;
}

.hacemos-title-img {
    width: 40%;
    max-width: 326px;
}

.hacemos-subtitle {
    color: var(--color-dark);
    font-weight: 400;
    margin-bottom: 30px;
}

.hacemos-desc {
    text-align: justify;
    color: var(--color-dark);
    font-size: 13px;
    margin: 0 8px;
}

/* Services */
.section-services {
    position: relative;
    z-index: 10;
    background: var(--color-dark);
    padding: 0 0 2rem;
    margin-top: 0;
}

.section-services > .container {
    padding-top: clamp(2.5rem, 4.5vw, 4rem);
}

.service-card {
    padding-bottom: 3rem;
}

.service-card__video {
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: #000;
}

.service-card__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__title {
    color: var(--color-mint);
    font-family: var(--font-alt);
    font-size: 20px;
    font-weight: 600;
    margin: 12px 0 16px;
    text-align: center;
}

.service-card__text {
    color: var(--color-white);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
    width: 71%;
    text-align: center;
}

.service-card__spacer {
    height: 30px;
}

.btn-galopante {
    background: var(--color-btn);
    color: var(--color-white);
    border: none;
    border-radius: 0;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    text-transform: uppercase;
}

.btn-galopante:hover {
    background: var(--color-red);
    color: var(--color-white);
}

.service-card__btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

/* Estamos */
.section-estamos {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--color-mint);
    background-image: url('/assets/2021/11/Cabra-verde.png');
    background-position: 30vw -55px;
    background-repeat: no-repeat;
    background-size: 68vw auto;
    position: relative;
}

.section-estamos::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-mint);
    opacity: 0.5;
    pointer-events: none;
}

.section-estamos .container-fluid {
    position: relative;
    z-index: 1;
}

.estamos-content {
    padding: 4rem;
    color: var(--color-dark);
    font-weight: 400;
    line-height: 1.7;
}

.estamos-title-img {
    width: 50%;
    margin: 0 auto;
}

/* Gallery */
.section-gallery {
    background: var(--color-dark);
}

.gallery-swiper {
    width: 100%;
    height: 100vh;
    position: relative;
}

.gallery-swiper .swiper-slide {
    transition: flex-basis 0.5s ease-in;
    overflow: hidden;
}

.gallery-slide-inner {
    height: 100vh;
}

.gallery-slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
}

.gallery-nav--prev { left: 12px; }
.gallery-nav--next { right: 12px; }

/* Footer */
.site-footer {
    background: var(--color-white);
    color: var(--color-dark);
}

.footer-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-box__icon {
    font-size: 21px;
    color: var(--color-dark);
    padding-top: 2px;
}

.footer-box__title {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    color: var(--color-dark);
}

.footer-box a {
    color: var(--color-dark);
}

.footer-box a:hover {
    color: var(--color-red);
}

#ctn-footer a {
    color: #05041C !important;
}

#ctn-footer a:hover {
    color: var(--color-red) !important;
}

.footer-logo img {
    width: 100%;
    max-width: 99%;
}

.site-footer__legal {
    background: var(--color-dark);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 300;
    padding: 1px;
}

/* Social fixed */
.social-fixed {
    position: fixed;
    left: 2.91vw;
    bottom: 4vh;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.social-fixed a {
    width: calc(30px + 1em);
    height: calc(30px + 1em);
    border-radius: 50%;
    background: var(--color-dark);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: opacity 0.2s, transform 0.2s;
}

.social-fixed a:hover {
    opacity: 0.9;
    transform: scale(0.95);
    color: var(--color-white);
}

.social-fixed__whatsapp {
    background: #25d366 !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .section-somos {
        padding: 0 1rem;
    }

    .somos-content {
        padding: 2rem;
    }

    .somos-title-img {
        width: 60%;
        padding-left: 0;
    }

    .section-estamos {
        background-position: 31vw 46px;
    }

    .estamos-content {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .somos-title-img {
        width: 64%;
        margin-top: 8rem;
        padding-left: 0;
    }

    .somos-content {
        padding: 1rem;
        margin-bottom: 5rem;
    }

    .elevator-cta {
        width: 50%;
    }

    .hacemos-stage {
        min-height: 55vh;
        background-position: 0 0;
    }

    .hacemos-stage__photo {
        min-height: 55vh;
    }

    .hacemos-stage__content {
        padding: calc(4.5rem + 20px) 15px 1.5rem;
        min-height: 55vh;
    }

    .hacemos-bridge {
        margin-bottom: calc(-1 * clamp(12px, 4vw, 28px));
    }

    .hacemos-title-img {
        width: 40%;
        max-width: 200px;
    }

    .section-services > .container {
        padding-top: 2rem;
    }

    .section-estamos {
        background-position: 0 0;
        background-size: 100vw auto;
    }

    .estamos-content {
        margin: 1rem 0 5rem;
        padding: 1rem;
    }

    .estamos-title-img {
        margin-top: 4rem;
    }

    .social-fixed {
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: row;
        justify-content: center;
        padding: 0.5rem;
        background: rgba(9, 18, 28, 0.85);
    }

    .social-fixed a {
        font-size: 22px;
        width: calc(22px + 1em);
        height: calc(22px + 1em);
    }

    .footer-logo img {
        width: 80%;
    }
}

@media (min-width: 768px) {
    .hacemos-title-img {
        width: 40%;
    }
}

/* Contact page */
.page-contact main {
    padding-top: 0;
}

.contact-page {
    min-height: 100vh;
}

.contact-page__grid {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    align-items: stretch;
}

.contact-page__visual {
    flex: 0 0 50%;
    max-width: 50%;
    min-height: 100vh;
    background-color: var(--color-red);
    background-image: url("../assets/2021/11/cabra-1.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact-page__form-col {
    flex: 0 0 50%;
    max-width: 50%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-dark);
    padding: 4rem;
}

.contact-form {
    width: 100%;
    font-family: var(--font-main);
}

.contact-form__field {
    margin: 0 0 20px;
}

.contact-form__label {
    display: block;
    color: var(--color-white);
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.contact-form__input,
.contact-form__textarea {
    display: block;
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    background: var(--color-white);
    color: var(--color-dark);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: var(--color-red);
}

.contact-form__input.is-invalid,
.contact-form__textarea.is-invalid {
    border-color: #dc3232;
}

.contact-form__error {
    display: block;
    margin-top: 0.35rem;
    color: #dc3232;
    font-size: 0.9rem;
}

.contact-form__submit-wrap {
    margin: 0;
    text-align: center;
}

.contact-form__submit {
    display: inline-block;
    width: 50%;
    padding: 0.75rem 1.5rem;
    border: none;
    background-color: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-form__submit:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.contact-thanks-modal__content {
    background-color: var(--color-dark);
    border: none;
    border-radius: 0;
}

.contact-thanks-modal__title {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .contact-page__form-col {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .contact-page__grid {
        flex-direction: column-reverse;
    }

    .contact-page__visual,
    .contact-page__form-col {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: 50vh;
    }

    .contact-page__visual {
        min-height: 40vh;
    }
}

/* Fotografía */
.page-fotografia main {
    padding-top: 0;
}

.foto-hero,
.foto-gallery-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.foto-gallery-hero {
    background-color: var(--color-dark);
}

.foto-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
    z-index: 0;
    display: block;
}

.foto-gallery-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    filter: brightness(1.08) contrast(1.04);
}

.foto-gallery-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(9, 18, 28, 0.72) 0%,
        rgba(9, 18, 28, 0.45) 42%,
        rgba(9, 18, 28, 0.18) 100%
    );
    pointer-events: none;
}

.foto-hero__content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5rem 2rem 2rem;
}

.foto-hero__left {
    flex: 0 0 auto;
}

.foto-hero__title-img {
    width: 27vw;
    max-width: 447px;
    min-width: 160px;
    height: auto;
    margin-left: 2rem;
    display: block;
}

.foto-hero__right {
    flex: 1 1 auto;
    text-align: right;
    align-self: flex-end;
    padding-bottom: 8vh;
}

.foto-hero__brand {
    width: 20vw;
    max-width: 527px;
    min-width: 200px;
    height: auto;
    margin-right: 1.875rem;
    display: inline-block;
}

.foto-preview {
    position: relative;
    background: var(--color-white);
}

.foto-preview__carousel-wrap {
    position: relative;
}

.foto-preview-swiper {
    width: 100%;
}

.foto-preview-swiper .swiper-slide {
    height: auto;
}

.foto-preview__slide {
    margin: 0;
    height: 70vh;
    min-height: 420px;
    overflow: hidden;
}

.foto-preview__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.foto-preview__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    background: rgba(9, 18, 28, 0.55);
    color: var(--color-white);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
}

.foto-preview__nav--prev { left: 0; }
.foto-preview__nav--next { right: 0; }

.foto-preview__cta-wrap {
    position: relative;
    z-index: 255;
    text-align: center;
    margin-top: -10rem;
    padding-bottom: 2rem;
}

.foto-preview__cta {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    background: rgba(5, 4, 28, 0.61);
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.foto-preview__cta:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

.foto-hacemos__text-col {
    background: var(--color-mint);
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.foto-hacemos__inner {
    padding: 4rem;
    color: var(--color-dark);
}

.foto-hacemos__title-img {
    max-width: 347px;
    width: 80%;
    margin-bottom: 1.5rem;
}

.foto-hacemos__copy {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.foto-hacemos__visual {
    min-height: 50vh;
    background-color: var(--color-red);
    background-image: url("../assets/2021/12/cabra-roja.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.foto-hacemos__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(242, 71, 64, 0.7);
}

.foto-gallery-hero__content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 2rem 4rem;
}

.foto-gallery-hero__title-img {
    width: 30vw;
    max-width: 400px;
    min-width: 160px;
    height: auto;
    display: block;
}

.foto-gallery-grid-section {
    background: var(--color-white);
    padding: 2px;
}

.photo-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2px;
    grid-auto-rows: minmax(80px, 10vw);
}

.photo-masonry__item {
    grid-column: span var(--gw);
    grid-row: span var(--gh);
    display: block;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

.photo-masonry__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.photo-masonry__item:hover img {
    transform: scale(1.03);
}

.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(30, 30, 30, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-lightbox[hidden] {
    display: none !important;
}

.photo-lightbox__figure {
    margin: 0;
    max-width: 92vw;
    max-height: 90vh;
}

.photo-lightbox__img {
    max-width: 92vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.photo-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    border: none;
    background: transparent;
    color: var(--color-white);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
}

.photo-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    cursor: pointer;
}

.photo-lightbox__nav--prev { left: 1rem; }
.photo-lightbox__nav--next { right: 1rem; }

@media (max-width: 1024px) {
    .foto-hacemos__inner {
        padding: 2rem;
    }

    .foto-gallery-hero__title-img {
        width: 40vw;
    }
}

@media (max-width: 767px) {
    .foto-hero__content {
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1rem 2rem;
    }

    .foto-hero__title-img {
        width: 55vw;
        margin-left: 0;
    }

    .foto-hero__brand {
        width: 60vw;
        margin: 1rem 0 0;
    }

    .foto-preview__slide {
        min-height: 320px;
        height: 55vh;
    }

    .foto-preview__cta {
        font-size: 1.25rem;
        padding: 0.7rem 1.75rem;
    }

    .foto-preview__cta-wrap {
        margin-top: -5rem;
    }

    .foto-hacemos__inner {
        padding: 1rem;
    }

    .foto-gallery-hero__content {
        justify-content: center;
        padding: 5rem 1rem 2rem;
    }

    .foto-gallery-hero__title-img {
        width: 80vw;
        max-width: 100%;
        margin: 0 auto;
    }

    .photo-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .photo-masonry__item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 3 / 4;
    }
}

/* Audiovisual */
.page-audiovisual main {
    padding-top: 0;
}

.av-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.av-hero__bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.av-hero__bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.av-hero__content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5rem 2rem 2rem;
}

.av-hero__left {
    flex: 0 0 auto;
}

.av-hero__title-img {
    width: 30%;
    max-width: 478px;
    min-width: 160px;
    height: auto;
    margin-left: 4rem;
    display: block;
}

.av-hero__right {
    flex: 1 1 auto;
    text-align: right;
    align-self: flex-end;
    padding-bottom: 8vh;
}

.av-hero__brand {
    width: 27%;
    max-width: 527px;
    min-width: 200px;
    height: auto;
    margin-right: 1.875rem;
    display: inline-block;
}

.av-grid-section {
    background: var(--color-white);
}

.av-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    grid-auto-rows: minmax(80px, 10vw);
}

.av-masonry__item {
    grid-column: span var(--gw);
    grid-row: span var(--gh);
    display: block;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

.av-masonry__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.av-masonry__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 30px;
    height: 30px;
    pointer-events: none;
}

.av-masonry__play svg {
    width: 100%;
    height: 100%;
    display: block;
}

.av-hacemos__text-col {
    background: var(--color-mint);
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.av-hacemos__inner {
    padding: 4rem;
    color: var(--color-dark);
}

.av-hacemos__title-img {
    max-width: 347px;
    width: 45%;
    margin-bottom: 1.5rem;
}

.av-hacemos__copy p {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.av-hacemos__copy p:last-child {
    margin-bottom: 0;
}

.av-hacemos__visual {
    min-height: 50vh;
    background-color: var(--color-red);
    background-image: url("../assets/2024/08/pie-audiovisual.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.av-hacemos__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(242, 71, 64, 0.7);
}

.av-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(30, 30, 30, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.av-lightbox[hidden] {
    display: none !important;
}

.av-lightbox__stage {
    width: min(90vw, 1200px);
    max-height: 85vh;
}

.av-lightbox__stage iframe,
.av-lightbox__stage video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
    background: #000;
}

.av-lightbox__stage img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    margin: 0 auto;
}

.av-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 10;
    border: none;
    background: transparent;
    color: var(--color-white);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.av-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    background: rgba(9, 18, 28, 0.55);
    color: var(--color-white);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
}

.av-lightbox__nav--prev { left: 1rem; }
.av-lightbox__nav--next { right: 1rem; }

@media (max-width: 1024px) {
    .av-hacemos__inner {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .av-hero__bg {
        object-position: center center;
    }

    .av-hero__content {
        flex-direction: column;
        justify-content: center;
        padding: 5rem 1rem 2rem;
    }

    .av-hero__title-img {
        width: 80%;
        margin: 0 auto;
    }

    .av-hacemos__inner {
        padding: 1rem;
    }

    .av-masonry {
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto;
    }

    .av-masonry__item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 16 / 9;
    }
}

/* Marketing */
.page-marketing main {
    padding-top: 0;
}

.mkt-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.mkt-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    z-index: 0;
    display: block;
}

.mkt-hero__container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.mkt-hero__title-img {
    width: min(80%, 30vw);
    max-width: 572px;
    min-width: 160px;
    height: auto;
    margin-left: clamp(0rem, 4vw, 4rem);
}

.mkt-hero__brand {
    width: min(60%, 22vw);
    max-width: 527px;
    min-width: 180px;
    height: auto;
    margin-right: clamp(0rem, 2vw, 1.875rem);
    display: block;
}

.mkt-services {
    background: var(--color-dark);
    padding-bottom: 2rem;
    overflow: hidden;
}

.mkt-services__intro-row {
    margin-top: 10px;
    margin-bottom: 20px;
}

.mkt-services h2.mkt-services__intro-title {
    margin: 0;
    color: #FFFFFF;
    font-family: var(--font-alt);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

.mkt-services__row {
    position: relative;
}

.mkt-services__row + .mkt-services__row {
    margin-top: 2rem;
}

.mkt-service-block {
    padding: 0 0.5rem;
}

.mkt-service-block__video-wrap {
    width: 80%;
    max-width: 16rem;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
}

.mkt-service-block__video {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}

.mkt-services h2.mkt-service-block__title {
    width: 100%;
    max-width: 20rem;
    margin: 12px auto 16px;
    color: #B3ECE6;
    font-family: var(--font-alt);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.mkt-services ul.mkt-service-block__list {
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
    padding-left: 1.25rem;
    list-style: disc;
    text-align: left;
    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.65;
}

.mkt-services .mkt-service-block--center ul.mkt-service-block__list {
    padding-left: 0;
    text-align: center;
    list-style-position: inside;
}

.mkt-services ul.mkt-service-block__list li {
    margin-bottom: 0.35rem;
    font-size: 12px;
    font-weight: 300;
    color: #FFFFFF;
}

.mkt-services ul.mkt-service-block__list li::marker {
    color: #FFFFFF;
}

.mkt-elevator {
    background: var(--color-dark);
    padding: 1rem 0 3.5rem;
}

.mkt-elevator__logo {
    width: min(65%, 20rem);
    height: auto;
    display: block;
}

.mkt-elevator__text {
    margin: -2.5rem 0 0.75rem;
    font-weight: 200;
    text-align: center;
    color: var(--color-white);
    line-height: 1.6;
    font-size: 1rem;
}

.mkt-elevator__text strong {
    font-weight: 700;
}

.mkt-elevator__cta {
    width: min(50%, 18rem);
    height: auto;
    display: block;
}

@media (min-width: 992px) {
    .page-marketing .container-xl {
        padding-left: max(2rem, calc(2.91vw + 5rem));
        padding-right: 1.5rem;
    }

    .mkt-hero__container {
        padding-left: max(1rem, calc(2.91vw + 3rem));
        padding-right: 1.5rem;
    }

    .mkt-services__row--center {
        margin-top: -5rem;
        z-index: 2;
    }

    .mkt-services__row--bottom {
        margin-top: -4rem;
    }
}

@media (min-width: 1200px) {
    .mkt-services__row--center {
        margin-top: -7rem;
    }

    .mkt-services__row--bottom {
        margin-top: -6rem;
    }
}

@media (max-width: 767px) {
    .mkt-services h2.mkt-services__intro-title {
        font-size: 18px;
    }

    .mkt-services h2.mkt-service-block__title {
        font-size: 18px;
    }

    .mkt-services ul.mkt-service-block__list,
    .mkt-services ul.mkt-service-block__list li {
        font-size: 11px;
    }

    .mkt-hero__bg {
        object-position: center center;
    }

    .mkt-hero__container {
        padding-top: 4.5rem;
    }

    .mkt-hero__title-img {
        width: 80%;
        margin: 0 auto;
        display: block;
    }

    .mkt-services__row + .mkt-services__row {
        margin-top: 0;
    }

    .mkt-services__row--center,
    .mkt-services__row--bottom {
        margin-top: 0;
    }

    .mkt-elevator__text {
        margin-top: -1.25rem;
        font-size: 0.95rem;
    }
}

/* Diseño gráfico */
.page-diseno main {
    padding-top: 0;
}

.dsg-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.dsg-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 0;
    display: block;
    pointer-events: none;
}

.dsg-hero__content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5rem 2rem 2rem;
    box-sizing: border-box;
}

.dsg-hero__left {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

.dsg-hero__title-img {
    width: min(22vw, 389px);
    min-width: 160px;
    height: auto;
    margin-left: 2rem;
    display: block;
}

.dsg-hero__right {
    flex: 1 1 auto;
    text-align: right;
    align-self: flex-end;
    padding-bottom: 8vh;
}

.dsg-hero__brand {
    width: min(20vw, 527px);
    min-width: 180px;
    height: auto;
    margin-right: 1.875rem;
    display: inline-block;
}

.dsg-preview {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: var(--color-white);
}

.dsg-preview__carousel-wrap {
    position: relative;
    height: 100%;
}

.dsg-preview-swiper {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.dsg-preview-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.dsg-preview-swiper .swiper-slide {
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    transition: width 0.5s ease-in;
    overflow: hidden;
}

.dsg-preview-swiper .swiper-slide:hover {
    width: 50% !important;
}

.dsg-preview__slide {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dsg-preview__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.dsg-preview__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    background: rgba(9, 18, 28, 0.55);
    color: var(--color-white);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
}

.dsg-preview__nav--prev { left: 0; }
.dsg-preview__nav--next { right: 0; }

.dsg-preview__cta-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2rem;
    z-index: 15;
    text-align: center;
    pointer-events: none;
}

.dsg-preview__cta-wrap .dsg-preview__cta {
    pointer-events: auto;
}

.dsg-preview__cta {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    background: rgba(5, 4, 28, 0.61);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dsg-preview__cta:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

.dsg-hacemos {
    min-height: 100vh;
}

.dsg-hacemos > .row {
    min-height: 100vh;
}

.dsg-hacemos__text-col {
    background: var(--color-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.dsg-hacemos__inner {
    padding: 4rem;
}

.dsg-hacemos__title-img {
    width: 45%;
    max-width: 347px;
    margin-bottom: 4rem;
    display: block;
}

.dsg-hacemos__copy {
    margin: 0;
    color: var(--color-mint);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
}

.dsg-hacemos__visual {
    min-height: 100vh;
    background-color: var(--color-mint);
    background-image: url("../assets/2021/11/Cabra-verde.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.dsg-hacemos__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-mint);
    opacity: 0.2;
    pointer-events: none;
}

.dsg-gallery-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #E6E7E9;
}

.dsg-gallery-hero__bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    pointer-events: none;
}

.dsg-gallery-hero__bg {
    display: block;
    height: 100%;
    width: auto;
    max-width: 72%;
    object-fit: contain;
    object-position: right center;
}

.dsg-gallery-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        #E6E7E9 0%,
        #E6E7E9 20%,
        rgba(230, 231, 233, 0.94) 32%,
        rgba(230, 231, 233, 0.72) 42%,
        rgba(230, 231, 233, 0.38) 54%,
        rgba(230, 231, 233, 0.12) 66%,
        rgba(230, 231, 233, 0) 78%
    );
    pointer-events: none;
}

.dsg-gallery-hero__content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 7rem 4rem;
}

.dsg-gallery-hero__title-img {
    width: 30%;
    max-width: 881px;
    min-width: 160px;
    height: auto;
    display: block;
    margin-left: 0;
}

.page-diseno-gallery .social-fixed {
    z-index: 3;
}

.dsg-gallery-grid-section {
    background: var(--color-white);
    padding: 2px;
}

.dsg-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2px;
    grid-auto-rows: minmax(80px, 10vw);
}

.dsg-masonry__item {
    grid-column: span var(--gw);
    grid-row: span var(--gh);
    display: block;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}

.dsg-masonry__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.dsg-masonry__item:hover img {
    transform: scale(1.03);
}

.dsg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(30, 30, 30, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dsg-lightbox[hidden] {
    display: none !important;
}

.dsg-lightbox__figure {
    margin: 0;
    max-width: 92vw;
    max-height: 90vh;
}

.dsg-lightbox__img {
    max-width: 92vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.dsg-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    border: none;
    background: transparent;
    color: var(--color-white);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
}

.dsg-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.dsg-lightbox__nav--prev { left: 1rem; }
.dsg-lightbox__nav--next { right: 1rem; }

@media (max-width: 1024px) {
    .dsg-hero__title-img {
        width: min(32vw, 389px);
    }

    .dsg-gallery-hero__title-img {
        width: 40%;
    }
}

@media (max-width: 767px) {
    .dsg-hero__bg {
        object-position: center left;
    }

    .dsg-hero__content {
        padding: 4.5rem 1rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .dsg-hero__title-img {
        width: min(54vw, 320px);
        margin: 0 0 0 1rem;
    }

    .dsg-hero__right {
        align-self: flex-end;
        padding-bottom: 4vh;
        padding-right: 1rem;
    }

    .dsg-hero__brand {
        margin-right: 0;
    }

    .dsg-preview-swiper .swiper-slide:hover {
        width: 70% !important;
    }

    .dsg-preview__cta-wrap {
        bottom: 1.5rem;
    }

    .dsg-hacemos__inner {
        padding: 2rem 1rem;
    }

    .dsg-hacemos__title-img {
        width: 70%;
        margin-bottom: 2rem;
    }

    .dsg-preview__cta {
        font-size: 1.5rem;
    }


    .dsg-gallery-hero__bg-wrap {
        justify-content: center;
        align-items: stretch;
    }

    .dsg-gallery-hero__bg {
        width: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center left;
    }

    .dsg-gallery-hero__overlay {
        background: linear-gradient(
            to bottom,
            rgba(230, 231, 233, 0.88) 0%,
            rgba(230, 231, 233, 0.55) 35%,
            rgba(230, 231, 233, 0.2) 65%,
            rgba(230, 231, 233, 0) 100%
        );
    }

    .dsg-gallery-hero__content {
        justify-content: center;
        padding: 5rem 1rem 7rem;
    }

    .dsg-gallery-hero__title-img {
        width: 80%;
        max-width: 54%;
        margin: 0 auto;
    }

    .dsg-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .dsg-masonry__item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 3 / 4;
    }
}

/* Gestión de redes */
.page-redes main {
    padding-top: 0;
}

.red-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.red-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    z-index: 0;
    display: block;
    pointer-events: none;
}

.red-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: #F24740;
    opacity: 0.8;
    pointer-events: none;
}

.red-hero__content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5rem 2rem 2rem;
    box-sizing: border-box;
}

.red-hero__left {
    flex: 0 0 auto;
}

.red-hero__title-img {
    width: 18%;
    max-width: 325px;
    min-width: 140px;
    height: auto;
    margin-left: 4rem;
    display: block;
}

.red-hero__right {
    flex: 1 1 auto;
    text-align: right;
    align-self: flex-end;
    padding-bottom: 8vh;
}

.red-hero__brand {
    width: 22%;
    max-width: 527px;
    min-width: 180px;
    height: auto;
    margin: -50px 30px 0 0;
    display: inline-block;
}

.red-preview {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    background: var(--color-white);
}

.red-preview__carousel-wrap {
    position: relative;
    height: 100%;
}

.red-preview-swiper {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.red-preview-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.red-preview-swiper .swiper-slide {
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    transition: width 0.5s ease-in;
    overflow: hidden;
}

.red-preview-swiper .swiper-slide:hover {
    width: 50% !important;
}

.red-preview__slide {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.red-preview__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.red-preview__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    background: rgba(9, 18, 28, 0.55);
    color: var(--color-white);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
}

.red-preview__nav--prev { left: 0; }
.red-preview__nav--next { right: 0; }

.red-preview__cta-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2rem;
    z-index: 15;
    text-align: center;
    pointer-events: none;
}

.red-preview__cta-wrap .red-preview__cta {
    pointer-events: auto;
}

.red-preview__cta {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    background: rgba(5, 4, 28, 0.61);
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

.red-preview__cta:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

.red-hacemos {
    min-height: 100vh;
}

.red-hacemos > .row {
    min-height: 100vh;
}

.red-hacemos__text-col {
    background: var(--color-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.red-hacemos__inner {
    padding: 4rem;
}

.red-hacemos__title-img {
    width: 45%;
    max-width: 347px;
    margin-bottom: 4rem;
    display: block;
}

.red-hacemos__copy {
    margin: 0;
    color: var(--color-mint);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
}

.red-hacemos__visual {
    min-height: 100vh;
    background-color: var(--color-mint);
    background-image: url("../assets/2021/11/Cabra-verde.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.red-hacemos__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-mint);
    opacity: 0.2;
    pointer-events: none;
}

.red-gallery-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.red-gallery-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
    z-index: 0;
    display: block;
    pointer-events: none;
}

.red-gallery-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: #F24740;
    opacity: 0.8;
    pointer-events: none;
}

.red-gallery-hero__content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 7rem 4rem;
}

.red-gallery-hero__title-img {
    width: 18%;
    max-width: 325px;
    min-width: 140px;
    height: auto;
    margin-left: 4rem;
    display: block;
}

.page-redes-gallery .social-fixed {
    z-index: 3;
}

.red-gallery-grid-section {
    background: var(--color-white);
    padding: 2px;
}

.red-masonry {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2px;
    grid-auto-rows: minmax(80px, 10vw);
}

.red-masonry__item {
    grid-column: span var(--gw);
    grid-row: span var(--gh);
    display: block;
    overflow: hidden;
    background: var(--color-dark);
}

.red-masonry__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.red-masonry__item:hover img {
    transform: scale(1.03);
}

.red-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(9, 18, 28, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-lightbox[hidden] {
    display: none !important;
}

.red-lightbox__figure {
    margin: 0;
    max-width: 92vw;
    max-height: 90vh;
}

.red-lightbox__img {
    max-width: 92vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
}

.red-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    border: none;
    background: transparent;
    color: var(--color-white);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
}

.red-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.red-lightbox__nav--prev { left: 1rem; }
.red-lightbox__nav--next { right: 1rem; }

@media (max-width: 1024px) {
    .red-hero__title-img,
    .red-gallery-hero__title-img {
        width: min(32vw, 325px);
    }
}

@media (max-width: 767px) {
    .red-hero__bg,
    .red-gallery-hero__bg {
        object-position: center left;
    }

    .red-hero__content {
        padding: 4.5rem 1rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .red-hero__title-img {
        width: min(54vw, 280px);
        margin-left: 1rem;
    }

    .red-hero__right {
        align-self: flex-end;
        padding-bottom: 4vh;
        padding-right: 1rem;
    }

    .red-hero__brand {
        width: min(60vw, 320px);
        margin: 0;
    }

    .red-preview-swiper .swiper-slide:hover {
        width: 70% !important;
    }

    .red-preview__cta-wrap {
        bottom: 1.5rem;
    }

    .red-preview__cta {
        font-size: 1.5rem;
    }

    .red-hacemos__inner {
        padding: 2rem 1rem;
    }

    .red-hacemos__title-img {
        width: 70%;
        margin-bottom: 2rem;
    }

    .red-gallery-hero__content {
        justify-content: center;
        padding: 5rem 1rem 7rem;
    }

    .red-gallery-hero__title-img {
        width: min(54vw, 280px);
        margin: 0 auto;
    }

    .red-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .red-masonry__item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 3 / 4;
    }
}

/* Streaming */
.page-streaming main {
    padding-top: 0;
}

.str-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #42414A;
}

.str-hero__bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}

.str-hero__bg {
    display: block;
    width: auto;
    max-width: none;
    height: 100%;
    min-height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.str-hero__content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5rem 2rem 2rem;
    box-sizing: border-box;
}

.str-hero__left {
    flex: 0 0 auto;
}

.str-hero__title-img {
    width: 31%;
    max-width: 574px;
    min-width: 160px;
    height: auto;
    margin-left: 4rem;
    display: block;
}

.str-hero__right {
    flex: 1 1 auto;
    text-align: right;
    align-self: flex-end;
    padding-bottom: 8vh;
}

.str-hero__brand {
    width: 20%;
    max-width: 527px;
    min-width: 180px;
    height: auto;
    margin: -50px 30px 0 0;
    display: inline-block;
}

.str-showcase {
    width: 100%;
    overflow: hidden;
    background: var(--color-white);
    line-height: 0;
}

.str-showcase__img {
    display: block;
    width: 100%;
    height: auto;
}

.str-hacemos {
    min-height: 100vh;
}

.str-hacemos > .row {
    min-height: 100vh;
}

.str-hacemos__text-col {
    background: var(--color-red);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.str-hacemos__inner {
    padding: 4rem;
}

.str-hacemos__title-img {
    width: 45%;
    max-width: 347px;
    margin-bottom: 5rem;
    display: block;
}

.str-hacemos__copy p {
    margin: 0 0 1rem;
    color: var(--color-dark);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
}

.str-hacemos__copy p:last-child {
    margin-bottom: 0;
}

.str-hacemos__visual {
    min-height: 100vh;
    background-color: var(--color-mint);
    background-image: url("../assets/2024/08/streaming/pie-audiovisual-1.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 1024px) {
    .str-hero__title-img {
        width: 40%;
    }
}

@media (max-width: 767px) {
    .str-hero__bg-wrap {
        justify-content: flex-start;
    }

    .str-hero__bg {
        width: auto;
        height: 100%;
        object-position: -32vw 21px;
        object-fit: cover;
    }

    .str-hero__content {
        padding: 4.5rem 1rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .str-hero__title-img {
        width: 80%;
        max-width: 80%;
        margin-left: 2rem;
    }

    .str-hero__right {
        align-self: flex-end;
        padding-bottom: 4vh;
        padding-right: 1rem;
    }

    .str-hero__brand {
        width: 60vw;
        margin: 0;
    }

    .str-hacemos__inner {
        padding: 2rem 1rem;
    }

    .str-hacemos__title-img {
        width: 60%;
        margin-bottom: 2rem;
    }
}
