@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Futura:ital,wght@0,400;0,500;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap');

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    transition: filter 0.3s ease-in-out; 
}

body.modal-open {
    overflow: hidden; 
}

#partnersContainer {
    display: flex;
    flex-direction:column;
    min-height: 800px;
    background: url('assets/FREEQUENT LANDING-14.jpg');
    background-size: 100%;
}

.partners {
    display: flex;
    width: 100%; 
    max-width: 100%; 
    justify-content: flex-start; 
    gap: 0; 
    margin: 0 0 0 0;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box; 
    height: auto; 
    overflow: hidden; 
    align-items: flex-start; 
    position: relative; 
    z-index: 1001; 
}

.partner-group-vertical {
    display: flex;
    flex-direction: column; 
    align-items: stretch; 
    justify-content: flex-start; 
    margin: 0; 
    padding: 0;
    flex: 1; 
    min-width: 0; 
}

.partner-group-vertical .partner-logo {
    margin: 0; 
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    min-height: 50px; 
}

.partner-logo {
    background: none; 
    padding: 0;
    border-radius: 0;
    transition: none;
    opacity: 1;
    transform: translateY(0);
    cursor: pointer;
    flex: 1; 
    width: 100%;
    height: 115px;
    text-align: center; 
    margin: 0; 
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    position: relative;
}

.partner-logo:before {
    content: '';
    position: absolute;
    top:0; left:0;
    width: 100%; height:100%;
    box-shadow: inset 0px -2px #dcb573;
}

.partner-logo.tab-visible:before {
    box-shadow: none;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto; 
}

.partner-logo:hover {
    transform: none; 
    transition: none; 
    opacity: 0.95;
}

#partnersContent {
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
    /*height: 600px;*/
    background: #344053;
    position: relative;
    width: 100%;
}

#partnersHeader {
    background-image: url(assets/background1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 30px;
}

#partnersHeader p {
    margin: 0 auto;
    text-align: center;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 23px;
}

.partner-content {
    opacity: 0;
    /*max-height: 0;*/
    pointer-events: none;
    transition: .3s ease;
    width:100%;
    padding: 0 50px;
    box-sizing: border-box;
    position:absolute;
    z-index: 9999;
}

.partner-content.visible {
    opacity: 1;
    padding: 50px;
    pointer-events: auto;
    /*min-height: 600px;*/
}

.partner-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.9em;
}

.partner-content p {
    font-family: 'Montserrat', sans-serif;
}

/*#therock { background: black; color: white; }
#riverside { background: #4d697f; color: white; }
#tomateloco { background: #060506; color: white; }
#dalepues { background: #fff2ec; color: black; }
#lacasita { background: #f5edc0; color: black; }
#marina { background: #f5edc0; color: black; }
#thedock { background: black; color: white; }*/

.partner-content.black-content, #partnersContent:has(.black-content.visible)  { background: black; color: white; }
.partner-content.blue-content, #partnersContent:has(.blue-content.visible) { background: #4d697f; color: white; }
.partner-content.beige-content, #partnersContent:has(.beige-content.visible) { background: #f5edc0; color: black; }

.rewards-section {
    background: url('assets/FREEQUENT LANDING-14.jpg') no-repeat; 
    background-position: center top -10rem; 
    background-size: cover; 
    color: #333;
    padding: 8rem 0 2rem 0; 
    border-radius: 10px;
    margin: 0; 
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%; 
    width: 100%; 
    box-sizing: border-box; 
    height: auto; 
    overflow: hidden; 
    min-height: 300px;
    position: relative; 
    z-index: 1002;
}

.rewards-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 20px; 
    width: 100%;
    justify-content: center;
    margin-top: -4rem; 
    position: relative; 
    z-index: 1003; 
}

.rewards-icon {
    max-width: 80px; 
    height: auto;
    margin-right: 1rem;
}

.rewards-title {
    font-size: 2.5em;
    font-weight: bold;
    margin: 0;
    color: #dd662c;
    font-family: 'Montserrat', sans-serif;
}

.rewards-content {
    display: flex;
    justify-content: center;
    gap: 0; 
    width: 100%; 
    max-width: 100%; 
    margin: 0; 
    overflow: hidden; 
}

