/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES DE COLOR */
:root {
    --gris-oscuro: #2f2f2f;
    --gris-medio: #6b6b6b;
    --gris-claro: #f4f4f4;
    --verde-suave: #7a8f85;
    --dorado: #c1a45f;
    --blanco: #ffffff;
}

/* GENERAL */
body {
    font-family: 'Inter', sans-serif;
    color: var(--gris-oscuro);
    background-color: var(--gris-claro);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.header {
    background-color: var(--blanco);
    border-bottom: 1px solid #ddd;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gris-medio);
}

.logo :hover {
     color: var(--dorado);
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--gris-medio);
    font-weight: 400;
}

.nav a:hover {
    color: var(--dorado);
}

/* HERO */
.hero {
    height: 70vh;
    background-image: url("../img/banner_portada_1.jpg");
    background-size: cover;
    background-position: center;
    
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.35);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--blanco);
    max-width: 1200px;
}



.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* INTRO */
.intro {
    text-align: center;
    padding: 60px 0;
    
}

.intro h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gris-medio);
    margin-bottom: 15px;
}

.intro p {
    max-width: 700px;
    margin: auto;
    color: var(--gris-medio);
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding-bottom: 80px;
}

.card {
    background-color: var(--blanco);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 10px;

}

.card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--verde-suave);
    margin: 15px;
}

.card p {
    margin: 0 15px 20px;
    color: var(--gris-medio);
}

/* FOOTER */
.footer {
    background-color: var(--gris-oscuro);
    color: var(--blanco);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    color: var(--dorado);
}

.footer p {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-social img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    opacity: 0.7;
}


.footer-social a:hover img {
    filter: none;
    opacity: 1;
}

.footer-social a:hover {
    color: var(--dorado);
}






.video-bienvenida {
    text-align: center;
    margin-bottom: 50px;
}



.video-player {
    width: 100%;
    max-width: 720px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}




/* GALERÍA DE VÍDEOS CON SWIPER */
.video-galeria {
    background-color: var(--gris-claro);
    margin-bottom: 50px;
}

.video-galeria h3 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gris-medio);
    margin-bottom: 40px;
}

/* Slides */
.video-item {
    text-align: center;
}

.video-item a {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.video-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Play */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.4rem;
    color: var(--blanco);
    background: rgba(0,0,0,0.45);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-item p {
    margin-top: 12px;
    color: var(--gris-medio);
    font-size: 0.95rem;
}

/* Swiper personalizado */
.video-swiper {
    padding-bottom: 50px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--verde-suave);
}

.swiper-pagination-bullet {
    background: var(--verde-suave);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}






/* COMUNIDAD - ESTILOS FORMULARIO COMUNIDAD REGISTRO*/
.comunidad {
    background-color: var(--blanco);
    padding: 80px 0;
    text-align: center;
}

.comunidad h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gris-medio);
    margin-bottom: 10px;
}

.comunidad p {
    color: var(--gris-medio);
    margin-bottom: 40px;
}

.form-comunidad {
    max-width: 420px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-comunidad input {
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
}

.form-comunidad input:focus {
    outline: none;
    border-color: var(--verde-suave);
}

.form-comunidad button {
    padding: 14px;
    border-radius: 8px;
    border: none;
    background-color: var(--dorado);
    color: var(--blanco);
    font-size: 1rem;
    cursor: pointer;
}

.form-comunidad button:hover {
    background-color: var(--gris-oscuro);
}



.texto_centrado {
    justify-content: center;
    text-align: center;
}



.btn_cotizacion {
    background: linear-gradient(135deg, #378181, #3f6363);
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn_cotizacion:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 18px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--dorado), var(--dorado));
}

.btn_cotizacion:active {
    transform: scale(0.97);
}



.wallapop {
    
    height: 600px;
}