/* Presentación del inicio. Las páginas de documentación conservan sus estilos. */
@font-face { font-family: Figtree; src: url('/assets/homeMedium.1d82a4208481.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
.landing { --home-width: 1240px; --serif: Figtree, Arial, sans-serif; background: #0a1717; }
.landing h1, .landing h2, .landing h3 { font-weight: 500; letter-spacing: -.045em; line-height: 1.12; }
.landing .wrap { width: min(var(--home-width), calc(100% - 96px)); }
.landing .site-header { position: relative; background: #0a1717; border-bottom: 0; }
.landing .header-inner { min-height: 100px; border-bottom: 1px solid #bad8c518; }
.landing .brand { gap: 12px; }
.landing .brand span { font-size: 31px; font-weight: 600; letter-spacing: -.05em; }
.landing .languages { border-left: 1px solid var(--line); padding-left: 20px; }
.hero { min-height: 0; padding: 50px 0 92px; overflow: clip; background: radial-gradient(ellipse at 72% 45%, #203a2d70, transparent 60%); }
.hero:before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 68% 35%, #76bc8c19, transparent 48%), radial-gradient(ellipse at 20% 85%, #bfc28b0b, transparent 50%); pointer-events: none; }
.hero-layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 52px; }
.hero-content { min-width: 0; padding: 24px 0 45px; }
.hero .eyebrow { display: flex; align-items: center; gap: 13px; font-size: 10px; letter-spacing: .12em; }
.tiny-sun { font-size: 24px; font-weight: 400; line-height: 1; }
.hero h1 { font-size: clamp(52px, 5.35vw, 76px); font-weight: 600; line-height: 1.08; letter-spacing: -.055em; max-width: 680px; text-wrap: balance; }
.hero h1 em { display: inline-block; margin-top: 12px; color: #a9dabb; font-style: normal; font-weight: 500; }
.hero-intro { max-width: 385px; margin: 30px 0; font-size: 16px; color: #adbfba; line-height: 1.85; }
.hero-actions { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.hero .button { min-height: 54px; gap: 25px; padding-inline: 25px; }
.hero-secondary { font-size: 13px; display: inline-flex; align-items: center; gap: 13px; padding-block: 12px; }
.hero-secondary:hover { color: var(--accent); }
.hero .availability { margin-top: 24px; font-size: 11px; }
.hero-visual { position: relative; min-width: 0; padding: 0 0 35px 12px; }
.landscape-frame { position: relative; isolation: isolate; overflow: hidden; margin: 0; height: clamp(450px, 43vw, 595px); border-radius: 36px 110px 36px 36px; background: var(--surface); border: 1px solid #b5e0ce32; box-shadow: 0 25px 70px #0003; }
.hero-landscape { width: 100%; height: 100%; inset: 0; z-index: -2; object-position: 60% center; filter: saturate(.73) brightness(.85); }
.landscape-frame:after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #071a19ed, transparent 46%, #06181928); }
.scene-top { position: absolute; inset: 32px 30px auto; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; color: #e4f1e6; }
.scene-top>span:first-child { font-size: 9px; letter-spacing: .19em; text-transform: uppercase; }
.scene-top>span:last-child { font-size: 36px; line-height: 1; }
.landscape-frame figcaption { position: absolute; bottom: 110px; left: 32px; right: 25px; }
.landscape-frame figcaption>span { font-size: 8px; letter-spacing: .16em; color: #bad4c9; }
.landscape-frame figcaption p { font-family: var(--body); font-weight: 500; font-size: clamp(26px, 2.3vw, 32px); letter-spacing: -.035em; line-height: 1.18; max-width: 300px; margin: 12px 0 0; text-wrap: balance; }
.pause-card { position: absolute; bottom: 2px; left: -38px; z-index: 2; display: flex; align-items: center; gap: 18px; padding: 18px 26px 18px 18px; border: 1px solid #acc9b64f; border-radius: 18px; background: #20362f; box-shadow: 0 12px 35px #0004; transform: rotate(-3deg); transition: transform .25s, background .25s; }
.pause-card:hover { transform: rotate(0); background: #284136; }
.pause-card strong { display: block; font-weight: 500; font-family: var(--body); font-size: 18px; letter-spacing: -.025em; line-height: 1.3; }
.pause-card small { display: flex; justify-content: space-between; gap: 30px; font-size: 11px; color: #bad0c3; margin-top: 6px; }
.pause-symbol { width: 52px; height: 52px; position: relative; display: grid; place-items: center; }
.pause-symbol i { position: absolute; border-radius: 50%; border: 1px solid #b5dfb76e; width: 100%; height: 100%; }
.pause-symbol i:nth-child(2) { width: 72%; height: 72%; border-color: #b5dfb7a3; }
.pause-symbol i:nth-child(3) { width: 44%; height: 44%; background: #b5dfb745; }
.visual-ring { position: absolute; z-index: -1; width: 170px; height: 170px; right: -45px; bottom: -12px; border: 1px solid #9fd8b820; border-radius: 50%; }
.hero-foot { bottom: 12px; font-size: 11px; color: #8da69d; }
.hero-foot a { width: 32px; height: 32px; font-size: 16px; }
.refuge-index { display: flex; align-items: center; gap: 32px; border: 1px solid #bad8c51f; border-radius: 24px; background: #182b2366; padding-inline: 28px; margin-top: 26px; }
.refuge-index>span { font-family: var(--body); font-weight: 500; font-size: 17px; padding-block: 26px; color: #d0dbcc; }
.refuge-index nav { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); }
.refuge-index a { display: flex; align-items: center; gap: 15px; padding: 28px 22px; font-size: 13px; border-left: 1px solid #bad8c51f; transition: background .2s; }
.refuge-index a:hover { background: #b9dfc608; }
.refuge-index a>span:last-child { margin-left: auto; color: var(--accent); }
.index-number { color: #78978a; font-size: 10px; }
.experiences { padding-top: 100px; padding-bottom: 72px; }
.section-heading { grid-template-columns: 1.2fr 1fr; gap: 100px; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(34px, 3.5vw, 48px); max-width: 560px; text-wrap: balance; }
.section-heading>p { font-size: 15px; line-height: 1.85; }
.experience-grid { grid-template-columns: 1.12fr 1fr 1fr; gap: 32px; align-items: start; }
.experience { min-width: 0; scroll-margin-top: 30px; transition: transform .55s cubic-bezier(.2,.65,.25,1); }
.experience:nth-child(2) { padding-top: 65px; }
.experience:nth-child(3) { padding-top: 20px; }
.experience-image { aspect-ratio: 4/4.9; border: 1px solid #b5ddc42b; border-radius: 30px; margin-bottom: 26px; transition: border-color .4s, box-shadow .4s; }
.experience:nth-child(2) .experience-image { aspect-ratio: 4/4.5; border-radius: 30px; }
.experience:nth-child(3) .experience-image { aspect-ratio: 4/4.9; border-radius: 30px 80px 30px 30px; }
.experience-image img { filter: saturate(.7); }
.experience-image:after { inset: 35% 0 0; background: linear-gradient(transparent, #071716c9); }
.experience-image>span { bottom: 24px; left: 22px; font-size: 9px; letter-spacing: .15em; }
.experience-image>.experience-mark { top: 20px; right: 20px; bottom: auto; left: auto; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #f1ffe65c; border-radius: 50%; color: #e0f2e7; font-size: 22px; background: #0b25243d; }
.experience:nth-child(3) .experience-mark { top: 25px; right: 25px; }
.experience h3 { font-size: clamp(24px, 2.1vw, 29px); line-height: 1.2; text-wrap: balance; }
.experience>p { max-width: none; margin-bottom: 0; font-size: 14px; line-height: 1.85; }
.experience-note { display: flex; gap: 16px; align-items: center; justify-content: center; font-size: 18px; color: #b3c5b9; margin: 60px 0 0; text-align: center; }
.experience-note span { color: var(--accent); font-size: 22px; }
.breathing-section { position: relative; background: radial-gradient(ellipse at 25% 50%, #28433588, transparent 60%), #102422; border-block: 1px solid #94bd9c20; }
.breathing-layout { gap: 100px; padding-block: 80px; }
.breathing-art { min-height: 440px; }
.orbit { width: 410px; height: 410px; border-color: #b8d2ac21; }
.orbit-two { width: 320px; height: 320px; border-color: #b8d2ac38; }
.breath-orb { width: 250px; height: 250px; box-shadow: inset 0 0 48px #dfefcb33, 0 0 100px #a9cf9510; }
.breathing-copy h2 { font-size: clamp(36px, 3.6vw, 49px); text-wrap: balance; }
.breathing-copy .button { border-color: #9ac7ac7d; }
.personal-section { color-scheme: light; background: #dfe3d5; color: #203c31; }
.personal { max-width: var(--home-width); display: grid; grid-template-columns: 120px 1fr 220px; gap: 60px; align-items: center; text-align: left; padding-block: 86px; }
.personal .eyebrow { color: #4a6a56; font-size: 10px; }
.personal h2 { font-size: clamp(34px, 3.5vw, 47px); text-wrap: balance; }
.personal p:not(.eyebrow) { color: #4d6458; font-size: 14px; line-height: 1.85; max-width: 570px; margin: 24px 0 16px; }
.personal .text-link { color: #294e3a; border-color: #526c5552; }
.personal-emblem { display: grid; place-items: center; width: 120px; height: 160px; border: 1px solid #6a846656; border-radius: 60px; background: #34513b; }
.personal-emblem img { width: 75px; height: auto; }
.personal .personal-aside { border-left: 1px solid #6b836258; padding-left: 26px; font-size: 19px; line-height: 1.5; color: #47634e; }
.landing .faq { border-top: 0; padding-block: 100px; }
.landing .faq h2 { font-size: 41px; text-wrap: balance; }
.landing summary { min-height: 80px; }
.closing { position: relative; isolation: isolate; overflow: hidden; padding-block: 100px; background: #102721; }
.closing>img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: saturate(.45); opacity: .28; }
.closing:after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #09231bd9, #09231b4d, #09231bd9); }
.closing h2 { max-width: 680px; font-size: clamp(38px, 4.5vw, 60px); text-wrap: balance; }
.closing .button { border-color: #d8ebcf6e; background: #163b2bd9; margin-top: 12px; }
.landing .footer-top { padding-block: 44px; }
@media (min-width: 1500px) { .hero { padding-block: 65px 100px; } }
@media (max-width: 1100px) {
  .landing .wrap { width: calc(100% - 64px); }
  .hero-layout { gap: 28px; grid-template-columns: 1.05fr 1fr; }
  .hero h1 { font-size: clamp(48px, 5.4vw, 65px); }
  .landscape-frame { height: 500px; }
  .hero-visual { padding-left: 0; }
  .pause-card { left: -12px; padding: 16px; }
  .hero-actions { gap: 12px 22px; }
  .refuge-index>span { max-width: 145px; line-height: 1.2; }
  .refuge-index a { padding-inline: 16px; gap: 10px; }
  .experience-grid { gap: 24px; }
  .breathing-layout { gap: 50px; }
  .orbit { width: 340px; height: 340px; }
  .orbit-two { width: 280px; height: 280px; }
  .personal { grid-template-columns: 95px 1fr; gap: 40px; }
  .personal-emblem { width: 95px; height: 140px; }
  .personal .personal-aside { display: none; }
}
@media (max-width: 760px) {
  .landing .wrap { width: calc(100% - 48px); }
  .landing .header-inner { min-height: 82px; }
  .landing .main-nav { display: none; }
  .landing .languages { margin-left: auto; border: 0; padding-left: 0; }
  .hero { padding: 32px 0 60px; }
  .hero-layout { grid-template-columns: 1fr; gap: 35px; }
  .hero-content { padding: 0; }
  .hero .eyebrow { max-width: none; font-size: 9px; margin-bottom: 24px; letter-spacing: .08em; }
  .hero h1 { max-width: 600px; font-size: clamp(43px, 8vw, 60px); }
  .hero h1 em { margin-top: 8px; }
  .hero-intro { max-width: 440px; font-size: 15px; line-height: 1.75; margin: 22px 0; }
  .hero-actions { gap: 14px 24px; }
  .hero-secondary { display: none; }
  .hero .availability { margin-top: 18px; }
  .hero-visual { width: 100%; max-width: 540px; margin-inline: auto; padding: 0 0 25px 20px; }
  .landscape-frame { height: 360px; border-radius: 28px 75px 28px 28px; }
  .hero-landscape { opacity: 1; object-position: 58% center; }
  .scene-top { top: 32px; }
  .landscape-frame figcaption { left: 26px; bottom: 95px; }
  .landscape-frame figcaption p { font-size: 27px; max-width: 265px; }
  .pause-card { left: 0; bottom: 0; gap: 12px; padding: 15px 20px 15px 14px; }
  .pause-card strong { font-size: 17px; }
  .pause-symbol { width: 42px; height: 42px; }
  .visual-ring { right: -15px; bottom: -5px; width: 130px; height: 130px; }
  .hero-foot { bottom: 8px; font-size: 10px; }
  .refuge-index { margin-top: 20px; display: block; padding-inline: 18px; }
  .refuge-index>span { display: block; max-width: none; font-size: 16px; padding-block: 20px 5px; }
  .refuge-index nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .refuge-index a { padding: 18px 12px 20px; gap: 8px; border-left: 0; font-size: 12px; }
  .refuge-index a:first-child { padding-left: 0; }
  .refuge-index a:last-child { padding-right: 0; }
  .index-number { display: none; }
  .experiences { padding-block: 65px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(31px, 6vw, 42px); }
  .section-heading>p { justify-self: start; max-width: 430px; font-size: 14px; }
  .experience-grid { grid-template-columns: 1fr; gap: 32px; }
  .experience:nth-child(2), .experience:nth-child(3) { padding-top: 0; }
  .experience-image, .experience:nth-child(2) .experience-image, .experience:nth-child(3) .experience-image { aspect-ratio: 1.35; border-radius: 18px; margin-bottom: 20px; }
  .experience:nth-child(3) .experience-mark { top: 20px; right: 20px; }
  .experience-image img { object-position: 50% 52%; }
  .experience h3 { font-size: 26px; margin-bottom: 12px; }
  .experience>p { max-width: 520px; font-size: 14px; }
  .experience-note { font-size: 16px; line-height: 1.6; gap: 12px; margin-top: 40px; }
  .experience-note span { flex-shrink: 0; }
  .breathing-layout { grid-template-columns: 1fr; gap: 0; padding-block: 45px; }
  .breathing-copy { order: 0; padding: 0; }
  .breathing-copy h2 { max-width: 480px; font-size: 35px; }
  .breathing-art { order: 1; min-height: 340px; margin-top: 20px; }
  .breathing-copy .fineprint { font-size: 12px; }
  .orbit { width: 310px; height: 310px; }
  .orbit-two { width: 255px; height: 255px; }
  .breath-orb { width: 210px; height: 210px; }
  .personal { grid-template-columns: 1fr; gap: 25px; padding-block: 55px; }
  .personal-emblem { width: 64px; height: 80px; border-radius: 32px; }
  .personal-emblem img { width: 44px; }
  .personal h2 { max-width: 480px; font-size: 35px; }
  .personal .text-link { font-size: 13px; gap: 12px; }
  .landing .faq { padding-block: 65px; gap: 24px; grid-template-columns: 1fr; }
  .landing .faq h2 { max-width: 430px; font-size: 35px; }
  .landing summary { min-height: 76px; font-size: 14px; }
  .closing { padding-block: 70px; }
  .closing h2 { font-size: 36px; }
  .closing>img { object-position: 70% center; }
}
@media (max-width: 360px) {
  .landing .wrap { width: calc(100% - 36px); }
  .hero h1 { font-size: 39px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .05em; gap: 8px; }
  .hero-actions { gap: 8px 16px; }
  .hero .button { padding-inline: 20px; gap: 15px; }
  .landscape-frame { height: 360px; }
  .pause-card strong { font-size: 16px; }
  .refuge-index a { font-size: 11px; padding-inline: 8px; }
  .orbit { width: 270px; height: 270px; }
  .orbit-two { width: 230px; height: 230px; }
}
/* Solo opacidad y transformaciones: sin listeners de scroll ni cálculos por frame. */
.motion-ready .hero-content > * { animation: arrive .85s cubic-bezier(.2,.7,.2,1) both; }
.motion-ready .hero-content h1 { animation-delay: .08s; }
.motion-ready .hero-intro { animation-delay: .16s; }
.motion-ready .hero-actions { animation-delay: .24s; }
.motion-ready .hero .availability { animation-delay: .3s; }
.motion-ready .hero-visual { animation: arrive 1.1s .12s cubic-bezier(.2,.7,.2,1) both; }
.motion-ready .hero:before { animation: ambient-light 20s ease-in-out infinite alternate; animation-play-state: paused; }
.motion-ready .hero-landscape { animation: landscape-drift 26s ease-in-out infinite alternate; animation-play-state: paused; }
.motion-ready .pause-card { animation: float-pause 7s ease-in-out infinite; animation-play-state: paused; }
.motion-ready .ambient-active:before,
.motion-ready .ambient-active .hero-landscape,
.motion-ready .ambient-active .pause-card { animation-play-state: running; }
.page-hidden .landing *, .page-hidden .landing *:before { animation-play-state: paused !important; }
.motion-ready :is(.section-heading, .experience, .experience-note, .breathing-copy, .personal-emblem, .personal > div:nth-child(2), .faq h2, .faq details, .closing .wrap) {
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.motion-ready .reveal-pending { opacity: 0; transform: translateY(24px); }
.motion-ready .reveal-pending:focus-within, .motion-ready .reveal-pending:target { opacity: 1; transform: none; }
.motion-ready .experience:nth-child(2) { transition-delay: .08s; }
.motion-ready .experience:nth-child(3) { transition-delay: .16s; }
.landing .button { transition: transform .25s, background .25s, box-shadow .25s; }
.landing .button span { transition: transform .25s; }
.landing .button:active { transform: scale(.97); }
.landing .main-nav a { position: relative; padding-block: 8px; }
.landing .main-nav a:after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.landing .main-nav a:hover:after, .landing .main-nav a:focus-visible:after { transform: scaleX(1); }
.refuge-index a > span:last-child { transition: transform .25s; }
@media (hover: hover) and (pointer: fine) {
  .experience:hover { transform: translateY(-7px); }
  .experience:hover .experience-image { border-color: #a5d7b763; box-shadow: 0 16px 35px #0003; }
  .experience:hover img { transform: scale(1.045); }
  .landing .button:hover { box-shadow: 0 8px 28px #93d8b21c; }
  .landing .button:hover span, .refuge-index a:hover > span:last-child { transform: translate(3px,-3px); }
}
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes landscape-drift { from { transform: scale(1.025) translateY(0); } to { transform: scale(1.085) translateY(-6px); } }
@keyframes ambient-light { from { transform: translate(-2%, 0); opacity: .65; } to { transform: translate(2%, 3%); opacity: 1; } }
@keyframes float-pause { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) {
  .pause-card, .pause-card:hover, .experience:hover { transform: none; }
  .motion-ready .reveal-pending { opacity: 1; transform: none; }
}

/* Keep the brand mark contained inside its existing scene badge. */
.scene-logo { display: grid; place-items: center; width: 38px; height: 38px; }
.scene-top .scene-logo img { position: static; width: 30px; height: 22px; object-fit: contain; filter: none; transform: none; }
.experience .experience-mark img, .experience:hover .experience-mark img { position: static; width: 26px; height: 20px; object-fit: contain; filter: none; transform: none; }