.rewards-box {
    padding: 1rem 2rem;
    border-radius: 0; 
    color: white;
    text-align: center;
    border: none;
    outline: none;
    font-family: 'Futura', sans-serif;
    flex: 1 1 50%; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); 
}

.rewards-points-box {
    background-color: #dbb573; 
    font-size: 1.5em;
    font-weight: bold;
}

.rewards-note-box {
    background-color: #646161; 
    font-size: 1.5em;
    font-weight: bold;
}


header {
    margin-bottom: 0px !important;
    max-width: 100%; 
    width: 100%; 
    margin-left: 0;
    margin-right: 0;
    padding: 0; 
    box-sizing: border-box; 
    position: relative;
    background-size: cover;
    min-height: 600px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

header:before {
    content: "";
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    opacity:0.4;
    background: url('assets/FREEQUENT LANDING-13.jpg') no-repeat center center;
}

.hero-content {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    justify-content: center; 
    width: 100%; 
    padding: 20px;
    position: relative;
    z-index: 1;
    height: 100%; 
    overflow: hidden; 
    box-sizing: border-box; 
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 0; 
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-left: 0; 
    margin-right: 50px; 
    font-family: 'Montserrat', sans-serif;
    padding: 20px; 
}

.hero-logo {
    max-width: 400px; 
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    background-color: black;
    color: white;
    padding: 10px 35px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-size: 1.8em;
    font-weight: 600;
    margin-top: 20px;
    font-family: 'Space Grotesk', sans-serif;
    transition: .3s ease;
}

.btn:hover {
    background-color: #4a6477;
}

.subscribe-btn {
    color: white;
}

.hero-image-container {
    position: relative;
    max-width: 700px;
    height: auto;
    display: flex;
    width: 50%;
}

.hero-card-large {
    width: 800px !important; 
    height: auto !important;
    max-width: 100%;
    margin-left: -50px; 
    margin-top: 0; 
    display: block;
    padding: 50px;
    box-sizing: border-box;
}


/* ----------------------------------------------------------------- */
/* SECCIÓN #CARDS */
/* ----------------------------------------------------------------- */
#cards {
    margin: 0 !important; 
    padding: 0; 
    background: url('assets/fondo2.jpg') no-repeat center center;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    background-color: #e0e0e0; 
    text-align: center;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    position: relative;
    min-height: 400px;
    width: 100%; 
    max-width: 100%; 
    box-sizing: border-box; 
    overflow: hidden; 
}

.card-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    z-index: 1;
    padding: 50px; 
    max-width: 100%;
    box-sizing: border-box; 
    overflow: hidden; 
    width: 100%; 
    gap:30px
}

.card-item {
    text-align: center;
    flex: 1 1 20%; 
    max-width: 250px; 
    cursor: pointer;
    position: relative;
}

.tooltip {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999 !important;
    outline: solid 1px rgb(0 0 0 / 20%);
    box-shadow: 0 5px 10px -10px black;
    border-radius: 15px;
    font-size: 13px;
    padding: 8px;
    text-align: center;
    background: white;
    max-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
}

.tooltip.show {
    opacity: 1;
    visibility: visible;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 5px solid rgb(0 0 0 / 20%);
    z-index: -1;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent; /* Interior más chico */
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    z-index: 1;
}

.card-item h3 {
    display: inline-block;
    font-size: 1.9em;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin: 10px 0;
    position: relative;
    transition: .3s ease;
}

.card-item h3:before {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: -5px;
    width: 100%;
    height: 5px;
    opacity: .75;
    transform: scale3d(0, 1, 1);
    transform-origin: 100% 50%;
    transition: transform 0.3s;
    transition-timing-function: cubic-bezier(.2, 1, .3, 1);
    background: currentColor;
}

.card-item:hover h3:before {
    transform: scale3d(1, 1, 1);
    transform-origin: 0% 50%;
    transition-timing-function: ease;
}

