/* ==========================================================================
   Embriomente · sistema visual. Mobile-first.
   Paleta tomada del logo: azul petróleo (#3e84a8) y turquesa (#03afa5).
   Para texto y botones se usan versiones más profundas que cumplen contraste AA.
   ========================================================================== */
:root {
  --c-primary: #2f7396;        /* azul del logo, profundizado (blanco encima 5.2:1) */
  --c-primary-ink: #ffffff;
  --c-primary-dark: #235a76;
  --c-accent: #03afa5;         /* turquesa del logo: detalles, brillos, íconos (no para texto chico) */
  --c-accent-ink: #00756e;     /* turquesa para texto sobre blanco (5.3:1) */
  --c-ink: #12303f;            /* texto principal */
  --c-muted: #4f6570;          /* texto secundario (6.1:1) */
  --c-bg: #ffffff;
  --c-alt: #f0f8f8;            /* fondos suaves aqua */
  --c-alt-2: #e3f4f3;
  --c-line: #d9e9ea;
  --c-dark: #0f2c3a;
  --c-dark-ink: #eef7f8;
  --grad: linear-gradient(120deg, #3e84a8 0%, #1c9aa3 55%, #03afa5 100%);
  --grad-soft: linear-gradient(160deg, #f3fbfb 0%, #e6f5f5 60%, #eaf2f8 100%);

  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Roboto Slab", Georgia, serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgb(18 48 63 / .05), 0 12px 32px rgb(18 48 63 / .08);
  --shadow-lg: 0 24px 60px rgb(18 48 63 / .14);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(60px, 9vw, 116px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 1.03rem/1.7 var(--f-body); color: var(--c-ink); background: var(--c-bg); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; color: var(--c-ink); }
h1 { font-size: clamp(2.05rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
.h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: clamp(1.12rem, 2vw, 1.3rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--c-accent); color: #fff; }
.hl { color: var(--c-accent-ink); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.container.narrow { width: min(100% - 2 * var(--gutter), 760px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.muted { color: var(--c-muted); }
.small { font-size: .9rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--c-accent-ink); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 22%, transparent), 0 0 14px var(--c-accent); flex: none; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.tag { display: inline-block; font-size: .74rem; font-weight: 700; padding: .25em .75em; border-radius: 99px; background: var(--c-alt-2); color: var(--c-accent-ink); margin-bottom: .6rem; letter-spacing: .02em; }
.pill { display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em; border-radius: 99px; background: #fff; border: 1px solid var(--c-line); font-size: .9rem; font-weight: 500; color: var(--c-ink); }
.pill svg { width: 18px; height: 18px; color: var(--c-accent-ink); flex: none; }

/* Botones */
.btn { --b: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75em 1.45em; border-radius: 99px; border: 2px solid var(--b); background: var(--b); color: var(--c-primary-ink); font: 700 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--b) 30%, transparent); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: color-mix(in srgb, var(--c-primary) 45%, transparent); }
.btn--ghost:hover { background: #fff; box-shadow: none; }
.btn--light { --b: #fff; color: var(--c-primary-dark); }
.btn--wa { --b: #128c4a; }
.btn--lg { min-height: 56px; padding-inline: 1.8em; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }

/* Header (sin menú desplegable: logo, campus y consulta) */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, #fff 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--c-line) 70%, transparent); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand__logo { height: 40px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-link { display: inline-flex; align-items: center; gap: .45em; padding: .5em .8em; border-radius: 99px; color: var(--c-ink); font-weight: 600; text-decoration: none; font-size: .95rem; }
.header-link:hover, .header-link[aria-current] { background: var(--c-alt); }
.header-link svg { width: 20px; height: 20px; color: var(--c-accent-ink); }
.header-link--wide { display: none; }
.header-cta .t-long { display: none; }
@media (max-width: 420px) { .brand__logo { height: 32px; } .header-link span { display: none; } .header-link { padding: .5em; } .header-cta { padding-inline: 1em; } }
@media (min-width: 720px) { .header-cta .t-long { display: inline; } .header-cta .t-short { display: none; } }
@media (min-width: 960px) { .header-link--wide { display: inline-flex; } .brand__logo { height: 46px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px); }
.hero::before { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgb(3 175 165 / .28), transparent 65%); }
.hero::after { width: 420px; height: 420px; left: -180px; bottom: -200px; background: radial-gradient(circle, rgb(62 132 168 / .22), transparent 65%); }
.hero__in { display: grid; gap: 40px; align-items: center; padding-block: clamp(36px, 7vw, 88px) clamp(48px, 8vw, 96px); }
@media (min-width: 940px) { .hero__in { grid-template-columns: 1.08fr .92fr; gap: 56px; } }
.hero__title { margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.06rem, 1.8vw, 1.22rem); color: var(--c-muted); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.4rem; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__media { position: relative; max-width: 470px; justify-self: center; width: 100%; }
.hero__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #b2f2ee; aspect-ratio: 1080/1350; }
.hero__photo img { width: 100%; height: 100%; object-fit: contain; }
.hero__ring { position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--c-accent) 55%, transparent); z-index: -1; }
.float-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.3; animation: floaty 6s ease-in-out infinite; }
.float-card b { font-family: var(--f-head); font-size: 1.6rem; color: var(--c-primary); line-height: 1; }
.float-card--a { left: -8px; bottom: 14%; }
.float-card--b { right: 12px; top: -22px; animation-delay: -3s; }
.float-card .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 5px rgb(3 175 165 / .18), 0 0 16px var(--c-accent); flex: none; }
@media (min-width: 1100px) { .float-card--a { left: -48px; } .float-card--b { right: -28px; } }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* Secciones */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .5) var(--section); }
.section--alt { background: var(--c-alt); }
.section--grad { background: var(--grad-soft); }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section__lead { font-size: 1.12rem; color: var(--c-muted); }
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(24px, 3vw, 36px); background: var(--grad-soft); margin-bottom: clamp(8px, 2vw, 24px); }
.page-hero .section__lead { max-width: 62ch; }
.page-cover img { border-radius: var(--radius); width: 100%; }
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide { grid-template-columns: 1.2fr .8fr; } }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Conocenos */
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 1.6rem; }
.stat { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 18px 20px; }
.stat b { display: block; font-family: var(--f-head); font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1; color: var(--c-primary); margin-bottom: .3rem; }
.stat span { color: var(--c-muted); font-size: .92rem; line-height: 1.35; display: block; }
.about-visual { position: relative; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.about-visual img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.about-visual > :nth-child(2) { margin-top: 48px; }

/* Por qué: bloque con estadística */
.why { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .why { grid-template-columns: .85fr 1.15fr; } }
.why__stat { position: relative; width: min(64vw, 340px); aspect-ratio: 1; justify-self: center; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-content: center; text-align: center; padding: 14%; box-shadow: var(--shadow-lg); margin: 22px auto; }
.why__stat b { font-family: var(--f-head); font-size: clamp(2.2rem, 9vw, 4.4rem); line-height: 1; display: block; }
.why__label { font-size: clamp(.85rem, 2.6vw, 1.02rem); line-height: 1.35; opacity: .95; max-width: 17ch; margin: .5rem auto 0; display: block; }
.why__ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed rgb(3 175 165 / .45); animation: spin 40s linear infinite; }
.why__people { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.why__people i { position: absolute; inset: -14px; transform: rotate(var(--a)); }
.why__people i::before { content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #cfe9ec; border: 3px solid #fff; box-shadow: 0 2px 6px rgb(18 48 63 / .15); }
.why__people i:nth-child(1) { --a: 0deg; } .why__people i:nth-child(2) { --a: 60deg; } .why__people i:nth-child(3) { --a: 120deg; }
.why__people i:nth-child(4) { --a: 180deg; } .why__people i:nth-child(5) { --a: 240deg; } .why__people i:nth-child(6) { --a: 300deg; }
.why__people i.is-one::before { width: 24px; height: 24px; margin-left: -12px; top: -12px; background: var(--c-accent); box-shadow: 0 0 0 6px rgb(3 175 165 / .25), 0 0 22px var(--c-accent); animation: beat 1.8s ease-in-out infinite; }
.js .why__stat:not(.is-in) .why__people i::before, .js .why__stat:not(.is-in) b { opacity: 0; }
.js .why__stat.is-in b { animation: pop .7s .2s cubic-bezier(.2, .9, .3, 1.3) both; }
.js .why__stat.is-in .why__people i::before { animation: pop .45s both; }
.js .why__stat.is-in .why__people i:nth-child(2)::before { animation-delay: .15s; } .js .why__stat.is-in .why__people i:nth-child(3)::before { animation-delay: .3s; }
.js .why__stat.is-in .why__people i:nth-child(4)::before { animation-delay: .45s; } .js .why__stat.is-in .why__people i:nth-child(5)::before { animation-delay: .6s; }
.js .why__stat.is-in .why__people i.is-one::before { animation: pop .45s .75s both, beat 1.8s 1.3s ease-in-out infinite; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes beat { 50% { transform: scale(1.25); } }
.why__list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px; }
.why__list li { display: flex; gap: 12px; align-items: flex-start; }
.why__list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 3px; background: var(--c-alt-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300756e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }

/* A quiénes acompañamos */
.who { display: grid; gap: 14px; }
@media (min-width: 640px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .who { grid-template-columns: repeat(4, 1fr); } }
.who__item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.who__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c-accent) 45%, var(--c-line)); }
.who__num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 .9rem var(--f-head); color: #fff; background: var(--grad); box-shadow: 0 0 0 5px var(--c-alt-2); }
.who__item p { margin: 0; font-weight: 500; line-height: 1.45; }

