/* Capa Canva. El sitio de Canva de Jomery manda en lo grande: bandas de color, ondas, fotos en
   círculo y portada oscura. site.css (el lienzo) aporta resaltador, tarjetas pastel y tipografía. */
:root {
  --morado: #5B01EE;
  --morado-2: #6C30ED;
  --lila-c: #EAD6F6;
  --lila-c2: #E0B8FF;
  --coral: #FE4B79;
  --amarillo-c: #FFEA6F;
  --verde-c: #00DF98;
  --turquesa: #0FEBD6;
  --rosa-c: #FFA7DF;
  --navy: #304254;
}
.band--morado { background: var(--morado); color: #FFFFFF; }
.band--morado h2, .band--morado h3, .band--morado a { color: #FFFFFF; }
.band--lilac { background: var(--lila-c); }
.band--navy { background: var(--navy); color: #FFFFFF; }

.serif-title { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; color: var(--morado); line-height: 1.05; font-size: clamp(38px, 5.2vw, 60px); margin: 0; }
.band--morado .serif-title, .band--navy .serif-title { color: #FFFFFF; }
.center { text-align: center; margin-left: auto; margin-right: auto; align-items: center; }

/* Onda divisoria: toma el color de la banda que sigue (color: var(...)) */
.wave { display: block; width: 100%; height: 44px; margin-bottom: -1px; }
.wave--down { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }

/* Cabecera: logo de Jomery y menú con los colores de Canva */
.brand img { height: 46px; width: auto; }
.nav a.n-rosa { color: #C81D61; }
.nav a.n-lila { color: #6F35CC; }
.nav a.n-naranja { color: #B24F08; }
.nav a.n-verde { color: #00774F; }
.nav a.n-navy { color: var(--navy); }

/* Portada */
.hero-c { position: relative; color: #FFFFFF; min-height: min(90vh, 840px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #1E1C1D; }
.hero-c__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-c::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,18,20,.2) 0%, rgba(20,18,20,.55) 45%, rgba(20,18,20,.9) 100%); }
.hero-c__inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 22px; }
.hero-c__kicker { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #F1EDF5; }
.hero-c__title { font-family: var(--sans); font-weight: 700; color: #FFFFFF; font-size: clamp(44px, 7.2vw, 90px); line-height: .98; letter-spacing: -0.04em; margin: 0; }
.hero-c__title .y { color: var(--amarillo-c); }
.hero-c__title .g { color: var(--verde-c); }
.hero-c__sub { font-size: 21px; max-width: 560px; color: #F1EDF5; }
.rotator { display: grid; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transition: opacity .8s ease; }
.rotator > span.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rotator > span { transition: none; } }
.btn--pill-c { background: rgba(20,18,20,.35); color: #FFFFFF; border-color: var(--morado-2); }
.btn--pill-c:hover { background: var(--morado); color: #FFFFFF; border-color: var(--morado); }
.btn--morado { background: var(--morado); border-color: var(--morado); color: #FFFFFF; }
.btn--morado:hover { background: #4A00C4; border-color: #4A00C4; color: #FFFFFF; }
.hero-c .logos { position: relative; z-index: 2; padding: 20px 0 24px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-c .logos-title { color: #E9E6EE; margin-bottom: 16px; }
.hero-c .marquee img { height: 44px; }

/* Frase del 75 % */
.quote75 { display: grid; grid-template-columns: 1fr 1.3fr; align-items: end; gap: 40px; padding-top: 48px; }
.quote75__img { max-height: 470px; width: auto; margin: 0 auto; }
.quote75__text { font-family: var(--sans); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; letter-spacing: -0.02em; padding-bottom: 80px; font-weight: 500; }
.quote75__text strong { color: var(--verde-c); font-weight: 700; }
@media (max-width: 900px) { .quote75 { grid-template-columns: 1fr; } .quote75__text { padding: 8px 0 0; order: -1; } .quote75__img { max-height: 360px; } }

/* Valores */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; margin-top: 48px; }
.value { display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.value svg { width: 44px; height: 44px; }
@media (max-width: 800px) { .values { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

/* Nosotros: cifras */
.stats-c { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-top: 36px; }
.stats-c__list { display: flex; flex-direction: column; gap: 18px; }
.stat-c { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 6px 0 6px 18px; border-left: 6px solid var(--coral); }
.stat-c b { font-family: var(--sans); font-size: clamp(36px, 4vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat-c span { font-family: var(--sans); font-size: 17px; line-height: 1.3; }
.paises { border-left: 2px dashed rgba(255,255,255,.45); padding-left: 40px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.paises b { font-family: var(--sans); font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -0.03em; color: var(--amarillo-c); line-height: 1; }
.paises span { font-family: var(--sans); font-size: 17px; }
@media (max-width: 900px) { .stats-c { grid-template-columns: 1fr; } .stat-c { grid-template-columns: 1fr; gap: 4px; } .paises { border-left: 0; padding-left: 0; border-top: 2px dashed rgba(255,255,255,.45); padding-top: 28px; } }

/* Sobre Jomery */
.jomery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.jomery__photo { border-radius: 220px 220px 28px 28px; overflow: hidden; background: var(--rosa); aspect-ratio: 4 / 5; max-width: 440px; justify-self: center; width: 100%; }
.jomery__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.quote-card { background: var(--bg); border-radius: var(--radius-md); padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; border-left: 6px solid var(--morado); }
.quote-card blockquote { margin: 0; font-style: italic; color: var(--morado); font-size: 19px; }
.quote-card cite { font-family: var(--sans); font-style: normal; font-size: 14px; font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .jomery { grid-template-columns: 1fr; } .jomery__photo { order: -1; } }

/* Programas en círculo */
.programs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 40px; }
.program { display: flex; flex-direction: column; align-items: center; text-align: center; }
.program__img { width: 100%; max-width: 190px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid #FFFFFF; position: relative; z-index: 1; background: var(--lila-c2); }
.program__img img { width: 100%; height: 100%; object-fit: cover; }
.program__label { margin-top: -30px; padding: 42px 14px 18px; border-radius: 0 0 70px 70px; width: 100%; max-width: 190px; font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1.2; color: #2B2A2A; min-height: 104px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 1000px) { .programs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .programs { grid-template-columns: repeat(2, 1fr); gap: 18px; } }

/* Comunidad Jápines: logos a color */
.community { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 26px 32px; align-items: center; margin-top: 40px; }
.community img { max-height: 56px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }

/* Pie */
.site-footer { background: var(--lila-c); }
.site-footer .hashtag { font-family: var(--serif); font-size: 21px; color: var(--morado); }
/* Blog: resumen en 3 líneas y subtítulos del artículo con la línea de Canva */
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prose h2 { font-family: var(--serif); font-weight: 400; color: var(--morado); font-size: 32px; letter-spacing: -0.02em; }
.prose h3 { font-family: var(--sans); font-size: 22px; color: var(--ink); margin-top: 28px; }
.prose h3 + p { margin-top: 8px; }

/* Cabecera: símbolo de color del logo + nombre en texto oscuro (el logo de Canva tiene el texto en blanco) */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand-word { font-family: var(--sans); font-weight: 500; font-size: 24px; letter-spacing: .06em; color: var(--ink); }
/* El atributo hidden siempre oculta, aunque el componente defina display */
[hidden] { display: none !important; }

/* Enlaces animados, adaptados de Skiper UI (skiper40, Link000 y Link001), https://skiper-ui.com
   Solo en pantallas con cursor; en el teléfono queda el subrayado normal. */
@media (hover: hover) and (pointer: fine) {
  .link-action, .site-footer nav a, .nav a:not(.btn) {
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) no-repeat;
    background-size: 0% 1.5px;
    background-position: 100% calc(100% - var(--u-off, 9px));
    transition: background-size .35s cubic-bezier(.25, 1, .5, 1);
  }
  .link-action:hover, .link-action:focus-visible,
  .site-footer nav a:hover, .site-footer nav a:focus-visible,
  .nav a:not(.btn):hover, .nav a:not(.btn):focus-visible,
  .nav a[aria-current="page"] {
    background-size: 100% 1.5px;
    background-position: 0% calc(100% - var(--u-off, 9px));
  }
  .nav a[aria-current="page"] { text-decoration: none; }
  /* Flecha que sube al aparecer (no en los enlaces de volver) */
  .link-action:not([data-back])::after, .site-footer nav a::after {
    content: ""; display: inline-block; width: .55em; height: .55em; margin-left: .35em;
    background: currentColor; opacity: 0; transform: translateY(4px);
    -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.2 9.3.8m0 0v8.4m0-8.4H1'/%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.2 9.3.8m0 0v8.4m0-8.4H1'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: opacity .3s ease-out, transform .35s cubic-bezier(.25, 1, .5, 1);
  }
  .link-action:not([data-back]):hover::after, .link-action:not([data-back]):focus-visible::after,
  .site-footer nav a:hover::after, .site-footer nav a:focus-visible::after { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .link-action, .site-footer nav a, .nav a, .link-action::after, .site-footer nav a::after { transition: none !important; }
}

/* Logos de Comunidad que se juntan al hacer scroll (skiper31, variante con imágenes) */
main { overflow-x: clip; }
.community.is-gather > img { will-change: transform, opacity; transform-origin: center; }

/* Portada compacta (ideas de estructura de la plantilla Life Coach) */
@media (max-width: 700px) { .section { padding-top: 64px; padding-bottom: 64px; } }
/* Sobre mí: una frase grande, un párrafo, una foto y un botón */
.statement { font-family: var(--sans); font-weight: 600; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); margin: 0; text-wrap: balance; }
.jomery__photo { max-width: 380px; }
@media (max-width: 900px) { .jomery { gap: 32px; } .jomery__photo { max-width: 260px; } }
/* Conferencias en filas */
.talks { display: flex; flex-direction: column; gap: 14px; }
.talk { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 26px 32px; background: var(--talk); border-radius: 16px 72px 16px 16px; }
.talk__title { font-family: var(--sans); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.talk__for { font-family: var(--serif); font-weight: 400; font-size: 17px; letter-spacing: 0; color: #4F4D4E; }
.talk__desc { margin: 6px 0 0; font-size: 17px; max-width: 70ch; }
.talk__cta { white-space: nowrap; }
@media (max-width: 700px) { .talk { grid-template-columns: 1fr; gap: 16px; padding: 22px 22px 24px; border-radius: 16px 48px 16px 16px; } .talk__for { display: block; margin-top: 4px; } .talk__cta { justify-self: start; } }
/* Quiz plegado dentro de Conferencias */
.quiz-inline { margin-top: 24px; }
.quiz-inline > summary { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--morado); list-style: none; }
.quiz-inline > summary::-webkit-details-marker { display: none; }
.quiz-inline > summary::before { content: "+"; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; font-size: 18px; line-height: 1; transition: transform .25s cubic-bezier(.25, 1, .5, 1); }
.quiz-inline[open] > summary::before { transform: rotate(45deg); }
.quiz-inline .quiz-box { margin-top: 12px; max-width: 640px; min-height: 0; background: var(--lila); }
@media (prefers-reduced-motion: reduce) { .quiz-inline > summary::before { transition: none; } }
/* Comunidad: dos filas y el resto a pedido */
.community { grid-template-columns: repeat(6, 1fr); }
.community--more { margin-top: 26px; }
.community-toggle { text-align: center; margin-top: 32px; }
@media (max-width: 800px) { .community { grid-template-columns: repeat(3, 1fr); gap: 22px 18px; } }
/* Evento destacado */
.feat { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.feat__img { border-radius: 16px 140px 16px 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--lila-c); }
.feat__img img { width: 100%; height: 100%; object-fit: cover; }
.feat__date { font-family: var(--sans); font-weight: 600; font-size: 18px; margin: 0; }
.feat:not(:has(.feat__img)) { grid-template-columns: 1fr; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; gap: 28px; } .feat__img { border-radius: 16px 80px 16px 16px; } }

/* Pie: boletín, redes, legales y firma */
.site-footer .wrap.foot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px 64px; align-items: start; justify-content: stretch; padding-top: 56px; padding-bottom: 36px; }
.foot__title { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--morado); margin: 0 0 16px; letter-spacing: -0.01em; }
.foot__news .form { grid-template-columns: 1fr; gap: 12px; max-width: 460px; }
.foot__news .form .btn { min-height: 48px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.site-footer .foot__links nav { flex-direction: column; gap: 0; }
.foot__legal a::after { display: none !important; }
.foot__sign { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid rgba(91, 1, 238, .18); }
@media (max-width: 800px) { .site-footer .wrap.foot { grid-template-columns: 1fr; } }

/* Páginas legales */
.legal { max-width: 820px; }
.legal .serif-title { margin-bottom: 20px; }
.legal__draft { background: var(--amarillo); border-radius: var(--radius-md); padding: 16px 20px; font-size: 17px; margin: 0 0 12px; }
.legal .prose { margin-top: 28px; font-size: 19px; }
.legal .prose h2 { font-size: 28px; }
mark.todo { background: #FFF3A8; color: inherit; padding: 0 3px; border-radius: 4px; }

/* Educamos dentro de la banda morada */
.educamos p { max-width: 780px; font-size: 20px; text-align: center; }
.band--morado .hl { color: var(--ink); }
/* Tienda horizontal */
.shop { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; align-items: center; }
.shop__img { display: block; aspect-ratio: 4 / 5; border-radius: 16px 96px 16px 16px; overflow: hidden; background: var(--lila); }
.shop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.25, 1, .5, 1); }
.shop__img:hover img { transform: scale(1.03); }
.shop__product { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.shop__name { font-family: var(--sans); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin: 0; }
.shop__meta { font-family: var(--sans); font-size: 16px; margin: 0 0 8px; color: #3F3D3E; }
@media (max-width: 700px) { .shop { grid-template-columns: 120px minmax(0, 1fr); gap: 20px 18px; align-items: start; } .shop__img { border-radius: 12px 40px 12px 12px; } .shop__body .serif-title { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) { .shop__img img { transition: none; } }
/* Programas compactos en el teléfono: círculo pequeño y etiqueta en píldora */
@media (max-width: 600px) {
  .programs { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .program { flex-direction: row; align-items: center; text-align: left; }
  .program__img { width: 72px; max-width: 72px; flex: 0 0 72px; border-width: 3px; }
  .program__label { margin: 0 0 0 -18px; padding: 12px 18px 12px 30px; border-radius: 0 999px 999px 0; max-width: none; min-height: 0; flex: 1; justify-content: flex-start; font-size: 15px; }
}