* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
}

a{
    text-decoration: none;
    color: #000;
}

body {
    background: #000;
}


img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.contenedor-imagen {
    width: 100%;
    height: 400px;
}



.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}




/*EFECTO DESPLAZAMIENTO*/

/* ESTADO INICIAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 
        opacity 0.8s ease,
        transform 0.8s ease;
}

/* CUANDO SE ACTIVA */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}




/* TOP BAR */
.top-bar {
    position: absolute;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    color: #000;
}

.top-left span,
.top-left {
    display: flex;
    gap: 20px;
}

.top-left {
    padding-top: 15px;
}

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

.btn-reserva-circular {
    background: #c97948;
    color: #fff;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

.menu-item {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-icon svg {
    width: 14px;
    height: 14px;
    fill: #000; /* color del icono */
    display: block;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 50% 50%;
    min-height: 70vh;
    align-items: stretch; 
}


/* LEFT */
.hero-left {
    background: #c87445;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
	max-height: 70vh;
}


.hero-logo {
    max-width: 980px; 
    width: 100%;
    height: auto;
	margin-top: 40px;
}

.hero-text {
    font-size: 18px;
    line-height: 1.6;
    max-width: 420px;
    margin-left: 150px;
	margin-top: 20px;
    text-align: center;
}


/* RIGHT */
.hero-right {
    max-height: 70vh;   /* o 65vh si la quieres más compacta */
    overflow: hidden;
}


.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img,
.swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero-swiper,
.swiper-wrapper,
.swiper-slide {
    height: 100%;
}



.hero-media {
    width: 100%;
    height: 100%;
    background: url('hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-align: center;
}



.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #ffffff;              /* color de la flecha */
    background: rgba(0,0,0,0.4); /* fondo */
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 18px;
}


.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* o contain según tu diseño */
}


/* CONTENEDOR DEL TEXTO */
.hero-caption {
    position: absolute;
    bottom: 12%;
    left: 8%;
    padding-left: 10px;
}

.hero-caption-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Icono */
.hero-caption-icon {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    object-fit: contain;
}


/* Texto */
.hero-caption-text {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    top: -20px; /* prueba -1px / -2px / -3px */
}


.hero-caption-content {
    display: flex;
    align-items: baseline;
    gap: 3px;
}



/* IMAGEN DEL TEXTO */
.hero-caption img {
    width: 100%;
    max-width: 320px;
    height: auto;
}

@media (max-width: 768px) {
    .hero-caption {
        bottom: 8%;
        left: 6%;
    }

    .hero-caption-icon {
        width: 30px;
    }

    .hero-caption-text {
        font-size: 20px;
    }

    .hero-text {
        margin-left: 90px;
    }

}




/* SEARCH BAR */
.search-bar {
    background: #000;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 25px 40px;
    gap: 15px;
    align-items: center;
}

.search-bar div {
    border: 1px solid #333;
    padding: 15px;
}

.btn-reservar {
    background: #6f9f8a;
    border: none;
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 100px 40px;
    }

    .search-bar {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}


@media (max-width: 768px) {
    .hero-right {
        order: 1;
        height: 50vh;
    }

    .hero-left {
        order: 2;
        padding: 60px 20px;
    }
}


/* HEADER */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

/* LEFT MENU */
.top-left {
    display: flex;
    gap: 28px;
    align-items: center;
}

.menu-item {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu-item:hover {
    opacity: 0.7;
}

/* IDIOMA DROPDOWN */
.lang-dropdown {
    position: relative;
}

/* El botón de idioma debe verse como menu-item */
.lang-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;

    /* hereda estilo menu-item */
    font-size: 14px;
    font-weight: 500;
    color: #000;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-toggle:hover {
    opacity: 0.7;
}

/* MENÚ DESPLEGABLE */
.lang-menu {
    position: absolute;
    top: 28px;
    left: 0;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 70px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: none;
    z-index: 200;
}

.lang-menu li a {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

.lang-menu li a:hover {
    background: #f2f2f2;
}


.lang-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-menu img {
    width: 25px;
    height: auto;
    border-radius: 2px;
}



/* RIGHT BUTTON */
.btn-reserva-circular {
    width: 110px;
    height: 110px;
    background: #c87445;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* MOBILE */
@media (max-width: 768px) {
    .top-bar {
        padding: 16px 20px;
    }

    .menu-item:not(:first-child) {
        display: none; /* solo ☰ Menú */
    }

    .btn-reserva-circular {
        width: 80px;
        height: 80px;
        font-size: 14px;
    }
}


.lang-menu.open {
    display: block;
}



/* BOTÓN VERTICAL LATERAL */
.side-cta {
    position: fixed;
    top: 55%;
    right: 0;

    transform: translate(42%, -50%) rotate(-90deg);
    transform-origin: center;

    background: #000;
    color: #fff;
    text-decoration: none;

    padding: 14px 26px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    border-radius: 6px 6px 0 0;
    z-index: 300;
}





@media (max-width: 768px) {
    .side-cta {
        display: inline-block;
    }
}




/* HOVER */
.side-cta:hover {
    background: #111;
}



/*MENÚ RESERVAS*/

.search-bar {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr 1.4fr auto;
    background: #000;
    padding: 20px 90px;
    gap: 12px;
    align-items: stretch;
}

/* ITEM */
.search-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.search-item label {
    font-size: 11px;
    margin-bottom: 4px;
    color: rgba(255,255,255,0.7);
}

.search-item span {
    font-size: 13px;
    font-weight: 600;
}

/* SELECTS */
.search-item select {
    height: 40px;
    line-height: 40px;

    background-color: transparent;
    border: none;

    color: #fff;
    font-size: 13px;
    font-weight: 600;

    padding: 0 36px 0 12px;

    outline: none;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-item {
    position: relative;
}

.search-item::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    width: 10px;
    height: 6px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='white' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;

    pointer-events: none; /* 👈 no bloquea el click */
}


/*Quito la flecha de los campos NO select*/
.search-item:not(:has(select))::after {
    display: none;
}



.search-item select {
    color: #fff;
    background: transparent;
}




.search-item select option {
    color: #000;
    background: #fff;
}




.search-item input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

/* Placeholder */
.search-item input::placeholder {
    color: rgba(255,255,255,0.7);
}


.search-item select,
.search-item input {
    height: 40px;
    line-height: 40px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}



/* BOTÓN */
.btn-reservar {
    background: #8fae9e;
    border: none;
    padding: 0 26px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    color: #000;
    font-size: 14px;
}

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


@media (max-width: 992px) {
    .search-bar {
        grid-template-columns: 1fr;
    }

    .btn-reservar {
        padding: 18px;
    }
}


/*FORMA DE HABITAR*/

.flex-living {
    width: 100%;
    background: #fff;
    padding: 80px 0;
}


.flex-living-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}


.folleto-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}



.flex-folleto-link {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.flex-folleto-link:hover {
    color: #555;
    border-color: #555;
}


.flex-header-text {
    text-align: center;
}



/* HEADER */
.flex-header {
    max-width: 1000px;
    margin: 0 auto 60px;
}




.flex-header-top {
    display: flex;
    align-items: flex-start; 
    gap: 32px;
}



.flex-logo {
    width: 120px;
    flex-shrink: 0;
}



.flex-header-text {
    text-align: left;      
    max-width: 700px;
}


.flex-header-text h2 {
    font-size: 32px;
    margin: 0 0 18px 0;    /* sin margen arriba */
    line-height: 1.15;
}


.flex-header-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 14px;
	margin-top: 15px;
}


.flex-header h2 {
    font-size: 32px;
    margin: 0;
}

.flex-header p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}


