:root {
    --primary: #E11D48;
    /* Rojo Carmesí */
    --bg: #000000;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
    --text-dim: #a1a1aa;
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- BACKGROUND ANIMATION --- */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1e0005 0%, #000 70%);
    z-index: -1;
}

/* --- NAV --- */
nav {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text);
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: 0.3s;
}

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 101;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    transition: all 0.3s ease-in-out;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid var(--glass-border);
        backdrop-filter: blur(10px);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        margin: 1rem 0;
        font-size: 1.1rem;
    }
    .contact-content {
        padding: 2rem;
        text-align: center;
    }
    .contact-content .email-display {
        font-size: 1.1rem;
    }
    .contact-content .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* --- HERO --- */
header {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-tag {
    color: var(--primary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-desc {
    max-width: 600px;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

.btn {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.4);
}

/* --- SERVICES (FLIP CARDS) --- */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: 0.4s;
    backdrop-filter: blur(5px);
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

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

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

/* --- EXCLUSIVITY --- */
.exclusive {
    background: linear-gradient(to bottom, #000, #111);
    padding: 6rem 10%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.contact-section {
    padding: 8rem 10%;
}

.split-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    padding: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-image {
    flex: 1 1 300px;
    min-height: 300px;
    width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-content {
    flex: 1 1 400px;
    padding: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.linkedin-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.linkedin-link:hover {
    background: var(--primary);
    color: white;
}

.email-display {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--primary);
    margin: 2rem 0;
    display: block;
    cursor: pointer;
    word-break: break-word;
}

/* --- FOOTER PREMIUM --- */
.footer-premium {
    padding: 6rem 10% 4rem;
    background: #030303;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
}

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

.formation-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.logos-grid {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.formation-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.5) opacity(0.7);
    transition: 0.4s ease;
}

.formation-logo:hover {
    filter: grayscale(0%) brightness(1) opacity(1);
}

.yoast-badge img {
    width: 50px !important;
    transition: 0.4s ease;
    filter: grayscale(100%) opacity(0.8);
}

.yoast-badge img:hover {
    filter: grayscale(0%) opacity(1);
}

/* --- ABOUT SECTION --- */
.about-section {
    padding: 6rem 10%;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.05) 0%, transparent 70%);
}

/* --- 3 STEPS SECTION --- */
.steps-section {
    padding: 6rem 10%;
    background: linear-gradient(to top, #050505, transparent);
}

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

.step-card {
    background: transparent;
    border-left: 2px solid var(--primary);
    padding: 2rem;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

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

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

/* --- SUCCESS BADGE --- */
.success-badge {
    display: inline-block;
    background: rgba(225, 29, 72, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(225, 29, 72, 0.3);
}

/* --- TRUST TEXT --- */
.trust-text {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    opacity: 0.8;
}

/* --- METHODOLOGY SECTION --- */
.methodology-section {
    padding: 6rem 10%;
    background: #050505;
}

.methodology-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.methodology-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.methodology-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.bg-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    z-index: 0;
}

.methodology-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.methodology-card p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.methodology-list {
    list-style: none;
    position: relative;
    z-index: 1;
}

.methodology-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.methodology-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 6rem 10%;
    max-width: 800px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 3rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary);
    transition: 0.3s;
}

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

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* --- FOOTER BOTTOM LINKS --- */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

.legal-section {
    padding: 6rem 10%;
    min-height: 70vh;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

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