:root {
    /* Aspen Consultores Design System - Premium Refinement */
    --aspen-navy: #111827; /* Deeper navy */
    --aspen-blue: #464995;
    --aspen-verde: #059571;
    --aspen-gold: #c5a059;
    --aspen-blue-light: #f3f6f9;
    --aspen-white: #ffffff;
    --aspen-gray: #f8f9fa;
    --aspen-text-dark: #1f2937;
    --aspen-text-muted: #4b5563;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 10rem; /* Slightly more space */
    --border-radius-lg: 32px;
    --border-radius-sm: 12px;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.45); /* More transparent */
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--aspen-text-dark);
    line-height: 1.6;
    background-color: var(--aspen-white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(3.5rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.8rem, 3vw, 2.2rem); }

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--aspen-navy);
    color: var(--aspen-white);
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--aspen-white);
    border: 2px solid var(--aspen-white);
}

.btn-secondary:hover {
    background-color: var(--aspen-white);
    color: var(--aspen-navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}



/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.1);
    padding: var(--spacing-md) var(--spacing-lg); /* Reduced top/bottom padding */
    border-radius: var(--border-radius-lg);
    max-width: 850px;
    width: 95%;
    margin: 0 auto;
}

/* Hero Section Refined */
.hero {
    height: 100vh; /* Use height instead of min-height for perfect centering */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(17, 24, 39, 0.6), rgba(17, 24, 39, 0.4)), 
                url('assets/hero_image.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Slightly smaller for better fit */
    margin-bottom: var(--spacing-sm);
    color: var(--aspen-white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem; /* Slightly smaller */
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-md);
    max-width: 700px;
}

/* WhatsApp Refined */
.btn-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--aspen-verde);
    padding: 0.5rem 1.5rem 0.5rem 0.5rem;
    border-radius: 50px;
    box-shadow: 0 12px 40px rgba(5, 149, 113, 0.4);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
}

.btn-whatsapp.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.btn-whatsapp:hover {
    filter: brightness(0.9);
    transform: translateY(-5px);
}

.btn-whatsapp .icon-box {
    width: 45px;
    height: 45px;
    background: white;
    color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.btn-whatsapp span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

/* Why Choose Us & Utilities */
.glass-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.p-lg { padding: 4rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.lead { font-size: 1.4rem; color: var(--aspen-navy); line-height: 1.4; }

/* Methodology Grid & Card Upgrade */
.methodology {
    background-color: var(--aspen-gray);
    padding: var(--spacing-xl) 0;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Force 3 columns for 3x2 layout */
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

@media (max-width: 992px) {
    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .methodology-grid {
        grid-template-columns: 1fr;
    }
}

.methodology-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.methodology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--aspen-blue);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

.methodology-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
    border-color: rgba(70, 73, 149, 0.2);
}

.methodology-card:hover::before {
    transform: scaleX(1);
}

.methodology-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--aspen-gray);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.methodology-card:hover .methodology-icon-wrapper {
    background: var(--aspen-verde);
    color: var(--aspen-white);
}

.methodology-card i {
    font-size: 2.5rem;
    color: var(--aspen-blue);
}

.methodology-card:hover i {
    color: var(--aspen-white);
}

.methodology-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: var(--aspen-navy);
}

.methodology-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--aspen-text-muted);
    margin: 0;
}

/* Google Reviews Widget Simulation */
.reviews {
    background-color: white;
    padding: var(--spacing-xl) 0;
}

.google-reviews-header {
    margin-bottom: 4rem;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.rating-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3c4043;
}

.review-count {
    font-size: 0.9rem;
    color: #70757a;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    width: 100%;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.review-info h4 {
    font-size: 1.1rem;
    color: var(--aspen-navy);
    margin: 0;
}

.review-info p {
    font-size: 0.85rem;
    color: #70757a;
    margin: 0;
}

.google-icon-small {
    position: absolute;
    right: 0;
    top: 0;
    color: #4285F4;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    color: #4e4e4e;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.review-date {
    font-size: 0.8rem;
    color: #9aa0a6;
}

.google-link {
    color: #4285F4;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    display: inline-block;
    margin-top: 3rem; /* Increased spacing as requested */
}

.google-link:hover {
    border-bottom-color: #4285F4;
}

/* Timeline Stacking Effect */
.timeline-stack {
    padding: var(--spacing-xl) 0;
    background-color: var(--aspen-gray);
}

.sticky-title {
    position: sticky;
    top: 50px;
    margin-bottom: 100px;
    z-index: 5;
    background: transparent;
}

.stack-wrapper {
    position: relative;
    padding-bottom: 400px; /* Space for the cards to stack */
}

.stack-card {
    position: sticky;
    top: 150px;
    min-height: 400px;
    margin-bottom: 150px;
    background: white;
    border-radius: 32px;
    display: flex;
    align-items: center;
    padding: 4rem;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stack-content {
    max-width: 600px;
}

.stack-card h3 {
    font-size: 2.5rem;
    color: var(--aspen-blue);
    margin-bottom: 1.5rem;
}

.stack-card p {
    font-size: 1.2rem;
    color: var(--aspen-text-muted);
}

.card-number {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    font-family: 'Inter', sans-serif;
}

.card-1 { background: #fff; z-index: 10; transform: translateY(0px) scale(1); }
.card-2 { background: #fdfdfd; z-index: 20; transform: translateY(0px) scale(1.02); }
.card-3 { background: #fafafa; z-index: 30; transform: translateY(0px) scale(1.04); }

/* FAQ Accordion Styling Refinement */
.faq-grid {
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--aspen-navy);
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    color: var(--aspen-blue);
}

.faq-item[open] summary::after {
    content: '\f077';
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--aspen-text-muted);
    line-height: 1.6;
}

/* Form */
.booking-form {
    max-width: 650px;
    margin: 0 auto;
    background: var(--aspen-navy);
    padding: 4rem;
    border-radius: 32px;
    color: white;
    box-shadow: 0 40px 100px rgba(33, 37, 41, 0.2);
}

.booking-form .form-group {
    margin-bottom: 1.5rem;
}

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
}

.booking-form input, .booking-form select, .booking-form textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
    outline: none;
    background: rgba(255,255,255,0.1);
    border-color: var(--aspen-gold);
}

.booking-form select option {
    background-color: var(--aspen-navy);
    color: white;
}

/* Success Message styles */
.success-message {
    text-align: center;
    padding: 3rem 1rem;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    color: var(--aspen-verde);
    margin-bottom: 2rem;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-message h3 {
    color: var(--aspen-white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.success-message p {
    color: var(--aspen-white);
    opacity: 0.9;
    font-size: 1.1rem;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.form-disclaimer {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 2rem;
    text-align: center;
}

/* FAQ Accordion Styling Refinement */
.faq-grid {
    margin-top: 3rem;
}

/* Footer Overhaul */
.footer {
    padding: 6rem 0 4rem;
    background: var(--aspen-navy);
    color: var(--aspen-white);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.footer-tagline {
    font-size: 1rem;
    opacity: 0.7;
    max-width: 300px;
    line-height: 1.6;
}

.footer-title {
    color: var(--aspen-blue);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--aspen-white);
    opacity: 0.7;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--aspen-verde);
    padding-left: 5px;
}

.footer-group-logos {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.footer-group-logo {
    height: 35px; /* Uniform height for all logos */
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-group-link:hover .footer-group-logo {
    opacity: 1;
    transform: translateX(5px);
}

.footer-info {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 100%;
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.4;
    letter-spacing: 0.05rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }
    
    .footer {
        padding: 4rem 0;
    }
    
    .footer-logo {
        align-self: flex-start;
    }
}
