@charset "UTF-8";

/* ============================================
   CORAL BAY - Custom Styles
   Pixel-Perfect Implementation from Figma
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary-teal: #117e83;
    --teal-dark: #045e79;
    --teal-gradient-start: rgba(5, 98, 126, 0);
    --teal-gradient-mid: #045e79;
    --dark-blue: #1f3e83;
    --gold: #d3b88b;
    --beige: #f9f2e8;
    --text-dark: #4a4a4a;
    --text-gray: #5b5b5b;
    --text-map-gray: #868686;
    --white: #ffffff;
    --font-primary: 'Montserrat', sans-serif;
}

/* ============================================
   FONT FACES
   ============================================ */
@font-face {
    font-family: "Montserrat";
    src: url("fuentes/Montserrat-Light.woff2") format("woff2"),
         url("fuentes/Montserrat-Light.woff") format("woff"),
         url("fuentes/Montserrat-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("fuentes/Montserrat-Regular.woff2") format("woff2"),
         url("fuentes/Montserrat-Regular.woff") format("woff"),
         url("fuentes/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("fuentes/Montserrat-SemiBold.woff2") format("woff2"),
         url("fuentes/Montserrat-SemiBold.woff") format("woff"),
         url("fuentes/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("fuentes/Montserrat-Bold.woff2") format("woff2"),
         url("fuentes/Montserrat-Bold.woff") format("woff"),
         url("fuentes/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.ht-1{
    height: 1615px;
}
.htop-1{
    top: -530px;
}


/* ============================================
   BASE STYLES
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    margin: 0;
}

p {
    font-family: var(--font-primary);
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
   height: 1615px;
    overflow: hidden;
}

.hero-bg {
    z-index: 0;
}

.hero-bg img {
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(17,126,131,0.2) 100%),
                linear-gradient(180deg, rgba(0,29,126,0) 54%, rgba(11,0,105,0.3) 87%);
    z-index: 1;
}

/* Texto blanco en la parte superior del hero */
.hero-text-top {
    margin-top: 80px;
}

.hero-title {
    font-size: 36px;
    font-weight: 300;
    line-height: 1.3;
    color: var(--white);
    text-align: center;
    max-width: 591px;
    margin: 0 auto;
}

.hero-title .fw-bold {
    font-weight: 700;
}

/* Logo centrado verticalmente */
.hero-logo-area {
    margin-top: 40px;
}

.hero-logo-img {
    width: 400px;
    height: auto;
}

/* Sección de subtítulo azul debajo del hero */
.hero-subtitle-section {
    padding: 60px 0;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--dark-blue);
    text-align: center;
    max-width: 517px;
    margin: 0 auto;
}

.hero-subtitle .fw-bold {
    font-weight: 700;
}

/* Decorative wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

/* ============================================
   UBICACION SECTION
   ============================================ */
.ubicacion-section {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(to bottom,
        var(--teal-gradient-start) 0%,
        var(--teal-gradient-mid) 48%,
        var(--teal-gradient-start) 98%);
}

.ubicacion-title {
    font-size: 64px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
}

.ubicacion-title .fw-bold {
    font-weight: 700;
}

.ubicacion-card {
    background: var(--white);
    box-shadow: 0px 4px 17.1px 3px rgba(0,0,0,0.12);
    padding: 60px;
}

.ubicacion-card-title {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.25;
}

.ubicacion-card-title .fw-bold {
    font-weight: 700;
}

.ubicacion-card-title .text-teal {
    color: var(--primary-teal);
}

.ubicacion-card-title .text-gold {
    color: var(--gold);
}

.ubicacion-description {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.67;
}

.ubicacion-map {
    max-width: 100%;
}

/* ============================================
   DESCUBRE SECTION
   ============================================ */
.descubre-section {
    padding: 80px 0 60px;
    background: var(--white);
}

.descubre-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-teal);
    line-height: 1.3;
}

.descubre-title .fw-bold {
    font-weight: 700;
}

.descubre-subtitle {
    font-size: 30px;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.4;
}

.descubre-subtitle .text-gold {
    color: var(--gold);
    font-weight: 700;
}

.gallery-item {
    overflow: hidden;
    height: 785px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation arrows */
.nav-arrow {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--primary-teal);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* ============================================
   AMENIDADES SECTION
   ============================================ */
.amenidades-section {
    position: relative;
    padding: 0;
}

/* Fila superior */
.amenidades-top {
    position: relative;
}

.amenidades-beige-box {
    background: var(--beige);
    min-height: 415px;
    padding: 60px 0;
}

.amenidades-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-teal);
    line-height: 1.3;
}