/* Tarjetas */
.card { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__media { display: block; aspect-ratio: 4/3; background: var(--c-alt); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: block; width: 100%; height: 100%; background: var(--grad); opacity: .85; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__title { margin-bottom: .4em; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--c-primary); }
.card__text { color: var(--c-muted); flex: 1; }
.card__meta { font-size: .85rem; color: var(--c-muted); }

/* Equipo */
.team { display: grid; gap: 20px; }
@media (min-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }
.person { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 24px; }
.person__avatar { width: 72px; height: 72px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad); color: #fff; font: 600 1.5rem var(--f-head); box-shadow: 0 0 0 6px var(--c-alt-2); }
.person h3 { margin-bottom: .2em; }
.person p { margin: 0; color: var(--c-muted); font-size: .95rem; line-height: 1.45; }
.person .mp { display: inline-block; margin-top: .5rem; font-size: .8rem; font-weight: 700; color: var(--c-accent-ink); background: var(--c-alt-2); padding: .2em .7em; border-radius: 99px; }
.team-photo { border-radius: var(--radius); overflow: hidden; background: #b2f2ee; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Propuestas (formación, taller, campus) */
.offer { display: grid; gap: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.offer:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
@media (min-width: 640px) { .offer { grid-template-columns: 200px 1fr; } }
.offer__media { background: var(--c-alt); }
.offer__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.offer__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: .2rem; }
.offer__body p { color: var(--c-muted); }
.offer__body .btn { align-self: flex-start; margin-top: auto; }
.facts { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li { font-size: .82rem; font-weight: 600; padding: .3em .8em; border-radius: 99px; background: var(--c-alt); color: var(--c-ink); }

/* Banda campus */
.campus-band { background: var(--grad); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.campus-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .22), transparent 65%); z-index: -1; }
@media (min-width: 860px) { .campus-band { grid-template-columns: 1.4fr auto; } }
.campus-band h2, .campus-band .eyebrow { color: #fff; }
.campus-band .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / .25), 0 0 14px #fff; }
.campus-band p { opacity: .95; margin: 0; max-width: 60ch; }

/* Detalle de programa / taller */
.detail-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 12px; }
.detail-list li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 14px 16px; }
.detail-list .ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--c-alt-2); color: var(--c-accent-ink); flex: none; }
.detail-list .ico svg { width: 22px; height: 22px; }
.detail-list small { display: block; color: var(--c-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.flyer { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 460px; margin-inline: auto; }
.topics { counter-reset: t; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .topics { grid-template-columns: 1fr 1fr; } }
.topics li { counter-increment: t; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 16px 18px 16px 60px; position: relative; font-weight: 500; }
.topics li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 18px; top: 15px; font: 700 1rem var(--f-head); color: var(--c-accent-ink); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-bg); transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: var(--c-accent-ink); background: var(--c-alt-2); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--c-muted); }

