:root {
    --primary: #002B5B;
    --primary-light: #1A5F7A;
    --mobile-nav-bg: #002B5B;
    --secondary: #E9C46A;
    --accent: #F4A261;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
}

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

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

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h1 span {
    color: var(--secondary);
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 43, 91, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 43, 91, 0.4);
    background-color: var(--primary-light);
}

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

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

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

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

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

/* Header */
header {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    height: 70px;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--secondary);
    font-size: 1.8rem;
}

.logo span {
    color: var(--primary);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 4px 8px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary);
    z-index: 999;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
    max-height: 400px;
}

.mobile-nav ul {
    list-style: none;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav ul li a {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.mobile-nav ul li a:hover {
    color: var(--secondary);
}

.mobile-nav ul li:last-child a {
    border-bottom: none;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Hero Section */
#hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(0, 43, 91, 0.05) 0%, rgba(255, 255, 255, 1) 90%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(233, 196, 106, 0.15);
    color: #b98e12;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(233, 196, 106, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

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

.hero-image {
    position: relative;
}

.image-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.image-box img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-box:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.eb-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.eb-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Values Section */
#values {
    padding: 60px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 43, 91, 0.1);
}

.value-card.active {
    background: var(--primary);
    color: var(--white);
}

.value-card.active h3 {
    color: var(--white);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(233, 196, 106, 0.2);
    color: var(--secondary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.value-card.active .icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

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

.value-card.active p {
    color: rgba(255, 255, 255, 0.8);
}

/* How it works */
#como-funciona {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-title h2 span {
    color: var(--secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.step {
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(0, 43, 91, 0.05);
    margin-bottom: -1rem;
}

.step h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* CTA */
#cta {
    padding-bottom: 80px;
}

.cta-box {
    background: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 5rem;
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--off-white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
}

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

.socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.socials a {
    width: 40px;
    height: 40px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    h1 { font-size: 2.8rem; }
    .hero-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .grid-3, .steps-grid { grid-template-columns: 1fr; }
    .cta-box { flex-direction: column; text-align: center; gap: 2rem; padding: 3rem; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .mobile-nav { display: block; }
    header { position: fixed; }
}

.will-animate {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.will-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