.amenidades-description {
    font-size: 30px;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.27;
}

.amenidades-list {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 35px;
    list-style: disc;
    padding-left: 27px;
}

/* Fila de imágenes con fondo azul */
.amenidades-images-wrapper {
    position: relative;
    padding: 80px 0 0;
    overflow: hidden;
}

.amenidades-bg-full {
    z-index: 0;
}

.amenidades-bg-full img {
    object-position: center;
}

/* Franja blanca inferior (109px en Figma) */
.amenidades-bg-white {
    background: var(--white);
    height: 45px;
    z-index: 1;
}

/* Grid de 3 imágenes con posiciones Figma */
.amenidades-images-grid {
    display: flex;
    position: relative;
}

.amenidades-img-col {
    flex: 1;
}

.amenidades-image {
    overflow: hidden;
    height: 649px;
}

.amenidades-image img {
    display: block;
}

/* Imagen 1 (Piscinas): tiene texto ARRIBA, imagen abajo */
.amenidades-img-col-1 {
    align-self: flex-end;
}

.amenidades-image-text-top {
    padding-left: 4px;
}

/* Imagen 2 (Restaurantes): está 189px más arriba que las laterales */
.amenidades-img-col-2 {
    align-self: flex-start;
    margin-bottom: 189px;
}

/* Imagen 3 (Marina): igual altura que imagen 1 */
.amenidades-img-col-3 {
    align-self: flex-end;
}

/* Texto sobre las imágenes */
.amenidades-image-label {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.4;
}

.amenidades-image-label .fw-semibold {
    font-weight: 600;
}

.amenidades-image-label .text-uppercase {
    text-transform: uppercase;
}

/* ============================================
   LOTES SECTION
   ============================================ */
.lotes-section {
    position: relative;
    background: var(--white);
}


.lotes-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-teal);
    line-height: 1.3;
}

.lotes-title .fw-semibold {
    font-weight: 600;
}

.lotes-subtitle {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.4;
}

.lotes-description {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.33;
}

/* Flechas nav con fondo beige centradas */
.lotes-nav-beige {
    background: var(--beige);
    padding: 15px 30px;
    display: inline-flex;
}

.lotes-nav .nav-arrow {
    color: var(--primary-teal);
    font-size: 32px;
}

/* Render grande */
.lotes-render {
    width: 100%;
}

.lotes-render img {
    display: block;
}

/* Botón cotizar con fondo beige */
.lotes-cta-wrapper {
    padding: 30px 0;
    margin-top: -40px;
}

