/* ============================================================
   Home / landing — estilos especificos de la portada.
   Tokens de marca en base.css; nav/footer/hero generico en layouts.css.
   ============================================================ */

/* ---------- HERO ---------- */
.licuna-hero {
    min-height: 100vh;
    background: var(--brand-dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 3rem 5% 5rem;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-block;
    background: rgba(239, 174, 240, 0.12);
    border: 1px solid rgba(239, 174, 240, 0.35);
    color: var(--brand-pink);
    font-family: var(--font-subtitle);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.powered-row { display: flex; align-items: flex-end; gap: 0.9rem; margin-bottom: 1.5rem; }
.powered-row .hero-badge { margin-bottom: 0; }
.powered-logo { display: block; object-fit: contain; }
.powered-logo-m { width: 80px; }
.powered-logo-hd { width: 100px; }
.licuna-hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 500;
    color: var(--brand-lavender-bg);
    line-height: 1.06;
    margin-bottom: 1.2rem;
}
.licuna-hero h1 em { font-style: normal; color: var(--brand-pink); }
.hero-sub {
    color: #fff;
    font-size: 1rem;
    line-height: 1.85;
    max-width: 440px;
    font-weight: 400;
    margin-bottom: 2.5rem;
}
.hero-stats { display: flex; gap: 2.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.stat-num { font-family: var(--font-subtitle); font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1; }
.stat-label { font-family: var(--font-subtitle); font-size: 0.7rem; color: #fff; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.2rem; font-weight: 700; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-card {
    background: rgba(238, 231, 253, 0.05);
    border: 1px solid rgba(238, 231, 253, 0.1);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}
.hcard-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: var(--font-subtitle);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.4rem;
}
.hcard-label img { display: block; width: 100px; }
.epill {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: rgba(92, 153, 224, 0.08);
    border: 1px solid rgba(238, 231, 253, 0.07);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.7rem;
    transition: background 0.2s;
}
.epill:hover { background: rgba(92, 153, 224, 0.14); }
.edot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.epill-title { font-size: 0.88rem; color: var(--brand-lavender-bg); font-weight: 700; }
.epill-sub { font-size: 0.73rem; color: rgba(238, 231, 253, 0.45); margin-top: 0.18rem; }

/* ---------- PILARES ---------- */
.licuna-pilares { padding: 6rem 5%; background: #fff; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.pillar {
    background: #fff;
    border: 1px solid rgba(26, 16, 79, 0.09);
    border-radius: 22px;
    padding: 2.2rem 1.8rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.pillar:hover { transform: translateY(-7px); box-shadow: 0 24px 48px rgba(26, 16, 79, 0.12); }
.pillar-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 22px 22px 0 0; }
.p1 .pillar-bar { background: var(--brand-dark); }
.p2 .pillar-bar { background: var(--brand-blue); }
.p3 .pillar-bar { background: var(--brand-pink); }
.pillar h3 { font-size: 1.25rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 0.8rem; }
.pillar p { font-size: 0.88rem; color: var(--brand-muted); line-height: 1.8; }

/* ---------- CERTIFICACIÓN ---------- */
.cert-section { background: var(--brand-dark); padding: 7rem 5%; position: relative; overflow: hidden; }
.cert-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('/assets/img/backgrounds/cert-section.jpeg');
    background-size: cover;
    background-position: center top;
    opacity: 0.12;
    z-index: 0;
}
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; position: relative; z-index: 1; }
.cert-section .s-label { color: var(--brand-pink); }
.cert-section .s-title { color: var(--brand-lavender-bg); }
.cert-section .s-title span { color: var(--brand-pink); }
.cert-intro { font-size: 0.93rem; line-height: 1.9; color: rgba(238, 231, 253, 0.55); margin-bottom: 1.8rem; }
.cert-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 2.2rem; }
.cert-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.85rem; color: rgba(238, 231, 253, 0.65); line-height: 1.6; }
.cert-list li::before { content: '→'; color: var(--brand-blue); flex-shrink: 0; font-weight: 700; margin-top: 1px; }
.cert-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.cert-right { display: flex; flex-direction: column; gap: 1.2rem; }
.ccard {
    background: rgba(238, 231, 253, 0.04);
    border: 1px solid rgba(238, 231, 253, 0.08);
    border-radius: 18px;
    padding: 1.5rem 1.8rem;
    transition: background 0.2s, border-color 0.2s;
}
.ccard:hover { background: rgba(238, 231, 253, 0.07); border-color: rgba(238, 231, 253, 0.15); }
.ctag {
    display: inline-block;
    font-family: var(--font-subtitle);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.28rem 0.8rem;
    border-radius: 100px;
    margin-bottom: 0.7rem;
}
.tag-pink { background: rgba(239, 174, 240, 0.15); color: var(--brand-pink); }
.tag-blue { background: rgba(92, 153, 224, 0.15); color: var(--brand-blue); }
.ccard h4 { color: var(--brand-lavender-bg); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.ccard p { color: rgba(238, 231, 253, 0.45); font-size: 0.82rem; line-height: 1.7; }

/* ---------- CURSOS ---------- */
.cursos-section { background: var(--brand-lavender-soft); padding: 6rem 5%; }
.cursos-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 2.8rem; }
.cursos-desc { font-size: 0.93rem; color: var(--brand-muted); line-height: 1.8; max-width: 480px; }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(26, 16, 79, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(26, 16, 79, 0.11); }
.course-card img { width: 100%; height: 185px; object-fit: cover; display: block; }
.course-body { padding: 1.4rem; }
.course-body h3 { font-size: 1rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 0.9rem; line-height: 1.35; }
.course-link {
    font-family: var(--font-subtitle);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--brand-blue);
    border-bottom: 1.5px solid var(--brand-blue);
    padding-bottom: 2px;
}

