/*
Theme Name: Laguna Seca Habitat
Theme URI: https://lagunaseca.com
Author: Antigravity AI
Author URI: https://antigravity.ai
Description: Tema premium de alta fidelidad para el proyecto Laguna Seca Habitat. Versión optimizada y responsiva.
Version: 4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: laguna-seca
*/

:root {
    --primary-ocre: #A17C5D; /* Color exacto del PDF */
    --ocre-dark: #84654b;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light-gray: #f8f8f8;
    --white: #ffffff;
    --gold-bg: #f9f5f0; /* Color beige de la tabla */
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography Refinement */
h1, h2, h3, h4, .masive-font {
    font-weight: 900; /* Black */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px; /* Reducido drásticamente de 65px */
}

.center { text-align: center; }

/* Hero V2 (Ajustado con Márgenes Blancos) */
.container-hero {
    padding: 60px 4% 0 4%; /* Margen superior y laterales blancos */
    background-color: var(--white);
}

.hero.v2 {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: #000; /* Fallback */
}

.hero-picture-wrapper {
    width: 100%;
    height: 100%;
}

.hero-img-element {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover; /* Mantiene la estética de "llenado" */
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente original de la imagen refinado */
    background: linear-gradient(to left, rgba(161, 124, 93, 0.5) 0%, rgba(161, 124, 93, 0.3) 40%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1000px;
}

.hero-label {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 5px;
    margin-bottom: 20px;
    opacity: 1;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Pills / Capsule buttons */
.btn-pill {
    display: inline-block;
    padding: 12px 60px;
    font-size: 1.4rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--white);
    background-color: rgba(161, 124, 93, 0.5); /* Semitransparente como en la imagen */
    border: 2px solid var(--white);
    border-radius: 50px; /* Forma de cápsula */
    transition: var(--transition);
}

.btn-pill:hover {
    background-color: var(--primary-ocre);
    transform: scale(1.05);
}

/* Intro Section Refinement */
.intro-section {
    padding: 25px 20px; /* Reducido drásticamente de 80px */
}

.intro-section h2 {
    font-size: 1.5rem; /* Primera línea más pequeña */
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: 0;
}

.intro-section .intro-text {
    font-size: 2.2rem; /* Segunda línea más grande */
    font-weight: 500;
    color: var(--black);
}

.text-pill {
    background-color: var(--primary-ocre);
    color: var(--white);
    padding: 0px 25px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 500;
}

/* ROI Grid */
.roi-section {
    padding: 30px 0; /* Reducido de 60px */
    background-color: var(--white);
}

/* Sección ROI V4 */
.roi-projected {
    padding: 35px 20px; /* Reducido de 65px */
}

.roi-header {
    margin-bottom: 30px; /* Reducido de 60px */
}

.subtitle-roi {
    font-size: 1.4rem;
    margin-top: 15px;
}

.subtitle-roi-small {
    font-size: 1.15rem;
    color: #444;
}

.roi-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.roi-card-composite {
    display: flex;
    flex-direction: column;
}

.card-header-ocre {
    background-color: var(--primary-ocre);
    color: var(--white);
    padding: 20px;
    text-align: center;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.card-body-bordered {
    border: 2px solid var(--black);
    padding: 50px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-percentage {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
}

.sub-label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.sub-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
}

.roi-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.summary-box {
    padding: 25px 15px;
    border-radius: 40px; /* Cápsula horizontal */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

.summary-box .label {
    font-size: 0.95rem;
    text-transform: none;
    margin-bottom: 8px;
}

.summary-box .val {
    font-size: 1.3rem;
    font-weight: 900;
}

.box-outline {
    border: 2px solid var(--black);
    background-color: var(--white);
    color: var(--black);
}

.box-black {
    background-color: var(--black);
    color: var(--white);
}

.roi-footer-note {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 30px; /* Reducido de 50px */
}

/* Comparativa Fidelity V4 */
.comparison-fidelity {
    padding: 35px 20px; /* Reducido de 65px */
}

.comparison-header {
    margin-bottom: 30px; /* Reducido de 60px */
}

.subtitle-comparison {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.4;
    margin-top: 20px;
}

.fidelity-table-wrapper {
    max-width: 1000px;
    margin: 0 auto 80px auto;
}

/* Estilos para Imagen de Tabla V4 */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded-shadow {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-refinement {
    display: inline-block;
    padding: 18px 60px;
    background-color: var(--primary-ocre);
    color: var(--white);
    border-radius: 60px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid var(--primary-ocre);
}

.btn-refinement:hover {
    background-color: transparent;
    color: var(--primary-ocre);
    transform: scale(1.05);
}

.cta-analysis {
    margin-top: 30px; /* Reducido de 40px */
}

.btn-black-capsule {
    background-color: var(--black);
    color: var(--white);
    padding: 20px 60px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-block;
    transition: var(--transition);
}

.btn-black-capsule strong {
    font-weight: 900;
}

.btn-black-capsule:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Feature Grid refined V4 (Similitud Total) */
.features.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 20px 20px 20px; /* Reducido drásticamente */
}

.grid-3-v4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4-v4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-2-v4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .grid-4-v4, .grid-2-v4 { grid-template-columns: 1fr; }
}

.feature-card-v2 {
    background-color: #ededed; 
    padding: 60px 20px 40px 20px; 
    border-radius: 90px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribuye espacio proporcional */
    transition: var(--transition);
    aspect-ratio: 1 / 1.7;
    min-height: 550px;
}

.card-v2-header {
    min-height: 180px; /* Asegura que los iconos y títulos siempre ocupen lo mismo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-v2-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.card-v2-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.feature-card-v2:hover { transform: translateY(-5px); background-color: #f2f2f2; }

.feature-card-v2 h3 {
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--black);
}

.card-icon { 
    height: 110px; 
    margin-bottom: 30px; 
    object-fit: contain; 
}

.feature-card-v2 p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.3;
    max-width: 90%;
}

.feature-card-v2 p strong { font-weight: 900; color: var(--black); }

.btn-info-small {
    background-color: var(--black);
    color: var(--white);
    padding: 10px 40px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 900;
    text-decoration: none;
    margin-top: 30px;
    display: inline-block;
}

.card-logo { 
    height: 50px; 
    margin-top: 35px; /* Más cerca del botón según el nuevo diseño */
    opacity: 0.9;
}

/* Financial Objective Section (Fidelidad V4) */
.objective-section {
    padding: 35px 20px; /* Reducido drásticamente */
}

.objective-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Columna izquierda ligeramente más ancha */
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.objective-card-outline {
    border: 3px solid var(--black);
    padding: 80px 60px;
    border-radius: 100px; /* Bordes muy redondeados según imagen */
    text-align: left;
}

.objective-card-outline h3 {
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
}

.objective-card-outline p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
    margin-bottom: 25px;
}

.objective-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-medium-black {
    height: 140px;
    margin-bottom: 30px;
    object-fit: contain;
}

.objective-info h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.objective-info h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.btn-info-outline-black {
    padding: 14px 70px;
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-info-outline-black:hover {
    background-color: var(--black);
    color: var(--white);
}

.objective-footer-logo {
    margin-top: 20px;
}

.small-logo-bottom {
    height: 60px;
}

/* Condiciones Inversionistas V4 */
.investor-conditions {
    padding: 35px 20px; /* Reducido drásticamente */
}

.investor-header {
    margin-bottom: 30px; /* Reducido de 60px */
}

.header-paragraphs {
    max-width: 800px;
    margin: 30px auto 0 auto;
    text-align: left;
}

.header-paragraphs p {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #333;
}

.investor-cards-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.investor-card-outline {
    border: 1.5px solid var(--black);
    border-radius: 40px;
    padding: 50px 60px;
    text-align: left;
    transition: var(--transition);
}

.investor-card-outline:hover {
    background-color: #fcfcfc;
    transform: translateX(10px);
}

.investor-card-outline h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.investor-card-outline p {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #444;
}

/* Buy & Operate Section V4 (2 renglones) */
.buy-operate { padding: 80px 20px; }

.massive-banner-text {
    font-size: 2.8rem; /* Reducido para asegurar 2 líneas exactas según feedback */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px; /* Reducido drásticamente */
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.cta-pill-buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.btn-pill-ocre {
    padding: 18px 70px; /* Más horizontal */
    background-color: var(--primary-ocre);
    color: var(--white);
    border-radius: 60px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.15rem;
    transition: var(--transition);
    display: inline-block;
}

.btn-pill-outline {
    padding: 18px 70px; /* Más horizontal */
    background-color: transparent;
    color: var(--primary-ocre);
    border: 3px solid var(--primary-ocre);
    border-radius: 60px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.15rem;
    transition: var(--transition);
    display: inline-block;
}

/* ---------------------------------------------------
   RESPONSIVE DESIGN (TOTAL FIDELITY V4)
--------------------------------------------------- */

/* Tablets and Small Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
    .container { padding: 50px 20px; }
    .hero h1 { font-size: 4rem; }
    .roi-main-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .roi-summary-grid { grid-template-columns: repeat(2, 1fr); }
    .objective-grid { gap: 40px; }
}

/* Tablets Portrait (max-width: 768px) */
@media (max-width: 768px) {
    .massive-banner-text { font-size: 2.2rem; line-height: 1.1; margin-bottom: 25px; }
    .hero h1 { font-size: 3.2rem; }
    
    .grid-3-v4 { grid-template-columns: 1fr; gap: 30px; }
    .feature-card-v2 { aspect-ratio: auto; min-height: 500px; padding: 50px 30px; border-radius: 60px; }
    
    .roi-main-grid { grid-template-columns: 1fr; }
    .roi-summary-grid { grid-template-columns: 1fr; }
    .summary-box { min-height: 100px; padding: 20px 10px; }
    
    .objective-grid { grid-template-columns: 1fr; text-align: center; }
    .objective-card-outline { padding: 40px 30px; border-radius: 50px; }
    .objective-info h2 { font-size: 2.2rem; }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container { padding: 40px 15px; }
    .massive-banner-text { font-size: 1.8rem; }
    .hero h1 { font-size: 2.6rem; letter-spacing: 2px; }
    
    .intro-section .intro-text { font-size: 1.6rem; }
    .masive-font { font-size: 1.2rem; }
    
    .roi-card .main-percentage { font-size: 3rem; }
    .roi-card .sub-value { font-size: 1.4rem; }
    
    .investor-card-outline { padding: 30px 20px; border-radius: 30px; }
    .investor-card-outline h3 { font-size: 1.4rem; }
    
    .btn-black-capsule, .btn-pill-ocre, .btn-pill-outline {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .cta-pill-buttons { flex-direction: column; gap: 15px; }
    
    .final-footer h2 { font-size: 1.4rem; }
}

/* Fix for horizontal scroll and overflow */
img {
    max-width: 100%;
    height: auto;
}

.hero v2 {
    background-attachment: scroll; /* Smoother scrolling on mobile */
}

/* Restored Footer Styles */
.final-footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.final-footer img {
    height: 80px;
    margin-bottom: 25px;
}

.final-footer h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}

.btn-pill-ocre:hover { background-color: var(--ocre-dark); }
.btn-pill-outline:hover { background-color: var(--primary-ocre); color: var(--white); }

/* ==========================================================================
   LANDING PAGE (INICIO 2 BOTONES)
   ========================================================================== */
.landing-split-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.landing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.landing-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
}

.landing-logo {
    max-width: 300px;
    margin-bottom: 60px;
}

.landing-buttons-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 280px;
    border: 2px solid #FFF;
}

.btn-landing-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 5px;
}