.flex-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.flex-card {
    overflow: hidden;
    /*border-radius: 28px;*/
}


.flex-card {
    position: relative;
    aspect-ratio: 3 / 4;
    /*border-radius: 28px;*/
    overflow: hidden;
    perspective: 1200px;
}




.card-inner {
    position: absolute;
    inset: 0;
    transition: transform 0.8s cubic-bezier(.4,.2,.2,1);
    transform-style: preserve-3d;
}



.flex-card:hover .card-inner {
    transform: rotateY(180deg);
}


.flex-card:hover .card-front-content {
    display: none;
}



/* CARAS */
.card-front,
.card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    /*border-radius: 24px;*/
    overflow: hidden;
}

.card-front,
.card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}



.card-front::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1; /* 👈 entre imagen y contenido */
}

.card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}


.card-front-logo {
    width: 140px !important; /* ajusta a gusto */
    height: auto;
    margin-bottom: 10px;
}

.card-front-text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}



.card-front-content {
    position: absolute;
    left: 20%;
    top: 65%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* 👈 importante */
    text-align: left;

    max-width: 220px;          /* 🔥 CLAVE */
    z-index: 2;
}


@media (max-width: 768px) {
    .card-front-logo {
        width: 55px;
    }

    .card-front-text {
        font-size: 14px;
    }

    .card-front-content {
        top: 58%;
    }
}