.card-icon {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    transition: .3s ease;
}
.card-item:first-child h3:before { background: #c19f67; }
.card-item:first-child:hover h3 { color: #c19f67; }
.card-item:first-child:hover .card-icon {
    filter: brightness(6.5) sepia(1) saturate(1.5); /*beige*/
}
.card-item:nth-child(2) h3:before { background: #4a6477; }
.card-item:nth-child(2):hover h3 { color: #4a6477; }
.card-item:nth-child(2):hover .card-icon {
    filter: brightness(4.5) sepia(1) saturate(1.5) hue-rotate(-195deg); /*azul*/
}
.card-item:nth-child(3) h3:before { background: #c67528; }
.card-item:nth-child(3):hover h3 { color: #c67528; }
.card-item:nth-child(3):hover .card-icon {
    filter: brightness(4.5) sepia(1) saturate(3.5) hue-rotate(-16deg); /*naranja*/
}

.mobile-centered-description {
    display: none; 
    width: 100%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative; 
}

.card-description {
   
    margin-top: 20px;
    text-align: center;
    width: 100%;
    color: #333;
    display: block;
}

.card-description p {
    font-size: 1.2em; 
    font-family: 'Futura', sans-serif;
}

.card-description .age-note {
    color: #ff0000;
    font-style: italic;
    font-size: 1em; 
    font-family: 'Futura', sans-serif;
}


footer {
    display: flex;

    justify-content: center; 
    align-items: center;

    gap: 3.5rem; 
    padding: 1.5rem 0; 
    background: #000; 
    color: white;
    width: 100%; 
    box-sizing: border-box; 
    overflow: hidden; 
}



.footer-link {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: row; 
    align-items: center; 
    gap: 0.5rem;            
    font-family: 'Futura', sans-serif;
    background-color: transparent;
    font-size: 1em; 

}

.footer-icon {
    max-width: 20px;
    height: auto;
}


.modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; 
    z-index: 10000; 
    justify-content: center;
    align-items: center;
    padding-top: 150px; 
    box-sizing: border-box;
    overflow-y: auto; 
    backdrop-filter: blur(0); 
    -webkit-backdrop-filter: blur(0);
}

.modal[aria-hidden="false"] {
    display: flex;
}

.modal-content {
    display: flex; 
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9); 
    max-width: 800px; 
    width: 90%; 
    margin: 0 auto 50px auto; 
    padding: 30px 20px; 
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); 
    position: relative; 
    z-index: 10001; 
    transform: scale(0.98);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;

    max-height: 90vh; 
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
}

.modal[aria-hidden="false"] .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-content-inner {
    text-align: center;
    color: #333;
    width: 100%;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.close {
    position: absolute;
    top: 15px; 
    right: 20px; 
    color: #333; 
    font-size: 35px; 
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    background: transparent;
    border: none;
    line-height: 1;
    padding: 5px;
}



@media (max-width: 1200px) { 
    .hero-card-large {
        max-width: 600px !important; 
        margin-left: -30px;
    }
    .hero-text {
        margin-right: 10px;
    }
}

@media (max-width: 992px) { 
    .hero-card-large {
        max-width: 450px !important;
        margin-left: -20px;
    }
    .hero-text {
        margin-right: 5px;
        padding: 10px;
    }
    header {
        min-height: 500px; 
    }
    .modal-content {
        max-width: 600px; 
        max-height: 85vh; 
    }
}



@media (max-width: 500px) {

    header, #cards, .rewards-section, footer {
        padding: 0 !important; 
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
 
header {
        min-height: 380px; 
        align-items: center; 
        justify-content: center;
        padding-top: 0;
    }
    .hero-content {
        flex-direction: column;
        gap: 20px;
        justify-content: space-a    round;
        align-items: center;
        padding: 40px;
        width: 100%;
        flex-wrap: nowrap;
    }
    .hero-image-container {
        order: 0; 
        width: 100%;
        display: flex;
        justify-content: center;
        margin-left: 0; 
        flex-shrink: 0; 
    }
    .hero-card-large {
        width: 100% !important;
        max-width: 380px !important; 
        height: auto;
        margin-top: 0; 
        margin-left: 0; 
        align-self: center; 
        padding: 0;
    }
    .hero-text {
        order: 1; 
        align-self: center; 
        transform: scale(1);
        margin: 0; 
        padding-top: 0;
        text-align: center; 
        width: 100%; 
        flex-shrink: 0; 
    }
    .hero-logo {
        max-width: 275px; 
        margin-bottom: 10px; 
    }
    .subscribe-btn {
        font-size: 1.2em;
        margin-top: 8px;
    }
    
    #partnersContainer { flex-direction: row; }
    .partners {
        flex-direction: column;
        height: 800px;
        width: 140px;
    }
    .partner-content {
        padding: 0 30px;
    }
    .partner-content.visible {
        /*max-height: 1500px;
        min-height: 800px;*/
        padding: 35px 30px;
    }
    .partner-logo:before {
        box-shadow: inset -2px 0 #dcb573;
    }
  
    #cards {
        min-height: 150px;
        background-position: 75% 50%;
    }
    .card-container {
        padding: 50px 30px;
        flex-direction: column;
        align-content: center;
    }
    .card-icon {
        height: auto;
        margin-bottom: 5px;
        width: 140px;
    }
    .card-item h3 {
        font-size: 1.5em;
        margin: 8px 0; 
    }
    .card-description {
        display: none; 
    }
    .mobile-centered-description {
        display: block; 
        padding: 15px;
        margin-top: 5px; 
        color: #333;
        font-family: 'Futura', sans-serif;
        position: relative; 
        z-index: 10; 
        background-color: rgba(255, 255, 255, 0.9); 
        border-radius: 5px;
        text-shadow: none; 
    }
    .mobile-centered-description p {
        font-size: 1.1em; 
        font-weight: bold;
        line-height: 1.4;
        margin-bottom: 5px;
    }
    .mobile-centered-description .age-note {
        font-size: 0.9em;
        color: #ff0000; 
        font-style: italic;
        font-weight: normal;
        display: block; 
        margin-top: 5px;
    }
    
    .partner-group-vertical .partner-logo {
        flex: 0 0 auto; 
        min-height: 20px; 
        margin-bottom: -15px; 
    }
    .partner-group-vertical .partner-logo:last-child {
        margin-bottom: 0; 
    }
    .partner-group-vertical .partner-logo {
        min-height: 10px; 
        margin-bottom: -20px; 
    }
    .partners { width: 100px; }
    .partner-content p {
        font-size: 0.9em; 
    }
  /* ------------------------ SECCIÓN REWARDS (AJUSTE MÁXIMO PARA MOVER CONTENIDO) ------------------------ */
    .rewards-section {
      
        padding: 4rem 0 0.3rem 0; 
        background-position: center 20%; 
        min-height: 180px; 
    }
    
    .rewards-header {
       
        margin-top: 4rem; 
    }
    
    .rewards-icon {
        max-width: 30px;
    }
    .rewards-title {
        font-size: 1.2em;
    }
    .rewards-points-box, .rewards-note-box {
        font-size: 0.9em; 
        padding: 0.6rem 0.5rem;
    }
    /* **FOOTER** */
 footer {
      
        justify-content: center; 
        gap: 1.5rem; 
        padding: 0.5rem 0;
    }
    
    .footer-link {
        
        flex-direction: row; 
        gap: 0.3rem; 
        font-size: 0.8em; 
    }
    .footer-icon {
        max-width: 16px; 
    }
}



@media (max-width: 500px) {
   
    header {
        min-height: 320px; 
    }
    .hero-card-large {
        max-width: 250px !important; 
    }
    .hero-logo {
        width: 100%;
        max-width: 230px;
    }
    .mobile-centered-description p {
        font-size: 1em; 
    }
    .mobile-centered-description .age-note {
        font-size: 0.8em;
    }
    .rewards-section {
        padding: 4rem 0 0.3rem 0; 
        background-position: center top 0rem; 
    }
    .rewards-title {
        font-size: 1.2em;
    }
    .rewards-points-box, .rewards-note-box {
        font-size: 0.9em; 
        padding: 0.7rem 0.7rem;
    }
    .rewards-icon {
        max-width: 30px;
    }

    .footer-content {
        flex-direction: column; 
        padding: 0.7rem;
        gap: 0.2rem;
        border-radius: 10px;
    }
}

/*GALERIAS PHOTOSWIPE*/

.galeriaSwiper img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    transition: .3s ease;
}

@media (pointer: fine) {
    .galeriaSwiper img {
        opacity: 0.7;
    }
    .galeriaSwiper img:hover {
        opacity: 1;
    }
}

@media only screen and (max-width: 650px) {
    .galeriaSwiper img {
        width: 70px;
        height: 100px;
    }
    .galeriaSwiper img:hover {
        opacity: 1;
    }
}

.galeriaSwiper a { text-decoration: none; }
