/* ============================================================
   EMOTIV — Formación para Empresas V2
   IA + Marketing in-company · Damián García Campos
   ============================================================ */

.nav a.is-current { color: var(--mauve); position: relative; }
.nav a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--mauve); border-radius: 2px; }

/* ---------- hero ---------- */
.em-hero { position: relative; padding-top: 150px; padding-bottom: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.em-hero .em-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.em-hero .display { font-size: clamp(2.4rem, 4.8vw, 4rem); }
.em-hero .lead { margin-top: 1.5rem; max-width: 48ch; }
.em-hero .em-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.em-hero .em-points { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; margin-top: 2.2rem; }
.em-hero .em-point { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1rem; color: #3a2842; }
.em-hero .em-point svg { color: var(--mauve); flex: none; }
.em-hero .wm { position: absolute; right: -8%; top: -6%; width: 38%; max-width: 460px; opacity: .05; pointer-events: none; z-index: 0; }
.em-hero .em-visual { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(165deg, var(--tint), var(--tint-2)); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(58,0,77,.5); }
.em-hero .em-visual image-slot { width: 100%; height: 100%; display: block; }
.em-hero .em-visual .v-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .8rem; pointer-events: none; }
.em-hero .em-visual .v-fallback img { width: 38%; opacity: .5; }
.em-hero .em-visual .v-fallback em { font-style: normal; color: var(--mauve); font-weight: 700; opacity: .8; }
.em-hero .em-visual .em-fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-instructor .ins-photo .ins-fill { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@media (max-width: 880px) { .em-hero .em-grid { grid-template-columns: 1fr; } .em-hero .em-visual { order: -1; aspect-ratio: 16/10; max-height: 360px; } }

/* ---------- trust logos strip ---------- */
.em-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.em-trust .wrap { display: flex; align-items: center; gap: clamp(1.2rem, 4vw, 3rem); flex-wrap: wrap; justify-content: center; }
.em-trust .tl-label { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mauve); }
.em-trust .tl-logos { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; align-items: center; justify-content: center; }
.em-trust .tl-logos span { font-size: 1.15rem; font-weight: 800; color: var(--brand); opacity: .5; letter-spacing: -.01em; }

/* ---------- opportunity (problem→shift) ---------- */
.em-opportunity .op-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.em-opportunity .op-list { list-style: none; display: grid; gap: .2rem; }
.em-opportunity .op-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; color: #3a2842; }
.em-opportunity .op-list li:last-child { border-bottom: 0; }
.em-opportunity .op-list .mk { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--mauve); display: grid; place-items: center; margin-top: .1em; }
@media (max-width: 820px) { .em-opportunity .op-grid { grid-template-columns: 1fr; gap: 2.4rem; } }

/* ---------- programa / módulos (reuses .cards look) ---------- */
.em-modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 3rem; }
.em-mod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.em-mod:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(58,0,77,.4); border-color: var(--line-strong); }
.em-mod .mod-top { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.em-mod .mod-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--mauve); display: grid; place-items: center; flex: none; }
.em-mod .mod-tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mauve); }
.em-mod h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.em-mod p { color: #5a4862; font-size: 1.02rem; }
.em-mod ul { list-style: none; margin-top: 1rem; display: grid; gap: .5rem; }
.em-mod ul li { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; color: #3a2842; }
.em-mod ul svg { flex: none; margin-top: .25em; color: var(--mauve); }
@media (max-width: 760px) { .em-modules { grid-template-columns: 1fr; } }

/* ---------- formats ---------- */
.em-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3rem; }
.em-format { padding: 2rem 1.7rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
.em-format .fm-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--mauve-soft); display: grid; place-items: center; margin-bottom: 1.3rem; }
.em-format h3 { font-size: 1.24rem; margin-bottom: .6rem; }
.em-format p { color: rgba(255,255,255,.76); font-size: .99rem; }
@media (max-width: 880px) { .em-formats { grid-template-columns: 1fr; } }