/* FRONT */
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.card-front-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* 🔥 esto lo baja un poco del centro */
    top: 55%;
    transform: translateY(-50%);
}



/* BACK */
.card-back {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(180deg);
    padding: 32px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}



/* LISTA */
.card-back ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-back li {
    margin-bottom: 12px;
}



.card-orange {
    background: #C97846;
}

.card-green {
    background: #3F6457;
}

.card-beige {
    background: #DDD6C9;
    color: #000;
}


.flex-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.flex-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.flex-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}


.flex-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flex-card {
    overflow: hidden;
    border-radius: 32px 6px 32px 6px;
}



/* OVERLAY */
.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 30px;
    color: #fff;
    text-align: center;
}

.card-overlay img {
    width: 90px;
    margin-bottom: 14px;
}

.card-overlay span {
    font-size: 14px;
    font-weight: 600;
}

/* FOOTER */
.flex-footer {
    max-width: 800px;
    margin: 0 auto;
}

.flex-footer h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.flex-footer ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.flex-footer li {
    font-size: 16px;
    margin-bottom: 6px;
}

.flex-claim {
    font-weight: 600;
    margin-top: 10px;
}


@media (max-width: 768px) {

    .flex-living {
        padding: 60px 0;
    }

    .flex-living-inner {
        padding: 0 20px;
    }

    /* HEADER STACK */
    .flex-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .flex-logo img {
        max-width: 120px;
        margin: 0 auto;
    }

	.flex-text {
        padding: 0 20px;;
    }

    .flex-text h2 {
        font-size: 24px;
    }

    .flex-text p {
        font-size: 15px;
    }

    /* CARDS EN COLUMNA */
    .flex-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
	
	.flex-card {
        aspect-ratio: 3 / 4;
    }


    /* FOOTER */
    .flex-footer h3 {
        font-size: 20px;
        text-align: center;
    }

    .flex-footer li {
        font-size: 15px;
        text-align: center;
    }

    .flex-claim {
        font-size: 14px;
        text-align: center;
        padding: 0 10px;
    }
	
	
	.flex-card {
        height: 420px;   /* ajusta entre 360–480 según gusto */
    }

    .flex-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
	
	
}


@media (max-width: 768px) {
    .flex-cards {
        grid-template-columns: 1fr;
		justify-items: center;
    }
}



/*SIENTE LA COMODIDAD*/

.comfort-module {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 420px 420px; /* 👈 controla el tamaño */
    width: 100%;
}


/* CAJAS */
.comfort-box {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comfort-green {
    background: #3F6457;
    color: #fff;
}

.comfort-beige {
    background: #DDD6C9;
    color: #000;
}

/* TEXTOS */
.comfort-box {
    padding: 48px 56px; /* antes 60px */
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.comfort-box h3 {
    font-size: 28px;
    margin-bottom: 24px;
}

.comfort-box p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
}


.comfort-box p {
    margin-bottom: 14px;
}


.comfort-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 16px;
    padding: 12px 22px;

    background: #3F6457;        /* verde del comfort */
    color: #fff;
    font-weight: 600;
    font-size: 15px;

    border-radius: 999px;       /* botón moderno */
    text-decoration: none;

    transition: all 0.25s ease;
    cursor: pointer;
}


.comfort-btn {
    width: 350px;              /* ajusta a gusto */
}


.comfort-btn {
    background: #c87445;
    border: 2px solid #ffffff;      /* 👈 contraste claro */
    color: #fff;

    box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}


.comfort-btn::after {
    content: "→";
    transition: transform 0.25s ease;
}


.comfort-btn:hover {
    background: #2f4e43;
    transform: translateY(-2px);
}

.comfort-btn:hover::after {
    transform: translateX(4px);
}


