:root {
    --titulo: Urbanist Semi Bold;
	--txt: Urbanist Medium;
    --txt-bold: Urbanist Bold;
    --body: rgb(231, 229, 223);
    --trans: rgb(20, 20, 20, 0.8);
    --contenedor: rgb(255, 255, 255);
    --sub_contenedor: rgb(238, 240, 243);
    --border: rgb(107, 114, 128);
    --principal: rgb(76, 71, 53);
    --principal_2: rgb(114, 106, 79);
    --colorp: rgb(255, 255, 255);
    --colorp_2: rgb(107, 114, 128);
    --colortxt: rgb(255, 255, 255);
    --colorwt:rgb(255, 255, 255);
    --bueno: rgb(31, 169, 83);
    --accent: rgb(22, 163, 74);
    --error: rgb(255, 68, 68);
    --cancelado: rgb(231, 76, 60);
}

body {
	background: var(--body);
    padding: 0;
    margin: 0;
}

@font-face {
	font-family: 'Urbanist Semi Bold';
	src: url('../font/static/Urbanist-SemiBold.ttf');
}

@font-face {
	font-family: 'Urbanist Medium';
	src: url('../font/static/Urbanist-Medium.ttf');
}

@font-face {
	font-family: 'Urbanist Bold';
	src: url('../font/static/Urbanist-Bold.ttf');
}

.mb-color-principal{
    background-color: var(--principal);
}

.mb-color-principal:hover{
    background-color: var(--principal_2);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--titulo);
	color: var(--colortxt);
}

a {
	text-decoration: none;
	height: 0;
	margin: 0;
	padding: 0;
	height: auto;
}

p, input, li, ul, a, button, span, form, img, label {
	font-family: var(--txt);
	color: var(--colortxt);
	font-size: 16px;
}

textarea{
	font-family: var(--txt);
	color: var(--colortxt);
	font-size: 14px;
}

p {
	line-height: 1.5;
    color: var(--colorp);
}

button {
    font-family: var(--titulo);
	cursor: pointer;
    user-select: none;
}

img{
	user-select: none;
}

::-webkit-scrollbar {
	width: 10px; 
	height: 10px;
}
  
::-webkit-scrollbar-thumb {
	background-color: var(--principal_2); /* Color del pulgar */
	border-radius: 8px; /* Bordes redondeados para el pulgar */
	border: solid var(--principal_2);
}

@media (max-width: 1024px) {
    p, input, li, ul, a, button, span, form, label {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    p, input, li, ul, a, button, span, form, label {
        font-size: 14px;
    }
}

html{
    margin:0;
    padding:0;
    scroll-behavior: smooth;
}

/* Estilos del video y hero section */
.videointro {
    background-color: transparent;
    width: 100%;
    min-height: 80dvh;
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: flex-end; /* Alinea hacia abajo */
    justify-content: flex-start;
}

.videointro video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    margin-left: 8%;
    margin-bottom: 8%; /* Espacio desde abajo */
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.bienvenida {
    position: relative;
}

.bienvenida h1 {
    font-size: 4rem;
    font-family: var(--txt);
    color: var(--body);
    margin: 0;
    line-height: 1.2;
}

.bienvenida span {
    font-size: 4rem;
    font-family: var(--titulo);
    color: var(--body);
}

.typing-text, .cursor{
    color: var(--principal_2) !important;
}

.typing-text {
    font-family: var(--titulo);
    color: var(--principal_2);
    font-size: 4rem;
    position: relative;
    display: inline-block;
}

.cursor {
    display: inline-block;
    margin-left: 5px;
    font-family: monospace; /* Para un cursor más preciso */
    animation: blink 1s infinite;
    line-height: 1;
    font-size: 4rem;
}

/* Estilos del botón CTA */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--principal);
    color: var(--colorwt);
    border: none;
    border-radius: 10px;
    font-family: var(--titulo);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--principal_2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Estilos del Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: var(--contenedor);
    margin: auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--colorp_2);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--principal);
}

.quienesson{
    position: relative;
    background: var(--principal);
    width: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
    justify-content: center;
}

.ulumiresumen{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem;
    margin: auto;
    width: 90%;
}

.logoresumen{
    position: relative;
    display: flex;
    padding-left: 5rem;
    padding-right: 5rem;
    border-right: solid var(--body);
    width: 100%;
    justify-content: end;
}

.logoresumen img{
    height: 50%;

}

