:root {
  color-scheme: dark;
  --background: #292637;
  --header: #111015;
  --header-height: 96px;
  --surface: #302c41;
  --text: #fbfaf7;
  --muted: #c1bbcd;
  --soft: #b5abc8;
  --line: rgba(226, 220, 241, .14);
  --teal: #70b8b0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; background: var(--background); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #70b8b0; outline-offset: 6px; }
::selection { background: #566c79; color: white; }
.container { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; left: 20px; top: -80px; padding: 12px 18px; background: white; color: #111015; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header); border-bottom: 1px solid rgba(255,255,255,.04); }
.header-inner { width: min(1600px, calc(100% - 112px)); min-height: 96px; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 16px; font-size: 25px; font-weight: 600; white-space: nowrap; }
.brand svg { width: 38px; height: 38px; flex-shrink: 0; }
.brand-copy { display: flex; flex-direction: column; gap: 6px; }
.brand-tagline { font-size: 15px; font-weight: 400; letter-spacing: .025em; color: #b8b1c4; }
.brand-light { font-weight: 400; color: #c1bbcd; }
.header-inner .brand { font-size: 30px; }
.header-inner .brand svg { width: 46px; height: 46px; }
.header-inner .brand-tagline { font-size: 17px; }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-link { color: #c9c5d1; font-size: 14px; position: relative; padding-block: 8px; }
.nav-help { border: 0; padding-inline: 0; background: transparent; cursor: pointer; }
.language-switch { display: inline-flex; align-items: center; gap: 3px; color: #a9a0b7; }
.language-switch button { min-width: 36px; min-height: 44px; padding: 8px 5px; border: 0; border-radius: 8px; background: transparent; color: #a9a0b7; font-size: 12px; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: #fbfaf7; font-weight: 600; }
.language-switch button:hover { background: #302c41; }
.language-status { margin: 0; font-size: 12px; line-height: 1.6; color: #e7b48c; }
.language-loading main, .language-loading footer { visibility: hidden; }
.nav-labs { position: relative; }
.nav-labs summary { display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer; white-space: nowrap; }
.nav-labs summary::-webkit-details-marker { display: none; }
.nav-labs[open] summary { color: var(--text); }
.lab-links { position: absolute; top: calc(100% + 12px); right: 0; z-index: 30; width: 210px; padding: 8px; border: 1px solid #61576e; border-radius: 13px; background: var(--surface); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.lab-links a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 10px 13px; border-radius: 8px; font-size: 14px; color: var(--text); }
.lab-links a:hover { background: #393447; }
.nav-link:hover, .nav-link.active { color: white; }
.nav-link.active::after { content: ""; position: absolute; bottom: 0; height: 1px; left: 0; right: 0; background: white; }
.hero { width: min(1600px, calc(100% - 112px)); position: relative; min-height: min(760px, calc(100svh - 80px)); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); align-items: center; column-gap: 64px; padding-top: 36px; padding-bottom: 48px; }
.hero-copy { padding-bottom: 8px; max-width: 480px; }
.eyebrow { margin: 0 0 27px; color: #c5bdce; font-size: 10px; letter-spacing: .2em; font-weight: 600; display: flex; align-items: center; gap: 10px; line-height: 1.6; }
.small-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
h1 { font-weight: 400; font-size: clamp(36px, 3.55vw, 52px); line-height: 1.06; letter-spacing: -.035em; margin: 0; max-width: 490px; }
.hero h1 { color: #f8efe6; }
.hero-subject { display: block; font-size: clamp(44px, 4.75vw, 68px); line-height: 1.04; font-weight: 500; letter-spacing: -.04em; color: #e7b48c; margin-block: 1px 4px; }
.title-soft { color: var(--soft); }
.hero h1 .title-soft { color: #d9cabd; }
.hero-description { color: var(--muted); font-size: 18px; line-height: 1.8; max-width: 440px; margin: 23px 0 27px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 13px 24px; font-size: 13px; border-radius: 100px; transition: background .2s, transform .2s; }
.button-primary { background: #fbfaf7; color: #252231; }
.button-primary:hover { background: #e8e1f0; transform: translateY(-2px); }
.hero-visual { margin: 0; width: 100%; max-width: 1080px; justify-self: end; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(235,221,255,.14); border-radius: 18px; background: var(--surface); box-shadow: 0 24px 70px rgba(12,10,21,.16); }
.hero-picture { display: block; width: 100%; height: 100%; }
.hero-poster, .hero-video { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-video { position: absolute; inset: 0; }
.video-status { position: absolute; bottom: 21px; left: 12px; right: 12px; margin: 0; color: #d7cfe5; text-align: center; font-size: 10px; letter-spacing: .04em; }
.video-controls { position: absolute; z-index: 1; bottom: 15px; right: 15px; left: 15px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.video-toggle { border: 1px solid rgba(255,255,255,.22); border-radius: 100px; background: rgba(17,16,21,.88); color: white; min-height: 44px; padding: 9px 13px; font-size: 11px; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.hero-visual figcaption { display: flex; gap: 11px; align-items: center; font-size: 14px; line-height: 1.65; color: #d5c4b6; margin-top: 18px; }
.caption-line { background: #8d7969; width: 20px; height: 1px; flex-shrink: 0; }
.method-section { border-block: 1px solid var(--line); padding: 84px 0; background: #262332; }
.section-heading .eyebrow, .topics-heading .eyebrow { margin-bottom: 18px; }
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; font-weight: 400; letter-spacing: -.03em; margin: 0; }
h3 { font-size: 19px; line-height: 1.4; font-weight: 400; margin: 16px 0 12px; letter-spacing: -.02em; }
.demo-list { display: grid; gap: 110px; margin-top: 65px; }
.demo-swipe-hint { display: none; }
.demo-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 85px; align-items: center; }
.demo-row--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.demo-row--reverse .demo-media { order: 2; }
.demo-media { --demo-background: #273c3e; --demo-accent: #83bdb5; position: relative; width: 100%; aspect-ratio: 4 / 3; margin: 0; border-radius: 22px; overflow: hidden; background: var(--demo-background); border: 1px solid rgba(255,255,255,.07); }
.demo-media--violet { --demo-background: #353046; --demo-accent: #b1a0d1; }
.demo-media--amber { --demo-background: #3c332e; --demo-accent: #d7ac7c; }
.demo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--demo-accent); background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px); background-size: 24px 24px; }
.demo-placeholder-index { position: absolute; left: 26px; top: 23px; font-size: 11px; letter-spacing: .15em; }
.demo-placeholder-symbol { width: 38%; max-width: 180px; opacity: .7; }
.demo-placeholder p { font-size: 11px; letter-spacing: .025em; margin: 22px 15px 0; text-align: center; color: #d1cbd8; }
.demo-copy .eyebrow { margin-bottom: 20px; font-size: 9px; letter-spacing: .15em; }
.demo-copy h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.2; font-weight: 400; margin: 0 0 24px; letter-spacing: -.035em; }
.demo-copy h3 .title-soft { color: #d9cabd; }
/* Palabra destacada del título (mismo estilo que "geociencias" en el hero) */
.demo-subject { display: block; font-size: 1.32em; line-height: 1.05; font-weight: 500; letter-spacing: -.04em; color: #e7b48c; margin-block: 2px 4px; }
.demo-copy > p:not(.eyebrow) { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.75; color: var(--muted); margin: 0 0 18px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.demo-topic-note { display: block; margin-top: 26px; color: var(--demo-accent, #a7a0b6); font-size: 10px; line-height: 1.8; letter-spacing: .02em; }
.demo-asset { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Reproductor de las demostraciones: botón central de vidrio y barra de progreso fina (estilo YouTube) */
.demo-player .demo-asset { cursor: pointer; }
.demo-glass-play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%, -50%); display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(24,22,32,.28); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 12px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.35); color: #fff; cursor: pointer; transition: opacity .25s ease, transform .25s ease, background .25s ease; }
.demo-glass-play svg { width: 38px; height: 38px; fill: currentColor; }
.demo-glass-play .icon-play { margin-left: 5px; }
.demo-glass-play .icon-pause { display: none; }
.demo-glass-play:hover { background: rgba(24,22,32,.4); transform: translate(-50%, -50%) scale(1.06); }
.demo-glass-play:focus-visible { outline: 3px solid var(--demo-accent); outline-offset: 4px; }
.demo-player.is-playing .demo-glass-play { opacity: 0; pointer-events: none; }
.demo-player.is-playing .demo-glass-play .icon-play { display: none; }
.demo-player.is-playing .demo-glass-play .icon-pause { display: block; }
.demo-player.is-playing:hover .demo-glass-play, .demo-player.is-playing .demo-glass-play:focus-visible { opacity: 1; pointer-events: auto; }
.demo-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.22); opacity: 0; transition: opacity .25s ease; }
.demo-progress span { display: block; height: 100%; background: #E0701F; transform: scaleX(0); transform-origin: left; }
.demo-player.has-started .demo-progress { opacity: 1; }
@media (max-width: 700px) { .demo-glass-play { width: 72px; height: 72px; } .demo-glass-play svg { width: 30px; height: 30px; } }
@media (prefers-reduced-motion: reduce) { .demo-glass-play { transition: none; } }
.demo-media-error { position: absolute; inset: auto 20px 20px; margin: 0; font-size: 12px; line-height: 1.6; text-align: center; color: var(--text); }
.topics-section { width: min(1600px, calc(100% - 112px)); padding-block: 65px; }
.catalog-tabs { display: flex; align-items: center; gap: 36px; overflow-x: auto; padding: 0 0 16px; margin-bottom: 38px; border-bottom: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: #61576e transparent; }
.catalog-tab { flex-shrink: 0; position: relative; border: 0; padding: 12px 0; min-height: 44px; background: transparent; color: #a9a0b7; font-size: 17px; white-space: nowrap; cursor: pointer; }
.catalog-tab[aria-selected="true"] { color: #fbfaf7; }
.catalog-tab[aria-selected="true"]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #e7b48c; }
.catalog-tab:hover { color: #fbfaf7; }
.catalog-tab:focus-visible { outline-offset: -3px; }
.catalog-shell { position: relative; max-width: 1200px; margin-inline: auto; padding: 0 76px; }
.catalog-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); align-items: center; gap: 60px; }
.catalog-heading .eyebrow { margin-bottom: 22px; font-size: 14px; letter-spacing: .16em; }
.catalog-heading h2 { max-width: 440px; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.18; }
.catalog-area { max-width: 370px; color: var(--muted); font-size: 16px; line-height: 1.8; margin: 23px 0 0; }
.catalog-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: #fbfaf7; color: #292637; cursor: pointer; font-size: 31px; line-height: 1; transition: background .2s; }
.catalog-arrow--prev { left: 0; }
.catalog-arrow--next { right: 0; }
.catalog-arrow:hover { background: #ded6e8; }
.catalog-window { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 12px; }
.catalog-subtopics { display: grid; grid-auto-rows: max-content; gap: 22px; align-content: start; height: 690px; min-height: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.catalog-subtopics::-webkit-scrollbar { display: none; }
.topic-card { scroll-snap-align: start; }
.topic-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #302c41; color: var(--text); }
.topic-card:focus-within { border-color: #a79ab9; }
.topic-thumbnail { --demo-background: #273c3e; width: 100%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--demo-background); color: #83bdb5; }
.topic-thumbnail--violet { --demo-background: #353046; color: #b8a5d5; }
.topic-thumbnail--amber { --demo-background: #3c332e; color: #dbb180; }
.topic-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; }
.topic-thumbnail svg { width: 32%; max-width: 140px; opacity: .8; }
.topic-thumbnail img, .topic-thumbnail video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.topic-commerce { position: absolute; z-index: 2; top: 12px; right: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 44px; padding: 9px 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 13px; background: rgba(17,16,21,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 4px 18px rgba(0,0,0,.12); color: #fbfaf7; font-size: 12px; font-weight: 500; line-height: 1.3; cursor: pointer; text-align: center; }
.topic-commerce small { color: #eee9f3; font-size: 10px; font-weight: 400; }
.topic-commerce:not(:disabled):hover { background: rgba(17,16,21,.78); border-color: rgba(255,255,255,.55); }
.topic-commerce:disabled { cursor: default; }
.topic-commerce-arrow { margin-left: 4px; }
.topic-thumbnail-placeholder { font-size: 42px; font-weight: 300; opacity: .6; }
.topic-preview-note { font-size: 11px; color: #c6bdcf; }
.topic-card-copy { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.topic-card h3 { margin: 0; font-size: 16px; line-height: 1.45; letter-spacing: -.015em; }
.topic-card-copy--details { flex-direction: column; align-items: flex-start; gap: 3px; }
.topic-card-description { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.topic-pending { flex-shrink: 0; color: #b5abc8; font-size: 11px; }
.catalog-topic-navigation { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; }
.catalog-scrollbar { appearance: none; writing-mode: vertical-lr; direction: ltr; flex: 1; min-height: 0; width: 12px; margin: 0; border: 0; border-radius: 10px; background: #211e2c; cursor: pointer; }
.catalog-scrollbar::-webkit-slider-thumb { appearance: none; width: 12px; height: 48px; border-radius: 8px; background: #b5abc8; }
.catalog-scrollbar::-moz-range-thumb { width: 12px; height: 48px; border: 0; border-radius: 8px; background: #b5abc8; }
.catalog-scrollbar:disabled { opacity: .3; }
.catalog-topic-arrow { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #61576e; border-radius: 50%; background: transparent; color: var(--text); font-size: 20px; cursor: pointer; }
.catalog-topic-arrow:hover:not(:disabled) { background: #393447; }
.catalog-topic-arrow:disabled { opacity: .3; cursor: default; }
.catalog-note { margin: 18px auto 0; max-width: 600px; text-align: center; color: #bcb4c8; font-size: 11px; line-height: 1.8; }
.catalog-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: -1px; }
.about-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 85px; padding-block: 65px; border-block: 1px solid var(--line); }
.about-section .eyebrow { margin-bottom: 18px; }
.about-section h2 { font-size: clamp(28px, 2.7vw, 36px); }
.about-copy > p { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0; }
.about-copy > p:not([class]) + p:not([class]) { margin-top: 18px; }
.about-copy .instructor-name { color: var(--text); font-size: 22px; margin-bottom: 3px; }
.about-copy .instructor-role { color: #e7b48c; font-size: 12px; margin-bottom: 22px; }
html.help-is-open { overflow: hidden; scrollbar-gutter: stable; }
.help-dialog { width: min(620px, calc(100% - 40px)); max-height: 80svh; overflow-y: auto; padding: 30px; border: 1px solid #61576e; border-radius: 18px; background: var(--surface); color: var(--text); }
.help-dialog::backdrop { background: rgba(12, 10, 20, .75); }
.help-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.help-dialog-header .eyebrow { margin-bottom: 12px; }
.help-dialog-header h2 { font-size: 28px; }
.help-close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex-shrink: 0; padding: 8px 12px; border: 1px solid #61576e; border-radius: 10px; background: transparent; color: var(--text); font-size: 12px; cursor: pointer; }
.help-close span { font-size: 20px; }
.help-close:hover { background: #393447; }
.help-answers details { border-bottom: 1px solid var(--line); }
.help-answers summary { padding: 19px 24px 19px 0; color: var(--text); font-size: 14px; line-height: 1.6; cursor: pointer; list-style: none; position: relative; }
.help-answers summary::-webkit-details-marker { display: none; }
.help-answers summary::after { content: "+"; position: absolute; right: 0; top: 19px; color: #c4b6ce; font-size: 18px; }
.help-answers details[open] summary::after { content: "−"; }
.help-answers details p { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 0; padding: 0 20px 22px 0; }
.help-answers details p a { color: #e7b48c; text-decoration: underline; text-underline-offset: 3px; }
.newsletter-section { padding-block: 36px 28px; }
.newsletter-shell { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center; max-width: 800px; margin-inline: auto; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.newsletter-copy .eyebrow { margin-bottom: 14px; font-size: 10px; }
.newsletter-copy h2 { font-size: 28px; line-height: 1.25; }
.newsletter-copy > p:last-child { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 14px 0 0; }
.newsletter-form { display: grid; gap: 12px; min-width: 0; }
.newsletter-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.contact-section { padding-block: 25px 45px; }
.contact-shell { max-width: 560px; margin-inline: auto; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text); }
.contact-shell h2 { font-size: 28px; font-weight: 500; }
.contact-intro { margin: 12px 0 22px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-field { display: grid; gap: 6px; min-width: 0; }
.contact-field--wide, .contact-submit, .contact-status { grid-column: 1 / -1; }
.contact-field label { font-size: 12px; font-weight: 500; color: #d7cfdf; }
.contact-field label span { font-weight: 400; }
.contact-field input, .contact-field textarea { width: 100%; min-width: 0; border: 1px solid #61576e; border-radius: 9px; background: #262333; color: var(--text); font: inherit; font-size: 16px; line-height: 1.5; padding: 10px 12px; }
.contact-field input { min-height: 44px; }
.contact-field textarea { min-height: 96px; resize: vertical; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #a9a0b7; opacity: 1; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible, .contact-submit:focus-visible { outline-color: var(--teal); outline-offset: 3px; }
.contact-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 44px; border: 0; border-radius: 9px; padding: 11px 16px; background: #fbfaf7; color: #292637; font-size: 13px; font-weight: 600; cursor: pointer; }
.contact-submit:hover:not(:disabled) { background: #e8e1f0; }
.contact-submit:disabled { opacity: .65; cursor: default; }
.contact-status { margin: 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.site-footer { padding: 58px 0 22px; margin-top: 30px; background: var(--header); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(320px, 1.65fr) repeat(3, minmax(0, 1fr)) minmax(100px, .7fr); gap: 28px; }
.footer-brand .brand { font-size: 22px; gap: 13px; }
.footer-brand .brand svg { width: 34px; height: 34px; }
.footer-brand .brand-tagline { font-size: 13px; }
.footer-group h3 { margin: 0 0 17px; color: #a9a3b2; font-size: 13px; line-height: 1.6; font-weight: 400; letter-spacing: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 5px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; font-size: 12px; line-height: 1.7; color: #e8e3ed; }
.footer-links a:hover, .footer-bottom a:hover { color: #e7b48c; }
.footer-pending { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 7px; color: #c0b8cb; font-size: 12px; line-height: 1.7; }
.footer-pending small { color: #a39aa9; font-size: 10px; }
.footer-social-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; color: #e8e3ed; min-height: 32px; }
.footer-social-link:hover { color: #e7b48c; }
.footer-social svg { flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid #29242f; margin-top: 43px; padding-top: 21px; color: #a59daa; font-size: 11px; line-height: 1.7; }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: flex; gap: 10px; align-items: center; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .header-inner { flex-wrap: wrap; gap: 14px 24px; padding-block: 16px; }
  .topics-section { width: calc(100% - 64px); }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); column-gap: 28px; }
  h1 { font-size: clamp(34px, 4.3vw, 44px); }
  .hero-subject { font-size: clamp(42px, 5.5vw, 54px); }
  .hero-description { font-size: 17px; }
  .demo-row { gap: 42px; }
  .demo-copy > p:not(.eyebrow) { font-size: 17px; }
  .demo-list { gap: 85px; }
  .catalog-shell { padding-inline: 60px; }
  .catalog-panel { gap: 35px; }
  .catalog-subtopics { height: 560px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .about-section { gap: 40px; }
}
@media (max-width: 700px) {
  :root { --header-height: 120px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 88px; flex-wrap: wrap; justify-content: center; gap: 14px 20px; padding-block: 16px; }
  .brand { font-size: clamp(17px, 5.3vw, 20px); gap: 12px; }
  .brand svg { width: 30px; height: 30px; }
  .brand-tagline { font-size: 13px; }
  .header-inner .brand { font-size: clamp(20px, 6.4vw, 26px); }
  .header-inner .brand svg { width: 40px; height: 40px; }
  .header-inner .brand-copy { align-items: center; text-align: center; }
  .header-inner .brand-tagline { font-size: 16px; }
  .main-nav { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; align-items: center; gap: 6px 24px; width: 100%; margin-left: 0; }
  .main-nav > a, .main-nav > button { justify-self: center; }
  .language-switch { grid-column: 1 / -1; justify-self: center; }
  .nav-labs summary { justify-content: center; }
  .lab-links { position: fixed; top: calc(var(--header-height) + 8px); left: 20px; right: 20px; width: auto; }
  .nav-link { font-size: 12px; padding-block: 5px; }
  .hero { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 48px; row-gap: 28px; min-height: auto; }
  .eyebrow { font-size: 9px; margin-bottom: 22px; }
  h1 { font-size: clamp(34px, 8vw, 42px); max-width: 560px; }
  .hero-subject { font-size: clamp(40px, 11vw, 52px); }
  .hero-description { font-size: 16px; line-height: 1.75; max-width: 500px; margin-block: 18px; }
  .button { font-size: 12px; padding-inline: 19px; gap: 16px; }
  .hero-visual { width: min(100%, 360px); justify-self: center; }
  .video-frame { aspect-ratio: 4 / 5; }
  .hero-visual figcaption { font-size: 13px; }
  .method-section { padding-block: 40px; }
  .method-section .section-heading .eyebrow { margin-bottom: 12px; }
  .method-section h2 { font-size: 24px; }
  .demo-swipe-hint { display: block; margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
  .demo-list { grid-auto-flow: column; grid-auto-columns: min(86%, 320px); gap: 12px; margin-top: 14px; padding-bottom: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #635b75 transparent; }
  .demo-row, .demo-row--reverse { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 18px; align-items: start; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(43, 39, 57, .12); scroll-snap-align: start; }
  .demo-row--reverse .demo-media { order: 0; }
  .demo-media { border-radius: 9px; }
  .demo-copy h3 { font-size: 18px; line-height: 1.35; font-weight: 500; margin-bottom: 10px; }
  .demo-subject { display: inline; font-size: 1em; line-height: inherit; margin: 0; }
  .demo-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.6; margin-bottom: 10px; text-align: left; hyphens: none; -webkit-hyphens: none; }
  .demo-copy > p:last-child { margin-bottom: 0; }
  .demo-copy .eyebrow { font-size: 9px; margin-bottom: 15px; }
  .demo-topic-note { margin-top: 20px; }
  .topics-section { width: calc(100% - 40px); padding-block: 56px; }
  .catalog-tabs { gap: 28px; margin-bottom: 24px; }
  .catalog-tab { font-size: 15px; }
  .catalog-shell { padding: 65px 0 0; }
  .catalog-panel { grid-template-columns: 1fr; min-height: 0; gap: 30px; }
  .catalog-heading h2 { font-size: 34px; }
  .catalog-heading .eyebrow { margin-bottom: 16px; }
  .catalog-area { max-width: none; font-size: 15px; margin-top: 16px; }
  .catalog-arrow { top: 0; transform: none; }
  .catalog-arrow--prev { left: 0; }
  .catalog-arrow--next { right: 0; }
  .catalog-window { grid-template-columns: minmax(0, 1fr) 36px; gap: 8px; }
  .catalog-subtopics { height: min(580px, 72svh); }
  .catalog-topic-arrow { width: 36px; height: 44px; }
  .topic-card-copy { padding: 12px 14px; }
  .topic-card h3 { font-size: 16px; }
  .about-section { grid-template-columns: 1fr; gap: 28px; padding-block: 45px; }
  .help-dialog { padding: 22px; }
  .help-dialog-header { gap: 12px; }
  .help-dialog-header h2 { font-size: 23px; }
  .contact-section { padding-block: 25px 45px; }
  .newsletter-shell { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .contact-shell { padding: 22px; }
  .contact-form { grid-template-columns: 1fr; }
  .site-footer { padding-top: 40px; }
  .footer-grid { gap: 30px 20px; }
  .footer-brand .brand { font-size: clamp(17px, 5.3vw, 20px); gap: 12px; }
  .footer-brand .brand svg { width: 30px; height: 30px; }
  .footer-links a { min-height: 40px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Sección Laboratorios: tráiler único (tamaño moderado) + botón de vidrio */
.labs-section { padding: 90px 0 30px; }
.labs-video { position: relative; max-width: 880px; margin: 34px auto 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #FBFAF7; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.labs-video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.labs-entrar { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  font-size: 16px; font-weight: 600; color: #fff; background: rgba(41, 38, 55, .42); border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: background .2s, transform .2s; }
.labs-entrar:hover { background: rgba(41, 38, 55, .62); transform: translateX(-50%) translateY(-2px); }
@media (max-width: 760px) {
  .labs-section { padding: 60px 0 20px; }
}

/* Celular: botones centrados y pie de página más compacto (Alan, 2026-10-04) */
@media (max-width: 760px) {
  .hero-actions { justify-content: center; }
  .labs-entrar { left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; bottom: 12px; padding: 8px 16px; font-size: 13.5px; }
  .labs-entrar:hover { transform: translateX(-50%) translateY(-2px); }
  .footer-grid { gap: 22px 20px; }
  .footer-group h3 { margin-bottom: 6px; }
  .footer-links li { margin-bottom: 0; }
  .footer-links a { min-height: 30px; line-height: 1.4; }
  .footer-pending { padding-top: 4px; line-height: 1.4; }
  .footer-social-link { min-height: 30px; }
}

/* Celular: barra de una sola línea (logo + ☰) y menú desplegable (Alan, 2026-10-04) */
.menu-toggle { display: none; }
.not-found { padding-block: 15vh; max-width: 760px; }
.not-found h1 { font-size: clamp(30px, 6vw, 52px); }
.not-found p { line-height: 1.7; }
@media (max-width: 700px) {
  .site-header .header-inner { min-height: 60px; flex-wrap: nowrap; justify-content: space-between; gap: 12px; padding-block: 8px; }
  .header-inner .brand { font-size: 19px; gap: 10px; }
  .header-inner .brand svg { width: 30px; height: 30px; }
  .header-inner .brand-copy { align-items: flex-start; text-align: left; }
  .header-inner .brand-tagline { display: none; }
  .menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; border-radius: 2px; background: #fbfaf7; transition: transform .25s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 25; flex-direction: column; align-items: stretch; gap: 0; width: auto; margin: 0;
    padding: 8px 20px 18px; background: var(--header); border-top: 1px solid rgba(255,255,255,.06); box-shadow: 0 18px 30px rgba(0,0,0,.35); }
  .site-header.menu-abierto .main-nav { display: flex; }
  .site-header .main-nav > .nav-help { display: flex; width: 100%; text-align: left; }
  .site-header .main-nav > .nav-link, .site-header .nav-labs summary { justify-content: flex-start; font-size: 17px; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.06); justify-self: auto; }
  .site-header .nav-labs summary > span { display: none; }
  .site-header .nav-labs .lab-links { display: block; position: static; width: auto; padding: 0 0 6px 14px; border: 0; background: transparent; box-shadow: none; }
  .site-header .lab-links a { min-height: 42px; font-size: 15.5px; color: var(--muted); padding: 8px 10px; }
  .site-header .language-switch { margin-top: 10px; justify-self: auto; }
  .site-header .language-switch button { font-size: 15px; }
}