.equipo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 16px;
    padding: 12px 22px;

    background: #3F6457;        /* verde del comfort */
    color: #fff;
    font-weight: 600;
    font-size: 15px;

    border-radius: 999px;       /* botón moderno */
    text-decoration: none;

    transition: all 0.25s ease;
    cursor: pointer;
}


.equipo-btn {
    width: 350px;              /* ajusta a gusto */
}


.equipo-btn {
    background: #2f4e43;
    border: 2px solid #ffffff;      /* 👈 contraste claro */
    color: #fff;

    box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}


.equipo-btn::after {
    content: "→";
    transition: transform 0.25s ease;
}


.equipo-btn:hover {
    background: #c87445;
    transform: translateY(-2px);
}

.equipo-btn:hover::after {
    transform: translateX(4px);
}


.equipment-tags {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;          /* 🔥 baja a otra línea si no cabe */
    gap: 8px;
}

.equipment-tags span {
    padding: 6px 12px;
    background: #f1f1f1;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}



/**************************************/


.comfort-link {
    margin-top: 20px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.comfort-link.dark {
    color: #000;
}

/* IMÁGENES */
.comfort-image {
    overflow: hidden;
}

.comfort-module {
    grid-template-rows: 420px 420px;
}

.comfort-image img {
    object-fit: cover;
    object-position: center 5%;
}

/* SLIDER FLECHAS */
.comfort-image-slider .nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.comfort-image-slider .prev {
    left: 20px;
}

.comfort-image-slider .next {
    right: 20px;
}


@media (min-width: 1200px) {
    .comfort-image img {
        object-fit: cover;
        object-position: center 5%;
    }
}



@media (max-width: 768px) {
    .comfort-image img {
        object-fit: contain;
        object-position: center;
        background-color: #000; /* o el color del layout */
    }
}


@media (min-width: 768px) and (max-width: 1199px) {
    .comfort-image img {
        object-fit: contain;
        object-position: center;
        background-color: #000; /* o color del layout */
    }
}





/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
}

/* CLOSE */
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* CAROUSEL */
.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform .5s ease;
}

.carousel-track img {
    width: 100%;
    flex-shrink: 0;
    border-radius: 16px;
}

/* ARROWS */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20; /* 🔥 clave */
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 32px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
}



.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }





@media (max-width: 768px) {

    .comfort-module {
        grid-template-columns: 1fr;
		grid-template-rows: auto;
    }

    .comfort-box {
        padding: 36px 24px;
    }

    .comfort-box h3 {
        font-size: 24px;
    }

    .comfort-image {
        aspect-ratio: 4 / 3;
    }
}



/*MAPA*/

/* MÓDULO */
.location-module {
    width: 100%;
    background: #000;
}

/* HEADER NEGRO */
.location-header {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 28px 20px;
}

.location-header h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

/* MAPA */
.location-map {
    width: 100%;
    height: 850px; /* ajustable */
    background: #ddd;
}

/* MAPA iframe */
.location-map iframe,
.location-map img {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}



@media (max-width: 768px) {

    .location-header h2 {
        font-size: 22px;
    }

    .location-map {
        height: 360px;
    }

}


/*CONFIAN*/


/* MÓDULO */
.trust-module {
    background: #e7e8e8;
    padding: 80px 20px;
    text-align: center;
}

/* TÍTULO */
.trust-module h2 {
    font-size: 32px;
    margin-bottom: 60px;
    font-weight: 600;
}

/* GRID PRINCIPAL */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 0 20px;
    box-sizing: border-box;
}