/* CTA */
.cta-band { background: var(--grad); color: var(--c-primary-ink); text-align: center; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band__in { max-width: 720px; }
.cta-band p { font-size: 1.15rem; opacity: .95; }
.cta-band .hero__actions { justify-content: center; }
.cta-band .btn--ghost { color: #fff; border-color: rgb(255 255 255 / .7); }
.cta-band .btn--ghost:hover { background: rgb(255 255 255 / .12); }

/* Formularios */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.field input, .field textarea, .field select, .search input { width: 100%; font: inherit; font-weight: 400; padding: .85em 1.05em; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: #fff; color: var(--c-ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .search input:focus { border-color: var(--c-accent); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 18%, transparent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c62828; }
.field__err { color: #c62828; font-size: .85rem; font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--c-muted); }
.check input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--c-primary); }
.hp { position: absolute; left: -9999px; }
.form__status:empty { display: none; }
.form__status { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--c-alt); }
.form__status.is-ok { background: #e3f6ea; color: #135c2b; }
.form__status.is-err { background: #fdecec; color: #8a1c1c; }
.search { display: flex; gap: 8px; max-width: 520px; margin-top: 1rem; }
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }

.contact-info { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c-alt-2); color: var(--c-accent-ink); flex: none; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--c-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.map { margin-top: 1rem; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--c-alt); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Blog */
.chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { display: inline-block; padding: .4em .95em; border: 1px solid var(--c-line); border-radius: 99px; text-decoration: none; color: var(--c-ink); font-size: .9rem; background: #fff; }
.chips a[aria-current] { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.chips--small span { font-size: .8rem; color: var(--c-muted); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: 50%; text-decoration: none; color: var(--c-ink); }
.pager a[aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-primary-ink); }
.empty { text-align: center; color: var(--c-muted); padding: 48px 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: inherit; }
.post__meta { color: var(--c-muted); font-size: .95rem; }
.post__cover img { border-radius: var(--radius); width: 100%; }
.tldr { border-left: 4px solid var(--c-accent); background: var(--c-alt); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0; }
.tldr strong { display: block; margin-bottom: .3em; text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; color: var(--c-accent-ink); }
.tldr p { margin: 0; font-size: 1.05rem; }
.toc { border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 16px 22px; margin-bottom: 28px; }
.toc ol { margin: .5em 0 0; padding-left: 1.2em; }
.post__faq { margin-top: 48px; }
.share { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: .95rem; }
.author { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--c-alt); border-radius: var(--radius); }
.author__img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.preview-note { background: #fff3cd; color: #664d03; text-align: center; padding: 10px; font-size: .9rem; }

/* Contenido enriquecido */
.prose { font-size: 1.07rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em auto; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .88rem; color: var(--c-muted); text-align: center; }
.prose blockquote { margin: 1.5em 0; padding: .5em 0 .5em 1.2em; border-left: 3px solid var(--c-accent); font-size: 1.12rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--c-accent-ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--c-line); padding: .6em .8em; text-align: left; }
.prose th { background: var(--c-alt); }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius-sm); margin: 1.5em 0; }