.lotes-cta-beige {
    background: var(--beige);
    padding: 15px 40px;
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-cotizar-teal {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-teal);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-cotizar-teal:hover {
    color: var(--teal-dark);
}

/* Decorative coral element */
.decorative-coral {
    position: absolute;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   CONTACTO SECTION
   ============================================ */
.contacto-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.contacto-bg {
    z-index: 0;
}

.contacto-bg img {
    object-fit: cover;
}

.contacto-title {
    font-size: 64px;
    font-weight: 300;
    color: var(--white);
    text-align: center;
    line-height: 1.2;
}

.contacto-subtitle {
    font-size: 28px;
    font-weight: 300;
    color: var(--white);
    text-align: center;
    line-height: 1.4;
    max-width: 626px;
    margin: 0 auto;
}

.contacto-subtitle .fw-bold {
    font-weight: 700;
}

.form-field {
    border: 1px solid var(--white);
    background: transparent;
    height: 71px;
    width: 100%;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    padding: 0 20px;
}

.form-field::placeholder {
    color: var(--white);
    opacity: 0.8;
}

.form-field:focus {
    outline: none;
    border-color: var(--gold);
}

/* ============================================
   FOOTER SECTION
   ============================================ */
.footer-section {
    background: var(--gold);
    padding: 5px 0;
    text-align: center;
}

.footer-message {
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    max-width: 740px;
    margin: 0 auto;
}

.footer-message .text-gold {
    color: var(--gold);
}

.footer-disclaimer {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    max-width: 1024px;
    margin: 30px auto 0;
    line-height: 1.5;
}

.btn-cotizar-white {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-teal);
    text-transform: uppercase;
    text-decoration: none;
    background: var(--beige);
    padding: 15px 40px;
    display: inline-block;
}

.btn-cotizar-white:hover {
    background: var(--white);
    color: var(--primary-teal);
}


.fondo-total2 {
    height: 115vh !important;
    background: url(../imagenes/fondo-cb-1.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.div-gracias {
    font-size: 35px;
    text-align: center;
    font-weight: 700;
    font-size: 30px;
    color: #fff !important;
}


.btn-volver {
    font-size: 18px;
    font-weight: 700;
    color: #117e83;
    text-transform: uppercase;
    text-decoration: none;
    background: #f9f2e8;
    padding: 15px 40px;
    display: inline-block;

}

.btn-volver a {
    text-decoration: none;
}

.iti {
    width: 100% !important;
}

.error-input {
    background: #ff2727c4 !important;
}



.fw-bold {
    font-family: "Montserrat Bold";
}

a {
    text-decoration: none;
}

.lotes-cta-beige:hover{
    background: #117e83;
    color: #f9f2e8;
}

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 0px;
    width: 90px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    z-index: 2;
}

/* ============================================
   RESPONSIVE - TABLET (max 991px)
   ============================================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 28px;
        max-width: 90%;
    }

    .hero-subtitle {
        font-size: 18px;
        max-width: 90%;
    }

    .hero-logo {
        max-width: 200px;
    }

    .ubicacion-title {
        font-size: 40px;
    }

    .ubicacion-card {
        padding: 30px;
    }

    .ubicacion-card-title {
        font-size: 24px;
    }

    .descubre-title,
    .amenidades-title,
    .lotes-title {
        font-size: 32px;
    }

    .descubre-subtitle,
    .amenidades-description,
    .lotes-subtitle {
        font-size: 22px;
    }

    .gallery-item {
        height: 400px;
    }

    .amenidades-image {
        height: 350px;
    }

    .amenidades-images-grid {
        flex-direction: column;
        gap: 30px;
    }

    .amenidades-img-col-2 {
        margin-bottom: 0;
    }

    .amenidades-images-wrapper {
        padding: 40px 0 80px;
    }

    .contacto-title {
        font-size: 40px;
    }

    .contacto-subtitle {
        font-size: 20px;
    }

    .footer-message {
        font-size: 22px;
    }
    .descubre-section {
    padding: 0px;
        background: var(--white);
    }
    li{
        line-height: 20px;
        padding-bottom: 10px;
    }
    .amenidades-bg-full img{
        object-position: left;
    }
    .lotes-cta-beige{
        padding: 15px 10px;
        font-size: 14px;
    }

}

/* ============================================
   RESPONSIVE - MOBILE (max 767px)
   ============================================ */
@media (max-width: 767.98px) {
   .ht-1{
    height: 1615px;
}
.htop-1{
    top: -500px;
}
    .hero-section {
        min-height: 1615px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-logo {
        max-width: 160px;
    }

    .ubicacion-title {
        font-size: 30px;
    }

    .ubicacion-card-title {
        font-size: 20px;
    }

    .ubicacion-description {
        font-size: 16px;
    }

    .descubre-title,
    .amenidades-title,
    .lotes-title {
        font-size: 26px;
    }

    .descubre-subtitle,
    .amenidades-description,
    .lotes-subtitle {
        font-size: 18px;
    }

    .gallery-item {
        height: 250px;
    }

    .amenidades-image {
        height: 250px;
    }

    .amenidades-beige-box {
        min-height: auto;
        padding: 30px;
    }

    .contacto-title {
        font-size: 30px;
    }

    .contacto-subtitle {
        font-size: 18px;
    }

    .footer-message {
        font-size: 18px;
    }

    .footer-disclaimer {
        font-size: 11px;
    }

    .form-field {
        height: 55px;
        font-size: 14px;
    }
}