/* ITEM */
.trust-item p {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.trust-item img {
    max-height: 125px;      /* antes 60px */
    max-width: 150px;      /* antes 180px */
    width: auto;
    height: auto;
    object-fit: contain;
}



/* BLOQUE INFERIOR */
.trust-bottom {
    margin-top: 20px;
}

.trust-bottom p {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.trust-bottom img {
    max-height: 125px;      /* antes 50px */
    max-width: 300px;
    width: auto;
    height: auto;
}

@media (max-width: 768px) {

    .trust-module {
        padding: 60px 20px;
    }

    .trust-module h2 {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-item img,
    .trust-bottom img {
        max-height: 50px;
    }

}


/*INSTAGRAM*/


.instagram-module {
    /*background: #d1b888;*/
    background: #c87445;
    padding: 80px 0;
}

.instagram-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;

    display: grid;
    grid-template-columns: auto 60px 1fr;
    align-items: center; /* 👈 ESTA ES LA CLAVE */
    gap: 32px;
}


/* TEXTO */
.instagram-text h3 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.15;
    margin-top: 0;
}

.instagram-text {
    display: flex;
    align-items: flex-start;  /* alineación horizontal */
    justify-content: center;  /* 👈 CLAVE: centra respecto a la altura */
    height: 100%;
}



/* ICONO */
.instagram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;

    transform: translateY(-98px); /* 👈 AJUSTE ÓPTICO REAL */
}


.instagram-icon img {
    width: 42px;
    height: auto;
}

.instagram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}


/* GALERÍA */
.instagram-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.instagram-gallery img {
    width: 100%;
    height: 240px;   /* altura fija = referencia visual */
    object-fit: cover;
    border-radius: 8px;
}



@media (max-width: 900px) {

    .instagram-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
        padding: 0 20px;
    }

    .instagram-icon {
        display: flex;
        justify-content: center;
    }

    .instagram-gallery {
        grid-template-columns: 1fr;
    }

    .instagram-gallery img {
        height: 260px;
    }
	
	.instagram-icon {
		transform: translateY(-18px); /* 👈 AJUSTE ÓPTICO REAL */
	}
}



/*CONTACTO*/
.address-row {
    display: flex;
    align-items: flex-start; /* clave */
    gap: 10px;
}



.address-row p {
    margin: 0;
    line-height: 1.5;
}

.menu-icon svg {
    width: 14px;
    height: 14px;
    fill: #000;
    margin-top: 3px; /* micro-ajuste visual */
}



.contact-module {
    background: #c87445; /* terracota branding */
    padding-top: 20px;
    padding-bottom: 100px;
    color: #000;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;

    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 120px;
    align-items: center;
}

/* IZQUIERDA */
.contact-brand img {
    max-width: 520px;
    margin-bottom: 60px;
}

.contact-address{
    margin-left: 100px;
}

.contact-address p {
    font-size: 18px;
    line-height: 1.5;
}

/* DERECHA */
.contact-right h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    /*background: rgba(255,255,255,0.35);*/
    border: none;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    outline: none;
}

.contact-form textarea {
    min-height: 120px;
    resize: none;
}

/* BOTÓN */
.contact-form button {
    margin-top: 20px;
    align-self: flex-start;

    background: #000;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.contact-form button:hover {
    opacity: 0.85;
}



@media (max-width: 900px) {

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
        text-align: center;
    }

    .contact-form button {
        align-self: center;
    }

    .contact-address p {
        font-size: 16px;
    }

}

/*FOOTER*/

.secondary-nav {
    background: #000;
    padding: 40px 0;
}

.secondary-nav-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

/* LINKS */
.secondary-nav-inner a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

/* HOVER */
.secondary-nav-inner a:hover {
    opacity: 1;
}


@media (max-width: 768px) {
    .secondary-nav-inner {
        flex-direction: column;
        gap: 24px;
    }
}




/*BENEFICIOS*/

.modal-beneficios,
.modal-beneficios * {
    box-sizing: border-box;
}


.modal-beneficios {
    max-width: 1100px;
    padding: 0;
    overflow: hidden;
}

.beneficios-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: #d6bf93;
}

.beneficios-text {
    padding: 60px;
    color: #000;
}

.beneficios-text h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.beneficios-text ul {
    margin: 16px 0 24px;
    padding-left: 18px;
}

.beneficios-text li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.beneficios-text .intro {
    font-weight: 500;
}

.beneficios-text .nota {
    font-size: 13px;
    margin-top: 18px;
}

.beneficios-text .nota.small {
    font-size: 12px;
    opacity: .8;
}

.btn-inscribete {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    text-decoration: underline;
    color: #000;
}

.volver-modal {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 14px;
    text-decoration: none;
    color: #000;
}

.discount-note {
    margin-top: 30px;
    position: relative;
    padding-top: 16px;
    font-size: 14px;
    color: #333;
}

.discount-note::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;          /* largo de la línea */
    height: 2px;
    background: #000;     /* color de la línea */
}


