@font-face {
    font-family: 'Aeonik';
    src: url('./tipografia/Aeonik-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Aeonik';
    src: url('./tipografia/Aeonik-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Aeonik';
    src: url('./tipografia/Aeonik-Medium 3.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

:root {
    /* Brand Colors */
    --c-gray: #ebecef;
    --c-green: #7be0b4;
    --c-blue: #56a4ed;
    --c-purple: #b9a9f1;
    --c-black: #191919;
    --c-white: #ffffff;

    /* Typography */
    --font-primary: 'Aeonik', sans-serif;
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--c-gray);
    color: var(--c-black);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.eyebrow {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.manifesto {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: #333;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.strength-phrase {
    font-size: 1.5rem;
    font-weight: 500;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #444;
}

/* Background Gradients */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.8;
    animation: float 20s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--c-purple);
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--c-green);
    animation-delay: -5s;
}

.shape-3 {
    top: 30%;
    left: 20%;
    width: 70vw;
    height: 70vw;
    background: var(--c-blue);
    opacity: 0.5;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.py-section {
    padding: 6rem 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 100;
    transition: background-color 0.3s, backdrop-filter 0.3s;
}

.navbar.scrolled {
    background-color: rgba(235, 236, 239, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-outline {
    border: 1.5px solid var(--c-black);
    background: transparent;
    color: var(--c-black);
}

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

.btn-primary {
    background: var(--c-black);
    color: var(--c-white);
    padding: 1rem 2rem;
    box-shadow: 0 10px 20px rgba(25, 25, 25, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(25, 25, 25, 0.3);
}

/* Glassmorphism */
.glassmorphism {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

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

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

.hero-form-wrapper {
    padding: 2.5rem;
}

.hero-form-wrapper h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.hero-form-wrapper p {
    margin-bottom: 2rem;
    color: #444;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--c-purple);
    box-shadow: 0 0 0 4px rgba(185, 169, 241, 0.2);
}

.form-success {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(123, 224, 180, 0.3);
    border: 1px solid var(--c-green);
    border-radius: 12px;
    color: #0b5f36;
    font-weight: 500;
}

.hidden {
    display: none;
}

/* Visibilidad Section */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.white-card {
    background: var(--c-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.white-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--c-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--c-black);
}

.white-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.white-card p {
    color: #444;
    font-size: 0.95rem;
}

/* Black Card (Sistema que crece) */
.black-card {
    background: var(--c-black);
    color: var(--c-white);
    border-radius: 24px;
    padding: 4rem;
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.black-card-content {
    flex: 1;
    min-width: 300px;
}

.black-card-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.black-card-content p {
    color: #999;
    font-size: 1.1rem;
    font-weight: 300;
}

.black-card-steps {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--c-white);
}

/* Modules Section */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.module-card {
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.module-icon {
    width: 60px;
    height: 60px;
    background: var(--c-black);
    color: var(--c-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.module-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.module-card p {
    color: #444;
}

/* CTA Section */
.text-center {
    text-align: center;
}

.cta-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

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

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

.footer-content p {
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.fade-right {
    transform: translateX(30px);
}

.fade-right.active {
    transform: translateX(0);
}

.slide-up {
    transform: translateY(50px);
}

.slide-up.active {
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        padding-top: 8rem;
    }

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

    .black-card {
        padding: 2.5rem;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

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

.caso-card {
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.caso-logo {
    height: 3rem;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

/* Nav Links */
.nav-links {
    display: none;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--c-black);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Implementacion Layout */
.implementacion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .implementacion-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 2rem;
    }
}

.implementacion-graphic {
    position: relative;
    width: 100%;
}

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

.iso-label {
    position: absolute;
    display: flex;
    flex-direction: column;
}

.iso-num {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
}

.iso-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--c-black);
}

/* Positioning labels relative to the image (Adjust percentages to match circles) */
.label-1 {
    top: 24%;
    left: 10%;
}

.label-2 {
    top: 22%;
    right: 5%;
}

.label-3 {
    top: 55%;
    left: 0%;
}

.label-4 {
    top: 55%;
    right: 0%;
}

@media (max-width: 900px) {
    .iso-label {
        position: static;
        margin-top: 1rem;
        text-align: center;
    }

    .label-1,
    .label-2,
    .label-3,
    .label-4 {
        margin-bottom: 1rem;
    }
}