/* Campus virtual */
.campus-hero { background: var(--grad-soft); padding-block: clamp(28px, 5vw, 56px); }
.campus-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.campus-login { display: grid; gap: 32px; align-items: center; padding-block: clamp(40px, 7vw, 96px); }
@media (min-width: 900px) { .campus-login { grid-template-columns: 1fr 440px; gap: 64px; } }
.campus-login__card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.campus-login__card h2 { font-size: 1.5rem; }
.campus-login__card .btn { width: 100%; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; background: var(--c-alt); font-size: .95rem; }
.alert--err { background: #fdecec; color: #8a1c1c; }
.alert--ok { background: #e3f6ea; color: #135c2b; }
.alert--warn { background: #fff4d6; color: #6b4300; }
.campus-bar { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.campus-bar__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.course-card .card__media { aspect-ratio: 16/9; background: var(--grad); position: relative; }
.course-card .card__media .course-card__mark { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 600 1.25rem var(--f-head); padding: 20px; text-align: center; }
.progress { height: 8px; border-radius: 99px; background: var(--c-alt-2); overflow: hidden; margin: .6rem 0 .3rem; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.lesson-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lesson-list a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: #fff; text-decoration: none; color: var(--c-ink); transition: border-color .15s, box-shadow .15s; }
.lesson-list a:hover { border-color: var(--c-accent); box-shadow: var(--shadow); }
.lesson-list a[aria-current] { border-color: var(--c-primary); background: var(--c-alt); }
.lesson-list .n { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 .85rem var(--f-head); background: var(--c-alt-2); color: var(--c-accent-ink); }
.lesson-list .is-seen .n { background: var(--c-accent-ink); color: #fff; }
.lesson-list .t { flex: 1; font-weight: 600; line-height: 1.35; }
.lesson-list .d { font-size: .82rem; color: var(--c-muted); white-space: nowrap; }
.player { aspect-ratio: 16/9; background: #0b1f29; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.player iframe { width: 100%; height: 100%; border: 0; }
.player--empty { display: grid; place-items: center; color: #fff; text-align: center; padding: 24px; }
.lesson-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .lesson-layout { grid-template-columns: 1fr 340px; align-items: start; } .lesson-layout aside { position: sticky; top: calc(var(--header-h) + 16px); } }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* Footer */
.site-footer { background: var(--c-alt); color: var(--c-ink); padding-top: clamp(48px, 7vw, 80px); font-size: .95rem; border-top: 1px solid var(--c-line); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--c-primary); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 32px; padding-bottom: 40px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__logo { height: 44px; width: auto; margin-bottom: 1rem; }
.site-footer__title { font-family: var(--f-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c-accent-ink); font-weight: 700; }
.site-footer__links, .social { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1rem; }
.nap { font-style: normal; display: grid; gap: 6px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-block: 20px 96px; border-top: 1px solid var(--c-line); font-size: .82rem; color: var(--c-muted); }
.site-footer__legal p { margin: 0; }
@media (min-width: 800px) { .site-footer__legal { padding-bottom: 24px; } }

/* WhatsApp, cookies, editor */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; background: var(--c-bg); color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; font-size: .92rem; }
.consent p { margin-bottom: 12px; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent .btn { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.edit-fab { position: fixed; left: 18px; bottom: 18px; z-index: 40; background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: 99px; text-decoration: none; font-size: .9rem; box-shadow: var(--shadow); }
.notfound { text-align: center; }
.notfound .hero__actions { justify-content: center; }

/* Aparición suave al hacer scroll (solo si hay JS) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .wa-float, .consent, .share { display: none !important; } }

/* Ajustes */
.card__body .tag, .offer__body .tag { align-self: flex-start; }
.offer__media img { object-position: center top; }
.team-wrap { max-width: 980px; margin-inline: auto; text-align: center; }
.team-wrap .eyebrow { justify-content: center; }
.team-wrap .team { text-align: left; margin-top: 1.5rem; }
.live-box { background: var(--grad); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); display: grid; gap: 12px; justify-items: start; box-shadow: var(--shadow-lg); }
.live-box__badge { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.live-box__badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / .3); animation: pulse 1.6s infinite; }
.live-box__date { font: 600 clamp(1.3rem, 3vw, 1.8rem)/1.2 var(--f-head); margin: 0; }
.live-box p { margin: 0; }
@keyframes pulse { 50% { opacity: .35; } }

/* Redes en el encabezado */
.header-social { list-style: none; margin: 0 4px 0 0; padding: 0; display: flex; gap: 2px; }
.header-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--c-primary); transition: background .15s, color .15s, transform .15s; }
.header-social a:hover { background: var(--c-alt-2); color: var(--c-accent-ink); transform: translateY(-1px); }
.header-social svg { width: 20px; height: 20px; }
.header-cta .t-icon { display: none; }
@media (max-width: 480px) {
  .site-header__in { gap: 6px; }
  .brand__logo { height: 28px; }
  .header-actions { gap: 2px; }
  .header-social a { width: 32px; height: 32px; }
  .header-social svg { width: 18px; height: 18px; }
  .header-link span { display: none; }
  .header-link { padding: .45em; }
  .header-cta { padding: 0; width: 40px; min-height: 40px; }
  .header-cta .t-short, .header-cta .t-long { display: none; }
  .header-cta .t-icon { display: grid; }
}

/* Conocenos: animación de marca (mente, emociones, fertilidad) */
.about-anim { position: relative; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; isolation: isolate; }
.about-anim::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgb(3 175 165 / .22), rgb(62 132 168 / .08) 55%, transparent 70%); z-index: -1; animation: breathe 6s ease-in-out infinite; }
.orbit { position: absolute; border-radius: 50%; animation: spin 36s linear infinite; }
.orbit--1 { inset: 4%; border: 1.5px dashed rgb(3 175 165 / .45); }
.orbit--2 { inset: 17%; border: 1.5px solid rgb(62 132 168 / .25); animation-duration: 24s; animation-direction: reverse; }
.orbit--3 { inset: 30%; border: 1.5px dashed rgb(62 132 168 / .35); animation-duration: 16s; }
.sat { position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 5px rgb(3 175 165 / .18), 0 0 18px var(--c-accent); }
.sat--b { top: auto; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; background: #3e84a8; box-shadow: 0 0 0 5px rgb(62 132 168 / .16), 0 0 14px #3e84a8; }
.sat--c { width: 10px; height: 10px; margin-left: -5px; top: -5px; }
.core { position: absolute; inset: 37%; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgb(3 175 165 / .08), 0 0 0 22px rgb(3 175 165 / .05), 0 18px 50px rgb(3 175 165 / .35); animation: breathe 5s ease-in-out infinite; }
.core img { width: 78%; height: auto; }
.chip { position: absolute; padding: .45em 1em; border-radius: 99px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); font-size: .88rem; font-weight: 700; color: var(--c-ink); white-space: nowrap; animation: floaty 7s ease-in-out infinite; }
.chip::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); margin-right: .5em; vertical-align: middle; }
.chip--1 { top: 6%; left: 2%; }
.chip--2 { top: 20%; right: 0; animation-delay: -2s; }
.chip--2::before { background: #3e84a8; }
.chip--3 { bottom: 18%; left: 0; animation-delay: -4s; }
.chip--3::before { background: #3e84a8; }
.chip--4 { bottom: 5%; right: 6%; animation-delay: -1s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.05); } }
@media (max-width: 939px) {
  .float-card { font-size: .8rem; padding: 8px 12px; }
  .float-card--b { top: -16px; right: 8px; }
  .float-card--a { bottom: 4%; left: 8px; }
}

/* Foto en el círculo del equipo (opcional, se carga desde el editor visual) */
.person__avatar { overflow: hidden; position: relative; }
.person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.person__avatar.has-photo { background: var(--c-alt-2); }
