/* ===========================
   Helmuvra - style.css
   Dot Grid Pattern / Technical Precise
   =========================== */


:root {
  --color-bg: #f5f6f8;
  --color-bg-card: #ffffff;
  --color-bg-nav: #0f1117;
  --color-bg-footer: #0f1117;
  --color-text-primary: #1a1d27;
  --color-text-secondary: #4a5068;
  --color-text-muted: #7c839e;
  --color-text-light: #f0f1f5;
  --color-accent-teal: #0ea5a0;
  --color-accent-teal-light: #e0f7f6;
  --color-accent-indigo: #4f46e5;
  --color-accent-indigo-light: #eef2ff;
  --color-accent-amber: #d97706;
  --color-accent-amber-light: #fef3c7;
  --color-accent-rose: #e11d48;
  --color-accent-rose-light: #fff1f2;
  --color-border: #e2e5ef;
  --color-dot: #a0a8c0;

  --shadow-sm: 0 1px 3px rgba(15,17,23,0.06), 0 1px 2px rgba(15,17,23,0.04);
  --shadow-md: 0 4px 12px rgba(15,17,23,0.08), 0 2px 4px rgba(15,17,23,0.05);
  --shadow-lg: 0 10px 30px rgba(15,17,23,0.10), 0 4px 8px rgba(15,17,23,0.06);
  --shadow-teal: 0 8px 24px rgba(14,165,160,0.18), 0 2px 6px rgba(14,165,160,0.10);
  --shadow-indigo: 0 8px 24px rgba(79,70,229,0.15), 0 2px 6px rgba(79,70,229,0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --nav-height: 68px;
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.canvas {
  background-color: var(--color-bg);
  background-image: radial-gradient(circle, var(--color-dot) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease, opacity 0.3s ease; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }


.nav-dark {
  background-color: var(--color-bg-nav);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}
.nav-logo:hover { opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.25s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.08); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


.drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--color-bg-nav);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.drawer.open {
  opacity: 1;
  visibility: visible;
}

.drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-md);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-lg);
}

.drawer-close {
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: color 0.25s, background 0.25s;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close:hover { color: #fff; background: rgba(255,255,255,0.08); }

.drawer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.drawer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  min-height: 88px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.drawer-item i { font-size: 1.3rem; color: var(--color-accent-teal); }
.drawer-item:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}


.stage {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-nav);
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) var(--space-md);
}

.stage-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(160,168,192,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.stage-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  flex: 1;
  margin: 0 auto;
  padding-right: var(--space-lg);
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,160,0.15);
  border: 1px solid rgba(14,165,160,0.25);
  color: #4fd1cc;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: var(--space-md);
  letter-spacing: 0.03em;
}

.stage-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.stage-title-accent {
  background: linear-gradient(135deg, #0ea5a0, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stage-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

.stage-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.stage-visual {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  z-index: 2;
}

.stage-card-float {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-teal), 0 0 60px rgba(14,165,160,0.12);
  max-width: 480px;
  width: 100%;
}

.stage-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.stage-card-tag {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(8px);
  color: #4fd1cc;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(14,165,160,0.25);
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0ea5a0, #0891b2);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  box-shadow: var(--shadow-teal);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14,165,160,0.28), 0 4px 8px rgba(14,165,160,0.15);
  opacity: 0.95;
}
.btn-primary.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.88rem; }
.btn-primary.btn-lg { padding: 0.95rem 1.8rem; font-size: 1rem; }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.88rem; }


.shelf .btn-ghost {
  color: var(--color-text-secondary);
  border-color: var(--color-border);
}
.shelf .btn-ghost:hover {
  background: var(--color-bg);
  color: var(--color-text-primary);
  border-color: var(--color-accent-teal);
}


.shelf {
  padding: var(--space-2xl) var(--space-md);
  position: relative;
}

.shelf-inner {
  max-width: 1200px;
  margin: 0 auto;
}


.shelf-indent-1 .shelf-inner { max-width: 1160px; }
.shelf-indent-2 .shelf-inner { max-width: 1120px; }
.shelf-indent-3 .shelf-inner { max-width: 1080px; }
.shelf-indent-4 .shelf-inner { max-width: 1040px; }

