/* Design Tokens */
:root {
    --color-primary: #1e88e5; /* Celeste / Light blue tone */
    --color-primary-dark: #1565c0;
    --color-primary-light: #64b5f6;
    --color-secondary: #0d47a1;
    --color-accent: #ffb300;
    
    --color-bg-light: #f8fafc;
    --color-bg-white: #ffffff;
    --color-text-dark: #1e293b;
    --color-text-light: #64748b;
    --color-white: #ffffff;
    
    --font-main: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-medium);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

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

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    letter-spacing: -0.5px;
}

.logo-subtext {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

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

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
    color: var(--color-secondary);
}

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

.btn-icon {
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.4);
    color: var(--color-white);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-secondary);
    border: 2px solid var(--color-bg-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-nav {
    padding: 0.6rem 1.4rem;
    background: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

/* Animated Parallax Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: var(--color-bg-light);
    pointer-events: none;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.7;
    border-radius: 50%;
    animation: float-shape 20s infinite ease-in-out alternate;
}

.shape-1 {
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: rgba(30, 136, 229, 0.15); /* Primary */
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.shape-2 {
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    background: rgba(255, 179, 0, 0.12); /* Accent gold */
    top: 40%;
    right: -10%;
    animation-duration: 22s;
    animation-delay: -5s;
}

.shape-3 {
    width: 45vw;
    height: 45vw;
    max-width: 550px;
    max-height: 550px;
    background: rgba(100, 181, 246, 0.15); /* Light Primary */
    bottom: -15%;
    left: 20%;
    animation-duration: 28s;
    animation-delay: -10s;
}

.shape-4 {
    width: 35vw;
    height: 35vw;
    max-width: 450px;
    max-height: 450px;
    background: rgba(13, 71, 161, 0.1); /* Secondary */
    top: 20%;
    left: 50%;
    animation-duration: 30s;
}

@keyframes float-shape {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(50px, -50px) scale(1.1) rotate(15deg); }
    66% { transform: translate(-30px, 30px) scale(0.9) rotate(-10deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

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

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-light);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* No float animation reused */
/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

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

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-medium);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

/* Plan Section */
.plan-section {
    background: linear-gradient(to bottom, var(--color-bg-white), var(--color-bg-light));
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.card-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.card-text p {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-text h2 {
    font-size: 2.2rem;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.split-text p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.download-box {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-primary);
}

.download-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.download-box p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.fluid-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(13, 71, 161, 0.4));
}

/* Contact Section */
.contacto-section {
    background: var(--color-bg-white);
}

.location-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.location-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary-light);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-details h3 {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.location-details address {
    font-style: normal;
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.5;
}

.location-details strong {
    color: var(--color-text-dark);
}

/* Footer */
.footer {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Make it white if needed, or keep original */
}

.logo-text.white {
    color: var(--color-white);
}

.logo-subtext-light {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Scroll Animation Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* Responsive adjustments */
@media (max-width: 900px) {
    .split-layout, .card-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        display: none; /* simple mobile fallback */
    }
    
    .location-card {
        flex-direction: column;
        text-align: center;
    }
}
