/* --- VARIABLES CORPORATIVAS --- */
:root {
    --verde: #61CE70;       
    --azul-marino: #1C2D4A; 
    --azul-precio: rgb(2, 3, 129); 
    --gris-texto: #6B7280;
    --gris-fondo: #F9FAFB;
    --blanco: #FFFFFF;
    --sombra-suave: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --sombra-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--gris-texto); background-color: var(--blanco); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--azul-marino); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
header { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); position: sticky; width: 100%; top: 0; z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); }
.header-container { max-width: 1280px; margin: 0 auto; padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 55px; width: auto; transition: transform 0.3s ease; }
.logo img:hover { transform: scale(1.02); }
nav { display: flex; gap: 35px; align-items: center; }
nav a { color: var(--azul-marino); font-weight: 500; font-size: 0.95rem; position: relative; transition: color 0.3s ease; }
nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--verde); transition: width 0.3s ease; }
nav a:hover, nav a.active { color: var(--verde); }
nav a:hover::after, nav a.active::after { width: 100%; }
.btn-contacto { background-color: var(--verde); color: var(--blanco) !important; padding: 10px 24px; border-radius: 50px; font-weight: 600; transition: background 0.3s, transform 0.3s; }
.btn-contacto:hover { background-color: #4CAF50; transform: translateY(-2px); }
.btn-contacto::after { display: none; }
.hero { position: relative; height: 60vh; min-height: 400px; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28, 45, 74, 0.7), rgba(28, 45, 74, 0.4)); }
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 20px; color: var(--blanco); }
.hero h1 { font-size: 3rem; color: var(--blanco); margin-bottom: 20px; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.2rem; color: #E5E7EB; margin-bottom: 30px; font-weight: 300; }
.hero-small { height: 40vh; min-height: 300px; }
.btn-hero { display: inline-block; background-color: var(--verde); color: var(--blanco); padding: 14px 35px; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(97, 206, 112, 0.4); border: none; cursor: pointer; }
.btn-hero:hover { background-color: #4CAF50; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(97, 206, 112, 0.6); }
.container { max-width: 1280px; margin: 0 auto; padding: 80px 20px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header span { color: var(--verde); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; }
.section-header h2 { font-size: 2.5rem; margin-top: 10px; }
.texto-legal h3 { margin-top: 30px; margin-bottom: 10px; }
.texto-legal p { margin-bottom: 15px; }
.grid-propiedades { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--blanco); border-radius: 16px; overflow: hidden; box-shadow: var(--sombra-suave); transition: all 0.4s; display: flex; flex-direction: column; border: 1px solid #F3F4F6; }
.card:hover { transform: translateY(-8px); box-shadow: var(--sombra-hover); }
.card-img { height: 220px; background-size: cover; background-position: center; position: relative; }
.badge { position: absolute; top: 15px; left: 15px; background-color: var(--verde); color: var(--blanco); padding: 6px 14px; font-size: 0.75rem; font-weight: 600; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px; }
.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card-ref { font-size: 0.8rem; color: #9CA3AF; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; font-weight: 500; }
.card-title { font-size: 1.3rem; color: var(--azul-marino); margin-bottom: 15px; font-weight: 700; line-height: 1.3; }
.card-features { display: flex; gap: 15px; font-size: 0.9rem; color: var(--gris-texto); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #F3F4F6; margin-top: auto; }
.card-price { font-size: 1.4rem; color: var(--azul-precio); font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.card-price a { font-size: 0.9rem; color: var(--azul-marino); font-weight: 600; transition: color 0.3s; }
.card-price a:hover { color: var(--verde); }
.presentacion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 60px; }
.presentacion-grid img { width: 100%; border-radius: 16px; box-shadow: var(--sombra-suave); }
.presentacion-texto p { margin-bottom: 20px; font-size: 1.05rem; }
.seguros-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.seguro-card { background: var(--blanco); padding: 40px 30px; border-radius: 16px; text-align: center; box-shadow: var(--sombra-suave); border-top: 4px solid var(--verde); transition: transform 0.3s; }
.seguro-card:hover { transform: translateY(-5px); }
.seguro-card h3 { margin-bottom: 15px; }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--azul-marino); font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border: 1px solid #D1D5DB; border-radius: 8px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(97, 206, 112, 0.2); }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; font-size: 0.85rem; }
.checkbox-group input { margin-top: 4px; width: auto; }
.info-contacto { background: var(--gris-fondo); padding: 40px; border-radius: 16px; }
.info-contacto h3 { margin-bottom: 20px; }
.info-contacto p { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.ficha-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.ficha-galeria { margin-bottom: 30px; }
.ficha-galeria img { width: 100%; height: 500px; object-fit: cover; border-radius: 16px; }
.ficha-detalles { background: var(--blanco); padding: 30px; border-radius: 16px; box-shadow: var(--sombra-suave); border: 1px solid #F3F4F6; }
.ficha-precio { font-size: 2.5rem; color: var(--azul-precio); font-weight: 700; margin-bottom: 20px; }
.ficha-caracteristicas { list-style: none; margin-bottom: 30px; }
.ficha-caracteristicas li { padding: 10px 0; border-bottom: 1px solid #F3F4F6; display: flex; justify-content: space-between; }
.ficha-descripcion { margin-top: 40px; }
.ficha-descripcion h2 { margin-bottom: 20px; }
footer { background-color: #111827; color: #9CA3AF; padding: 60px 20px 30px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--blanco); font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 20px; }
.footer-grid p, .footer-grid a { color: #9CA3AF; font-size: 0.95rem; display: block; margin-bottom: 10px; transition: color 0.3s; }
.footer-grid a:hover { color: var(--verde); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 30px; border-top: 1px solid #374151; text-align: center; font-size: 0.85rem; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--azul-marino); color: var(--blanco); padding: 20px; z-index: 9999; display: none; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; box-shadow: 0 -5px 20px rgba(0,0,0,0.2); }
.cookie-banner p { margin: 0; font-size: 0.9rem; max-width: 800px; }
.cookie-banner a { color: var(--verde); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 15px; }
.btn-cookie { padding: 10px 20px; border-radius: 5px; font-weight: 600; cursor: pointer; border: none; font-size: 0.9rem; transition: 0.3s; }
.btn-aceptar { background: var(--verde); color: var(--blanco); }
.btn-aceptar:hover { background: #4CAF50; }
.btn-rechazar { background: transparent; color: var(--blanco); border: 1px solid #6B7280; }
.btn-rechazar:hover { background: rgba(255,255,255,0.1); }
@media (max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero h1 { font-size: 2.2rem; }
    .presentacion-grid, .contacto-grid, .ficha-grid { grid-template-columns: 1fr; }
    .ficha-galeria img { height: 300px; }
}
