/* ==========================================================================
   THEME: NEON DARK + GLOW EFFECTS (PRESET M)
   TOPIC: Control de Glucosa & Equilibrio Metabólico (Chile)
   ========================================================================== */

:root {
  /* Dynamic Custom Variable Naming Schema */
  --glyco-dark-bg: #070a12;
  --glyco-surface-dark: #0f172a;
  --glyco-card-bg: rgba(255, 255, 255, 0.04);
  --glyco-neon-tone: #00f2fe;
  --glyco-neon-hover: #4facfe;
  --glyco-neon-pulse: #00e676;
  --glyco-text-light: #f1f5f9;
  --glyco-text-subtle: #94a3b8;
  --glyco-border-neon: rgba(0, 242, 254, 0.25);
  --glyco-border-subtle: rgba(255, 255, 255, 0.08);

  /* Font Families */
  --glyco-font-display: 'Montserrat', sans-serif;
  --glyco-font-body: 'Inter', sans-serif;

  /* Sizing and Scale */
  --glyco-space-scale: 10dvh;
  --glyco-radius-soft: 16px;
  --glyco-radius-pill: 999px;

  /* Glow Shadows */
  --glyco-neon-glow-sm: 0 0 10px rgba(0, 242, 254, 0.4);
  --glyco-neon-glow-lg: 0 0 25px rgba(0, 242, 254, 0.35);
  --glyco-text-shadow-glow: 0 0 15px rgba(0, 242, 254, 0.6), 0 0 40px rgba(0, 242, 254, 0.3);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--glyco-font-body);
  background-color: var(--glyco-dark-bg);
  color: var(--glyco-text-light);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

/* Scroll Progress Bar CSS-only */
.glyco-progress-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--glyco-neon-tone);
  box-shadow: var(--glyco-neon-glow-sm);
  z-index: 10000;
  width: 100%;
  transform-origin: left;
}

@supports (animation-timeline: scroll()) {
  .glyco-progress-indicator {
    animation: glyco-progress-anim linear;
    animation-timeline: scroll(root block);
  }
}

