/* Rediseño 2026-11-17: estructura y lenguaje de la plantilla Life Coach (Energetic), con los colores de Jomery.
   Morado noche como base oscura, lima del lienzo como acento y pasteles con una esquina muy redondeada.
   Se carga después de site.css y canva.css y manda sobre ambos. */
:root {
  --v-night: #1D1040;
  --v-night-2: #2A1A57;
  --v-lime: #DDF28B;
  --v-ink: #1D1040;
  --v-ink-soft: #4A4260;
  --v-paper: #F7F6F4;
  --v-lav: #E6DEFB;
  --v-yel: #FBF38A;
  --v-beige: #F1E8E3;
  --v-mint: #CFEFE4;
  --v-line: rgba(29, 16, 64, .14);
  --bg: #F7F6F4;
  --ink: #1D1040;
  --ink-strong: #120828;
  --title: #4A4260;
  --line: rgba(29, 16, 64, .14);
  --serif: 'Poppins', Arial, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.25, 1, .5, 1);
}
body { background: var(--v-paper); color: var(--v-ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.serif-title { font-family: var(--sans); font-weight: 600; letter-spacing: -0.035em; color: var(--v-ink); font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; }
.kicker { font-size: 13px; letter-spacing: .08em; color: var(--v-ink-soft); }

/* Botones: rectángulo pequeño en mayúscula, como la plantilla */
.btn { border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; font-weight: 600; min-height: 46px; padding: 12px 22px; border-width: 1.5px; }
.btn:hover { transform: none; }
.btn--morado { background: var(--v-night); border-color: var(--v-night); }
.btn--morado:hover { background: var(--v-night-2); border-color: var(--v-night-2); }
.v-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 12px 20px; border-radius: 6px; border: 1.5px solid currentColor; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: var(--v-ink); background: transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.v-btn--arrow::after { content: ""; width: 11px; height: 11px; background: currentColor; transition: transform .3s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 9 9 1m0 0v7.6M9 1H1.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 9 9 1m0 0v7.6M9 1H1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.v-btn--arrow:hover::after { transform: translate(2px, -2px); }
.v-btn--line:hover { background: var(--v-ink); color: var(--v-paper); border-color: var(--v-ink); }
.v-btn--lime { background: var(--v-lime); border-color: var(--v-lime); color: var(--v-night); }
.v-btn--lime:hover { background: #EAF8B4; border-color: #EAF8B4; color: var(--v-night); }
.v-btn--ghost-light { color: #FFFFFF; border-color: rgba(255, 255, 255, .5); }
.v-btn--ghost-light:hover { background: #FFFFFF; color: var(--v-night); border-color: #FFFFFF; }
.v-btn--solid { background: var(--v-ink); color: var(--v-paper); border-color: var(--v-ink); }
.v-btn--solid:hover { background: var(--v-night-2); border-color: var(--v-night-2); color: var(--v-paper); }

/* Cabecera: discreta, enlaces en mayúscula; oscura sobre la portada */
.site-header { background: rgba(247, 246, 244, .92); }
.site-header .wrap { max-width: var(--wrap); min-height: 72px; }
.nav { gap: 26px; font-size: 13px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; }
.nav a.n-rosa, .nav a.n-lila, .nav a.n-naranja, .nav a.n-verde, .nav a.n-navy { color: var(--v-ink); }
.nav .btn { text-transform: uppercase; font-size: 13px; min-height: 42px; padding: 8px 18px; }
.brand-word { color: var(--v-ink); font-weight: 600; letter-spacing: .14em; font-size: 20px; }
.site-header--dark { background: var(--v-night); border-bottom-color: transparent; }
.site-header--dark.is-scrolled { background: rgba(29, 16, 64, .96); border-bottom-color: rgba(255, 255, 255, .08); }
.site-header--dark .brand-word, .site-header--dark .nav a:not(.btn), .site-header--dark .cart-btn, .site-header--dark .menu-toggle { color: #F3F0FA; }
.site-header--dark .nav .btn { background: var(--v-lime); border-color: var(--v-lime); color: var(--v-night); }
@media (max-width: 900px) {
  .site-header--dark .nav { background: var(--v-night); border-bottom-color: rgba(255, 255, 255, .1); }
  .site-header--dark .nav a { border-bottom-color: rgba(255, 255, 255, .1); }
}

/* Secciones */
.v-section { padding: 104px 0; }
.v-section--tight { padding: 56px 0; }
.v-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 720px; }
.v-head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.v-head p { margin: 0; color: var(--v-ink-soft); font-size: 18px; }
.v-h2 { font-family: var(--sans); font-weight: 500; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -0.035em; color: var(--v-ink); margin: 0; }
.v-eyebrow { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .02em; color: #CFC6EA; margin: 0; }
.v-eyebrow--dark { color: var(--v-ink-soft); }
.v-more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 700px) { .v-section { padding: 72px 0; } .v-section--tight { padding: 40px 0; } .v-head { margin-bottom: 32px; } }

/* Portada */
.v-hero { background: var(--v-night); color: #FFFFFF; padding: 40px 0 56px; overflow: hidden; }
.v-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); grid-template-rows: auto auto; gap: 32px 48px; align-items: start; }
.v-hero__copy { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; position: relative; z-index: 2; }
.v-hero__title { font-family: var(--sans); font-weight: 500; color: var(--v-lime); font-size: clamp(54px, 8vw, 96px); line-height: .98; letter-spacing: -0.045em; margin: 0; max-width: 9.5ch; }
.v-hero__sub { font-size: 19px; color: #E4DEF5; max-width: 34ch; margin: 0; }
.v-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.v-hero__media { position: relative; grid-row: span 2; }
.v-hero__media img { width: 100%; aspect-ratio: 900 / 1060; object-fit: cover; border-radius: 0 160px 0 0; background: var(--v-night-2); }
.v-badge { position: absolute; left: -64px; top: 30%; width: 148px; height: 148px; border-radius: 50%; border: 1.5px dashed rgba(221, 242, 139, .8); display: grid; place-content: center; text-align: center; color: var(--v-lime); margin: 0; background: rgba(29, 16, 64, .35); backdrop-filter: blur(2px); }
.v-badge b { font-size: 46px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.v-badge span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.v-float { align-self: end; justify-self: start; display: grid; gap: 4px; width: min(340px, 100%); padding: 20px 22px 18px; border-radius: 16px 64px 16px 16px; color: var(--v-night); text-decoration: none; background: radial-gradient(120% 140% at 0% 0%, #F2F7C4 0%, #E6DEFB 55%, #CDBBF6 100%); transition: transform .35s var(--ease); }
.v-float:hover { transform: translateY(-3px); }
.v-float__k { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.v-float__t { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.v-float__m { font-size: 14px; color: var(--v-ink-soft); }
@media (max-width: 900px) {
  .v-hero { padding: 24px 0 40px; }
  .v-hero__grid { grid-template-columns: 1fr; }
  .v-hero__media { grid-row: auto; max-width: 420px; }
  .v-hero__media img { border-radius: 0 110px 0 0; }
  .v-badge { left: auto; right: 12px; top: auto; bottom: 16px; width: 112px; height: 112px; }
  .v-badge b { font-size: 34px; }
}

/* Logos */
.v-logos { border-bottom: 1px solid var(--v-line); }
.v-logos__row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 40px; padding-top: 28px; padding-bottom: 28px; }
.v-logos__title { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--v-ink-soft); margin: 0; white-space: nowrap; }
.v-logos .logos-mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.v-logos .marquee img { height: 44px; max-width: 130px; opacity: 1; }
.v-logos .marquee-group { gap: 56px; padding-right: 56px; }
@media (max-width: 700px) { .v-logos__row { grid-template-columns: 1fr; gap: 16px; text-align: center; } }

/* Programas: tarjetas pastel con una esquina grande */
.v-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.v-card { background: var(--c, var(--v-lav)); border-radius: 16px 72px 16px 16px; padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 16px; }
.v-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px 58px 10px 10px; }
.v-card h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; margin: 0 6px; color: var(--v-ink); }
@media (max-width: 1000px) {
  .v-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-right: -24px; padding-right: 24px; scrollbar-width: thin; }
  .v-card { scroll-snap-align: start; }
}

/* Escenario con cinta */
.v-stage { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.v-stage__media { margin: 0; position: relative; border-radius: 0 140px 0 0; overflow: hidden; }
.v-stage__media img { width: 100%; aspect-ratio: 1200 / 860; object-fit: cover; }
.v-ticker { position: absolute; left: 0; right: 0; bottom: 0; background: var(--v-yel); color: var(--v-night); overflow: hidden; }
.v-ticker__track { display: flex; width: max-content; animation: v-ticker 28s linear infinite; }
.v-ticker span { padding: 9px 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
@keyframes v-ticker { to { transform: translateX(-50%); } }
.v-stage__copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.v-stage__copy .v-h2 { font-size: clamp(30px, 3.4vw, 46px); }
@media (max-width: 900px) { .v-stage { grid-template-columns: 1fr; gap: 32px; } .v-stage__media { border-radius: 0 80px 0 0; } }

/* Evento destacado */
.feat__img { border-radius: 0 140px 0 0; }
.feat .serif-title { font-weight: 500; }

/* Conferencias en filas */
.v-rows { display: flex; flex-direction: column; gap: 14px; }
.v-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 28px 36px; background: var(--v-beige); border-radius: 12px 80px 12px 12px; }
.v-row:nth-child(2n) { background: var(--v-lav); }
.v-row__t { font-family: var(--sans); font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.025em; margin: 0; color: var(--v-ink); }
.v-row__t span { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--v-ink-soft); }
.v-row p { margin: 6px 0 0; color: var(--v-ink-soft); max-width: 68ch; font-size: 16px; }
@media (max-width: 700px) { .v-row { grid-template-columns: 1fr; padding: 24px; border-radius: 12px 48px 12px 12px; } .v-row__t span { display: block; margin-top: 4px; } .v-row .v-btn { justify-self: start; } }
.quiz-inline { margin-top: 28px; text-align: center; }
.quiz-inline > summary { color: var(--v-ink); font-size: 15px; }
.quiz-inline .quiz-box { margin: 16px auto 0; text-align: left; background: #FFFFFF; border: 1px solid var(--v-line); }

/* Sobre Jomery: frase enorme sobre degradado lila */
.v-about { background: linear-gradient(180deg, var(--v-paper) 0%, #EEE8FC 38%, #E2D7FB 100%); padding: 104px 0 0; overflow: hidden; }
.v-statement { font-family: var(--sans); font-weight: 500; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -0.035em; color: var(--v-ink); margin: 14px 0 32px; max-width: 22ch; }
.v-about__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 40px; align-items: end; margin-top: 56px; }
.v-stats { list-style: none; padding: 0 0 56px; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.v-stats li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid rgba(29, 16, 64, .22); }
.v-stats b { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.v-stats span { font-size: 14px; color: var(--v-ink-soft); line-height: 1.35; }
.v-about__img { width: 100%; max-height: 520px; object-fit: contain; object-position: bottom; }
@media (max-width: 900px) {
  .v-about { padding-top: 72px; }
  .v-about__foot { grid-template-columns: 1fr; margin-top: 40px; }
  .v-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
  .v-about__img { max-width: 280px; margin: 0 auto; }
}

/* Japi ideas: tarjetas con degradado */
.v-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.v-post { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 260px; padding: 28px 30px 24px; border-radius: 16px 96px 16px 16px; text-decoration: none; color: var(--v-ink); background: radial-gradient(90% 120% at 30% 100%, #F6F09A 0%, #E6DEFB 60%, #DCD2FA 100%); transition: transform .35s var(--ease); }
.v-post:nth-child(2n) { background: var(--v-beige); }
.v-post:nth-child(3n) { background: radial-gradient(90% 120% at 80% 100%, #D9F2C2 0%, #CFEFE4 60%); }
.v-post:hover { transform: translateY(-4px); }
.v-post h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 10px; }
.v-post p { margin: 0; color: var(--v-ink-soft); font-size: 16px; }
.v-post__meta { display: flex; justify-content: flex-end; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Tienda */
.v-shop { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px; background: var(--v-yel); border-radius: 16px 140px 16px 16px; }
.v-shop__img { display: block; aspect-ratio: 4 / 5; border-radius: 10px 72px 10px 10px; overflow: hidden; background: #FFFFFF; }
.v-shop__img img { width: 100%; height: 100%; object-fit: cover; }
.v-shop__body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.v-shop__body > p { margin: 0; color: var(--v-ink-soft); }
.v-shop__product { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.v-shop__product .shop__name { font-size: 20px; font-weight: 600; margin: 0; }
.v-shop__product .shop__meta { margin: 0 0 8px; color: var(--v-ink-soft); }
@media (max-width: 700px) { .v-shop { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 22px; border-radius: 16px 64px 16px 16px; align-items: start; } .v-shop__img { border-radius: 8px 32px 8px 8px; } }

/* Preguntas frecuentes en dos columnas */
.v-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.v-faq .faq-q { font-size: 18px; font-weight: 500; }
.v-faq .faq-list { border-top-width: 1px; border-color: var(--v-line); }
.v-faq .faq-item { border-bottom-width: 1px; border-color: var(--v-line); }
.v-faq .chip { border-width: 1.5px; border-radius: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 900px) { .v-faq { grid-template-columns: 1fr; gap: 28px; } }

/* Contacto sobre degradado granulado */
.v-contact { position: relative; padding: 104px 0; background: radial-gradient(60% 80% at 10% 20%, #E3F5A8 0%, transparent 60%), radial-gradient(60% 80% at 90% 80%, #D8CCFA 0%, transparent 60%), #EAE6F7; overflow: hidden; }
.v-contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .6 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.v-contact .wrap { position: relative; }
.v-contact__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 15px; font-weight: 500; }
.v-contact__alt a { color: var(--v-ink); }
.v-formcard { max-width: 640px; margin: 0 auto; background: var(--v-paper); border-radius: 12px; padding: 32px; box-shadow: 0 30px 60px -30px rgba(29, 16, 64, .35); }
.v-formcard .btn { background: var(--v-ink); border-color: var(--v-ink); }
@media (max-width: 700px) { .v-contact { padding: 72px 0; } .v-formcard { padding: 22px; } }

/* Pie */
.site-footer { background: var(--v-paper); border-top: 1px solid var(--v-line); }
.site-footer .hashtag, .foot__title { color: var(--v-ink); font-family: var(--sans); font-weight: 500; letter-spacing: -0.02em; }
.foot__title { font-size: 24px; }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .v-ticker__track { animation: none; }
  .v-btn, .v-btn--arrow::after, .v-float, .v-post { transition: none; }
}

/* Las fotos traen width/height en el HTML (evitan saltos al cargar); el alto real lo da la proporción */
.v-hero__media img, .v-stage__media img, .v-card img, .v-about__img, .v-shop__img img { height: auto; }
.v-hero__media img { aspect-ratio: 4 / 4.4; max-height: 620px; object-position: center 20%; }
@media (max-width: 900px) { .v-hero__media img { aspect-ratio: 4 / 3.6; max-height: 380px; } .v-hero__media { max-width: none; } }
.v-shop__img img { height: 100%; }

/* Sobre Jomery: frase y cifras a la izquierda, la foto recortada a la derecha apoyada en el borde inferior */
.v-about .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); column-gap: 48px; align-items: start; }
.v-about .wrap > * { grid-column: 1; }
.v-about .wrap > .v-btn { justify-self: start; }
.v-about__foot { display: contents; }
.v-stats { grid-column: 1; margin-top: 56px; }
.v-about__img { grid-column: 2; grid-row: 1 / span 4; align-self: end; max-height: 560px; }
@media (max-width: 900px) {
  .v-about .wrap { grid-template-columns: 1fr; }
  .v-stats { margin-top: 40px; padding-bottom: 8px; }
  .v-about__img { grid-column: 1; grid-row: auto; max-height: 360px; max-width: 240px; margin: 24px auto 0; }
}

/* Sobre mí con su presentación de Instagram (post del 14 de octubre de 2026) */
.v-about .v-statement { margin-bottom: 24px; max-width: 20ch; }
.v-about__text { display: flex; flex-direction: column; gap: 12px; max-width: 52ch; margin-bottom: 32px; font-size: 19px; color: var(--v-ink-soft); }
.v-about__text p { margin: 0; }
.v-about__tag { font-weight: 600; color: var(--v-ink); }
.v-about__img { grid-row: 1 / span 6; }
@media (max-width: 900px) { .v-about__img { grid-row: auto; } .v-about__text { font-size: 17px; } }

/* Foto de "Sobre mí" más grande: ocupa casi todo el alto del texto y sigue apoyada en el borde inferior */
@media (min-width: 901px) {
  .v-about .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 48px; }
  .v-about__img { align-self: end; justify-self: center; width: auto; max-width: 100%; height: 680px; max-height: none; object-fit: contain; object-position: center bottom; margin-top: 24px; }
}

/* Carrito: <dialog> modal nativo pegado a la derecha (guía modern-web-guidance "dialog") */
dialog.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0; width: min(440px, 100%); max-width: 100%; height: 100vh; height: 100dvh; max-height: none; background: var(--v-paper); color: var(--v-ink); box-shadow: -12px 0 40px rgba(0, 0, 0, .12); }
dialog.drawer:not([open]) { display: none; }
dialog.drawer[open] { display: flex; flex-direction: column; }
/* Sin esto, el scroll sobre el fondo o dentro del panel mueve la página de atrás */
dialog.drawer:modal { overscroll-behavior: contain; }
dialog.drawer::backdrop { background: rgba(29, 16, 64, .45); overflow: hidden; overscroll-behavior: contain; }

/* Preguntas frecuentes con <details>: el signo va junto al texto y gira al abrir */
summary.faq-q { list-style: none; justify-content: flex-start; }
summary.faq-q::-webkit-details-marker { display: none; }
details[open] > summary.faq-q .sign { transform: rotate(45deg); }
details.faq-item::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
details.faq-item:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  details.faq-item::details-content { transition: block-size .3s ease-in-out, content-visibility .3s, display .3s; transition-behavior: allow-discrete; }
}
@media (prefers-reduced-motion: reduce) { .faq-q .sign { transition: none; } }

/* Campos con error: borde además del mensaje (el color no es la única señal) */
.field :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--error); }

/* Recurso gratuito (recurso.html): ficha y formulario a la izquierda, portada a la derecha.
   En el teléfono el formulario va antes que la portada: quien llega de una promo ya la vio. */
.recurso { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr); grid-template-areas: "copy media" "form media"; gap: 40px 64px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
.recurso__copy { grid-area: copy; display: flex; flex-direction: column; gap: 18px; }
.recurso__copy > * { margin: 0; }
.recurso__desc { font-size: 19px; color: var(--v-ink-soft); max-width: 46ch; }
.recurso__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.recurso__list li { position: relative; padding-left: 28px; }
.recurso__list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 13px; height: 13px; border: 1.5px solid var(--v-ink); border-radius: 3px 7px 3px 3px; background: var(--v-lime); }
.recurso__media { grid-area: media; position: sticky; top: 96px; background: var(--v-lav); border-radius: 16px 120px 16px 16px; padding: 44px; }
.recurso__media img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 40px rgba(29, 16, 64, .2); }
.recurso__form { grid-area: form; background: #FFFFFF; border: 1.5px solid var(--v-line); border-radius: 16px 56px 16px 16px; padding: 32px; }
.recurso__form h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 6px; }
.recurso__form > p { margin: 0 0 20px; color: var(--v-ink-soft); }
.recurso__form > .recurso__legal { margin: 16px 0 0; }
.recurso__done { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.recurso__done > * { margin: 0; }
.recurso__done:focus { outline: none; }
@media (max-width: 900px) {
  .recurso { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "media"; gap: 28px; padding-top: 32px; padding-bottom: 64px; }
  .recurso__media { position: static; max-width: 340px; padding: 28px; border-radius: 16px 84px 16px 16px; }
  .recurso__form { padding: 24px 20px; }
}
