/* =========================================
   VARIABLES & RESET
========================================= */
:root {
    --primary: #C5A059;
    --primary-hover: #A88647;
    --dark: #2D3748;
    --darker: #1A202C;
    --light: #F9FAFB;
    --white: #FFFFFF;
    --text-main: #4A5568;
    --text-muted: #718096;
    
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--light);
    line-height: 1.6;
}

.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--white); }
.divider {
    width: 96px;
    height: 4px;
    background-color: var(--primary);
    margin: 16px auto 32px;
}

/* =========================================
   TYPOGRAPHY & BUTTONS
========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--dark);
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-title);
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: scale(1.05);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.full-width { width: 100%; margin-top: 16px; }

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--darker);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://hips.hearstapps.com/hmg-prod/images/casa-australia-moderna-milimalismo-calido-madera-salon-1-1675420561.jpg?crop=1.00xw:1.00xh;0,0&resize=1800:*') center/cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.badge {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.875rem;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    margin: 16px 0 24px;
    text-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.hero p {
    color: var(--white);
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    margin-bottom: 32px;
    font-weight: 300;
    text-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* =========================================
   TRUST BAR & VALUE PROP
========================================= */
.trust-bar {
    background: var(--white);
    padding: 24px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 20;
    margin-top: -8px;
}

.trust-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

.trust-item i { color: var(--primary); font-size: 1.25rem; margin-right: 8px; }
.trust-badges span { margin-left: 32px; }

/* =========================================
   GRID SYSTEMS (Features & Values)
========================================= */
.features, .value-prop, .pricing { padding: 80px 0; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
}

.feature-item i {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.feature-item h3 { margin-bottom: 4px; }
.feature-item p { font-size: 0.875rem; color: var(--text-muted); }

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.value-card {
    background: var(--light);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
}

.value-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary);
}

.value-card i {
    font-size: 1.875rem;
    color: var(--dark);
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.value-card:hover i { color: var(--primary); }
.value-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.value-card p { font-weight: 300; }

/* =========================================
   PRICING
========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-top: 4px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

.pricing-card.highlighted {
    border-top-color: var(--primary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-16px);
    position: relative;
    z-index: 10;
}

.tag {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.price { font-size: 1.875rem; color: var(--primary); font-weight: 700; margin-bottom: 16px; }
.pricing-card p { font-weight: 300; margin-bottom: 24px; flex-grow: 1; }

.includes h4 { font-size: 0.875rem; text-transform: uppercase; margin-bottom: 12px; }
.includes ul { list-style: none; font-weight: 300; margin-bottom: 32px; }
.includes li { margin-bottom: 8px; }
.includes i { color: var(--primary); margin-right: 8px; }

/* =========================================
   CONTACT SECTION
========================================= */
.contact { background: var(--dark); color: var(--white); }
.contact h2 { color: var(--white); font-size: clamp(1.875rem, 4vw, 2.25rem); margin-bottom: 16px;}
.contact-flex { display: flex; gap: 48px; align-items: center; }
.contact-info { flex: 1; font-weight: 300; }
.contact-info p { margin-bottom: 24px; }
.contact-info ul { list-style: none; color: #D1D5DB; }
.contact-info li { margin-bottom: 12px; }
.contact-info i { color: var(--primary); margin-right: 8px; }

.contact-form-wrapper {
    flex: 1;
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    color: var(--dark);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
}

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 4px; font-size: 0.875rem; font-weight: 600; }
.form-group input, .form-group select {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-family: var(--font-body);
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); }

.checkbox-group { display: flex; align-items: flex-start; margin-top: 16px; }
.checkbox-group input { margin-top: 4px; margin-right: 8px; accent-color: var(--primary); }
.checkbox-group label { font-size: 0.75rem; color: var(--text-muted); font-weight: 300; }

/* =========================================
   FOOTER
========================================= */
footer {
    background: #111827;
    color: #9CA3AF;
    text-align: center;
    padding: 32px 0;
    font-size: 0.75rem;
    border-top: 1px solid #1F2937;
}
footer p { margin-bottom: 8px; }
.footer-links { margin: 16px 0; }
.footer-links a { color: #9CA3AF; text-decoration: none; margin: 0 16px; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }
.copyright { margin-top: 16px; opacity: 0.5; }

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 768px) {
    .trust-flex { flex-direction: column; text-align: center; gap: 16px; }
    .trust-badges span { margin: 0 16px; }
    .contact-flex { flex-direction: column; }
    .pricing-card.highlighted { transform: none; }
}

/* =========================================
   ANIMATIONS (Sustituto de Animate.css)
========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }