/* RESET Y VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --v: #7CB842;
    --a: #1E3A8A;
    --a2: #2D4FA8;
    --blanco: #ffffff;
    --bg: #0A0F1E;
    --bg2: #0D1428;
    --card: #ffffff08;
    --card-b: #ffffff15;
    --text: #E8EAF0;
    --muted: #8892A4;
    --gold: #C9A84C;
}
html {
    scroll-behavior: smooth;
}
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

/* NOISE OVERLAY */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ORBS */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    animation: float 12s ease-in-out infinite;
}
.orb1 {
    width: 600px;
    height: 600px;
    background: rgba(28, 58, 138, 0.35);
    top: -200px;
    left: -200px;
}
.orb2 {
    width: 500px;
    height: 500px;
    background: rgba(124, 184, 66, 0.2);
    bottom: -200px;
    right: -100px;
    animation-delay: -6s;
}
.orb3 {
    width: 350px;
    height: 350px;
    background: rgba(201, 168, 76, 0.12);
    top: 40%;
    left: 50%;
    animation-delay: -3s;
}
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.05); }
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 20px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.3s;
}
.logo-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--v), var(--a));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.logo-name {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--text);
}
nav {
    display: flex;
    gap: 30px;
    align-items: center;
}
nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: 0.3s;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--v);
    transform: scaleX(0);
    transition: 0.3s;
}
nav a:hover { color: var(--text); }
nav a:hover::after { transform: scaleX(1); }
.nav-cta {
    padding: 9px 22px;
    background: linear-gradient(135deg, var(--v), #5a9e2f);
    color: #fff !important;
    border-radius: 100px;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,184,66,0.35); }

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 6% 80px;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124,184,66,0.12);
    border: 1px solid rgba(124,184,66,0.3);
    color: var(--v);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    animation: fadeUp 0.8s ease both;
}
.hero-badge::before { content: '●'; font-size: 8px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    animation: fadeUp 0.8s 0.1s ease both;
}
.hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--v) 0%, #a8e06d 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 19px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 48px;
    animation: fadeUp 0.8s 0.2s ease both;
}
.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.8s 0.3s ease both;
}
.btn-primary {
    padding: 15px 36px;
    background: linear-gradient(135deg, var(--v), #5a9e2f);
    color: #fff;
    border-radius: 100px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(124,184,66,0.4); }
.btn-ghost {
    padding: 15px 36px;
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border-radius: 100px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.07);
    animation: fadeUp 0.8s 0.4s ease both;
}
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blanco), var(--muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; letter-spacing: 0.5px; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SECTIONS GENERAL */
section {
    padding: 100px 6%;
    position: relative;
    z-index: 1;
}
.s-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--v);
    margin-bottom: 16px;
    font-weight: 500;
}
.s-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}
.s-sub {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 520px;
}

/* GLASS CARD */
.glass {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    transition: all 0.4s;
}
.glass:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-6px);
}

/* SOBRE */
.sobre-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.sobre-img-wrap { position: relative; }
.sobre-img-wrap img {
    width: 100%;
    border-radius: 28px;
    aspect-ratio: 4/5;
    object-fit: cover;
    position: relative;
    z-index: 1;
}
.sobre-img-deco {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--v), var(--a));
    opacity: 0.3;
    z-index: 0;
}
.sobre-texto p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 16px;
}
.sobre-texto p em { font-style: italic; color: var(--gold); }
.sobre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}
.tag {
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(124,184,66,0.1);
    border: 1px solid rgba(124,184,66,0.25);
    color: var(--v);
    font-size: 13px;
    font-weight: 500;
}

/* ─── GALERÍA SLIDER (imágenes encajan perfecto) ─── */
#galeria { background: rgba(255,255,255,0.015); }
.slider-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 60px auto 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    aspect-ratio: 16 / 9;  /* relación de aspecto fija */
}
.slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* recorta para llenar sin deformar */
    object-position: center;
    flex-shrink: 0;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 1.8rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    z-index: 10;
}
.slider-btn:hover { background: rgba(0,0,0,0.8); }
.prev { left: 1rem; }
.next { right: 1rem; }
.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.dot.active { background: var(--v); transform: scale(1.3); }

