/* Selah Studios Group: alta fidelidad. Tokens, base, componentes. */
@font-face { font-family: 'Sprat'; src: url('../../assets/fonts/sprat/Sprat-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sprat'; src: url('../../assets/fonts/sprat/Sprat-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Sprat'; src: url('../../assets/fonts/sprat/Sprat-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #FFFBF2;
  --sand: #F3E9D2;
  --line: #E5D7B8;
  --line-strong: #CDBF9E;
  --ink: #1E1B16;
  --ink-soft: #55503F;
  --yellow: #FCC636;
  --yellow-hover: #F2B91F;
  --yellow-soft: #FFEFB3;
  --green: #0B6B3A;
  --green-hover: #08532D;
  --on-green-soft: #D3E8D9;
  --earth: #A8744A;
  --error: #A63A2B;
  --error-ink: #6E2116;
  --error-bg: #FBE3DC;
  --error-line: #E7B3A5;
  --ok-bg: #E3F1E8;
  --ok-line: #B7D8C3;
  --field-border: #7A735F;
  --placeholder: #6F6853;
  --gutter: clamp(20px, 5vw, 56px);
  --edge: max(var(--gutter), calc((100vw - 1200px) / 2));
  --pad: clamp(40px, 6vw, 96px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Sprat', Georgia, 'Times New Roman', serif;
  --text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: #B9AE8F var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); -webkit-font-smoothing: antialiased; caret-color: var(--green); }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -.01em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .22em; }
img, svg, video { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.ic { width: 20px; height: 20px; flex: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: 0 1.7rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-hover); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: rgba(255, 251, 242, .14); }
.btn-ink-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ink-outline:hover { background: var(--sand); }
.btn[disabled] { background: #A39C86; color: #fff; cursor: not-allowed; }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 1.2rem; font-size: .95rem; }

/* Logo oficial (PNG del cliente: color para fondos claros, blanco para oscuros) */
.logo { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.logo-img { height: 44px; width: auto; display: block; }
.foot .logo-img { height: 56px; }
.top .logo-on-light, .top.solid .logo-on-dark { display: none; }
.top.solid .logo-on-light { display: block; }

/* Encabezado */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #FFFBF2; transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.top.solid { background: var(--bg); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav a:not(.btn) { font-weight: 600; font-size: .95rem; text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background-size: 100% 2px; }
.lang { font-size: .85rem; font-weight: 700; letter-spacing: .06em; display: inline-flex; gap: 6px; }
.lang span[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.lang a { opacity: .8; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; color: inherit; border-radius: 999px; cursor: pointer; place-items: center; }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--ink); padding: 20px var(--gutter) 40px; display: none; flex-direction: column; gap: 28px; }
.menu.open { display: flex; }
.menu-head { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.menu nav { display: grid; gap: 6px; margin-top: 12px; }
.menu nav a { font: 500 2rem/1.2 var(--display); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: auto; }
@media (max-width: 880px) {
  .nav { display: none; }
  .burger { display: grid; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #FFFBF2; background: #14110D; overflow: clip; }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-art { position: absolute; inset: -10%; background:
  radial-gradient(46% 40% at 72% 28%, rgba(252, 198, 54, .42), transparent 68%),
  radial-gradient(38% 36% at 18% 72%, rgba(168, 116, 74, .42), transparent 72%),
  radial-gradient(30% 50% at 52% 100%, rgba(11, 107, 58, .38), transparent 70%),
  linear-gradient(165deg, #2B2117, #14110D 70%); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-2%, 0, 0) scale(1.02); } to { transform: translate3d(2%, -2%, 0) scale(1.08); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 17, 13, .6) 0%, rgba(20, 17, 13, .1) 32%, rgba(20, 17, 13, .82) 100%); }
.hero .wrap { position: relative; padding-block: 140px clamp(48px, 7vw, 88px); }
.hero-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; }
.hero-copy { max-width: 880px; }
.hero h1 { font-size: clamp(2.7rem, 7.6vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em; }
.hl-y { color: var(--yellow); }
.hero-actions { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 12px; }
.hero-caption { font-size: .85rem; color: rgba(255, 251, 242, .82); display: inline-flex; align-items: center; gap: 10px; }
.hero-caption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.hero-enter > * { animation: rise .9s var(--ease) both; }
.hero-enter > *:nth-child(2) { animation-delay: .12s; }
.hero-enter > *:nth-child(3) { animation-delay: .22s; }
.hero-enter > *:nth-child(4) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Camino que se recorre */
.journey { position: relative; }
.trail { position: absolute; top: 0; bottom: 0; left: calc(var(--edge) + 8px); width: 2px; background: var(--line-strong); z-index: 2; pointer-events: none; }
.trail-fill { position: absolute; top: 0; left: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: var(--ink); }
.trail-dot { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); transform: translate(-50%, -50%); }
.journey .wrap { padding-left: var(--pad); }
.manifest { padding-block: clamp(88px, 12vw, 168px) clamp(72px, 10vw, 140px); }
.manifest h2 { font-size: 1.3rem; color: var(--ink-soft); font-weight: 500; letter-spacing: 0; }
.statement { margin-top: 20px; font: 500 clamp(1.75rem, 3.6vw, 3rem)/1.22 var(--display); letter-spacing: -.012em; max-width: 26em; text-wrap: pretty; }
.hl { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 93%, transparent 93%); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding-inline: .06em; }
.mv { margin-top: clamp(56px, 8vw, 112px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 104px); }
.mv h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.mv p { margin-top: 16px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 34ch; }
.circled { position: relative; display: inline-block; white-space: nowrap; }
.circled svg { position: absolute; left: -14%; top: -42%; width: 112%; max-width: none; height: 184%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--yellow); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.circled.draw path { transition: stroke-dashoffset 1.3s var(--ease); stroke-dashoffset: 0; }

.camino { background: var(--sand); padding-block: clamp(80px, 11vw, 150px); }
.camino h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.camino-intro { margin-top: 18px; font-size: 1.2rem; max-width: 44ch; color: var(--ink-soft); }
.stations { margin-top: clamp(40px, 6vw, 80px); }
.stn { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 5vw, 88px); padding-block: clamp(32px, 4.4vw, 60px); border-top: 1px solid #D4C6A2; }
.stn h3 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.stn-sub { margin-top: 8px; font-weight: 600; color: var(--ink-soft); }
.stn p { font-size: 1.15rem; max-width: 44ch; }
.stn-dot { position: absolute; left: calc(-1 * var(--pad)); top: clamp(44px, 5.6vw, 76px); width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); background: var(--sand); z-index: 3; transition: background-color .5s var(--ease); }
.stn.passed .stn-dot { background: var(--yellow); }
.camino-close { margin-top: clamp(32px, 5vw, 64px); font: 500 clamp(1.5rem, 2.8vw, 2.3rem)/1.25 var(--display); max-width: 28ch; }

.allies { padding-block: clamp(80px, 10vw, 140px); }
.allies h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.allies .lead { margin-top: 14px; max-width: 46ch; color: var(--ink-soft); font-size: 1.1rem; }
.logos { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line-strong); }
.logos li { border-right: 1px solid var(--line-strong); }
.logos li:last-child { border-right: 0; }
.ally { display: grid; justify-items: center; gap: 14px; padding: 32px 20px 24px; text-decoration: none; color: var(--ink); height: 100%; transition: background-color .25s var(--ease); }
.ally img { height: 112px; width: auto; max-width: 100%; object-fit: contain; display: block; transition: transform .3s var(--ease); }
.ally span:not(.sr-only) { font-size: 1rem; color: var(--ink-soft); }
.ally:hover { background: rgba(252, 198, 54, .12); }
.ally:hover img { transform: translateY(-2px); }
.ally:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }

/* Cierre */
.cta { background: var(--green); color: #FFFBF2; padding-block: clamp(88px, 12vw, 176px); position: relative; overflow: clip; }
.cta .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.05; }
.cta p { margin-top: 20px; font-size: 1.25rem; max-width: 42ch; color: var(--on-green-soft); }
.cta .btn { margin-top: 36px; }
.cta-video { justify-self: end; width: clamp(200px, 21vw, 300px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #08502B; }
.cta-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes breathe { from { transform: scaleY(.82); } to { transform: scaleY(1.08); } }

/* Pie */
.foot { background: var(--ink); color: #EFE8D5; padding-block: 72px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot p { color: #B9B09A; max-width: 30ch; margin-top: 16px; }
.foot h2 { font: 700 .78rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: #B9B09A; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid #3A352C; font-size: .875rem; color: #B9B09A; }

/* Notas de diseño (no forman parte del sitio) */
.dev { position: fixed; left: 12px; bottom: 12px; z-index: 90; background: var(--ink); color: #fff; font: 600 12px/1 var(--text); padding: 8px 10px; border-radius: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; max-width: calc(100vw - 24px); }
.dev button { font: inherit; color: #fff; background: transparent; border: 1px solid #fff6; border-radius: 999px; padding: 6px 10px; cursor: pointer; }
.dev button.on { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.dev-note { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--yellow-soft); color: var(--ink); font: 600 .75rem/1.3 var(--text); }
body.hide-notes .dev-note { display: none; }

/* Formulario */
.page-form { padding-top: 76px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); padding-block: clamp(40px, 6vw, 72px) clamp(88px, 10vw, 140px); align-items: start; }
.form-aside { position: sticky; top: 120px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink-soft); margin-bottom: 36px; }
.back:hover { color: var(--ink); }
.form-aside h1 { font-size: clamp(2rem, 3.4vw, 3rem); }
.form-aside p { margin-top: 22px; font-size: 1.2rem; max-width: 36ch; color: var(--ink-soft); }
.field { display: grid; gap: 8px; margin-bottom: 28px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 700; font-size: 1rem; padding: 0; }
.opt { font-weight: 500; color: var(--ink-soft); }
.hint { font-size: .9rem; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="url"], textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--field-border); border-radius: 10px; padding: 14px 16px; min-height: 54px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
textarea { min-height: 136px; resize: vertical; line-height: 1.5; }
::placeholder { color: var(--placeholder); opacity: 1; }
input:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(11, 107, 58, .18); }
input:disabled, textarea:disabled { background: #EFEADB; color: #6B6552; }
.field.invalid input, .field.invalid textarea { border-color: var(--error); background: #FFF8F6; }
.field.invalid input:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 4px rgba(166, 58, 43, .18); }
.err { display: none; align-items: flex-start; gap: 8px; color: var(--error); font-size: .92rem; font-weight: 600; }
.err .ic { width: 18px; height: 18px; margin-top: 2px; }
.invalid > .err, .invalid .err-slot .err, .consent-wrap.invalid .err { display: flex; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--field-border); border-radius: 999px; font-weight: 600; cursor: pointer; background: #fff; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.chips label:hover { border-color: var(--green); }
.chips input:checked + label { background: var(--green); border-color: var(--green); color: #fff; }
.chips input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 3px; }
.invalid .chips label { border-color: var(--error); }
.demo-list { display: grid; gap: 10px; }
.add-link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 8px 0; font: 700 .95rem var(--text); color: var(--green); cursor: pointer; }
.add-link:hover { color: var(--green-hover); text-decoration: underline; }
.consent-wrap { margin-bottom: 28px; display: grid; gap: 8px; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: .98rem; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 2px 0 0; border: 1.5px solid var(--field-border); border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.consent input:checked { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--green); }
.consent-wrap.invalid .consent input { border-color: var(--error); }
.submit-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.legal { margin-top: 22px; font-size: .9rem; color: var(--ink-soft); max-width: 54ch; }
.notice { display: none; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: .98rem; margin-bottom: 28px; }
.notice.show { display: flex; }
.notice .ic { margin-top: 2px; }
.notice.n-err { background: var(--error-bg); border: 1px solid var(--error-line); color: var(--error-ink); }
.notice.n-ok { background: var(--ok-bg); border: 1px solid var(--ok-line); color: #0A4D2B; }
.notice b { display: block; }
.success { display: none; padding: 8px 0 24px; }
.success.show { display: block; }
.success .seal { width: 56px; height: 56px; }
.success .seal svg { width: 100%; height: 100%; }
.success h2 { margin-top: 28px; font-size: clamp(2rem, 3.6vw, 3rem); }
.success p { margin-top: 16px; font-size: 1.15rem; max-width: 44ch; }
.success .notice { display: flex; margin: 28px 0 0; max-width: 52ch; }
.success .btn { margin-top: 32px; }
.sending-dots::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* Lectura (privacidad) */
.read { width: min(68ch, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 132px 0 120px; }
.read h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-top: 8px; }
.read h2 { font-size: 1.5rem; margin-top: 44px; }
.read p, .read li { margin-top: 14px; font-size: 1.08rem; }
.read ol { padding-left: 1.2em; margin: 0; }
.read .meta { color: var(--ink-soft); margin-top: 18px; }

/* Admin */
.admin-top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.admin-top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; width: min(1320px, 100% - 2 * var(--gutter)); }
.admin-user { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-weight: 700; font-size: .85rem; border: 1px solid var(--line-strong); }
.admin-main { width: min(1320px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 40px 0 120px; }
.admin-main h1 { font-size: clamp(2rem, 3vw, 2.6rem); }
.admin-note { margin-top: 10px; }
.filters { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line-strong); }
.filters button { background: none; border: 0; border-radius: 0; border-bottom: 3px solid transparent; padding: 12px 14px 11px; font: 600 .98rem var(--text); color: var(--ink-soft); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; margin-bottom: -1px; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--green); }
.count { font-variant-numeric: tabular-nums; background: var(--sand); border-radius: 999px; padding: 2px 9px; font-size: .82rem; font-weight: 700; color: var(--ink); }
.tbl { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font: 700 .78rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding: 16px 14px; }
.tbl td { padding: 18px 14px; border-top: 1px solid var(--line); }
.tbl tbody tr { cursor: pointer; transition: background-color .2s; }
.tbl tbody tr:hover, .tbl tbody tr:focus-visible { background: var(--sand); }
.tbl td:first-child { font-weight: 700; }
.st { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.st-nueva { background: var(--yellow-soft); color: var(--ink); }
.st-rev { background: var(--sand); color: var(--ink); border: 1px solid var(--line-strong); }
.st-cont { background: var(--ok-bg); color: #0A4D2B; }
.st-desc { background: #ECE8DC; color: #55503F; }
.detail { display: none; }
.detail-grid { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 20px 24px; padding-block: 20px; border-top: 1px solid var(--line); }
.kv dt { font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
.kv dd { margin: 0; }
.kv ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ext { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; }
.side-box { border-top: 1px solid var(--line-strong); padding-top: 20px; margin-bottom: 36px; }
.side-box h2 { font: 700 .78rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
select { width: 100%; font: inherit; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--field-border); border-radius: 10px; background: #fff; color: var(--ink); }
select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(11, 107, 58, .18); }
.login { min-height: 100svh; display: none; place-items: center; padding: 40px var(--gutter); }
.login-in { width: min(420px, 100%); }
.login h1 { margin-top: 36px; font-size: 2.4rem; }
.login p { margin-top: 14px; color: var(--ink-soft); }
.btn-google { width: 100%; margin-top: 28px; background: #fff; color: var(--ink); border: 1.5px solid var(--field-border); }
.btn-google:hover { background: var(--sand); }
.login .notice { margin: 20px 0 0; }
.admin-main:not(.view-on) { display: none; }
.view-on { display: block; }
.login.view-on { display: grid; }

.top:not(.solid) .nav .btn-green { background: var(--yellow); color: var(--ink); }
.top:not(.solid) .nav .btn-green:hover { background: var(--yellow-hover); }
.form-layout.is-success { grid-template-columns: minmax(0, 640px); justify-content: center; }
.form-layout.is-success .form-aside { display: none; }
.dev.min > *:not(.dev-min) { display: none; }
.dev .dev-min { padding: 6px 11px; font-weight: 700; }
.g-mark { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 2px solid currentColor; border-radius: 50%; font: 700 .8rem/1 var(--text); }
.row-link { color: inherit; text-decoration: none; }
.row-link:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .mv { grid-template-columns: 1fr; }
  .stn { grid-template-columns: 1fr; gap: 14px; }
  .logos { grid-template-columns: 1fr; }
  .logos li { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .logos li:last-child { border-bottom: 0; }
  .ally img { height: 88px; }
  .cta .wrap { grid-template-columns: 1fr; }
  .cta-video { justify-self: start; width: min(64vw, 260px); }
  .foot-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .detail-grid { grid-template-columns: 1fr; }
  .hero-inner { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art, .hero-enter > * { animation: none; }
  .circled path { stroke-dashoffset: 0; transition: none; }
  .trail-fill { height: 100%; }
  .trail-dot { top: 100%; }
  .stn .stn-dot { background: var(--yellow); }
  * { transition-duration: .01ms !important; }
}