.textoresumen{
    padding-left: 5rem;
    padding-right: 5rem;
    width: 100%;
}

.textoresumen p{
    font-size: 16px;
    text-align: justify;
    line-height: 1.6rem;
}

.modelosvilla{
    display: flex;
    height: 100vh;
    align-items: center;
    gap: 2rem;
}

.imagenmuestra{
    position: relative;
    overflow: hidden;
    max-height: 40rem;
    background-color: var(--body);
    max-width: 40rem;
    width: 50%;
    height: 90%;
    border-radius: 0 50% 50% 0 ;
    padding-right: 2rem;
}

.imagenmuestra img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.seleccionarmodelo{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 90%;
}

.seleccionarmodelos{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 40rem;
    padding: 2rem;
}

.seleccionarboton {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 15px; /* Aumentado ligeramente */
    padding: 0px 15px; /* Ajustado el padding */
    border-radius: 25px; /* Más redondeado */
    background: var(--principal_2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.seleccionarboton button {
    padding: 12px 20px;
    color: var(--colortxt);
    border-radius: 20px;
    width: 130px;
    font-family: var(--titulo);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.seleccionarboton button.active {
    background-color: var(--principal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.seleccionarboton button:hover {
    background-color: var(--principal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nombremodelo{
    margin-top: 1rem;
}

.nombremodelo h2{
    font-size: 2.5rem;
    height: 2.5rem;
    margin: 0;
    color: var(--principal_2);
}

.nombremodelo h1{
    font-size: 3.5rem;
    height: 3.5rem;
    margin: 0;
    color: var(--principal);
}

.nombremodelo p{
    margin-top: 2rem;
    color: var(--principal);
    font-size: 1.1rem;
    font-family: var(--titulo);
}

.medidasmodelo{
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    gap: 1rem;
}

.medidasmodelo img{
    height: 2.5rem;
}

.medidasmodelo h3{
    font-family: var(--titulo);
    color: var(--principal_2);
    font-size: 1.1rem;
}

.medidasmodelo span{
    font-family: var(--titulo);
    color: var(--principal_2);
    font-size: 1.1rem;
}

.medidasmodelo p{
    color: var(--principal);
}

.medida{
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Estilos para el contenedor de precio */
.precio-container {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
    align-items: start;
}

.precio-principal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.precio-principal h3 {
    color: var(--principal);
    font-size: 1.5rem;
    margin: 0;
    transition: opacity 0.3s ease-in-out, color 0.3s ease-in-out;
}

.enganche {
    background-color: var(--principal_2);
    color: var(--colorwt) !important;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem !important;
    font-family: var(--txt);
    display: inline-block;
    margin-left: 0.5rem;
    position: relative;
    top: -2px;
}

/* Estilo para la etiqueta MXN */
.moneda {
    color: var(--principal_2);
    font-size: 0.9rem;
    font-family: var(--txt);
    margin-left: 0.2rem;
}

.masdetallesbuton{
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.masdetallesbuton button,
.masdetallesbuton a {
    background-color: var(--body);
    border: 2px solid var(--principal);
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 10px;
    color: var(--principal);
    font-family: var(--titulo);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.masdetallesbuton button:hover {
    background-color: var(--principal);
    color: var(--body);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.masdetallesbuton a {
    background-color: var(--principal);
    color: var(--body);
}

.masdetallesbuton a:hover {
    background-color: var(--principal_2);
    border-color: var(--principal_2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Efecto de ripple para los botones */
.seleccionarboton button::after,
.masdetallesbuton button::after,
.masdetallesbuton a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease-out, height 0.3s ease-out;
}

.seleccionarboton button:active::after,
.masdetallesbuton button:active::after,
.masdetallesbuton a:active::after {
    width: 200px;
    height: 200px;
    opacity: 0;
}

.avisocambio{
    font-size: 0.85rem;
    color: var(--principal_2);
    margin-top: 1rem;
}

/* Estilos actualizados del modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.modal-content {
    position: relative;
    background-color: transparent;
    padding: 20px;
    max-width: 90%;
    max-height: 80vh;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
}

.close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: var(--body);
    font-size: 35px;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--principal_2);
}

.nav-button {
    position: absolute;
    display: flex;
    top: 50%;
    transform: translateY(-50%);
    background: var(--principal);
    color: var(--body);
    padding: 15px 20px;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    transition: all 0.3sease;
    font-size: 20px;
    height: 50px;
    width: 50px;
    align-items: center;
    justify-content: center;
}

.nav-button:hover {
    background: var(--principal_2);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: -60px;
}

.next {
    right: -60px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    max-width: 80%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border-radius: 4px;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--principal_2);
}

.amenidadesvilla{
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background-color: var(--principal);
}

.amenidades{
    position: relative;
    text-align: center;
    padding: 4rem;
    width: 100%;
    max-width: 60rem;
}

.amenidades h2{
    font-size: 3rem;
}

.listaamenidades{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 2rem;
}

.tipos, .descripciones{
    display: flex;
    position: relative;
    width: 100%;
    gap: 20px;
}

.tipoa{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 25%;
    padding: 1rem;
    background-color: var(--principal);
    border: 2px solid var(--body);
    border-radius: 10px;
    justify-content: center;
}

.tipoa img{
    position: relative;
    height: 40px;
    width: 40px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.tipoa p{
    font-size: 0.75rem;
}

.descripta{
    position: relative;
    width: 100%;
    border-radius: 10px;
}

.descripta img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.ubicaciones{
    display: flex;
    min-height: 100vh;
    height: auto;
    align-items: center;
    justify-content: center;
    background-color: var(--body);
    text-align: center;
}

.ubicaionvillas{
    padding: 3rem;
    width: 70%;
}

.ubicaciones h1{
    font-size: 4rem;
    color: var(--principal);
}

.mapaunicacion{
    margin-top: 3rem;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
}


#map{
    width: 100%;
    height: 400px;
    border-radius: 20px;
}

.contactar{
    position: relative;
    display: flex;
    height: 90vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 4rem;
    background-color: var(--principal);
}

.informacionempresa{
    display: flex;
    flex-direction: column;
    width: 40%;
    padding: 4rem;
}

.informacionempresa img{
    width: 345px;
    height: 100px;
}

.informacioncontacto{
    display: flex;
    justify-content: center;
    width: 40%;
}

.informacioncontacto span{
    font-size: 0.75rem;
    color: var(--principal_2);
}

.informacioncontacto form{
    width: 90%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    background-color: var(--body);
    padding: 1.5rem;
    flex-direction: column;
    gap: 10px;
    border-radius: 10px;
}

.informacioncontacto form input,
.informacioncontacto form textarea{
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background-color: var(--body);
    border: 1px solid var(--principal);
    color: var(--principal);
}

.informacioncontacto form h1{
    font-size: 2rem;
    color: var(--principal);
    margin-bottom: 1.5rem;
}

.informacioncontacto button{
    background: var(--principal);
    padding: 0.8rem 2.5rem;
    border-radius: 20px;
}

.informacioncontacto p{
    font-size: 0.75rem;
    color: var(--principal_2);
}

.informacioncontacto a{
    font-size: 0.75rem;
    color: var(--principal);
    text-decoration-line: underline;
}

.nomrbe{
    display: flex;
    gap: 10px;
}

.nomrbe input{
    width: 50%;
}

.contacto{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.redessosciales{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    margin-top: 2rem;
}

.redd{
    display: flex;
    gap: 10px;
}

.redd img{
    width: 30px;
    height: 30px;
}

.redd a{
    color: var(--body);
}

.creadores{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.creador img{
    height: 60px;
    width: 80px;
}

.formulariowhats{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    height: 60px;
    width: 60px;
    background: #25d366;
    bottom: 40px;
    right: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.formulariowhats:hover{
    transform: translateY(-2px);
}

.formulariowhats img{
    height: 60%;
}

.modalwhats{
    position: fixed;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 901;
    top: 0;
    left: 0;
}

.whatsform{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 90%;
    height: 90%;
    max-width: 360px;
    max-height: 480px;
    background-color: var(--body);
    border-radius: 10px;
    padding: 1.5rem;
    gap: 20px;
}

.whatsform h1{
    color: var(--principal);
    font-size: 1.5rem;
}

#enviarwhast{
    text-decoration-line: none;
}

.whatsform a{
    color: var(--principal_2);
    text-decoration-line: underline;
}

.whatsform span{
    font-size: 0.75rem;
    color: var(--principal);
}

.whatsform .nombre{
    display: flex;
    gap: 20px;
}

.whatsform input{
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    color: var(--principal);
    font-size: 1rem;
}

.whatsform .nombre input{
    width: 50%;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.whatsform button, #enviarwhast{
    background: var(--principal);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    color: var(--body);
    font-size: 1rem;
    border: 2px solid var(--principal);
}

#salirwhast{
    background: var(--body);
    color: var(--principal);
    border: 2px solid var(--principal);
}

.whatsform p{
    font-size: 0.75rem;
    color: var(--principal_2);
}

.whatsform a{
    font-size: 0.75rem;
    color: var(--principal);
    font-family: var(--titulo);    
}

/* Estilo para el selector de idioma */
.language-selector {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    padding: 0.3rem 0.6rem;
    background-color: rgba(76, 71, 53, 0.2);
    border-radius: 8px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--colorwt);
    font-family: var(--titulo);
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background-color: var(--principal);
    color: var(--colorwt);
}

.lang-separator {
    color: var(--colorwt);
    margin: 0 0.3rem;
}

/* Ajustes para la navegación */
.navinterna {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Estilos para hacer que el croquis sea interactivo */
.map-instructions {
    color: var(--principal);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-family: var(--txt);
}

.map-link {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(76, 71, 53, 0.8);
    color: white;
    padding: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.map-link:hover .map-overlay {
    transform: translateY(0);
}

.map-link:hover .map-image {
    filter: brightness(0.9);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .map-instructions {
        font-size: 0.9rem;
    }
    
    .map-overlay {
        padding: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .videointro{
        height: 90vh;
    }
    .bienvenida h1{
        font-size: 2.5rem;
    }
    .bienvenida span{
        font-size: 2.5rem;
    }
    .hero-content{
        gap: 1rem;
        margin-bottom: 8%;
    }
    .cta-button{
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    .formulariowhats{
        right: 20px;
        bottom: 20px;
        height: 55px;
        width: 55px;
    }
    .ulumiresumen{
        padding: 1rem;
    }
    .logoresumen{
        padding: 1rem;
    }
    .textoresumen{
        padding: 1rem;
    }
    .imagenmuestra{
        display: none;
    }
    .modelosvilla, .amenidadesvilla, .ubicaciones, .contactar{
        height: auto;
        padding-bottom: 3rem;
    }
    .contactar{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .informacionempresa img{
        width: 240px;
        height: 80px;
    }
    .redd img{
        width: 30px;
        height: 30px;
    }
    .creador img {
        height: 60px;
        width: 80px;
    }
    .seleccionarmodelo{
        width: 100%;
        height: auto;
        min-height: 640px;
        justify-content: center;
    }
    .seleccionarmodelos{
        padding: 1rem;
    }
    .seleccionarboton{
        padding: 0 10px;
    }
    .seleccionarboton button{
        padding: 8px 12px;
        width: auto;
    }
    .nombremodelo h2{
        font-size: 2rem;
    }
    .nombremodelo h1{
        font-size: 2.5rem;
    }
    .nombremodelo p{
        font-size: 1rem;
        margin-top: 0.85rem;
    }
    .medidasmodelo img{
        height: 30px;
        width: 30px;
    }
    .medidasmodelo h3{
        font-size: 1rem;
    }
    .masdetallesbuton{
        gap: 1rem;
    }
    .masdetallesbuton button, .masdetallesbuton a{
        padding: 0.5rem 1.5rem;
        border-radius: 10px;
    }
    .modal {
        padding: 10px;
    }
    .modal-content {
        padding: 10px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .modal-image {
        max-height: 60vh;
    }

    .close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }

    .nav-button {
        width: 40px;
        height: 40px;
        padding: 10px;
        font-size: 16px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .gallery-thumbnails {
        max-width: 100%;
        padding: 5px;
        gap: 5px;
        justify-content: flex-start;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
        min-width: 60px; /* Evita que las miniaturas se encojan */
    }
    .avisocambio{
        font-size: 0.75rem;
    }
    .amenidades{
        padding: 2rem;
    }
    .tipos{
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .tipoa{
        width: calc(50% - 16px);
    }
    .ubicaionvillas{
        width: 100%;
        padding: 1rem;
    }
    .informacionempresa, .informacioncontacto{
        width: 100%;
        padding: 1rem;
        padding-bottom: 2rem;
    }
    .informacioncontacto form{
        width: 100%;
    }
    
    /* Ajustes para el selector de idioma */
    .navinterna {
        flex-wrap: wrap;
    }
    .language-selector {
        margin: 0.5rem 1rem;
    }
}

/* Ajustes responsivos para el modal y galería */
@media (max-width: 768px) {
    .videointro{
        height: 90vh;
    }
    .bienvenida h1{
        font-size: 2rem;
    }
    .bienvenida span{
        font-size: 2rem;
    }
    .hero-content{
        gap: 1rem;
        margin-bottom: 16%;
    }
    .cta-button{
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    .formulariowhats{
        right: 20px;
        bottom: 20px;
        height: 50px;
        width: 50px;
    }
    .ulumiresumen{
        flex-direction: column;
        padding: 1rem;
    }
    .logoresumen{
        padding: 1rem;
        border: none;
    }
    .textoresumen{
        padding: 1rem;
    }
    .imagenmuestra{
        display: none;
    }
    .seleccionarmodelo{
        width: 100%;
        justify-content: start;
    }
    .seleccionarmodelos{
        padding: 1rem;
    }
    .seleccionarboton{
        padding: 0 10px;
    }
    .seleccionarboton button{
        padding: 8px 12px;
        width: auto;
    }
    .nombremodelo h2{
        font-size: 2rem;
    }
    .nombremodelo h1{
        font-size: 2.5rem;
    }
    .nombremodelo p{
        font-size: 1rem;
        margin-top: 0.85rem;
    }
    .medidasmodelo img{
        height: 30px;
        width: 30px;
    }
    .medidasmodelo h3{
        font-size: 1rem;
    }
    
    /* Estilos para el precio en móvil */
    .precio-principal h3 {
        font-size: 1.3rem;
    }
    
    .enganche {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .masdetallesbuton{
        gap: 1rem;
    }
    .masdetallesbuton button, .masdetallesbuton a{
        padding: 0.5rem 1.5rem;
        border-radius: 10px;
    }
    .modal {
        padding: 10px;
    }
    .modal-content {
        padding: 10px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .modal-image {
        max-height: 60vh;
    }

    .close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }

    .nav-button {
        width: 40px;
        height: 40px;
        padding: 10px;
        font-size: 16px;
    }

    .ubicaciones{
        min-height: 40vh;
    }
    
    .mapaunicacion{
        height: auto;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .gallery-thumbnails {
        max-width: 100%;
        padding: 5px;
        gap: 5px;
        justify-content: flex-start;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
        min-width: 60px; /* Evita que las miniaturas se encojan */
    }
    .avisocambio{
        font-size: 0.75rem;
    }
    .amenidades{
        padding: 2rem;
    }
    .tipos{
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
    .tipoa{
        width: calc(50% - 16px);
    }
    .ubicaionvillas{
        width: 100%;
        padding: 1rem;
    }
    .contactar{
        flex-direction: column-reverse;
        padding: 0rem;
        height: 150vh;
    }
    .informacionempresa, .informacioncontacto{
        width: 100%;
        padding: 1rem;
    }
    .informacioncontacto form{
        width: 100%;
    }
    
    /* Ajustes del selector de idioma para móvil */
    .navinterna {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .language-selector {
        margin: 0.5rem 0;
        order: 2;
    }
    
    .navbotonaccion {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .navbotonaccion a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
    .modal-content {
        height: auto;
    }

    .modal-image {
        max-height: 50vh;
    }

    .nav-button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .close {
        font-size: 25px;
    }

    .thumbnail {
        width: 50px;
        height: 38px;
        min-width: 50px;
    }

    .gallery-thumbnails {
        margin-top: 10px;
    }
    
    /* Ajustes del selector de idioma para pantallas muy pequeñas */
    .language-selector {
        padding: 0.2rem 0.4rem;
    }
    
    .lang-btn {
        font-size: 0.8rem;
        padding: 0.15rem 0.3rem;
    }
}

/* Ajustes para orientación landscape en móviles */
@media (max-height: 480px) and (orientation: landscape) {
    .modal-image {
        max-height: 70vh;
    }

    .gallery-thumbnails {
        max-width: 100%;
        margin-top: 5px;
    }

    .thumbnail {
        width: 45px;
        height: 34px;
        min-width: 45px;
    }
    
    /* Ajustes específicos para la navegación en modo landscape */
    .navinterna {
        padding: 0.5rem;
    }
    
    .language-selector {
        margin-right: 1rem;
    }
}

/* Animación para el cursor parpadeante en la sección de bienvenida */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}