/* ---------- TESTIMONIOS (carrusel) ---------- */
.testimonios-section { padding: 6rem 5%; background: var(--brand-lavender-bg); }
.t-track-wrap { overflow: hidden; }
.tgrid { display: flex; gap: 1.3rem; transition: transform 0.45s cubic-bezier(.4, 0, .2, 1); }
.tcard {
    background: #fff;
    border: 1px solid rgba(26, 16, 79, 0.07);
    border-radius: 20px;
    padding: 1.8rem;
    flex: 0 0 calc(33.333% - 0.87rem);
    min-width: 0;
}
.tquote {
    font-size: 0.86rem;
    color: var(--brand-muted);
    line-height: 1.85;
    border-left: 3px solid var(--brand-pink);
    padding-left: 1rem;
    font-style: italic;
    margin-bottom: 1.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tauthor { display: flex; align-items: center; gap: 0.85rem; }
.tavatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--brand-pink); flex-shrink: 0; }
.tname { font-weight: 700; font-size: 0.88rem; color: var(--brand-dark); }
.trole { font-size: 0.73rem; color: rgba(26, 16, 79, 0.55); }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2rem; }
.t-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(26, 16, 79, 0.2);
    background: #fff;
    color: var(--brand-dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-weight: 700;
}
.t-arrow:hover { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.t-arrow:disabled { opacity: 0.3; cursor: default; }
.t-dots { display: flex; gap: 0.5rem; align-items: center; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(26, 16, 79, 0.2); border: none; cursor: pointer; padding: 0; transition: all 0.25s; }
.t-dot.active { background: var(--brand-dark); width: 22px; border-radius: 100px; }

/* ---------- CTA STRIP ---------- */
.cta-strip {
    background: linear-gradient(135deg, var(--brand-navy-mid), var(--brand-dark));
    padding: 4.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
.cta-strip h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 500; color: var(--brand-lavender-bg); max-width: 500px; line-height: 1.2; }
.cta-strip h2 span { color: var(--brand-pink); }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- BLOG ---------- */
.blog-section { background: #fff; padding: 6rem 5%; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; }
.bcard {
    background: var(--brand-lavender-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(26, 16, 79, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.bcard:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(26, 16, 79, 0.09); }
.bcard img { width: 100%; height: 185px; object-fit: cover; display: block; }
.bcard-body { padding: 1.4rem; }
.bdate { font-family: var(--font-subtitle); font-size: 0.7rem; color: rgba(26, 16, 79, 0.55); margin-bottom: 0.5rem; letter-spacing: 0.04em; font-weight: 700; }
.bcard-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--brand-dark); margin-bottom: 0.9rem; line-height: 1.35; }
.bread {
    font-family: var(--font-subtitle);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--brand-dark);
    border-bottom: 1.5px solid var(--brand-dark);
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .licuna-hero { grid-template-columns: 1fr; }
    .hero-card { display: none; }
    .pillars, .courses-grid, .blog-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }
    .cta-strip { flex-direction: column; text-align: center; }
    .tcard { flex: 0 0 100%; }
}