/* ---------- IAs a medida (custom GPTs / AllMyGPT angle) ---------- */
.em-gpts .gpt-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.em-gpts .gpt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.em-gpts .gpt-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.em-gpts .gpt-card .gc-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; margin-bottom: .9rem; font-weight: 800; }
.em-gpts .gpt-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--brand); margin-bottom: .3rem; }
.em-gpts .gpt-card p { font-size: .92rem; color: #5a4862; }
.em-gpts .gpt-note { margin-top: 1.6rem; font-size: 1.02rem; color: #5a4862; }
@media (max-width: 820px) { .em-gpts .gpt-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .em-gpts .gpt-cards { grid-template-columns: 1fr; } }

/* ---------- instructor ---------- */
.em-instructor .ins-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.em-instructor .ins-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; }
.em-instructor .ins-photo image-slot { width: 100%; height: 100%; display: block; }
.em-instructor .ins-photo .ins-fallback { position: absolute; inset: 0; background: linear-gradient(165deg, var(--tint), var(--tint-2)); border: 1px solid var(--line); display: grid; place-items: center; pointer-events: none; }
.em-instructor .ins-photo .ins-fallback img { width: 42%; opacity: .55; }
.em-instructor .ins-name { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.em-instructor .ins-role { color: var(--mauve); font-weight: 700; margin-top: .3rem; }
.em-instructor .ins-bio { color: #3a2842; font-size: 1.08rem; margin-top: 1.3rem; }
.em-instructor .ins-bio + .ins-bio { margin-top: .9rem; }
.em-instructor .ins-creds { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.em-instructor .ins-creds span { font-size: .85rem; font-weight: 600; color: var(--brand); background: var(--tint); padding: .5em 1em; border-radius: 999px; }
@media (max-width: 760px) { .em-instructor .ins-grid { grid-template-columns: 1fr; } .em-instructor .ins-photo { max-width: 280px; } }

/* ---------- testimonials ---------- */
.em-testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.em-quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 2.6vw, 2rem); display: flex; flex-direction: column; }
.em-quote .q-mark { font-size: 2.6rem; line-height: .5; color: var(--mauve-soft); font-weight: 800; margin-bottom: .6rem; }
.em-quote p { color: #3a2842; font-size: 1.04rem; line-height: 1.5; flex: 1; }
.em-quote .q-by { margin-top: 1.3rem; display: flex; align-items: center; gap: .8rem; }
.em-quote .q-av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(165deg, var(--tint), var(--tint-2)); border: 1px solid var(--line); display: grid; place-items: center; flex: none; overflow: hidden; }
.em-quote .q-av img { width: 60%; opacity: .5; }
.em-quote .q-name { font-weight: 700; color: var(--brand); font-size: .96rem; }
.em-quote .q-co { color: var(--mauve); font-size: .86rem; font-weight: 600; }
@media (max-width: 880px) { .em-testi { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.em-proc { margin-top: 3.2rem; display: grid; gap: 0; }
.em-step { display: grid; grid-template-columns: 84px 1fr; gap: clamp(1rem, 3vw, 2.4rem); padding: 1.8rem 0; border-top: 1px solid var(--line); align-items: start; }
.em-step:last-child { border-bottom: 1px solid var(--line); }
.em-step .st-n { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; color: var(--mauve); opacity: .5; line-height: 1; letter-spacing: -.04em; }
.em-step h3 { margin-bottom: .4rem; }
.em-step p { color: #5a4862; max-width: 62ch; }
@media (max-width: 560px) { .em-step { grid-template-columns: 1fr; gap: .3rem; } }

/* ---------- fundae / cta band ---------- */
.em-fundae { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: center; text-align: center; padding: clamp(1.6rem, 3vw, 2.2rem); background: var(--tint); border-radius: var(--radius-lg); margin-top: 1rem; }
.em-fundae .fu-ic { width: 50px; height: 50px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.em-fundae p { font-size: 1.08rem; color: #3a2842; max-width: 60ch; }
.em-fundae strong { color: var(--brand); }

.em-final { text-align: center; }
.em-final .display { font-size: clamp(2rem, 4vw, 3.2rem); margin-inline: auto; max-width: 20ch; }
.em-final .lead { margin: 1.3rem auto 2.2rem; max-width: 560px; }