/* IMAGEN */
.beneficios-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.beneficios-image img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}


.beneficios-circle {
    width: 420px;
    height: 420px;        /* MISMA MEDIDA */
    border-radius: 50%;
    overflow: hidden;
}

.beneficios-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* RESPONSIVE */
@media (max-width: 768px) {

    .modal-beneficios {
        max-height: calc(100vh - 40px);
        padding: 24px 16px;
        border-radius: 12px;
        overflow-x: hidden; /* elimina scroll lateral */
        background: #d6bf93;
    }

    .beneficios-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* TEXTO */
    .beneficios-text {
        padding: 0;
        text-align: left;
    }

    .beneficios-text h2 {
        font-size: 24px;
        line-height: 1.2;
    }

    .beneficios-text p,
    .beneficios-text li {
        font-size: 15px;
    }

    /* IMAGEN */
    .beneficios-image {
        order: -1;               /* imagen arriba */
        padding: 0;
        display: flex;
        justify-content: center;
    }

    .beneficios-circle {
        width: 260px;
        height: 260px;
    }
}


/*UN LOOK FREE EXTRASS*/

.modal-beneficios-extra,
.modal-beneficios-extra * {
    box-sizing: border-box;
}



.modal-beneficios-extra {
    position: relative;

    width: 100%;
    max-width: 1100px;

    max-height: calc(100vh - 80px);
    overflow-y: auto;

    background: #d6bf93;
    border-radius: 16px;

    padding: 48px;
    box-sizing: border-box;
}


.beneficios-extra-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
}



.beneficios-extra-text {
    color: #000;
}

.beneficios-extra-text h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.beneficios-extra-text ul {
    margin: 16px 0 24px;
    padding-left: 18px;
}

.beneficios-extra-text li {
    margin-bottom: 8px;
    line-height: 1.5;
}


.beneficios-extra-form {
    margin-top: 28px;
    max-width: 320px;
}


.beneficios-extra-form label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #000;
}


.beneficios-extra-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #000;
    padding: 10px 0;

    font-size: 14px;
    color: #000;

    outline: none;
}


.beneficios-extra-form input::placeholder {
    color: rgba(0,0,0,0.6);
}


.beneficios-extra-form input:focus {
    border-bottom: 2px solid #000;
}


.modal-beneficios-extra .modal-close {
    position: sticky;
    top: 0;
    margin-left: auto;

    display: block;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;

    padding: 10px;
}



.btn-enviar-extra {
    margin-top: 26px;
    padding: 12px 46px;

    background: #000;
    color: #fff;
    border: none;
    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-enviar-extra:hover {
    opacity: 0.85;
}


.btn-enviar-extra {
    margin-bottom: 20px;
}


.beneficios-extra-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
}

.beneficios-extra-image img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}


.beneficios-extra-circle {
    width: 420px;
    height: 420px;        /* MISMA MEDIDA */
    border-radius: 50%;
    overflow: hidden;
}



@media (max-width: 768px) {

    .modal-beneficios-extra {
        max-height: calc(100vh - 40px);
        padding: 20px 16px;
        border-radius: 12px;
        overflow-x: hidden;
    }

    .beneficios-extra-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* TEXTO */
    .beneficios-extra-text {
        padding: 0;
        text-align: left;
    }

    .beneficios-extra-text h2 {
        font-size: 24px;
    }

    /* IMAGEN */
    .beneficios-extra-image {
        order: -1;
        padding: 0;
        display: flex;
        justify-content: center;
    }

    .beneficios-extra-circle {
        width: 260px;
        height: 260px;
    }
}


.direccion{
    margin-left: 220px;
}


/*CORREO*/

.form-alert {
    display: none;
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

/* Mostrar */
.form-alert.show {
    display: block;
}

/* ERROR */
.form-alert.error {
    background: #fff3f3;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* SUCCESS */
.form-alert.success {
    background: #e6f7ee;
    color: #0f5132;
    border: 1px solid #badbcc;
}


.input-error {
    border: 1px solid #dc3545 !important;
    background-color: #fff5f5;
}




#btn-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
}

#btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

#btn-submit.loading .btn-loader {
    display: inline-block;
}

#btn-submit.loading .btn-text {
    opacity: 0.7;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

