:root {
    /* Colors */
    --primary: #2C5282;          /* Azul Zafiro Suave */
    --primary-light: #4274B3;    
    --secondary: #E6FFFA;        /* Menta/Celeste muy claro */
    --bg-main: #FAFAFA;          /* Blanco roto */
    --text-color: #2D3748;       /* Gris Carbón */
    --text-light: #4A5568;       
    --whatsapp: #25D366;         /* Verde WhatsApp */
    --whatsapp-hover: #1EBE5A;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --radius-pill: 50px;
    --radius-card: 20px;
    --padding-section: 6rem 0;
}

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

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-color);
    line-height: 1.6;
}

/* Typography elements */
h1, h2, h3, h4, .logo-text, .pre-title {
    font-family: var(--font-heading);
    color: var(--primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-sm {
    max-width: 900px;
}

.section-padding {
    padding: var(--padding-section);
}

.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 2.5rem;
}

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.7;
    animation: float 10s ease-in-out infinite;
}

.blob-1 {
    width: 40vw;
    height: 40vw;
    top: -10vw;
    right: -10vw;
    background: #D4F1F4;
}

.blob-2 {
    width: 35vw;
    height: 35vw;
    top: 40%;
    left: -15vw;
    background: #E6FFFA;
    animation-delay: -3s;
}

.blob-3 {
    width: 30vw;
    height: 30vw;
    bottom: -5vw;
    right: -5vw;
    background: #E2E8F0;
    animation-delay: -6s;
}

@media (max-width: 768px) {
    .blob-1 { width: 60vw; height: 60vw; top: -20vw; right: -20vw; }
    .blob-2 { width: 50vw; height: 50vw; left: -25vw; }
    .blob-3 { width: 40vw; height: 40vw; bottom: -10vw; right: -10vw; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Components */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    border-radius: var(--radius-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.08);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--secondary);
    border-color: var(--primary-light);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(44, 82, 130, 0.3);
    color: var(--primary);
}

.btn-giant {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.glass-nav {
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .btn {
    padding: 0.5rem 1.25rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding-top: 6rem; /* Account for navbar */
}

.pre-title {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.3rem 1rem;
    background: var(--secondary);
    border-radius: var(--radius-pill);
    color: var(--primary);
}

.hero .subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    margin-bottom: 3rem;
}

.support-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

.hero-stats {
    display: flex;
    gap: 1rem;
}

.stat-item {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

.image-glass-frame {
    position: relative;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
}

.hero-image {
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 5rem;
}

.about-image {
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.highlights {
    list-style: none;
    margin-top: 2rem;
}

.highlights li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.highlights i {
    color: var(--whatsapp);
    font-size: 1.25rem;
}

/* Services */
.section-header {
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

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

.service-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 1.75rem;
}

/* Info Section */
.info-section {
    position: relative;
}

.subtitle-text {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    padding: 3rem 2rem;
    text-align: left;
}

.info-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.unstyled-list {
    list-style: none;
}

.unstyled-list li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.location-list li {
    display: flex;
    gap: 0.75rem;
}

.location-list .pin {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quote-icon {
    color: var(--primary-light);
    opacity: 0.2;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-color);
    flex-grow: 1;
    margin-bottom: 2rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 2.5rem;
    color: #CBD5E0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Contact */
.contact-container {
    padding: 0; /* padding applied inside elements */
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.contact-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-map {
    background: #E2E8F0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    gap: 0.5rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: #A0AEC0;
}

.microcopy {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(44, 82, 130, 0.1);
}

.footer-links {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero .subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-grid, .info-cards, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .about-image-wrapper {
        order: -1; 
    }
    
    .contact-content {
        padding: 3rem 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 1.5rem;
        text-align: center;
        border-top: 1px solid rgba(0,0,0,0.05);
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        display: none;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .container {
        width: 92%;
    }

    .btn-giant {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .stepper-progress {
        padding: 0;
    }

    .step {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .form-actions.flex-between {
        flex-direction: column;
        gap: 0.75rem;
    }

    .form-actions.flex-between .btn {
        width: 100%;
    }

    .form-actions.flex-between .btn-prev {
        order: 2;
    }

    .form-actions.flex-between .btn-next,
    .form-actions.flex-between .btn-submit {
        order: 1;
    }
}

/* Modal & Form Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.8);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.w-100 {
    width: 100%;
}

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

/* Stepper Styles */
.stepper-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.step {
    width: 35px;
    height: 35px;
    background: #E2E8F0;
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(44, 82, 130, 0.2);
}

.step.completed {
    background: var(--whatsapp);
    color: white;
}

.step-line {
    flex-grow: 1;
    height: 3px;
    background: #E2E8F0;
    margin: 0 8px;
    z-index: 1;
    transition: background 0.3s ease;
}

.step-line.active {
    background: var(--whatsapp);
}

.step-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.step-content.active {
    display: block;
}

.step-title {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mt-buttons {
    margin-top: 2rem;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fix for SweetAlert appearing behind the modal */
.swal2-container {
    z-index: 3000 !important;
}
