/* Yo en el Planeta · inicio (bienvenida). Se suma a portada.css, que trae colores, botones, hero, caminos y pie. */
.yepi { --yepi-hand: "Caveat", "Segoe Print", cursive; }
.yepi em { font-style: italic; font-weight: 500; }
.yepi h2 em { color: var(--yp-leaf); }
.yepi-kick { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--yp-sprout); margin-bottom: 14px !important; }
.yepi .yp-hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; }
.yepi .yp-hero h1 em { color: var(--yp-sun); }
.yepi-hand { font-family: var(--yepi-hand); font-size: 28px !important; line-height: 1.1; color: var(--yp-sun) !important; transform: rotate(-3deg); margin-top: 22px !important; }
.yepi-planeta { margin: 0; justify-self: end; width: min(100%, 420px); position: relative; }
.yepi-planeta::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; box-shadow: 0 0 90px 30px rgba(120, 175, 255, .22); }
.yepi-planeta img { position: relative; width: 100%; height: auto; animation: yepi-flota 9s ease-in-out infinite; transition: opacity .8s; }
.yepi-tierra3d { position: absolute; inset: 0; width: 100% !important; height: auto !important; aspect-ratio: 1; opacity: 0; transition: opacity .8s; cursor: grab; touch-action: pan-y; z-index: 1; }
.yepi-planeta.girando .yepi-tierra3d { cursor: grabbing; }
.yepi-planeta.en-3d .yepi-tierra3d { opacity: 1; }
.yepi-planeta.en-3d img { opacity: 0; }
.yepi-gira { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%) rotate(-2deg); font-family: var(--yepi-hand); font-size: 22px; color: var(--yp-sun); white-space: nowrap; opacity: 0; transition: opacity .8s .6s; pointer-events: none; z-index: 2; }
.yepi-planeta.en-3d .yepi-gira { opacity: .9; }
.yepi-planeta.girando .yepi-gira { opacity: 0; transition-delay: 0s; }
@keyframes yepi-flota { 50% { transform: translateY(-10px) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .yepi-planeta img { animation: none; } }

/* Encabezados de sección */
.yepi-head { max-width: 760px; display: grid; gap: 12px; }
.yepi .yepi-head h2, .yepi .yepi-hacer-head h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.06; color: var(--yp-forest); }
.yepi-head > p:last-child, .yepi-hacer-head > p:last-child { color: var(--yp-muted); font-size: 18px; }