.shelf-indent-1 { background: rgba(255,255,255,0.55); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.shelf-indent-2 { background: rgba(255,255,255,0.70); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.shelf-indent-3 { background: rgba(255,255,255,0.82); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.shelf-indent-4 { background: rgba(255,255,255,0.92); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }

.shelf-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-teal);
  flex-shrink: 0;
}
.label-dot-teal { background: var(--color-accent-teal); }
.label-dot-indigo { background: var(--color-accent-indigo); }
.label-dot-amber { background: var(--color-accent-amber); }
.label-dot-rose { background: var(--color-accent-rose); }

.shelf-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.shelf-body {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: var(--space-sm);
  max-width: 560px;
}

.shelf-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
.shelf-header .shelf-title { margin-bottom: 0; }


.gallery { display: grid; gap: var(--space-md); }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-topics { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-sm); }

.gallery-split {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
}
.gallery-split-reverse { direction: rtl; }
.gallery-split-reverse > * { direction: ltr; }

.gallery-text { display: flex; flex-direction: column; justify-content: center; }
.gallery-visual { position: relative; }
.gallery-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.gallery-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--color-accent-amber);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(217,119,6,0.3);
}


.spotlight {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.spotlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.spotlight-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}

.spotlight-teal .spotlight-icon { background: var(--color-accent-teal-light); color: var(--color-accent-teal); }
.spotlight-indigo .spotlight-icon { background: var(--color-accent-indigo-light); color: var(--color-accent-indigo); }
.spotlight-amber .spotlight-icon { background: var(--color-accent-amber-light); color: var(--color-accent-amber); }
.spotlight-rose .spotlight-icon { background: var(--color-accent-rose-light); color: var(--color-accent-rose); }

.spotlight h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.spotlight p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}


.topic-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-teal);
}

.topic-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent-teal-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-teal);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.topic-content h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.topic-content p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}


.blog-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img-wrap {
  position: relative;
  overflow: hidden;
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }

.blog-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-bg-nav);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.blog-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent-teal);
  font-size: 0.875rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap 0.25s ease, color 0.25s ease;
}
.blog-card-link:hover {
  color: var(--color-accent-indigo);
  gap: 10px;
}


.stage-cta {
  background: linear-gradient(135deg, var(--color-bg-nav) 0%, #1a1d3e 100%);
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
}
.stage-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.stage-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stage-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stage-cta-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}


.contact-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-accent-teal-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-teal);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}
.contact-card a {
  color: var(--color-accent-teal);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.25s;
}
.contact-card a:hover { color: var(--color-accent-indigo); }
.contact-card p, .contact-card span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}


.footer-dark {
  background: var(--color-bg-footer);
  padding: var(--space-2xl) var(--space-md) 0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { margin-bottom: var(--space-sm); }
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-nav h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: color 0.25s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}


.page-hero {
  background: var(--color-bg-nav);
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.page-hero-accent { background: linear-gradient(135deg, #0f1117 0%, #1a0f2e 100%); }
.page-hero-legal { background: linear-gradient(135deg, #0f1117 0%, #0f1f2e 100%); }

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}


.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--color-bg-nav);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.25s ease;
  z-index: 200;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-accent-teal);
  box-shadow: var(--shadow-teal);
}


.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}


@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.stage .reveal-item:nth-child(1) { animation: fadeSlideUp 0.7s ease 0.1s both; }
.stage .reveal-item:nth-child(2) { animation: fadeSlideUp 0.7s ease 0.25s both; }
.stage .reveal-item:nth-child(3) { animation: fadeSlideUp 0.7s ease 0.4s both; }
.stage .reveal-item:nth-child(4) { animation: fadeSlideUp 0.7s ease 0.55s both; }
.stage .reveal-item:nth-child(5) { animation: fadeSlideUp 0.7s ease 0.7s both; }