@keyframes glyco-progress-anim {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Layout Frame */
.glyco-viewport-frame {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Topbar Preset M */
.glyco-topbar-shell {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glyco-border-subtle);
  padding: 1rem 0;
}

.glyco-topbar-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.glyco-brand-symbol {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--glyco-text-light);
  font-family: var(--glyco-font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.glyco-logo-svg {
  width: 32px;
  height: 32px;
  color: var(--glyco-neon-tone);
  filter: drop-shadow(0 0 8px var(--glyco-neon-tone));
}

.glyco-nav-link-box {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.glyco-nav-item {
  color: var(--glyco-text-subtle);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.glyco-nav-item:hover,
.glyco-nav-item-active {
  color: var(--glyco-neon-tone);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.glyco-nav-pill-action {
  padding: 0.6rem 1.4rem;
  border-radius: var(--glyco-radius-pill);
  border: 1px solid var(--glyco-neon-tone);
  color: var(--glyco-neon-tone);
  box-shadow: var(--glyco-neon-glow-sm);
  transition: all 0.3s ease;
}

.glyco-nav-pill-action:hover {
  background: var(--glyco-neon-tone);
  color: var(--glyco-dark-bg);
  box-shadow: var(--glyco-neon-glow-lg);
}

/* Drawer / Hamburger CSS-Only */
.glyco-drawer-input {
  display: none;
}

.glyco-drawer-trigger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.glyco-burger-line {
  width: 26px;
  height: 3px;
  background-color: var(--glyco-neon-tone);
  border-radius: 2px;
  box-shadow: 0 0 5px var(--glyco-neon-tone);
}

/* Preset M Hero Section */
.glyco-hero-billboard {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.glyco-hero-bg-holder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.glyco-hero-dimmer {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.85);
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.7) 0%, rgba(7, 10, 18, 0.95) 100%);
  z-index: 2;
}

.glyco-hero-content-core {
  position: relative;
  z-index: 3;
  max-width: 850px;
  text-align: center;
}

.glyco-hero-main-heading {
  font-family: var(--glyco-font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: var(--glyco-text-shadow-glow);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.glyco-hero-lead-text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--glyco-text-subtle);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.glyco-badge-kicker {
  display: inline-block;
  font-family: var(--glyco-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--glyco-neon-tone);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Buttons Styling */
.glyco-btn-neon-outline {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--glyco-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--glyco-text-light);
  text-decoration: none;
  border-radius: var(--glyco-radius-pill);
  border: 2px solid var(--glyco-neon-tone);
  box-shadow: var(--glyco-neon-glow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}

.glyco-btn-neon-outline:hover {
  background: var(--glyco-neon-tone);
  color: var(--glyco-dark-bg);
  box-shadow: var(--glyco-neon-glow-lg);
  transform: translateY(-2px);
}

.glyco-btn-neon-pulsing {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  font-family: var(--glyco-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--glyco-dark-bg);
  background: var(--glyco-neon-tone);
  text-decoration: none;
  border-radius: var(--glyco-radius-pill);
  border: none;
  box-shadow: var(--glyco-neon-glow-lg);
  animation: glyco-pulse 2s infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

@keyframes glyco-pulse {
  0% { box-shadow: 0 0 10px rgba(0, 242, 254, 0.4); }
  50% { box-shadow: 0 0 30px rgba(0, 242, 254, 0.8); }
  100% { box-shadow: 0 0 10px rgba(0, 242, 254, 0.4); }
}

.glyco-btn-full {
  width: 100%;
  text-align: center;
}

/* Content Showcase / Narrative Section */
.glyco-narrative-block {
  padding: var(--glyco-space-scale) 0;
  background-color: var(--glyco-surface-dark);
  border-top: 1px solid var(--glyco-border-subtle);
  border-bottom: 1px solid var(--glyco-border-subtle);
}

.glyco-narrative-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.glyco-media-glow-frame {
  position: relative;
  border-radius: var(--glyco-radius-soft);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 242, 254, 0.25);
  border: 1px solid var(--glyco-border-neon);
}

.glyco-visual-asset {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.glyco-media-glow-frame:hover .glyco-visual-asset {
  transform: scale(1.03);
}

.glyco-section-headline {
  font-family: var(--glyco-font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.glyco-section-subline {
  color: var(--glyco-text-subtle);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.glyco-body-paragraph {
  color: var(--glyco-text-subtle);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.glyco-highlight-text {
  color: var(--glyco-neon-tone);
  font-weight: 600;
}

/* Features Assembly Section */
.glyco-perks-assembly {
  padding: var(--glyco-space-scale) 0;
}

.glyco-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.glyco-cards-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.glyco-feature-card-unit {
  background: var(--glyco-card-bg);
  border: 1px solid var(--glyco-border-subtle);
  border-radius: var(--glyco-radius-soft);
  padding: 2.2rem 1.8rem;
  transition: all 0.3s ease;
}

.glyco-feature-card-unit:hover {
  border-color: var(--glyco-neon-tone);
  box-shadow: var(--glyco-neon-glow-lg);
  transform: translateY(-4px);
}

.glyco-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.glyco-svg-icon {
  width: 28px;
  height: 28px;
  color: var(--glyco-neon-tone);
}

.glyco-card-title {
  font-family: var(--glyco-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.glyco-card-desc {
  color: var(--glyco-text-subtle);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Timeline / "How it Works" */
.glyco-process-stage {
  padding: var(--glyco-space-scale) 0;
  background-color: var(--glyco-surface-dark);
}

.glyco-vertical-timeline {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.glyco-vertical-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 24px;
  width: 2px;
  background: var(--glyco-border-neon);
}

.glyco-timeline-node {
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
  position: relative;
}

.glyco-timeline-marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glyco-dark-bg);
  border: 2px solid var(--glyco-neon-tone);
  color: var(--glyco-neon-tone);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--glyco-font-display);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--glyco-neon-glow-sm);
  flex-shrink: 0;
}

.glyco-timeline-content {
  background: var(--glyco-card-bg);
  border: 1px solid var(--glyco-border-subtle);
  border-radius: var(--glyco-radius-soft);
  padding: 1.5rem 1.8rem;
  flex-grow: 1;
}

.glyco-node-title {
  font-family: var(--glyco-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.glyco-node-desc {
  color: var(--glyco-text-subtle);
  font-size: 0.95rem;
}

/* CTA Strip */
.glyco-cta-strip-zone {
  padding: 6dvh 0;
  background: linear-gradient(180deg, var(--glyco-surface-dark) 0%, var(--glyco-dark-bg) 100%);
  border-top: 1px solid var(--glyco-border-subtle);
}

.glyco-cta-heading {
  font-family: var(--glyco-font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  text-shadow: var(--glyco-text-shadow-glow);
  margin-bottom: 1rem;
}

.glyco-cta-subtext {
  color: var(--glyco-text-subtle);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

/* Stats Section (Expert Page) */
.glyco-stats-strip {
  padding: 4dvh 0;
}

.glyco-stats-pills-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.glyco-stat-pill {
  background: var(--glyco-surface-dark);
  border: 1px solid var(--glyco-border-neon);
  border-radius: var(--glyco-radius-pill);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--glyco-neon-glow-sm);
}

.glyco-stat-number {
  display: block;
  font-family: var(--glyco-font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--glyco-neon-tone);
}

.glyco-stat-label {
  font-size: 0.9rem;
  color: var(--glyco-text-subtle);
}

/* Accordion FAQ */
.glyco-faq-stage {
  padding: var(--glyco-space-scale) 0;
}

.glyco-accordion-group {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.glyco-faq-item {
  background: var(--glyco-card-bg);
  border: 1px solid var(--glyco-border-subtle);
  border-radius: var(--glyco-radius-soft);
  padding: 1.2rem 1.8rem;
  transition: border-color 0.3s ease;
}

.glyco-faq-item[open] {
  border-color: var(--glyco-border-neon);
}

.glyco-faq-question {
  font-family: var(--glyco-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glyco-faq-question::-webkit-details-marker {
  display: none;
}

.glyco-faq-answer {
  margin-top: 1rem;
  color: var(--glyco-text-subtle);
  font-size: 0.98rem;
}

.glyco-open-faq-card {
  background: var(--glyco-card-bg);
  border: 1px solid var(--glyco-border-subtle);
  border-radius: var(--glyco-radius-soft);
  padding: 1.8rem;
}

.glyco-open-faq-title {
  font-family: var(--glyco-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--glyco-neon-tone);
  margin-bottom: 0.6rem;
}

.glyco-open-faq-desc {
  color: var(--glyco-text-subtle);
  font-size: 0.95rem;
}

/* Bullet list with badges */
.glyco-badge-bullet-list {
  list-style: none;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.glyco-badge-bullet-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--glyco-text-light);
}

.glyco-num-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--glyco-neon-tone);
  color: var(--glyco-dark-bg);
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form Styling */
.glyco-form-holder-zone {
  padding: var(--glyco-space-scale) 0;
}

.glyco-form-card-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--glyco-surface-dark);
  border: 1px solid var(--glyco-border-neon);
  border-radius: var(--glyco-radius-soft);
  padding: 2.5rem;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.5);
}

.glyco-form-title {
  font-family: var(--glyco-font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-align: center;
}

.glyco-form-subtext {
  color: var(--glyco-text-subtle);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 2rem;
}

.glyco-neon-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glyco-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.glyco-input-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--glyco-text-light);
}

.glyco-text-input,
.glyco-textarea-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: none;
  border-bottom: 2px solid var(--glyco-border-subtle);
  border-radius: 6px;
  color: #ffffff;
  font-family: var(--glyco-font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.glyco-text-input:focus,
.glyco-textarea-input:focus {
  outline: none;
  border-bottom-color: var(--glyco-neon-tone);
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.glyco-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0.5rem 0;
}

.glyco-custom-checkbox {
  accent-color: var(--glyco-neon-tone);
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
}

.glyco-checkbox-label {
  font-size: 0.88rem;
  color: var(--glyco-text-subtle);
  line-height: 1.4;
}

.glyco-inline-link {
  color: var(--glyco-neon-tone);
  text-decoration: underline;
}

.glyco-contact-email-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glyco-border-subtle);
  text-align: center;
  font-size: 0.9rem;
  color: var(--glyco-text-subtle);
}

/* Thank you page specific */
.glyco-success-check-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--glyco-neon-tone);
  color: var(--glyco-dark-bg);
  font-size: 2.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--glyco-neon-glow-lg);
}

/* Legal Documents Layout */
.glyco-legal-document-layout {
  padding: 6dvh 0;
}

.glyco-legal-paper {
  background: var(--glyco-surface-dark);
  border: 1px solid var(--glyco-border-subtle);
  border-radius: var(--glyco-radius-soft);
  padding: clamp(2rem, 5vw, 4rem);
  min-height: 70vh;
}

.glyco-legal-title {
  font-family: var(--glyco-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.glyco-legal-meta {
  color: var(--glyco-text-subtle);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--glyco-border-subtle);
}

.glyco-legal-section {
  margin-bottom: 2rem;
}

.glyco-legal-section h2 {
  font-family: var(--glyco-font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--glyco-neon-tone);
  margin-bottom: 1rem;
}

.glyco-legal-section p {
  color: var(--glyco-text-subtle);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.glyco-cookie-policy-block {
  background: rgba(0, 242, 254, 0.03);
  border: 1px solid var(--glyco-border-neon);
  border-radius: var(--glyco-radius-soft);
  padding: 1.8rem;
  margin-top: 2rem;
}

/* Footer Base */
.glyco-footer-base {
  background-color: #04060b;
  border-top: 1px solid var(--glyco-border-subtle);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.glyco-footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.glyco-footer-nav {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.glyco-footer-link {
  color: var(--glyco-text-subtle);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.glyco-footer-link:hover {
  color: var(--glyco-neon-tone);
}

.glyco-disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--glyco-border-subtle);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.glyco-disclaimer-text {
  font-size: 0.85rem;
  color: var(--glyco-text-subtle);
}

.glyco-copyright-row {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.6);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Cookie Banner Component */
.glyco-cookie-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glyco-border-neon);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
  padding: 1.2rem 1.5rem;
}

.glyco-cookie-box {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.glyco-cookie-text {
  font-size: 0.92rem;
  color: var(--glyco-text-light);
  flex: 1 1 300px;
}

.glyco-cookie-buttons {
  display: flex;
  gap: 1rem;
}

.glyco-cookie-btn {
  padding: 0.55rem 1.4rem;
  border-radius: var(--glyco-radius-pill);
  font-family: var(--glyco-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.glyco-cookie-accept {
  background: var(--glyco-neon-tone);
  color: var(--glyco-dark-bg);
  border: none;
  box-shadow: var(--glyco-neon-glow-sm);
}

.glyco-cookie-accept:hover {
  box-shadow: var(--glyco-neon-glow-lg);
}

.glyco-cookie-decline {
  background: transparent;
  color: var(--glyco-text-subtle);
  border: 1px solid var(--glyco-border-subtle);
}

.glyco-cookie-decline:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* Viewport Animations (Scroll-driven reveal) */
@keyframes glyco-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .glyco-scroll-reveal {
    animation: glyco-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
  }
}

/* Responsive Rules */
@media (max-width: 868px) {
  .glyco-narrative-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .glyco-nav-link-box {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: #070a12;
    border-bottom: 1px solid var(--glyco-border-subtle);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 998;
  }

  .glyco-drawer-trigger {
    display: flex;
  }

  .glyco-drawer-input:checked ~ .glyco-nav-link-box {
    transform: translateY(0);
  }

  .glyco-footer-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .glyco-form-card-container {
    padding: 1.5rem 1.2rem;
  }

  .glyco-hero-billboard {
    padding: 3rem 1rem;
  }

  .glyco-cookie-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .glyco-cookie-buttons {
    width: 100%;
  }

  .glyco-cookie-btn {
    flex: 1;
    text-align: center;
  }
}