/* ==========================================================================
   DEFINICIONES GLOBALES
   ========================================================================== */

/* ===================================================
   OXIGENA VIAJES - CENTRAL STYLESHEET (styles.css)
   Clean, Optimized, No Duplicates
=================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    overflow-x: hidden;
    background-color: #ffffff;
    color: var(--navy);
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(92%, 1400px);
    margin: auto;
}

/* ======================
   HERO (SHARED)
====================== */
.hero {
    position: relative;
    height: 494px;
    overflow: hidden;
}

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

.overlay,
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.25));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    color: #ffffff;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.45);
    font-family: var(--font-main);
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

/* ======================
   NOSOTROS: ABOUT
====================== */
.about {
    background: #ececec;
    padding: 110px 0;
    display: flex;
    justify-content: center;
}

.about-container {
    display: flex;
    gap: 60px;
    align-items: center;
    width: min(92%, 1400px);
    margin: auto;
}

.about-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.about-logo {
    width: 320px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 750px;
}

.about-title-desktop {
    color: var(--primary);
    font-family: var(--font-main);
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

/* ======================
   NOSOTROS: EXPERIENCE
====================== */
.experience {
    background: #00a8e8;
    color: #ffffff;
    padding: 85px 0 95px;
}

.experience-container {
    width: min(92%, 1330px);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.experience-copy {
    display: flex;
    max-width: 850px;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.experience-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: min(92%, 1100px);
    margin: auto;
}

.feature {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature p {
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/* ======================
   NOSOTROS: TEAM
====================== */
.team {
    background: #c6e7f4;
    padding: 90px 0 110px;
}

.team-container {
    width: min(92%, 1250px);
    margin: auto;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 50px;
    align-items: start;
}

.team-main-photo img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.team-content {
    display: flex;
    flex-direction: column;
}

.collage-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    border: 8px solid #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.collage-left {
    position: absolute;
    bottom: 20px;
    left: 10px;
    width: 48%;
    border: 8px solid #ffffff;
    transform: rotate(-5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.collage-right {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 48%;
    border: 8px solid #ffffff;
    transform: rotate(6deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

/* ======================
   NOSOTROS: LA PIÑA
====================== */
.la-pina {
    background: #ffffff;
    padding: 90px 0;
}

.la-pina-container {
    width: min(92%, 1250px);
    margin: auto;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 60px;
    align-items: center;
}

/* ======================
   CONTACTO (DESKTOP)
====================== */
.contacto {
    background: linear-gradient(180deg, #00a8e8 0%, #005a80 100%);
    padding: 70px 0 90px;
}

.contacto__container {
    width: min(92%, 1300px);
    margin: auto;
}

.contacto__header {
    text-align: center;
    margin-bottom: 40px;
}

.contacto__title {
    color: var(--navy);
    font-family: var(--font-main);
    font-size: 52px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contacto__subtitle {
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 500;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.4;
}

.contacto__content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: stretch;
}

.contacto-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 450px 1fr;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contacto-card__image {
    width: 100%;
    height: 100%;
}

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

.contacto-card__form {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contacto-card__form h3 {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 18px;
}

.contacto-card__form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacto-card__form input,
.contacto-card__form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 14px;
    background: #ffffff;
    color: #333333;
    outline: none;
}

.divisor-grupo {
    height: -webkit-fill-available;
    width: 1px;
    background: white;
    display: flex;
}

.contacto-mobile-info__contact {
    gap: 7px;
    display: flex;
    flex-direction: column;
}

.contacto-mob-datos {
    display: flex;
}

.contacto-card__form textarea {
    height: 110px;
    resize: none;
}

.contacto-card__form button {
    margin-top: 5px;
}


.contacto-card__social {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
}

.contacto-card__social a img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.contacto-info {
    background: var(--dark-box);
    border-radius: 12px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.contacto-info__icon {
    text-align: center;
    margin-bottom: 20px;
}

.contacto-info__icon img {
    width: 120px;
    margin: 0 auto;
}

.contacto-info__phones {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #b4eaff;
    font-size: 16px;
}

.contacto-info__phones div {
    display: flex;
    flex-direction: column;
}

.contacto-info__phones strong {
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 3px;
}

.contacto-info__phones a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacto-info__phones a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.contacto-info hr {
    margin: 20px 0;
    width: 80%;
    color: #009ad0;
    border: 1;
    height: 1px;
    background: rgba(180, 234, 255, 0.3);
}

.contacto-info__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacto-info__footer div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contacto-info__footer img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.contacto-info__footer a {
    color: #b4eaff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.contacto-mobile-info {
    display: none;
}

.contacto-mobile-info__content {
    display: flex;
    gap: 10px;
}

/* ======================
   BRANCHES / MAP
====================== */
.branches {
    background: #ffffff;
    padding: 40px 0 0;
    text-align: center;
}

.branches-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: -4px;
}

.branches-tabs h3 {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 900;
    color: var(--navy);
    margin-right: 12px;
    text-transform: uppercase;
}

.sucursal-btn {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    padding: 8px 24px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.sucursal-btn:hover {
    opacity: 0.9;
}

.sucursal-btn[data-city="madrid"] {
    background: #ff5a5f;
}

.sucursal-btn[data-city="murcia"] {
    background: #7b61ff;
}

.sucursal-btn[data-city="alicante"] {
    background: #007dae;
}

.contact-map {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
}

.contact-map iframe,
.contact-map .map-frame {
    width: 100%;
    height: 480px;
    border: 0;
    display: block;
}

.map-wrapper {
    position: relative;
    width: 100%;
}

.map-wrapper .map-image {
    width: 100%;
    display: block;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
    pointer-events: none;
    z-index: 10;
}

.map-pin svg {
    display: block;
    width: 86px;
    height: 110px;
}

/* ==========================================================================
   MEDIA QUERIES (ORGANIZADAS DE MAYOR A MENOR RESOLUCIÓN)
   ========================================================================== */
@media (max-width: 1600px) {
    .contacto-card {
        grid-template-columns: 270px 1fr;
    }

    .contacto-card__social {
        justify-content: space-between;
        gap: 0px;
    }

    .contacto-info__icon img {
        width: 105px;
    }

    .contacto-card__form {
        padding: 25px 25px;
    }
}


/* --------------------------------------------------------------------------
   MEDIA QUERY: max-width: 768px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .contacto-card {
        grid-template-columns: 250px 1fr;
    }

    /* HERO */
    .hero {
        height: 205px;
    }

    .hero-content {
        padding-top: 65px;
    }

    .hero h1 {
        font-size: 14.5px;
        line-height: 1.25;
        letter-spacing: 0.2px;
    }

    /* ABOUT */
    .about {
        padding: 30px 18px 24px;
        background: #f0f2f5;
    }

    .about-container {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .about-title-mobile {
        display: block;
        color: var(--primary);
        font-family: var(--font-main);
        font-size: 14px;
        font-weight: 900;
        text-align: center;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
        text-transform: uppercase;
    }

    .about-brand {
        margin-bottom: 18px;
    }

    .about-logo {
        width: 95px;
    }

    .about-content {
        gap: 0;
        max-width: 100%;
    }

    .about-title-desktop {
        display: none;
    }

    .about-intro {
        font-size: 12.5px;
        font-weight: 700;
        line-height: 1.35;
        margin-bottom: 18px;
        color: var(--navy);
    }

    .about-points {
        gap: 14px;
        margin-bottom: 0;
    }

    .point {
        gap: 12px;
        margin-bottom: 0;
    }

    .point .icon {
        width: 18px;
        margin-top: 2px;
    }

    .point .icon img {
        width: 18px;
        height: 18px;
    }

    .point p {
        font-size: 11px;
        font-weight: 600;
        line-height: 1.3;
        color: var(--navy);
    }

    .divider {
        height: 1px;
        background: #cce6f4;
        margin: 18px 0;
    }

    .about-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
    }

    .about-gallery img {
        border-radius: 6px;
    }

    /* EXPERIENCE */
    .experience {
        padding: 30px 18px 26px;
        background: #00a8e8;
    }

    .experience-container {
        width: 100%;
        gap: 20px;
    }

    .experience-copy {
        gap: 12px;
        max-width: 100%;
        text-align: left;
    }

    .experience-title {
        font-size: 17px;
        font-weight: 800;
        text-align: left;
        text-transform: none;
        margin-bottom: 4px;
    }

    .experience-copy p {
        font-size: 11px;
        line-height: 1.4;
        font-weight: 500;
        text-transform: none;
        text-align: left;
    }

    .experience-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
        margin-top: 10px;
    }

    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .feature img {
        width: 36px;
        height: 36px;
    }

    .feature p {
        font-size: 10px;
        line-height: 1.25;
        font-weight: 600;
        text-align: center;
    }

    /* TEAM */
    .team {
        padding: 22px 14px 20px;
        background: #c6e7f4;
    }

    .team-container {
        grid-template-columns: 46% 54%;
        gap: 10px;
        width: 100%;
        align-items: stretch;
    }

    .team-main-photo img {
        border-radius: 4px;
    }

    .team-title {
        font-size: 13.5px;
        line-height: 1.1;
        margin-bottom: 2px;
        color: var(--primary);
        font-weight: 900;
        text-transform: uppercase;
    }

    .team-subtitle {
        font-size: 11px;
        line-height: 1.15;
        margin-bottom: 8px;
        color: var(--navy);
        font-weight: 800;
        text-transform: uppercase;
    }

    .team-collage {
        position: relative;
        width: 100%;
        height: 115px;
        margin-bottom: 12px;
    }

    .collage-top {
        position: absolute;
        top: 0;
        left: 6px;
        width: 75%;
        border: 2.5px solid #ffffff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        z-index: 1;
        transform: none;
    }

    .collage-left {
        display: none;
    }

    .collage-right {
        position: absolute;
        bottom: 0;
        right: 4px;
        width: 62%;
        border: 2.5px solid #ffffff;
        transform: rotate(4deg);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
        z-index: 2;
    }

    .team-description {
        font-size: 9.5px;
        line-height: 1.32;
        font-weight: 700;
        color: var(--navy);
    }

    /* LA PIÑA */
    .la-pina {
        padding: 30px 18px 24px;
    }

    .la-pina-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .la-pina-title {
        font-size: 17px;
        font-weight: 900;
        margin-bottom: 10px;
    }

    .la-pina-text {
        gap: 12px;
    }

    .la-pina-text p {
        font-size: 11.5px;
        line-height: 1.35;
        font-weight: 700;
    }

    .la-pina-photo {
        margin-top: 18px;
        width: 100%;
    }

    .la-pina-photo img {
        width: 100%;
        height: 175px;
        border-radius: 0;
    }

    /* CONTACTO (MOBILE) */
    .contacto {
        padding: 25px 14px 28px;
        background: linear-gradient(180deg, #00a8e8 0%, #005a80 100%);
    }

    .contacto__container {
        width: 100%;
    }

    .contacto__header {
        margin-bottom: 16px;
    }

    .contacto__title {
        font-size: 28px;
        margin-bottom: 8px;
        color: var(--navy);
    }

    .contacto__subtitle {
        font-size: 14px;
        line-height: 16px;
        max-width: 390px;
        margin: 0 auto;
        color: #ffffff;
    }

    .contacto__content {
        display: flex;
        flex-direction: column;
        gap: 14px;
        width: 100%;
        max-width: 780px;
        margin: 0 auto;
    }

    .contacto-card {
        display: grid;
        grid-template-columns: 46% 53%;
        gap: 8px;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
    }

    .contacto-card__image {
        width: 100%;
        height: 100%;
    }

    .contacto-card__image img {
        border-radius: 6px;
    }

    .contacto-card__form {
        padding: 0 2px;
        justify-content: flex-start;
        gap: 6px;
    }

    .contacto-card__form h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .contacto-card__form form {
        gap: 5px;
    }

    .contacto-card__form input,
    .contacto-card__form textarea {
        padding: 10px 6px;
        font-size: 14px;
    }

    .contacto-card__form textarea {
        height: 130px;
    }

    .contacto-card__form button {
        font-size: 12px;
        margin-top: 1px;
    }

    .contacto-card__social {
        margin-top: 6px;
        gap: 10px;
        justify-content: space-around;
    }

    .contacto-card__social a img {
        width: 30px;
        height: 30px;
    }

    .contacto-info {
        display: none;
    }

    .contacto-mobile-info {
        display: flex;
        align-items: center;
        background: var(--dark-box);
        border-radius: 8px;
        padding: 12px 14px;
        width: 100%;
        color: #b4eaff;
        max-width: 780px;
        margin: 0 auto;
        justify-content: center;
        gap: 30px;
    }

    .contacto-mob-datos {
        gap: 10px;
    }

    .contacto-mobile-info__left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .contacto-mobile-info__icon img {
        width: 26px;
        height: 26px;
        object-fit: contain;
    }

    .contacto-mobile-info__contact img {
        width: 20px;
        height: 20px;
    }

    .contacto-mobile-info__contact a {
        font-size: 15px;
        color: #b4eaff;
        text-decoration: none;
    }

    .contacto-mobile-info__text h3 {
        font-size: 11.5px;
        font-weight: 700;
        color: #b4eaff;
        margin-bottom: 2px;
    }

    .contacto-mobile-info__text p {
        font-size: 9.5px;
        color: #b4eaff;
        line-height: 1.2;
    }

    .contacto-mobile-info__divider {
        width: 1px;
        height: 32px;
        background: rgba(255, 255, 255, 0.2);
        margin: 0 8px;
    }

    .contacto-mobile-info__right {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .contacto-mobile-info__right a {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #ffffff;
        text-decoration: none;
        font-size: 10px;
        font-weight: 600;
        font-family: var(--font-main);
    }

    .contacto-mobile-info__right a img {
        width: 13px;
        height: 13px;
        object-fit: contain;
    }

    /* BRANCHES (MOBILE) */
    .branches {
        padding: 18px 0 0;
    }

    .branches-tabs {
        gap: 6px;
        margin-bottom: -2px;
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .contact-map iframe,
    .contact-map .map-frame {
        height: 320px;
    }

    .branches-tabs h3 {
        font-size: 11.5px;
        margin-right: 4px;
    }

    .sucursal-btn {
        font-size: 12px;
        padding: 6px 5px;
        border-radius: 5px;
    }

    .map-pin svg {
        width: 42px;
        height: 56px;
    }

    .modal-dialog {
        max-width: 92%;
        border-radius: 14px;
    }

    .modal-close {
        width: 28px;
        height: 28px;
        font-size: 18px;
        top: 8px;
        right: 10px;
    }

    .modal-header {
        padding: 18px 14px 14px;
    }

    .modal-header__logo {
        width: 125px;
    }

    .modal-header__tagline {
        font-size: 19px;
        margin-top: 6px;
    }

    .modal-banner__title {
        font-size: 20px;
        line-height: 1.18;
        padding: 0 10px;
    }

    .modal-footer {
        padding: 16px 14px 18px;
        gap: 12px;
    }

    .modal-footer__icon svg {
        width: 32px;
        height: 28px;
    }

    .modal-footer__text {
        font-size: 15px;
        line-height: 1.3;
    }
}

@media (max-width: 550px) {

    .contacto-mobile-info {
        gap: 15px;
    }

    .contacto-card__form textarea {
        height: 100px;
    }
}