.profile-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.profile-card-yes { border-top: 3px solid #10b981; }
.profile-card-no { border-top: 3px solid #f43f5e; }

.profile-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.profile-card-header h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.profile-icon-green { background: #d1fae5; color: #059669; }
.profile-icon-red { background: #ffe4e6; color: #e11d48; }

.profile-list { display: flex; flex-direction: column; gap: 12px; }
.profile-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.profile-list .fa-circle-check { color: #10b981; flex-shrink: 0; margin-top: 3px; }
.profile-list .fa-circle-xmark { color: #f43f5e; flex-shrink: 0; margin-top: 3px; }


.persona-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.persona-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.persona-img { width: 100%; height: 200px; object-fit: cover; }
.persona-body { padding: var(--space-md); }
.persona-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.persona-body p { font-size: 0.875rem; color: var(--color-text-secondary); line-height: 1.65; }


.article-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.article-featured-img { position: relative; height: 100%; }
.article-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
.article-featured-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-accent-amber);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}
.article-featured-body {
  padding: var(--space-xl);
}
.article-featured-body h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}
.article-featured-body p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.article-meta i { color: var(--color-accent-teal); }
.article-meta-sm { margin-bottom: 8px; }


.do-dont-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.do-card { border-top: 3px solid #10b981; }
.dont-card { border-top: 3px solid #f43f5e; }

.do-dont-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}
.do-dont-header i { font-size: 1.2rem; }
.do-card .do-dont-header i { color: #10b981; }
.dont-card .do-dont-header i { color: #f43f5e; }
.do-dont-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.do-dont-card ul { display: flex; flex-direction: column; gap: 10px; }
.do-dont-card li {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.do-dont-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
}


.template-box {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.template-header {
  background: var(--color-bg-nav);
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
}
.template-header i { color: #4fd1cc; font-size: 1.1rem; }
.template-body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); }
.template-q {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}
.template-q-optional { opacity: 0.7; }
.template-num {
  width: 28px;
  height: 28px;
  background: var(--color-accent-teal);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.template-num-opt { background: var(--color-text-muted); }
.template-q strong { font-size: 0.9rem; color: var(--color-text-primary); display: block; margin-bottom: 2px; }
.template-q p { font-size: 0.8rem; color: var(--color-text-muted); }
.template-footer {
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-accent-teal-light);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-accent-teal);
  font-weight: 500;
}


.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: var(--space-md); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.req { color: var(--color-accent-rose); }

.form-group input,
.form-group textarea {
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-primary);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-teal);
  box-shadow: 0 0 0 3px rgba(14,165,160,0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent-teal);
  flex-shrink: 0;
  cursor: pointer;
}
.form-check label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  cursor: pointer;
}
.form-check a {
  color: var(--color-accent-teal);
  text-decoration: underline;
}

.contact-info-wrap { display: flex; flex-direction: column; }
.contact-info-list { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  box-shadow: var(--shadow-sm);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent-teal-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-teal);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-info-item strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
}
.contact-info-item a {
  color: var(--color-accent-teal);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.25s;
}
.contact-info-item a:hover { color: var(--color-accent-indigo); }
.contact-info-item span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}


.timeline-contact {
  display: flex;
  flex-direction: column;
  max-width: 640px;
}
.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}
.timeline-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 2px solid;
}
.timeline-icon-done {
  background: var(--color-accent-teal-light);
  color: var(--color-accent-teal);
  border-color: var(--color-accent-teal);
}
.timeline-icon-active {
  background: var(--color-accent-indigo-light);
  color: var(--color-accent-indigo);
  border-color: var(--color-accent-indigo);
}
.timeline-icon-pending {
  background: var(--color-bg);
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.timeline-body { padding-bottom: var(--space-sm); }
.timeline-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.timeline-body p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
}
.timeline-time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent-teal);
  background: var(--color-accent-teal-light);
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
}

.timeline-connector {
  width: 2px;
  height: 40px;
  background: var(--color-border);
  margin-left: 23px;
  margin-top: 4px;
  margin-bottom: 4px;
}


.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}


.thanks-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
}
.thanks-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.thanks-icon {
  font-size: 4rem;
  color: var(--color-accent-teal);
  margin-bottom: var(--space-md);
  animation: fadeSlideUp 0.6s ease both;
}
.thanks-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}
.thanks-sub {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}
.thanks-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: var(--space-xl);
  flex-wrap: nowrap;
}
.thanks-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.thanks-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 2px solid;
}
.thanks-step-done .thanks-step-icon {
  background: var(--color-accent-teal-light);
  color: var(--color-accent-teal);
  border-color: var(--color-accent-teal);
}
.thanks-step-current .thanks-step-icon {
  background: var(--color-accent-teal);
  color: #fff;
  border-color: var(--color-accent-teal);
  box-shadow: var(--shadow-teal);
}
.thanks-step-pending .thanks-step-icon {
  background: var(--color-bg);
  color: var(--color-text-muted);
  border-color: var(--color-border);
}
.thanks-step-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.thanks-step-body strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-primary);
}
.thanks-step-body span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.thanks-connector {
  flex: 0 0 40px;
  height: 2px;
  background: var(--color-border);
  margin-bottom: 40px;
}
.thanks-connector-done { background: var(--color-accent-teal); }


.legal-section { padding-top: var(--space-xl); }
.legal-inner { max-width: 860px; }

.legal-intro {
  background: var(--color-accent-indigo-light);
  border-left: 3px solid var(--color-accent-indigo);
  padding: var(--space-md);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-xl);
}
.legal-intro p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