/* MENTORÍAS */
.mentorias-bg { background: rgba(255,255,255,0.015); }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}
.service-card { padding: 40px 36px; }
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--v), var(--a));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 28px;
}
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
}
.service-card p { color: var(--muted); line-height: 1.8; margin-bottom: 28px; font-size: 15px; }
.card-link {
    color: var(--v);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.card-link::after { content: '→'; transition: 0.3s; }
.card-link:hover { gap: 14px; }

/* WHATSAPP EN MENTORÍAS */
.whatsapp-mentorias {
    margin-top: 50px;
    text-align: center;
}
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white;
    padding: 14px 34px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}
.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.6);
}
.whatsapp-icon { font-size: 1.4rem; }
.whatsapp-number { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }

/* COACHING */
.coaching-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
}
.coaching-card { padding: 50px 44px; }
.cc-num {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.04));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}
.coaching-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 16px;
}
.coaching-card p { color: var(--muted); line-height: 1.8; margin-bottom: 32px; font-size: 15px; }
.btn-card {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--v), #5a9e2f);
    color: #fff;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.btn-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124,184,66,0.35); }

/* BLOG */
.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 60px;
}
.blog-card { padding: 36px; overflow: hidden; position: relative; }
.blog-num {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    color: rgba(255,255,255,0.04);
    line-height: 1;
}
.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(124,184,66,0.1);
    border: 1px solid rgba(124,184,66,0.2);
    color: var(--v);
    border-radius: 100px;
    font-size: 12px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.blog-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
}
.blog-card p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 24px; }

/* LIBROS */
.libros-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
}
.libro-card {
    padding: 50px 44px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.libro-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold);
    border-radius: 100px;
    font-size: 12px;
    letter-spacing: 0.5px;
    font-weight: 500;
    width: fit-content;
}
.libro-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}
.libro-card p { color: var(--muted); line-height: 1.8; font-size: 15px; }
.precio {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--blanco);
    font-weight: 400;
    margin-top: auto;
}

/* CONTENIDO DINÁMICO */
#contenido { background: rgba(255,255,255,0.01); }
.contenido-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 60px;
}
.contenido-card { padding: 36px; }
.contenido-card .fecha {
    display: block;
    font-size: 0.8rem;
    color: var(--v);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.contenido-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}
.contenido-card p { color: var(--muted); line-height: 1.8; font-size: 15px; }
.no-contenido { color: var(--muted); text-align: center; width: 100%; padding: 2rem; font-size: 1.1rem; }

/* CURSOS CTA */
.cursos-cta {
    padding: 80px;
    background: linear-gradient(135deg, rgba(30,58,138,0.5), rgba(124,184,66,0.3));
    border-radius: 32px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}
.cursos-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(124,184,66,0.2) 0%, transparent 70%);
}
.cursos-cta * { position: relative; z-index: 1; }
.cursos-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 54px);
    margin-bottom: 20px;
}
.cursos-cta p { font-size: 18px; color: var(--muted); margin-bottom: 40px; }

/* FOOTER */
footer {
    background: rgba(0,0,0,0.4);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 40px 6%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-copy { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: 0.3s; }
.footer-links a:hover { color: var(--v); }

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
    nav { display: none; }
    .sobre-wrap, .coaching-cards, .libros-wrap { grid-template-columns: 1fr; }
    .cursos-cta { padding: 50px 30px; }
    .hero-stats { gap: 40px; }
    .stat-num { font-size: 36px; }
}
@media (max-width: 600px) {
    .hero h1 { font-size: 42px; }
    .hero-btns { flex-direction: column; align-items: center; }
    footer { flex-direction: column; text-align: center; }
}
/* Imagen dentro de las cards de contenido */
.contenido-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}