/* Nuestro hogar */
.yepi-hogar { padding-block: clamp(48px, 7vw, 96px) 24px; }
.yepi-dones { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yepi-dones li { background: #FBF8EF; border: 1px solid var(--yp-paper-2); border-radius: 6px 22px 6px 22px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.yepi-dones .yp-ico { width: 40px; height: 40px; color: var(--yp-leaf); }
.yepi-dones b { font-family: var(--yp-display); font-size: 21px; font-weight: 600; color: var(--yp-forest); line-height: 1.2; }
.yepi-dones span { color: var(--yp-muted); font-size: 15.5px; line-height: 1.5; }
.yepi-remate { margin-top: 28px !important; max-width: 760px; font-size: 19px; line-height: 1.55; }
.yepi-remate strong { color: var(--yp-forest); }
.yepi #donde-esta .yp-feature-copy p:not(.yp-eyebrow) { max-width: 36rem; }

/* Vía Láctea */
.yepi-galaxia { background: #0B1410 radial-gradient(60% 80% at 80% 40%, rgba(232,194,122,.14), transparent 70%); color: #fff; padding-block: clamp(56px, 8vw, 104px); margin-top: 24px; }
.yepi-gal-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.yepi .yepi-galaxia h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.06; }
.yepi .yepi-galaxia h2 em { color: var(--yp-sun); }
.yepi-gal-copy p:not(.yepi-kick) { margin-top: 16px; color: rgba(255,255,255,.84); font-size: 17.5px; }
.yepi-gal-copy strong { color: #fff; }
.yepi-invita { padding: 16px 18px; border-left: 3px solid var(--yp-sun); background: rgba(255,255,255,.05); border-radius: 0 14px 14px 0; }
.yepi-gal-img { position: relative; margin: 0; }
.yepi-gal-img img { width: 100%; height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px -30px rgba(0,0,0,.9); }
.yepi-aqui { position: absolute; left: 47%; top: 73.5%; display: flex; align-items: center; gap: 8px; font-family: var(--yepi-hand); font-size: 26px; color: var(--yp-sun); transform: translate(-6px, -50%); white-space: nowrap; }
.yepi-aqui i { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--yp-sun); box-shadow: 0 0 0 6px rgba(232,194,122,.2); animation: yepi-late 2s ease-in-out infinite; }
@keyframes yepi-late { 50% { box-shadow: 0 0 0 12px rgba(232,194,122,0); } }
.yepi-gal-img figcaption { margin-top: 10px; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); }

/* Datos del clima */
.yepi-datos { padding-block: clamp(56px, 8vw, 96px) 32px; }
.yepi-cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.yepi-cifras div { border-top: 4px solid var(--yp-forest); background: #FBF8EF; padding: 22px; border-radius: 0 0 18px 18px; display: grid; gap: 10px; align-content: start; }
.yepi-cifras b { font-family: var(--yp-display); font-size: clamp(40px, 4.6vw, 58px); line-height: 1; font-weight: 700; color: #B5542E; letter-spacing: -.02em; }
.yepi-cifras span { color: var(--yp-ink); font-size: 16px; line-height: 1.5; }
.yepi-cifras small { font-size: 12.5px; color: var(--yp-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.yepi-casa { margin-top: 30px !important; font-family: var(--yp-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--yp-forest); max-width: 900px; }
.yepi-casa em { color: var(--yp-leaf); }

/* Mares */
.yepi-mar { background: linear-gradient(180deg, #123A4A, #0D2B38); color: #fff; padding-block: clamp(52px, 7vw, 88px); margin-top: 40px; }
.yepi-mar-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.yepi-mar .yepi-kick { color: #9ED6E6; }
.yepi .yepi-mar h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; }
.yepi-mar p:not(.yepi-kick) { margin-top: 16px; color: rgba(255,255,255,.84); }
.yepi-mar strong { color: #fff; }
.yepi-mar-n { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.yepi-mar-n li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.07); }
.yepi-mar-n b { font-family: var(--yp-display); font-size: 40px; font-weight: 700; color: #9ED6E6; line-height: 1; }
.yepi-mar-n span { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.4; }

/* Qué hacer */
.yepi-hacer-head { padding-block: clamp(56px, 8vw, 96px) 0; text-align: center; display: grid; justify-items: center; gap: 12px; }
.yepi-hacer-head .yp-eyebrow { color: var(--yp-leaf); }
.yepi-hacer-head > p:last-child { max-width: 40rem; }
.yepi-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.yepi .yepi-guia { font-weight: 700; color: var(--yp-forest); border-bottom: 2px solid var(--yp-leaf); padding-bottom: 1px; }
.yepi-todos { text-align: center; font-family: var(--yepi-hand); font-size: clamp(26px, 3vw, 34px); color: var(--yp-leaf); padding-block: 8px 56px; }

/* Yo en el planeta */
.yepi-yo { position: relative; color: #fff; background: var(--yp-soil) center / cover no-repeat; background-image: linear-gradient(180deg, rgba(10,24,16,.72), rgba(10,24,16,.9)), var(--yepi-yo); padding-block: clamp(64px, 9vw, 120px); text-align: center; }
.yepi-yo-in { max-width: 860px; display: grid; justify-items: center; gap: 16px; }
.yepi .yepi-yo h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; }
.yepi-yo p:not(.yepi-kick):not(.yepi-firma) { font-size: 19px; color: rgba(255,255,255,.86); max-width: 44rem; }
.yepi-firma { font-family: var(--yepi-hand); font-size: 34px; color: var(--yp-sun); transform: rotate(-2deg); }
.yepi-yo .yp-hero-ctas { justify-content: center; margin-top: 12px; }

/* Fuentes y anuncios */
.yepi-fuentes { padding-block: 28px; font-size: 13.5px; color: var(--yp-muted); }
.yepi .yepi-fuentes a { color: var(--yp-forest); text-decoration: underline; }
.yepi-ad { max-width: 760px; margin: 40px auto; padding: 14px 20px 6px; border-top: 1px solid var(--yp-paper-2); text-align: center; }
.yepi-ad-l { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--yp-muted); margin-bottom: 8px; }
.yepi-ad-vacio { border: 1.5px dashed var(--yp-leaf); border-radius: 14px; padding: 24px; color: var(--yp-muted); font-size: 14px; }
.yepi .yp-foot-legal { grid-column: 1 / -1; justify-content: flex-start; }

@media (max-width: 960px) {
  .yepi .yp-hero-body { grid-template-columns: 1fr; }
  .yepi-planeta { justify-self: center; width: min(70%, 300px); order: -1; }
  .yepi-dones, .yepi-cifras { grid-template-columns: 1fr 1fr; }
  .yepi-gal-in, .yepi-mar-in { grid-template-columns: 1fr; }
  .yepi-gal-img { max-width: 460px; justify-self: center; }
}
@media (max-width: 600px) {
  .yepi-dones, .yepi-cifras { grid-template-columns: 1fr; }
  .yepi-mar-n li { grid-template-columns: 96px 1fr; }
  .yepi-mar-n b { font-size: 32px; }
  .yepi-aqui { font-size: 21px; }
}
.yepi #donde-esta .yp-feature-img{aspect-ratio:16/10}

/* Página de guías [guias_planeta] */
.yepg .yepg-hero .yp-hero-body { grid-template-columns: 1fr; padding-bottom: 56px; }
.yepg .yepg-hero h1 { font-size: clamp(38px, 5.4vw, 68px); }
.yepg .yepg-hero .yp-hero-copy { max-width: 40rem; }
.yepg-temas { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 28px 8px; }
.yepg-temas a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #FBF8EF; border: 1px solid var(--yp-paper-2); color: var(--yp-forest); font-weight: 600; font-size: 15px; text-decoration: none; }
.yepg-temas a:hover { border-color: var(--yp-leaf); }
.yepg-temas .yp-ico { width: 22px; height: 22px; color: var(--yp-leaf); }
.yepg-grupo { padding-block: clamp(32px, 5vw, 56px) 8px; scroll-margin-top: 20px; }
.yepg-grupo-head { display: flex; gap: 16px; align-items: flex-start; max-width: 760px; }
.yepg-grupo-head .yp-ico { width: 44px; height: 44px; flex: none; color: var(--yp-leaf); margin-top: 4px; }
.yepi .yepg-grupo-head h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; color: var(--yp-forest); }
.yepg-grupo-head p { margin-top: 6px !important; color: var(--yp-muted); font-size: 17px; }
.yepg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 24px; }
.yepi .yepg-card { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 22px; background: #FBF8EF; border: 1px solid var(--yp-paper-2); border-radius: 6px 22px 6px 22px; color: var(--yp-ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.yepi .yepg-card:hover { transform: translateY(-3px); border-color: var(--yp-leaf); box-shadow: 0 18px 36px -24px rgba(20, 50, 30, .45); }
.yepg-card b { font-family: var(--yp-display); font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--yp-forest); }
.yepg-card span { font-size: 15.5px; line-height: 1.5; color: var(--yp-muted); }
.yepg-card i { font-style: normal; font-weight: 700; font-size: 15px; color: var(--yp-leaf); }
.yepg .yp-foot { margin-top: 48px; }