.accordion-legal { display: flex; flex-direction: column; gap: 8px; }

.accordion-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: var(--space-sm);
  transition: background 0.25s;
}
.accordion-trigger:hover { background: var(--color-bg); }

.accordion-icon {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-icon { transform: rotate(180deg); }

.accordion-body {
  padding: 0 var(--space-lg) var(--space-lg);
  display: none;
}
.accordion-item.active .accordion-body { display: block; }

.accordion-body p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}
.accordion-body p:last-child { margin-bottom: 0; }
.accordion-body ul {
  list-style: disc;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.accordion-body li {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.accordion-body strong { color: var(--color-text-primary); }


.cookie-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--color-border);
  box-shadow: -8px 0 40px rgba(15,17,23,0.14);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.cookie-panel.visible { transform: translateX(0); }

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,17,23,0.45);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.cookie-overlay.visible { opacity: 1; visibility: visible; }

.cookie-header {
  padding: var(--space-lg) var(--space-md) var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-header i {
  font-size: 1.3rem;
  color: var(--color-accent-teal);
}
.cookie-header h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.cookie-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cookie-body p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}
.cookie-body a {
  color: var(--color-accent-teal);
  text-decoration: underline;
}

.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}
.cookie-category:last-of-type { border-bottom: none; }

.cookie-cat-info { flex: 1; }
.cookie-cat-info strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}
.cookie-cat-info span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s;
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--color-accent-teal); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.5; cursor: not-allowed; }

.cookie-footer {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cookie-btn-accept {
  background: linear-gradient(135deg, #0ea5a0, #0891b2);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.25s;
  width: 100%;
}
.cookie-btn-accept:hover { opacity: 0.9; transform: translateY(-1px); }
.cookie-btn-reject {
  background: transparent;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  width: 100%;
}
.cookie-btn-reject:hover { background: var(--color-bg); color: var(--color-text-primary); }


.stage-curtain {
  display: none;
}
.stage-curtain.open {
  display: flex;
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,17,23,0.65);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  display: none;
  animation: fadeIn 0.3s ease;
}
.modal-overlay.open { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-xl);
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(15,17,23,0.2);
  animation: slideUp 0.35s cubic-bezier(0.16,1,0.3,1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s;
}
.modal-close:hover { background: var(--color-accent-rose-light); color: var(--color-accent-rose); }

.modal-tag {
  display: inline-block;
  background: var(--color-bg-nav);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.modal-box h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.modal-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}
.modal-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: var(--space-md);
  margin-bottom: 6px;
}


@media (max-width: 1024px) {
  .gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .article-featured { grid-template-columns: 1fr; }
  .article-featured-img img { min-height: 240px; }
  .article-featured-body { padding: var(--space-lg); }
}

@media (max-width: 768px) {
  :root { --space-2xl: 4rem; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .stage {
    flex-direction: column;
    min-height: auto;
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-lg);
  }
  .stage-content { padding-right: 0; max-width: 100%; }
  .stage-visual { justify-content: center; width: 100%; }
  .stage-card-float { max-width: 100%; }
  .stage-img { height: 260px; }

  .gallery-4 { grid-template-columns: 1fr; }
  .gallery-3 { grid-template-columns: 1fr; }
  .gallery-2 { grid-template-columns: 1fr; }
  .gallery-split { grid-template-columns: 1fr; gap: var(--space-lg); }
  .gallery-split-reverse { direction: ltr; }

  .shelf-indent-1 .shelf-inner,
  .shelf-indent-2 .shelf-inner,
  .shelf-indent-3 .shelf-inner,
  .shelf-indent-4 .shelf-inner { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: var(--space-lg); }

  .cookie-panel { width:
300px; }

  .thanks-timeline { gap: 0; }

  .article-featured { grid-template-columns: 1fr; }

  .shelf-header { flex-direction: column; align-items: flex-start; }

  .modal-box { padding: var(--space-lg); }
}

@media (max-width: 480px) {
  :root { --space-2xl: 3rem; }

  .stage-title { font-size: 2rem; }
  .stage-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

  .drawer-grid { grid-template-columns: 1fr 1fr; }

  .cookie-panel { width: 100%; border-left: none; border-top: 1px solid var(--color-border); top: auto; bottom: 0; height: auto; max-height: 85vh; transform: translateY(100%); }
  .cookie-panel.visible { transform: translateY(0); }

  .thanks-timeline { flex-direction: column; align-items: center; gap: var(--space-sm); }
  .thanks-connector { width: 2px; height: 32px; flex: 0 0 32px; margin-bottom: 0; }
}