:root {
  color-scheme: dark;
  /* Flash message defaults (overridden in media queries) */
  --flash-top: 4.5rem;
  --flash-side: 1rem;
  --flash-radius: 10px;
  --flash-font-size: 1rem;
  --flash-padding-y: 0.75rem;
  --flash-padding-x: 1rem;

  --bg-dark: #0f0f0f;
  --bg-card: #151515;
  --bg-soft: #101010;
  --text-light: #e7e7e7;
  --text-muted: #9ca3af;
  --accent: #4bc2ff;
  --accent-soft: rgba(75, 194, 255, 0.12);
  --bg-base: #020617;
  --panel-bg: rgba(15, 23, 42, 0.96);
  --panel-border: 1px solid rgba(31, 41, 55, 0.9);
  --page-bg-image: url("../images/tech-bg.31e8a622178a.webp");
  --page-bg-overlay: linear-gradient(
    180deg,
    rgba(111, 124, 154, 0.55),
    rgba(115, 127, 154, 0.38)
  );
  --page-shell-overlay: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.522),
    rgb(255, 255, 255)
  );
  --page-shell-glass: rgba(10, 15, 27, 0.55);
  --panel-radius: 0.9rem;
  --border-soft: rgba(148, 163, 184, 0.6);
  --border-strong: rgba(148, 163, 184, 0.9);
  --radius: 0.9rem;
  --shadow-soft: 0 1.4rem 3rem rgba(0, 0, 0, 0.6);
  --space-page: clamp(1rem, 1.8vw + 0.6rem, 1.75rem);
  --space-section: clamp(1.1rem, 1.6vw + 0.7rem, 1.6rem);
  --space-gap: clamp(1.05rem, 1vw + 0.6rem, 1.5rem);
  --topnav-offset: clamp(3.95rem, 4.2vw + 0.2rem, 4.95rem);
  --page-shell-content-top-padding: calc(var(--space-page) + 2.75rem);
  --page-shell-topnav-padding: calc(var(--topnav-offset) + 3rem);
  --page-shell-inline-padding: clamp(1.2rem, 4vw, 3rem);
  --page-shell-bottom-padding: var(--space-page);
  --page-shell-max-width: 1480px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg-dark: #f3f4f8;
  --bg-card: #ffffff;
  --bg-soft: #ffffff;
  --text-light: #0f172a;
  --text-muted: #475569;
  --accent: #4bc2ff;
  --accent-soft: rgba(75, 194, 255, 0.16);
  --bg-base: #f7f7fb;
  --panel-bg: rgba(255, 255, 255, 0.92);
  --panel-border: 1px solid rgba(148, 163, 184, 0.35);
  --page-bg-image: none;
  --page-bg-overlay: linear-gradient(
    180deg,
    rgba(222, 220, 222, 1),
    rgba(222, 220, 222, 1)
  );
  --page-shell-overlay: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.36),
    rgba(148, 163, 184, 0.12)
  );
  --page-shell-glass: rgba(255, 255, 255, 0.7);
  --border-soft: rgba(148, 163, 184, 0.55);
  --border-strong: rgba(148, 163, 184, 0.75);
  --radius: 0.9rem;
  --shadow-soft: 0 1.1rem 2.4rem rgba(15, 23, 42, 0.16);
}

:root[data-theme="light"] body::before {
  background: linear-gradient(180deg, var(--bg-base), var(--bg-base));
  opacity: 0.12;
  filter: none;
}

.flash-container {
  position: fixed;
  top: var(--flash-top);
  right: var(--flash-side);
  z-index: 2000;
  display: grid;
  gap: 0.5rem;
}

.flash {
  padding: var(--flash-padding-y) var(--flash-padding-x);
  border-radius: var(--flash-radius);
  color: #0b1727;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  font-size: var(--flash-font-size);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.flash--success {
  background: #dcfce7;
  border-color: #bbf7d0;
  color: #14532d;
}

.flash--error {
  background: #fee2e2;
  border-color: #fecaca;
  color: #7f1d1d;
}

.flash--warning {
  background: #fef9c3;
  border-color: #fef08a;
  color: #713f12;
}

.flash--info {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0b1727;
}

@media (max-width: 640px) {
  :root {
    --flash-top: 5.5rem;
    --flash-side: 0.75rem;
    --flash-padding-y: 0.85rem;
    --flash-padding-x: 1rem;
    --flash-font-size: 0.98rem;
  }
  .flash {
    width: 100%;
  }
}

@media (max-width: 320px) {
  :root {
    --flash-top: 5.8rem;
    --flash-side: 0.5rem;
    --flash-padding-y: 0.8rem;
    --flash-padding-x: 0.9rem;
    --flash-font-size: 0.9rem;
  }
}

@media (max-width: 200px) {
  :root {
    --flash-top: 6rem;
    --flash-side: 0.35rem;
    --flash-padding-y: 0.72rem;
    --flash-padding-x: 0.8rem;
    --flash-font-size: 0.82rem;
    --flash-radius: 9px;
  }
}

:root[data-theme="light"] header.hero {
  background: var(--bg-base);
  border-color: transparent;
  box-shadow: none;
}

:root[data-theme="light"] .hero-fold-toggle {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.86),
    rgba(255, 255, 255, 0.7)
  );
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.7);
  box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .hero-card {
  background:
    radial-gradient(
      circle at 10% 0,
      rgba(148, 163, 184, 0.18),
      transparent 60%
    ),
    linear-gradient(145deg, #f5f6f8, #eef2f7);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.14);
}

:root[data-theme="light"] .section {
  background: transparent;
  border: none;
  box-shadow: none;
}

:root[data-theme="light"] .service-card,
:root[data-theme="light"] .price-card,
:root[data-theme="light"] .step-card,
:root[data-theme="light"] .manual-card,
:root[data-theme="light"] .contact-text,
:root[data-theme="light"] .contact-card {
  background: rgba(244, 245, 248, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 0.9rem 1.6rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .contact-notice {
  background:
    linear-gradient(
      120deg,
      rgba(148, 163, 184, 0.18),
      rgba(148, 163, 184, 0.14)
    ),
    #f5f6f8;
  color: var(--text-light);
}

:root[data-theme="light"] .calendar-day {
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-light);
}

:root[data-theme="light"] .calendar-day.calendar-free {
  background: rgba(34, 197, 94, 0.18);
  color: #e8ffe8;
}

:root[data-theme="light"] .calendar-day.calendar-busy {
  background: rgba(59, 130, 246, 0.08);
}

:root[data-theme="light"] .calendar-day.calendar-unavailable {
  background: rgba(148, 163, 184, 0.18);
  color: #9ca3af;
}

:root[data-theme="light"] .calendar-day.calendar-holiday,
:root[data-theme="light"] .calendar-day.calendar-sunday {
  border-color: rgba(148, 163, 184, 0.6);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.3);
}

:root[data-theme="light"] .calendar-modal__dialog,
:root[data-theme="light"] .calendar-tooltip__item {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--text-light);
}

:root[data-theme="light"] .calendar-modal__list li {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--text-light);
}

:root[data-theme="light"] .calendar-tooltip__item {
  color: var(--text-light);
}

:root[data-theme="light"] .badge-soft {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .btn-ghost {
  background: #f8fafc;
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .btn-ghost:hover {
  background: #eef2f7;
  border-color: var(--accent);
  box-shadow: 0 1.1rem 2.2rem rgba(56, 189, 248, 0.12);
}

:root[data-theme="light"] .lang-switcher,
:root[data-theme="light"] .lang-menu,
:root[data-theme="light"] .lang-option,
:root[data-theme="light"] .lang-inline button {
  background: #ffffff;
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .lang-option.active {
  background: var(--accent);
  color: #0b1224;
}

:root[data-theme="light"] .hero-fold-toggle,
:root[data-theme="light"] .section-fold-toggle {
  background: #f8fafc;
  color: var(--text-muted);
  border-color: rgba(148, 163, 184, 0.55);
}

:root[data-theme="light"] .availability-pill,
:root[data-theme="light"] .mobile-action-bar,
:root[data-theme="light"] .calendar-day,
:root[data-theme="light"] .calendar-modal__close {
  background: #ffffff;
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 0.9rem 1.6rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .contact-call {
  --contact-call-bg: #ffffff;
  --contact-call-border: rgba(148, 163, 184, 0.4);
  --contact-call-hover-bg: #eff6ff;
  --contact-call-hover-border: rgba(56, 189, 248, 0.45);
  color: var(--text-light);
  box-shadow: 0 0.9rem 1.6rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .contact-call--whatsapp {
  --contact-call-bg: linear-gradient(135deg, #ecfdf5, #dcfce7);
  --contact-call-border: rgba(22, 163, 74, 0.28);
  --contact-call-hover-bg: linear-gradient(135deg, #dcfce7, #bbf7d0);
  --contact-call-hover-border: rgba(22, 163, 74, 0.42);
}

:root[data-theme="light"] .contact-call--signal {
  --contact-call-bg: linear-gradient(135deg, #eff6ff, #dbeafe);
  --contact-call-border: rgba(37, 99, 235, 0.26);
  --contact-call-hover-bg: linear-gradient(135deg, #dbeafe, #bfdbfe);
  --contact-call-hover-border: rgba(37, 99, 235, 0.4);
}

:root[data-theme="light"] .contact-call--telegram {
  --contact-call-bg: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  --contact-call-border: rgba(2, 132, 199, 0.24);
  --contact-call-hover-bg: linear-gradient(135deg, #e0f2fe, #bae6fd);
  --contact-call-hover-border: rgba(2, 132, 199, 0.38);
}

:root[data-theme="light"] .contact-card--quickactions {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 36%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.96));
  border-color: rgba(148, 163, 184, 0.38);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .contact-card--quickactions .contact-call__body em {
  color: rgba(71, 85, 105, 0.88);
}

:root[data-theme="light"] .contact-card--quickactions .contact-call__glyph {
  background: rgba(226, 232, 240, 0.7);
  border-color: rgba(148, 163, 184, 0.38);
}

:root[data-theme="light"] .contact-card--quickactions .contact-call--email {
  --contact-call-bg: linear-gradient(135deg, #fff7ed, #ffedd5);
  --contact-call-border: rgba(249, 115, 22, 0.24);
  --contact-call-hover-bg: linear-gradient(135deg, #ffedd5, #fed7aa);
  --contact-call-hover-border: rgba(249, 115, 22, 0.38);
}

:root[data-theme="light"] .contact-card--quickactions .contact-call--phone {
  --contact-call-bg: linear-gradient(135deg, #f8fafc, #e2e8f0);
  --contact-call-border: rgba(100, 116, 139, 0.26);
  --contact-call-hover-bg: linear-gradient(135deg, #eef2f7, #dbe4ef);
  --contact-call-hover-border: rgba(71, 85, 105, 0.38);
}

:root[data-theme="light"] .mobile-action-bar {
  border-top-color: rgba(148, 163, 184, 0.35);
}

:root[data-theme="light"] .hero-card-avatar::after {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.45);
  color: var(--text-light);
  box-shadow: 0 0.6rem 1.4rem rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .service-card::before,
:root[data-theme="light"] .step-card::before {
  color: rgba(59, 130, 246, 0.22);
}

:root[data-theme="light"] .legal-section {
  background: linear-gradient(145deg, #f7f9fb, #eef1f6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 1rem 1.8rem rgba(15, 23, 42, 0.1);
}

:root[data-theme="light"] .legal-list {
  color: var(--text-light);
}

:root[data-theme="light"] .legal-callout {
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.08);
  color: #0f172a;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 17px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg-base);
  position: relative;
  isolation: isolate;
  color: var(--text-light);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-x: hidden;
}

.has-topnav {
  padding-top: calc(var(--topnav-offset) + 1rem);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  transform: none;
  filter: none;
  z-index: -1;
  pointer-events: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.page-shell {
  width: 100%;
  max-width: var(--page-shell-max-width);
  margin: 0 auto;
  --page-shell-effective-top-padding: var(--page-shell-content-top-padding);
  padding: var(--page-shell-effective-top-padding)
    var(--page-shell-inline-padding) var(--page-shell-bottom-padding);
  box-sizing: border-box;
}

.page-shell.has-topnav {
  --page-shell-effective-top-padding: calc(
    var(--page-shell-topnav-padding) + 1rem
  );
}

.topnav {
  overflow: hidden;
  background: var(--bg-base);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.25) inset;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.2rem, 1.4vw, 0.5rem);
  padding: 0 0.65rem;
}

.topnav a:not(.nav-cube-link),
.topnav .lang-wrapper {
  float: none;
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 9px 12px;
  white-space: nowrap;
  line-height: 1.2;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
  text-align: center;
  position: relative;
}

.topnav .auth-cta {
  border-radius: 10px;
  padding: 7px 11px;
  line-height: 1.2;
  margin: 3px 5px;
}

.topnav .auth-cta--login {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: var(--bg-base);
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.35);
}

.topnav .auth-cta--login:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.45);
}

.topnav .auth-cta--logout {
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-light);
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.45);
}

.topnav .auth-cta--logout:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.82);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.55);
}

.topnav a:not(.nav-cube-link)::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

@keyframes topnavUnderline {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="file"],
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-light);
  font-size: 1rem;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

:root[data-theme="light"] .form input[type="text"],
:root[data-theme="light"] .form input[type="email"],
:root[data-theme="light"] .form input[type="password"],
:root[data-theme="light"] .form input[type="file"],
:root[data-theme="light"] .form select,
:root[data-theme="light"] .form textarea {
  background: #fff;
  border-color: rgba(148, 163, 184, 0.55);
  color: var(--text-dark);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form button[type="submit"] {
  margin-top: 0.9rem;
}
.topnav::after {
  content: "";
  display: block;
  clear: both;
}

.topnav a:not(.nav-cube-link):hover {
  color: #dbeafe;
  text-decoration: none;
}

.topnav a:not(.nav-cube-link):hover::after,
.topnav a:not(.nav-cube-link):focus-visible::after {
  animation: topnavUnderline 0.25s ease forwards;
}

.topnav a:not(.nav-cube-link).active {
  background: transparent;
  color: #dbeafe;
  box-shadow: none;
}

.topnav a:not(.nav-cube-link).active::after {
  transform: scaleX(1);
  opacity: 1;
}

.topnav .icon {
  display: none;
  margin-left: auto;
  padding: 8px 10px;
  background: transparent;
  border: none;
  outline: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
}

.burger-line {
  width: 24px;
  height: 2.5px;
  background: var(--text-light);
  border-radius: 999px;
  transition:
    transform 0.35s ease,
    opacity 0.3s ease,
    width 0.3s ease;
}

.burger.change .burger-line:nth-child(1) {
  transform: translateY(9px) rotate(-45deg);
}

.burger.change .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.change .burger-line:nth-child(3) {
  transform: translateY(-9px) rotate(45deg);
}

.topnav .lang-wrapper {
  position: relative;
  margin: 0;
  padding: 0;
}

.topnav .lang-switcher {
  color: var(--text-light);
  font-size: 13px;
  background: transparent;
  border: none;
  padding: 0;
}

.topnav .lang-current {
  background: var(--text-light);
  color: var(--bg-base);
  padding: 0.18rem 0.5rem;
  border-radius: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

@media screen and (min-width: 426px) {
  .topnav {
    padding: 0 0.3rem 0 5.95rem;
  }
  .topnav a:not(.nav-cube-link),
  .topnav .lang-wrapper {
    padding: 10px 13px;
    font-size: 15px;
  }
  .topnav .icon {
    padding: 10px 13px;
  }
  .topnav .lang-current {
    padding: 0.18rem 0.5rem;
  }
}

@media (min-width: 45rem) and (max-width: 52rem) {
  .topnav {
    padding: 0 0.4rem 0 5rem;
    gap: 0.4rem;
  }
  .topnav a:not(.nav-cube-link),
  .topnav .lang-wrapper {
    padding: 8px 10px;
    font-size: 15px;
  }
  .nav-cube {
    transform: translateY(-0.01rem) scale(0.42);
  }
  .nav-cube-link {
    margin-right: 0.35rem;
  }
}

@media screen and (max-width: 800px) {
  .topnav a:not(.nav-cube-link),
  .topnav .lang-wrapper {
    display: none;
  }
  .topnav .icon {
    display: inline-flex;
  }
}

body.nav-open {
  overflow: hidden;
}

.sidenav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 11990;
  border: 0;
  padding: 0;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.sidenav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sidenav {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  pointer-events: none;
  visibility: hidden;
}

.sidenav.is-open {
  pointer-events: auto;
  visibility: visible;
}

.sidenav__panel {
  --sidenav-radius-xl: 1.35rem;
  --sidenav-radius-lg: 1.05rem;
  --sidenav-radius-md: 0.95rem;
  --sidenav-radius-pill: 999px;
  width: min(26rem, calc(100vw - 0.9rem));
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1rem;
  overflow-y: auto;
  background:
    radial-gradient(
      circle at top right,
      rgba(75, 194, 255, 0.16),
      transparent 32%
    ),
    linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(6, 10, 20, 0.98));
  border-right: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 1.2rem 0 3rem rgba(2, 6, 23, 0.48);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.sidenav.is-open .sidenav__panel {
  transform: translateX(0);
}

.sidenav__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.85rem;
  margin: -0.15rem 0 0.15rem;
  padding: 0.15rem 0 1rem;
  background: linear-gradient(
    180deg,
    rgba(8, 13, 24, 0.99),
    rgba(8, 13, 24, 0.88) 72%,
    transparent
  );
  border-radius: var(--sidenav-radius-xl) var(--sidenav-radius-xl) 0 0;
}

.sidenav__header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(125, 211, 252, 0.22),
    rgba(148, 163, 184, 0.06) 70%,
    transparent
  );
  pointer-events: none;
}

.sidenav__meta {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 1rem;
  border-radius: var(--sidenav-radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(
      circle at top right,
      rgba(125, 211, 252, 0.16),
      transparent 34%
    ),
    linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.46));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 1rem 2rem rgba(2, 6, 23, 0.18);
  overflow: hidden;
}

.sidenav__meta > * {
  position: relative;
  z-index: 1;
}

.sidenav__meta::after {
  content: "";
  position: absolute;
  inset: auto auto -3rem -3rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  filter: blur(12px);
}

.sidenav__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.28rem 0.55rem;
  border-radius: var(--sidenav-radius-pill);
  border: 1px solid rgba(125, 211, 252, 0.2);
  background: rgba(125, 211, 252, 0.08);
  color: #7dd3fc;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sidenav__title {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(1.45rem, 2vw + 0.9rem, 1.9rem);
  line-height: 1.1;
  text-wrap: balance;
}

.sidenav__subtitle {
  margin: 0.1rem 0 0;
  max-width: 28ch;
  color: #bfd1e6;
  font-size: 0.92rem;
  line-height: 1.5;
}

.sidenav__close {
  flex: 0 0 auto;
  width: 2.9rem;
  height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 0.1rem;
  border-radius: var(--sidenav-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.04)
    ),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0.8rem 1.6rem rgba(2, 6, 23, 0.16);
  color: #e2e8f0;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.sidenav__close:hover,
.sidenav__close:focus-visible {
  transform: translateY(-1px);
  background: rgba(75, 194, 255, 0.14);
  border-color: rgba(75, 194, 255, 0.45);
  outline: none;
}

.sidenav__content {
  display: grid;
  gap: 1rem;
}

.sidenav__section {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem;
  border-radius: var(--sidenav-radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.sidenav__section-label {
  margin: 0 0 0.15rem;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidenav a {
  position: relative;
  display: block;
  padding: 0.9rem 1rem;
  border-radius: var(--sidenav-radius-md);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.sidenav a:hover,
.sidenav a:focus-visible {
  color: #f8fafc;
  transform: translateY(-1px);
  background: rgba(75, 194, 255, 0.08);
  border-color: rgba(75, 194, 255, 0.22);
  box-shadow: 0 0.9rem 1.6rem rgba(2, 6, 23, 0.22);
  outline: none;
}

.sidenav a.active {
  background:
    linear-gradient(135deg, rgba(75, 194, 255, 0.18), rgba(56, 189, 248, 0.09)),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(75, 194, 255, 0.35);
  color: #f8fafc;
  box-shadow: 0 0.85rem 1.8rem rgba(56, 189, 248, 0.12);
}

.sidenav a.active::before {
  content: "";
  position: absolute;
  top: 0.8rem;
  bottom: 0.8rem;
  left: 0.45rem;
  width: 0.18rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #7dd3fc, #38bdf8);
}

.sidenav .auth-cta {
  text-align: center;
  font-weight: 700;
}

.sidenav .auth-cta--login {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: var(--bg-base);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.35);
}

.sidenav .auth-cta--login:hover,
.sidenav .auth-cta--login:focus-visible {
  color: var(--bg-base);
  background: linear-gradient(135deg, #63ccff, #4bc2ff);
}

.sidenav .auth-cta--logout {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.22);
}

.sidenav__footer {
  margin-top: auto;
  padding-bottom: 0.25rem;
}

.sidenav a.btn-primary {
  width: 100%;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
}

.sidenav-lang {
  margin: 0 0 0.2rem;
}

.sidenav-lang .lang-wrapper {
  display: flex;
  width: 100%;
}

.sidenav-lang .lang-switcher {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0.35rem 0.9rem rgba(0, 0, 0, 0.25);
  padding: 0.7rem 0.85rem;
  border-radius: var(--sidenav-radius-md);
}

.sidenav-calendar {
  margin-top: 1.2rem;
  text-align: left;
  padding: 0.5rem 1rem 1rem;
}

.sidenav-calendar .section-kicker {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 700;
}

.sidenav-calendar .section-title {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.1rem;
  color: #e2e8f0;
}

.sidenav-calendar .section-intro {
  color: #cbd5e1;
  margin: 0.25rem 0 0.6rem;
}

.sidenav-calendar .btn-primary {
  width: 100%;
  text-align: center;
}

.sidenav-calendar .calendar-shell {
  margin-top: 0.6rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  padding: 0.8rem;
}

.sidenav-calendar .calendar-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.sidenav-calendar .legend-dot {
  width: 0.6rem;
  height: 0.6rem;
}

@media screen and (max-height: 450px) {
  .sidenav__panel {
    padding-top: 0.8rem;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-035 {
  margin-top: 0.35rem;
}

.mt-06 {
  margin-top: 0.6rem;
}

.mt-07 {
  margin-top: 0.7rem;
}

.mt-1 {
  margin-top: 1rem;
}

.btn-wrap {
  white-space: normal;
  text-align: center;
  width: 100%;
}

.card-grid.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 1rem;
  padding: 1.15rem;
  background: rgba(15, 23, 42, 0.65);
}

:root[data-theme="light"] .card {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.45);
}

.card-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.form-stacked label {
  display: block;
  margin: 0.4rem 0 0.2rem;
  font-weight: 600;
}

.form-stacked input,
.form-stacked textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-light);
}

:root[data-theme="light"] .form-stacked input,
:root[data-theme="light"] .form-stacked textarea {
  background: #ffffff;
  color: #0f172a;
}

.form-row.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
}

.form-error {
  color: #f87171;
  font-weight: 600;
  margin-top: 0.25rem;
}

.table-like {
  display: grid;
  gap: 0.45rem;
}

.table-head,
.table-row,
.table-subhead {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1.4fr 0.9fr;
  gap: 0.7rem;
  padding: 0.82rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

@media (max-width: 720px) {
  .table-head,
  .table-row,
  .table-subhead {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 0.45rem;
  }

  .table-head span:nth-child(3),
  .table-row span:nth-child(3) {
    grid-column: 1 / -1;
  }

  .table-head span:nth-child(4),
  .table-row span:nth-child(4) {
    grid-column: 1 / -1;
    text-align: left;
  }

  .table-actions {
    justify-content: flex-start;
  }
}

.table-head {
  font-weight: 800;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(148, 163, 184, 0.3);
}

.table-subhead {
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
}

.table-row {
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.65);
}

.table-row span:last-child {
  color: #cbd5e1;
}

.table-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 0.55rem;
  align-items: center;
}

.table-actions .link {
  font-weight: 700;
  color: #e0e7ff;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(99, 102, 241, 0.08);
  box-shadow: 0 6px 18px -10px rgba(79, 70, 229, 0.45);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.table-actions .link.danger {
  color: #fecdd3;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.4);
  box-shadow: 0 6px 18px -10px rgba(248, 113, 113, 0.55);
}

.table-actions .link:hover {
  transform: translateY(-1px);
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.35);
}

.table-actions .link.danger:hover {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(248, 113, 113, 0.48);
}

.muted {
  color: #94a3b8;
}

.gradient-card {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(79, 70, 229, 0.18),
      rgba(16, 24, 40, 0.06)
    ),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  border: 1.2px solid rgba(99, 102, 241, 0.28);
  box-shadow: 0 18px 38px -18px rgba(0, 0, 0, 0.55);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

:root[data-theme="light"] .gradient-card {
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(99, 102, 241, 0.12),
      rgba(99, 102, 241, 0.05)
    ),
    linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-color: rgba(148, 163, 184, 0.35);
}

.pill-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #e0e7ff;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.pill.muted-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}

:root[data-theme="light"] .pill {
  color: #312e81;
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.28);
}

:root[data-theme="light"] .pill.muted-pill {
  background: #eef2ff;
  border-color: rgba(148, 163, 184, 0.38);
  color: #475569;
}

.chip-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  /* margin-bottom: 0.15rem; */
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 12px 12px 0 0;
  background: rgba(99, 102, 241, 0.12);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.9rem;
}

.chip.muted-chip {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}

:root[data-theme="light"] .chip {
  background: rgba(99, 102, 241, 0.12);
  color: #312e81;
}

:root[data-theme="light"] .chip.muted-chip {
  background: #f8fafc;
  color: #475569;
}

:root[data-theme="light"] .table-head,
:root[data-theme="light"] .table-row,
:root[data-theme="light"] .table-subhead {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.26);
}

:root[data-theme="light"] .table-head {
  background: #f8fafc;
}

.card-head.inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.btn-quiet {
  border: 1px dashed var(--border-soft);
  background: transparent;
  color: var(--text-muted);
  padding: 0.65rem 0.9rem;
}

.dialog {
  border: none;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 18px 45px -24px rgba(20, 34, 70, 0.55);
  max-width: 460px;
  width: 90vw;
  background: var(--panel-bg);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

:root[data-theme="light"] .dialog {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.4);
}

.dialog::backdrop {
  background: rgba(18, 27, 56, 0.4);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

header.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
  padding: clamp(1.5rem, 2vw + 1rem, 2.8rem) 0
    clamp(0.9rem, 1vw + 0.6rem, 1.5rem);
  margin: 0 0 calc(var(--space-gap) + 0.2rem);
  border-radius: 0;
  background: var(--bg-base);
  box-shadow: none;
  border: none;
  position: relative;
  overflow: visible;
}

.hero::before {
  display: none;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.hero-surface {
  position: relative;
  display: grid;
  gap: 1.35rem;
  width: 100%;
  padding: clamp(1.15rem, 1vw + 1rem, 1.75rem);
  border-radius: 1.5rem;
  background: transparent;
  border: none;
  box-shadow: 0 1.35rem 2.8rem rgba(2, 6, 23, 0.22);
  overflow: hidden;
}

:root[data-theme="light"] .hero-surface {
  background: transparent;
  border: none;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.hero-head {
  display: grid;
  gap: clamp(0.7rem, 0.45rem + 0.7vw, 1rem);
  text-align: left;
  width: min(100%, 46rem);
  max-width: 46rem;
  min-width: 0;
  align-content: start;
}

.hero-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.45rem, 0.25rem + 0.6vw, 0.85rem);
  width: 100%;
  min-width: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  /* margin-bottom: 0.9rem; */
}

.hero-kicker span.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-base);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(14, 165, 233, 0.3);
}

.hero h1 {
  font-size: clamp(2.25rem, 1.1vw + 2.3rem, 3.35rem);
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0;
  width: 100%;
  max-width: none;
  align-self: stretch;
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hero h1 span.highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.2rem);
  color: var(--text-light);
  margin: 0;
  max-width: 40rem;
  min-width: 0;
  text-align: left;
  align-self: stretch;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-body {
  display: grid;
  gap: 1.2rem;
  text-align: left;
  align-self: stretch;
  margin-left: auto;
  margin-right: auto;
}

.hero-points {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  justify-items: start;
  max-width: 46rem;
}

.hero-points li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-light);
  justify-content: flex-start;
  line-height: 1.45;
}

.hero-points li span.icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
  margin-top: 0.08rem;
  flex-shrink: 0;
}

:root[data-theme="light"] .hero-points li span.icon {
  background: #e9ecf3;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: flex-start;
  width: auto;
}

.hero-actions--side {
  margin-top: 1rem;
}

.hero-actions--account {
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 0.5rem;
}

.hero-actions--account .btn-ghost {
  width: auto;
}

.hero-actions--account .login-chip--inline {
  justify-self: start;
  max-width: 100%;
  padding: 0.2rem 0.4rem;
  white-space: normal;
  line-height: 1.1;
  font-size: 0.65rem;
}

.btn-ghost {
  width: 100%;
  margin-bottom: 0;
}

@media (min-width: 48rem) {
  .hero-actions {
    justify-content: flex-start;
    gap: 1rem;
  }
  .hero-actions--side {
    grid-template-columns: 1fr;
    justify-content: flex-end;
  }
  .hero-actions--side.hero-actions--account {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 48rem) {
  .hero-surface {
    padding: 1.1rem 1rem;
    border-radius: 1.2rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }
}

.hero-actions .btn-primary {
  position: relative;
  isolation: isolate;
  padding: 0.95rem 2.1rem;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, #38bdf8, #bcf1e0, #1a5159);
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow:
    0 1.2rem 2.8rem rgba(79, 70, 229, 0.35),
    0 0 0 1px rgba(56, 189, 248, 0.35) inset;
  margin-left: 0;
  margin-right: 0;
}

.hero-actions .hero-primary-cta {
  padding: 0.95rem 1.55rem;
  border-radius: 1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 145, 178, 0.92)),
    linear-gradient(120deg, #38bdf8, #0f766e);
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow:
    0 1rem 2.2rem rgba(8, 47, 73, 0.28),
    0 0 0 1px rgba(186, 230, 253, 0.16) inset;
  animation: none;
}

.hero-actions .hero-primary-cta::after {
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.02) 46%,
    rgba(255, 255, 255, 0) 60%
  );
}

.hero-actions .hero-primary-cta:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(6, 182, 212, 0.95)),
    linear-gradient(120deg, #67e8f9, #0f766e);
  border-color: rgba(165, 243, 252, 0.72);
  box-shadow:
    0 1.4rem 3rem rgba(8, 47, 73, 0.34),
    0 0 0 1px rgba(186, 230, 253, 0.24) inset;
}

.hero-actions .hero-primary-cta:focus-visible {
  outline: 2px solid rgba(186, 230, 253, 0.9);
  outline-offset: 3px;
}

:root[data-theme="light"] .hero-actions .hero-primary-cta {
  color: #082f49;
  background:
    linear-gradient(
      135deg,
      rgba(240, 249, 255, 0.98),
      rgba(186, 230, 253, 0.96)
    ),
    linear-gradient(120deg, #e0f2fe, #67e8f9);
  border-color: rgba(14, 116, 144, 0.24);
  box-shadow:
    0 1rem 2rem rgba(14, 116, 144, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

:root[data-theme="light"] .hero-actions .hero-primary-cta:hover {
  color: #082f49;
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 1), rgba(165, 243, 252, 0.96)),
    linear-gradient(120deg, #cffafe, #22d3ee);
  border-color: rgba(14, 116, 144, 0.34);
  box-shadow:
    0 1.25rem 2.35rem rgba(14, 116, 144, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

.womens-day-section {
  margin-top: clamp(0.85rem, 1.2vw, 1.25rem);
}

.womens-day-section--page {
  margin-top: calc(var(--topnav-offset) * 0.26 + 1.15rem);
}

.page-shell > .womens-day-section:first-child {
  margin-top: calc(var(--topnav-offset) * 0.2 + 0.75rem);
}

.womens-day-page {
  display: grid;
  gap: clamp(1.1rem, 1.4vw, 1.8rem);
  width: 100%;
  padding-top: calc(var(--topnav-offset) * 0.55 + 1.6rem);
}

.womens-day-page__hero {
  display: grid;
  gap: 0.85rem;
  max-width: 62rem;
}

.womens-day-page__title {
  margin: 0;
  font-size: clamp(2rem, 1.4vw + 1.7rem, 3rem);
  line-height: 1.02;
  color: var(--text-light);
  text-wrap: balance;
}

.womens-day-page__intro {
  margin: 0;
  max-width: 52rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.womens-day-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.womens-day-page__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.2);
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 700;
}

.womens-day-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.75fr);
  gap: clamp(1rem, 1.5vw, 1.5rem);
  align-items: start;
}

.womens-day-page__aside {
  display: grid;
  gap: 0.95rem;
}

.womens-day-page__panel {
  display: grid;
  gap: 0.5rem;
  padding: 1.15rem 1.1rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    rgba(20, 18, 33, 0.62);
  border: 1px solid rgba(244, 114, 182, 0.16);
  box-shadow: 0 1rem 2rem rgba(20, 18, 33, 0.18);
}

.womens-day-page__panel-kicker {
  margin: 0;
  color: #f9a8d4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.womens-day-page__panel h2 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.25;
}

.womens-day-page__panel p:last-child {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (min-width: 72rem) {
  .womens-day-page {
    gap: 1.7rem;
    padding-top: calc(var(--topnav-offset) * 0.58 + 1.7rem);
  }

  .womens-day-page__hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 1.4rem;
    max-width: none;
  }

  .womens-day-page__title {
    font-size: clamp(2.5rem, 1vw + 2.1rem, 3.6rem);
    max-width: 14ch;
  }

  .womens-day-page__intro {
    max-width: 58rem;
    font-size: 1.08rem;
  }

  .womens-day-page__meta {
    justify-content: flex-end;
    align-self: center;
    max-width: 22rem;
  }

  .womens-day-page__layout {
    grid-template-columns: minmax(0, 1.75fr) minmax(20rem, 0.72fr);
    gap: 1.4rem;
  }

  .womens-day-page__aside {
    position: sticky;
    top: calc(var(--topnav-offset) + 1.2rem);
    gap: 1rem;
  }

  .womens-day-page__panel {
    padding: 1.2rem 1.15rem;
    border-radius: 1.3rem;
  }

  .womens-day-section--page {
    margin-top: 0;
  }

  .womens-day-section--page .womens-day-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(28rem, 35rem);
    min-height: 100%;
    padding: 1.55rem;
    border-radius: 2rem;
  }

  .womens-day-section--page .womens-day-copy {
    padding-right: 0.35rem;
  }

  .womens-day-section--page .womens-day-title {
    max-width: 12ch;
    font-size: clamp(2rem, 0.6vw + 1.8rem, 2.6rem);
  }

  .womens-day-section--page .womens-day-lead {
    font-size: 1.05rem;
    max-width: 34rem;
  }

  .womens-day-section--page .womens-day-effect {
    min-height: 31rem;
    border-radius: 1.6rem;
  }

  .womens-day-section--page .womens-day-actions .btn-primary {
    min-width: 14.5rem;
  }
}

@media (min-width: 90rem) {
  .womens-day-page {
    padding-top: calc(var(--topnav-offset) * 0.6 + 1.85rem);
  }

  .womens-day-page__layout {
    grid-template-columns: minmax(0, 1.9fr) minmax(21rem, 0.65fr);
  }

  .womens-day-section--page .womens-day-card {
    grid-template-columns: minmax(0, 1.14fr) minmax(30rem, 38rem);
    padding: 1.75rem;
  }

  .womens-day-section--page .womens-day-effect {
    min-height: 33rem;
  }
}

.womens-day-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 24rem);
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: center;
  padding: clamp(1.2rem, 2vw, 2rem);
  border-radius: 1.8rem;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 14%,
      rgba(253, 164, 175, 0.18),
      rgba(255, 255, 255, 0) 28%
    ),
    radial-gradient(
      circle at 92% 12%,
      rgba(250, 204, 21, 0.15),
      rgba(255, 255, 255, 0) 22%
    ),
    linear-gradient(
      135deg,
      rgba(35, 11, 46, 0.96),
      rgba(105, 23, 92, 0.88) 48%,
      rgba(67, 15, 42, 0.94)
    );
  border: 1px solid rgba(244, 114, 182, 0.26);
  box-shadow: 0 1.6rem 3.3rem rgba(38, 9, 29, 0.28);
}

.womens-day-card::before {
  content: "";
  position: absolute;
  inset: auto -5rem -6rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(253, 224, 71, 0.18),
    rgba(253, 224, 71, 0)
  );
  pointer-events: none;
}

.womens-day-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 78% 24%,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0) 28%
    ),
    linear-gradient(90deg, rgba(35, 11, 46, 0) 36%, rgba(35, 11, 46, 0.3)),
    url("https://images.unsplash.com/photo-1549048799-482af26246f3?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=80&w=1600");
  background-size: auto, auto, cover;
  background-position:
    center,
    center,
    right center;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.womens-day-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.95rem;
  align-content: center;
  min-width: 0;
}

.womens-day-kicker::before {
  color: #f9a8d4;
}

.womens-day-title {
  margin: 0;
  max-width: 18ch;
}

.womens-day-lead {
  margin: 0;
  max-width: 42rem;
  color: rgba(241, 245, 249, 0.9);
  font-size: 1rem;
  line-height: 1.7;
}

.womens-day-note {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(253, 186, 221, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.womens-day-note strong {
  color: #fde7f3;
}

.womens-day-note p {
  margin: 0;
  color: rgba(241, 245, 249, 0.86);
  font-size: 0.95rem;
  line-height: 1.6;
}

.womens-day-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.womens-day-actions .btn-primary {
  width: auto;
}

.womens-day-effect {
  --reveal: 54%;
  position: relative;
  min-height: 24rem;
  border-radius: 1.45rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #180f22;
  box-shadow:
    0 1.2rem 2.6rem rgba(20, 6, 17, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.womens-day-effect__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem;
  background:
    linear-gradient(180deg, rgba(16, 18, 31, 0.08), rgba(16, 18, 31, 0.32)),
    linear-gradient(160deg, rgba(48, 16, 61, 0.18), rgba(16, 37, 65, 0.22)),
    url("https://images.unsplash.com/photo-1680169281880-ef110a0b085c?auto=format&fit=crop&fm=jpg&ixlib=rb-4.1.0&q=80&w=1800");
  background-size: auto, auto, cover;
  background-position: center, center, center;
}

.womens-day-effect__layer::before,
.womens-day-effect__layer::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
}

.womens-day-effect__layer::before {
  left: 18%;
  bottom: 18%;
  width: 0.45rem;
  height: 42%;
  background: linear-gradient(
    180deg,
    rgba(134, 239, 172, 0.08),
    rgba(74, 222, 128, 0.9)
  );
  transform: rotate(-10deg);
}

.womens-day-effect__layer::after {
  right: 20%;
  bottom: 20%;
  width: 0.45rem;
  height: 38%;
  background: linear-gradient(
    180deg,
    rgba(134, 239, 172, 0.08),
    rgba(34, 197, 94, 0.86)
  );
  transform: rotate(8deg);
}

.womens-day-effect__layer--base {
  filter: grayscale(1) saturate(0.22) brightness(0.86);
}

.womens-day-effect__layer--reveal {
  width: var(--reveal);
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.womens-day-effect__split {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.womens-day-effect__split::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0.2rem;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(253, 224, 71, 0.95)
  );
  box-shadow: 0 0 1.1rem rgba(255, 255, 255, 0.45);
}

.womens-day-effect__knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0.8rem 1.8rem rgba(17, 24, 39, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
}

.womens-day-effect__knob::before,
.womens-day-effect__knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.85rem;
  height: 0.85rem;
  border-top: 2px solid rgba(255, 255, 255, 0.95);
  border-right: 2px solid rgba(255, 255, 255, 0.95);
}

.womens-day-effect__knob::before {
  left: 0.72rem;
  transform: translateY(-50%) rotate(225deg);
}

.womens-day-effect__knob::after {
  right: 0.72rem;
  transform: translateY(-50%) rotate(45deg);
}

.womens-day-effect__caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
  max-width: 16rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.15rem;
  background: rgba(9, 12, 23, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.womens-day-effect__date {
  display: inline-flex;
  width: fit-content;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.womens-day-effect__caption strong {
  color: #fff7fb;
  font-size: 1.3rem;
  line-height: 1.15;
}

.womens-day-effect__caption span:last-child {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  font-size: 0.95rem;
}

.womens-day-effect__hint {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(12, 18, 30, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.womens-day-effect__hint span {
  color: rgba(248, 250, 252, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

:root[data-theme="light"] .womens-day-card {
  background:
    radial-gradient(
      circle at 8% 14%,
      rgba(251, 207, 232, 0.42),
      rgba(255, 255, 255, 0) 28%
    ),
    radial-gradient(
      circle at 92% 12%,
      rgba(253, 224, 71, 0.22),
      rgba(255, 255, 255, 0) 22%
    ),
    linear-gradient(
      135deg,
      rgba(255, 248, 252, 0.98),
      rgba(254, 242, 248, 0.96) 46%,
      rgba(240, 249, 255, 0.98)
    );
  border-color: rgba(244, 114, 182, 0.2);
  box-shadow: 0 1.1rem 2.4rem rgba(190, 24, 93, 0.08);
}

:root[data-theme="light"] .womens-day-page__pill {
  color: #7a1744;
  background: rgba(244, 114, 182, 0.1);
  border-color: rgba(244, 114, 182, 0.18);
}

:root[data-theme="light"] .womens-day-page__panel {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.58)
    ),
    rgba(255, 255, 255, 0.72);
  border-color: rgba(244, 114, 182, 0.16);
  box-shadow: 0 1rem 2rem rgba(190, 24, 93, 0.08);
}

:root[data-theme="light"] .womens-day-page__panel h2 {
  color: #4a044e;
}

:root[data-theme="light"] .womens-day-page__panel p:last-child {
  color: #6b214f;
}

:root[data-theme="light"] .womens-day-card::after {
  opacity: 0.14;
  mix-blend-mode: multiply;
}

:root[data-theme="light"] .womens-day-lead {
  color: #4a044e;
}

:root[data-theme="light"] .womens-day-note {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(244, 114, 182, 0.18);
}

:root[data-theme="light"] .womens-day-note strong {
  color: #9d174d;
}

:root[data-theme="light"] .womens-day-note p {
  color: #6b214f;
}

:root[data-theme="light"] .womens-day-effect {
  border-color: rgba(190, 24, 93, 0.12);
  box-shadow:
    0 1rem 2rem rgba(190, 24, 93, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

:root[data-theme="light"] .womens-day-effect__caption {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.44);
}

:root[data-theme="light"] .womens-day-effect__hint {
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(190, 24, 93, 0.12);
}

:root[data-theme="light"] .womens-day-effect__hint span {
  color: #7a1744;
}

@media (max-width: 56rem) {
  .womens-day-page__layout {
    grid-template-columns: 1fr;
  }

  .womens-day-card {
    grid-template-columns: 1fr;
  }

  .womens-day-title {
    max-width: none;
  }

  .womens-day-effect {
    min-height: 21rem;
  }
}

@media (max-width: 36rem) {
  .womens-day-page__title {
    font-size: 1.7rem;
  }

  .womens-day-card {
    padding: 1rem;
    border-radius: 1.4rem;
  }

  .womens-day-effect {
    min-height: 18.5rem;
  }

  .womens-day-effect__layer {
    padding: 0.8rem;
  }

  .womens-day-effect__caption {
    max-width: 13.5rem;
    padding: 0.85rem;
  }

  .womens-day-effect__caption strong {
    font-size: 1.05rem;
  }

  .womens-day-effect__caption span:last-child {
    font-size: 0.86rem;
  }

  .womens-day-effect__knob {
    width: 2.55rem;
    height: 2.55rem;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.2;
  box-shadow: 0 0.6rem 1.4rem rgba(15, 23, 42, 0.16);
}

:root[data-theme="light"] .hero-pill {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(148, 163, 184, 0.42);
  box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.08);
}

.hero-actions--tight {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.5rem 0 1.2rem 0;
  padding: 0.4rem 0.45rem;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(56, 189, 248, 0.08),
    rgba(255, 255, 255, 0)
  );
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  box-shadow: 0 12px 30px -18px rgba(15, 23, 42, 0.55);
}

.btn-compact {
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1.5rem 3.1rem rgba(79, 70, 229, 0.45),
    0 0 0 1px rgba(56, 189, 248, 0.55) inset;
  background-position: 100% 50%;
}

.hero-actions .btn-primary:hover::after {
  opacity: 1;
}

.hero-actions .btn-primary:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.9);
  outline-offset: 2px;
}

.hero-cta {
  margin-top: 1.4rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.1rem;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 1.2rem 2.6rem rgba(15, 23, 42, 0.22);
}

.hero-cta__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.hero-cta__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.hero-cta__btn {
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 1rem 1.2rem;
  border-radius: 0.95rem;
  text-align: left;
  box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.12);
}

.hero-cta__btn .hero-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background: rgba(148, 163, 184, 0.18);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-cta__label {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.hero-cta__btn--ghost {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.4);
  color: #e2e8f0;
}

.hero-cta__btn--ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.4);
}

@media (min-width: 48rem) {
  .hero-cta {
    padding: 1.5rem 1.8rem;
  }
  .hero-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

/* Calendar responsive header */
.calendar-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calendar-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  font-size: 1.1rem;
  cursor: pointer;
}

.calendar-desktop {
  display: block;
}
.calendar-mobile {
  display: none;
}

@media (max-width: 40rem) {
  .calendar-header-links {
    display: none;
  }
  .calendar-menu-btn {
    display: inline-flex;
  }
  .calendar-desktop {
    display: none;
  }
  .calendar-mobile {
    display: block;
  }
}

.fullscreen-sm {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--space-page) + 3rem) var(--space-page) var(--space-page);
}

.simple-login-shell.fullscreen-sm {
  min-height: calc(100vh - 72px);
  padding-top: calc(var(--space-page) + 1.5rem);
}

.interp-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
  background: transparent;
}

.interp-shell {
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}

.interp-page .chatbot-widget {
  position: static;
  right: auto;
  bottom: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

.interp-page .chatbot-widget > .interp-shell {
  width: min(1100px, 88vw);
  height: 100%;
}

@media (max-width: 48rem) {
  .interp-page.fullscreen-sm {
    padding: calc(var(--space-page) + 1.25rem) 0.5rem 0.5rem;
  }

  .interp-page .chatbot-widget > .interp-shell {
    width: 100%;
    padding: 0;
    height: 100%;
  }
}

@media (max-width: 32rem) {
  .interp-page.fullscreen-sm {
    padding: calc(var(--space-page) + 1rem) 0.35rem 0.35rem;
  }

  .interp-page .chatbot-widget > .interp-shell {
    width: 100%;
    padding: 0;
    height: 100%;
  }
}

@media screen and (max-width: 20rem) {
  .interp-page {
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .interp-shell {
    width: 100%;
    padding: 1rem 0.75rem;
    margin: 0 auto;
  }

  .interp-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    max-width: 100%;
    margin: 0;
    justify-items: stretch;
  }

  .interp-card {
    padding: 0.8rem 0.85rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .interp-contact-form textarea {
    min-height: 72px;
    font-size: 0.9rem;
  }

  .interp-contact-form .btn-primary {
    width: 100%;
  }

  .interp-contact-form {
    max-width: 100%;
  }

  .interp-filter {
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 0.8rem 0.95rem;
    margin: 0 auto;
  }

  .interp-filter__form {
    width: 100%;
  }
}

.interp-filter {
  position: relative;
  padding: 1.1rem 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  box-sizing: border-box;
}

.chatbot-close--filter {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.interp-filter .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.8rem;
}

.interp-filter__form {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  gap: 0.9rem;
  align-items: end;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1rem;
  border-radius: 14px;
}

@media (max-width: 52rem) {
  .interp-filter__form {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.interp-filter label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #e2e8f0;
}

.interp-filter input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
}

.interp-filter input:focus {
  outline: 2px solid #38bdf8;
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.92);
}

.interp-filter__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.interp-filter__actions .btn-primary,
.interp-filter__actions .btn-ghost {
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-weight: 700;
  min-width: 130px;
}

.interp-filter__actions .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e2e8f0;
}

.interp-filter__actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.7);
}

.interp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
}

.interp-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
}

.interp-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.interp-meta {
  color: var(--text-muted, #cbd5e1);
  font-size: 0.95rem;
  margin: 0;
}

.interp-card__avatar {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.interp-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.interp-card__info {
  flex: 1 1 240px;
  min-width: 0;
}
.interp-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.12),
    0 0 0 4px rgba(255, 255, 255, 0.12);
}
.interp-avatar-fallback {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  color: #0b1220;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 7000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.9);
}
.img-modal__content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 720px;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  animation: interpZoom 0.6s ease;
}
.img-modal__caption {
  margin: 12px auto 0;
  display: block;
  width: 80%;
  max-width: 720px;
  text-align: center;
  color: #e5e7eb;
  padding: 6px 0 16px;
  min-height: 24px;
}
.img-modal__close {
  position: absolute;
  top: 20px;
  right: 32px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}
.img-modal__close:hover,
.img-modal__close:focus {
  color: #cbd5e1;
}

@keyframes interpZoom {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media only screen and (max-width: 700px) {
  .img-modal__content {
    width: 96%;
  }
}

.interp-card {
  display: block;
  padding: 1.1rem 1.25rem;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(56, 189, 248, 0.12),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(248, 113, 113, 0.12),
      transparent 40%
    ),
    rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(40px);
  position: relative;
  z-index: 0;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.interp-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(148, 163, 184, 0.28);
  border-color: rgba(56, 189, 248, 0.32);
}
.interp-card::after {
  content: none;
}
.interp-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
}
.interp-meta {
  margin: 0 0 0.2rem;
  line-height: 1.45;
  color: #cbd5e1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}
.interp-meta::before {
  content: "";
}
.interp-text {
  margin: 0.25rem 0 0.65rem;
  line-height: 1.55;
  color: var(--text-light, #e5e7eb);
  white-space: pre-line;
}
.interp-avatar-img,
.interp-avatar-fallback {
  width: 88px;
  height: 88px;
}

@media (min-width: 425px) {
  .interp-avatar-img,
  .interp-avatar-fallback {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  }
}
@media (max-width: 640px) {
  .interp-card {
    text-align: left;
    padding: 1rem;
  }
  .interp-card__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .interp-card__info {
    align-items: center;
  }
}

.interp-text {
  margin: 0.35rem 0 0;
  color: var(--text-light, #e5e7eb);
}

.interp-price {
  font-weight: 700;
  color: #7dd3fc;
}

.interp-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.1rem;
  align-items: stretch;
  width: 100%;
  grid-column: 1 / -1;
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.interp-contact-form {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.interp-contact-form textarea {
  width: 100%;
  min-height: 360px;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.95rem;
  resize: none;
  height: 360px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  box-sizing: border-box;
}

.interp-contact-form textarea:focus {
  outline: 2px solid #38bdf8;
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.interp-contact-form .btn-primary {
  width: 100%;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  box-shadow: 0 1rem 2.2rem rgba(56, 189, 248, 0.25);
}

.interp-chat-cta {
  width: 100%;
  max-width: 520px;
  margin: 0.25rem auto 0;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(15, 23, 42, 0.7);
}

.interp-chat-cta__title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

.interp-chat-cta__text {
  margin: 0 0 0.8rem;
  color: rgba(226, 232, 240, 0.88);
}

.interp-chat-cta__button {
  width: 100%;
  border-radius: 10px;
}

.chat-contact-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.chat-contact-list--compact {
  margin-top: 0.7rem;
}

.chat-contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.78rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  background: rgba(15, 23, 42, 0.5);
  color: #e2e8f0;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.chat-contact-link:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.48);
  background: rgba(30, 41, 59, 0.74);
}

.chat-contact-link__label {
  font-weight: 700;
}

.chat-contact-link__hint {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.92rem;
  text-align: right;
}

.interp-cta-locked {
  width: 100%;
  max-width: 520px;
  margin: 0.25rem auto 0;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: #cbd5e1;
  text-align: center;
}

.interp-cta-locked__actions {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.05rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.65);
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: #38bdf8;
  color: #e0f2fe;
  background: rgba(56, 189, 248, 0.1);
}

.interp-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.interp-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-weight: 700;
  font-size: 0.9rem;
}

.interp-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #cbd5e1;
  margin: 0.5rem 0;
}

/* Layout override: Karten vollbreit untereinander, Kalender neben dem Formular */
.interp-grid {
  grid-template-columns: 1fr !important;
  max-width: none !important;
  margin: 0 !important;
  justify-items: stretch !important;
}

.interp-card {
  display: block !important;
  width: 100% !important;
}

.interp-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.interp-calendar-box {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  box-sizing: border-box;
}

.interp-calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.interp-calendar-caption {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.mini-cal-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mini-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
  margin: 0.1rem 0 0.15rem;
  color: #cbd5e1;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mini-cal-weekday {
  display: grid;
  place-items: center;
  padding: 0.35rem 0.15rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.mini-cal-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: #e2e8f0;
  border-radius: 10px;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    border-color 0.15s ease;
}

.mini-cal-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.mini-cal-day {
  min-height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.95rem;
}

.mini-cal-day.free {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.12);
  color: #dcfce7;
}

.mini-cal-day.busy {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.12);
  color: #dbeafe;
}

.mini-cal-day.blocked {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
}

.mini-cal-day.is-today {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
  color: #e0f2fe;
}

.mini-cal-day.is-active {
  outline: 2px solid rgba(56, 189, 248, 0.6);
  outline-offset: 1px;
}

.mini-cal-day--blank {
  opacity: 0.25;
  border-style: dashed;
}

.mini-cal-legend {
  display: grid;
  grid-template-columns: repeat(3, auto auto);
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin-bottom: 0.35rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.mini-cal-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-block;
}
.mini-cal-dot.free {
  background: rgba(34, 197, 94, 0.9);
}
.mini-cal-dot.busy {
  background: rgba(59, 130, 246, 0.9);
}
.mini-cal-dot.blocked {
  background: rgba(148, 163, 184, 0.9);
}

.mini-cal-details {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.35;
  min-height: 2.6rem;
}

.mini-cal-details strong {
  color: #e0f2fe;
}

.mini-cal-details ul {
  margin: 0.35rem 0 0;
  padding-left: 1.05rem;
}

.interp-calendar-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.interp-calendar-note {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (min-width: 48rem) {
  .interp-card__actions {
    grid-template-columns: 1fr minmax(12rem, 16rem);
    align-items: start;
  }
}

@media (max-width: 640px) {
  .interp-calendar-box {
    padding: 0.65rem 0.75rem;
  }

  .interp-calendar-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .interp-calendar-title {
    margin-bottom: 0.1rem;
    font-size: 0.95rem;
  }

  .interp-calendar-caption {
    font-size: 0.8rem;
  }

  .mini-cal-nav {
    justify-content: space-between;
    width: 100%;
    gap: 0.3rem;
  }

  .mini-cal-btn {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .mini-cal-weekdays {
    gap: 0.18rem;
    margin: 0.05rem 0 0.12rem;
    font-size: 0.72rem;
  }

  .mini-cal-weekday {
    padding: 0.22rem 0.05rem;
    border-radius: 6px;
  }

  .mini-cal-grid {
    gap: 0.18rem;
    margin-bottom: 0.28rem;
  }

  .mini-cal-day {
    min-height: 1.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
  }

  .mini-cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.22rem 0.45rem;
    font-size: 0.78rem;
    margin-bottom: 0.28rem;
  }

  .mini-cal-dot {
    width: 0.68rem;
    height: 0.68rem;
  }

  .mini-cal-details {
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.3;
    min-height: 2.2rem;
  }

  .mini-cal-details ul {
    margin-top: 0.25rem;
    padding-left: 0.95rem;
  }

  .interp-calendar-note {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}

.interp-hint {
  color: #cbd5e1;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 0.25rem;
}

@media (max-width: 425px) {
  .interp-card__actions {
    grid-template-columns: 1fr;
  }
  .interp-calendar-box {
    padding: 0.55rem 0.65rem;
  }
  .mini-cal-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.14rem;
  }
  .mini-cal-day {
    min-height: 1.55rem;
    font-size: 0.74rem;
  }
  .mini-cal-weekdays {
    font-size: 0.64rem;
  }
  .mini-cal-btn {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.88rem;
  }
  .interp-calendar-caption {
    font-size: 0.74rem;
  }
  .mini-cal-details {
    padding: 0.4rem 0.5rem;
    font-size: 0.76rem;
    min-height: 2rem;
  }
  .mini-cal-legend {
    font-size: 0.72rem;
    gap: 0.18rem 0.35rem;
  }
  .interp-calendar-note {
    font-size: 0.74rem;
  }
}

/* Contact & Profile */
.contact-card,
.profile-card {
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.contact-card {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-block .contact-label {
  margin: 0;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-block .contact-value {
  margin: 0.05rem 0 0;
  color: #e2e8f0;
  font-size: 1.05rem;
  word-break: break-word;
}

.profile-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.profile-avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.18);
  border: 3px solid rgba(56, 189, 248, 0.5);
  margin-bottom: 0.6rem;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: #0b1220;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.profile-avatar__initial {
  color: #0b1220;
}

.profile-meta {
  color: #cbd5e1;
  margin: 0.1rem 0;
  font-size: 0.95rem;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  display: grid;
  gap: 0.65rem;
  color: #e2e8f0;
}

@media (max-width: 720px) {
  .interp-filter__form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .interp-filter__actions {
    justify-content: stretch;
  }
  .interp-filter__actions .btn-primary {
    width: 100%;
  }

  .interp-filter {
    max-width: 100%;
  }
}

@media (max-width: 62rem) {
  header.hero {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .hero-side {
    order: -1;
    max-width: 20rem;
    justify-self: center;
  }

  .hero-main {
    width: 100%;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

.login-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.1rem;
  color: var(--text-light);
  max-width: 100%;
  flex-wrap: nowrap;
  line-height: 1.2;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.login-chip__avatar {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.25);
  font-weight: 700;
  color: #f8fafc;
  flex: 0 0 auto;
  font-size: 1.05rem;
  flex-shrink: 0;
}

@media (min-width: 721px) and (max-width: 769px) {
  header.hero {
    padding: 4.9rem 1.3rem 3.9rem;
  }
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
    gap: 1rem;
  }
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.login-chip strong {
  flex: 1 1 auto;
  text-align: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  align-items: stretch;
  gap: 0.8rem;
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-actions.contact-actions {
  display: grid;
  grid-template-columns: inherit;
  align-items: stretch;
}

.hero-actions.contact-actions .btn-primary,
.hero-actions.contact-actions .btn-ghost,
.hero-actions.contact-actions .login-chip {
  white-space: normal;
  width: 100%;
  max-width: none;
  justify-content: center;
}

.contact-text__actions .login-chip {
  grid-column: 1 / -1;
  justify-content: flex-start;
  padding: 0.75rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.16);
  text-align: left;
}

.contact-text__actions .login-chip strong {
  text-align: left;
}

.contact-messenger-cta {
  min-height: 3.35rem;
  padding-inline: 1.2rem;
  border-radius: 1rem;
  font-weight: 700;
}

.contact-messenger-cta__icon {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.contact-messenger-cta--telegram {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.2),
    rgba(2, 132, 199, 0.14)
  );
  border-color: rgba(56, 189, 248, 0.38);
  color: #e0f2fe;
  box-shadow: 0 1rem 2rem rgba(8, 47, 73, 0.18);
}

.contact-messenger-cta--telegram:hover,
.contact-messenger-cta--telegram:focus-visible {
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.28),
    rgba(3, 105, 161, 0.22)
  );
  border-color: rgba(125, 211, 252, 0.72);
  color: #f0f9ff;
  box-shadow: 0 1.2rem 2.35rem rgba(8, 47, 73, 0.24);
}

.hero-actions.contact-actions .contact-login-cta {
  max-width: none;
  min-height: 3.35rem;
  padding-inline: 1.4rem;
  text-align: center;
  text-wrap: balance;
  box-shadow:
    0 1.25rem 2.8rem rgba(8, 47, 73, 0.34),
    0 0 0 1px rgba(186, 230, 253, 0.2) inset;
}

.hero-actions.contact-actions .contact-login-cta:hover,
.hero-actions.contact-actions .contact-login-cta:focus-visible {
  box-shadow:
    0 1.55rem 3.2rem rgba(8, 47, 73, 0.4),
    0 0 0 1px rgba(186, 230, 253, 0.28) inset;
}

:root[data-theme="light"] .hero-actions.contact-actions .contact-login-cta {
  box-shadow:
    0 1.1rem 2.25rem rgba(14, 116, 144, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

:root[data-theme="light"] .hero-actions.contact-actions .contact-login-cta:hover,
:root[data-theme="light"] .hero-actions.contact-actions .contact-login-cta:focus-visible {
  box-shadow:
    0 1.35rem 2.7rem rgba(14, 116, 144, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.84) inset;
}

:root[data-theme="light"] .contact-messenger-cta--telegram {
  background: linear-gradient(
    135deg,
    rgba(224, 242, 254, 0.96),
    rgba(186, 230, 253, 0.9)
  );
  border-color: rgba(14, 165, 233, 0.22);
  color: #0c4a6e;
  box-shadow:
    0 0.9rem 1.8rem rgba(14, 116, 144, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.64) inset;
}

:root[data-theme="light"] .contact-messenger-cta--telegram:hover,
:root[data-theme="light"] .contact-messenger-cta--telegram:focus-visible {
  color: #082f49;
}

.contact-text__register {
  margin: 0;
  width: 100%;
  text-align: left;
}

.contact-text__register small {
  justify-items: start;
}

.contact-text__register a {
  min-width: 0;
}

.btn-logout {
  flex-direction: column;
  gap: 0.2rem;
}

.btn-logout .login-chip--inline {
  width: auto;
  color: var(--text-light);
  white-space: nowrap;
  font-size: 0.5rem;
  line-height: 1;
}

.btn-logout .login-chip--inline strong {
  font-size: inherit;
  line-height: 1;
}

@media (max-width: 40rem) {
  .hero-actions.contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.hero-fold-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-soft);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
  color: var(--text-light);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  cursor: pointer;
  margin-left: auto;
  box-shadow: 0 0.65rem 1.35rem rgba(0, 0, 0, 0.3);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.hero-fold-toggle .chevron {
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}

.hero-fold-toggle:hover,
.hero-fold-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 0.9rem 1.8rem rgba(56, 189, 248, 0.18);
  outline: none;
}

.hero.collapsed {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.hero.collapsed .hero-body,
.hero.collapsed .hero-side {
  display: none;
}

/* Floating animation for hero card */
@keyframes floatCard {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
  .hero-card {
    animation: none;
  }
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: var(--bg-base);
  border-color: rgba(56, 189, 248, 0.82);
  box-shadow: 0 1rem 2.4rem rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1.3rem 2.8rem rgba(56, 189, 248, 0.45);
  background: linear-gradient(135deg, #5fd0ff, #38bdf8);
  border-color: rgba(56, 189, 248, 0.9);
}

.cta-highlight {
  position: relative;
  isolation: isolate;
  padding: 0.95rem 1.55rem;
  border-radius: 1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(8, 145, 178, 0.92)),
    linear-gradient(120deg, #38bdf8, #0f766e);
  border: 1px solid rgba(125, 211, 252, 0.5);
  box-shadow:
    0 1rem 2.2rem rgba(8, 47, 73, 0.28),
    0 0 0 1px rgba(186, 230, 253, 0.16) inset;
  animation: none;
}

.cta-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.02) 46%,
    rgba(255, 255, 255, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.cta-highlight:hover,
.cta-highlight:focus-visible {
  transform: translateY(-2px);
  color: #f8fafc;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(6, 182, 212, 0.95)),
    linear-gradient(120deg, #67e8f9, #0f766e);
  border-color: rgba(165, 243, 252, 0.72);
  box-shadow:
    0 1.4rem 3rem rgba(8, 47, 73, 0.34),
    0 0 0 1px rgba(186, 230, 253, 0.24) inset;
}

.cta-highlight:hover::after,
.cta-highlight:focus-visible::after {
  opacity: 1;
}

.cta-highlight:focus-visible {
  outline: 2px solid rgba(186, 230, 253, 0.9);
  outline-offset: 3px;
}

:root[data-theme="light"] .cta-highlight {
  color: #082f49;
  background:
    linear-gradient(
      135deg,
      rgba(240, 249, 255, 0.98),
      rgba(186, 230, 253, 0.96)
    ),
    linear-gradient(120deg, #e0f2fe, #67e8f9);
  border-color: rgba(14, 116, 144, 0.24);
  box-shadow:
    0 1rem 2rem rgba(14, 116, 144, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

:root[data-theme="light"] .cta-highlight:hover,
:root[data-theme="light"] .cta-highlight:focus-visible {
  color: #082f49;
  background:
    linear-gradient(135deg, rgba(236, 254, 255, 1), rgba(165, 243, 252, 0.96)),
    linear-gradient(120deg, #cffafe, #22d3ee);
  border-color: rgba(14, 116, 144, 0.34);
  box-shadow:
    0 1.25rem 2.35rem rgba(14, 116, 144, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

.btn-ghost {
  padding: 0.7rem 1.1rem;
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-light);
  border-color: var(--border-strong);
}

.btn-pill {
  border-radius: 14px;
  box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.22);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--accent);
  box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, 0.7);
}

.btn-danger {
  border-color: rgba(148, 163, 184, 0.7);
  color: #e2e8f0;
}

.btn-danger:hover {
  border-color: rgba(148, 163, 184, 1);
  color: #f8fafc;
  box-shadow: 0 1rem 2.4rem rgba(148, 163, 184, 0.25);
}

.btn-quiet {
  padding: 0.75rem 1.4rem;
  border: 1px dashed var(--border-soft);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.btn-quiet:hover {
  border-color: var(--accent);
  color: #e2e8f0;
  box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.45);
}

.dashboard-shell .btn-primary.btn-pill {
  padding-inline: 1.25rem;
}

.dashboard-shell .btn-ghost.btn-pill,
.dashboard-shell .btn-quiet.btn-pill {
  padding-inline: 1.05rem;
}

.hero-side {
  display: none;
}

@media (min-width: 50rem) {
  header.hero.hero--with-side {
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  }

  header.hero:not(.hero--with-side) {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero.hero--with-side .hero-side {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
  }
}

.hero-card {
  animation: floatCard 6s ease-in-out infinite;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.4rem;
  background:
    radial-gradient(
      circle at 10% 0,
      rgba(148, 163, 184, 0.28),
      transparent 60%
    ),
    linear-gradient(145deg, var(--bg-base), var(--bg-base));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  text-align: center;
  height: 100%;
}

.hero-card--static {
  animation: none;
}

.hero-card--static .btn-primary {
  animation: none;
}

.hero-card.hero-card--static {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 425px) {
  .hero-card.hero-card--static {
    max-width: 1040px;
  }
}

@media (min-width: 768px) {
  .hero-card.hero-card--static {
    max-width: 1120px;
  }
}

.hero-card-avatar {
  width: 9.2rem;
  height: 9.2rem;
  border-radius: 999px;
  border: 4px solid rgba(56, 189, 248, 0.9);
  box-shadow:
    0 1.5rem 3.4rem rgba(0, 0, 0, 0.85),
    0 0 0 8px rgba(56, 189, 248, 0.12);
  margin: 0 auto 1.3rem;
  position: relative;
  background-color: #1f2a3a;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

:root[data-theme="light"] .hero-card-avatar {
  border: 4px solid rgba(148, 163, 184, 0.8);
  box-shadow:
    0 1.2rem 2.4rem rgba(15, 23, 42, 0.18),
    0 0 0 8px rgba(148, 163, 184, 0.18);
  background-color: #f0f2f6;
}

.hero-card-avatar__initial {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 0.05rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-card-avatar__initial span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-12px);
  animation: heroInitialSlide 0.65s ease-out forwards;
  animation-delay: 0.7s;
}

.hero-card-avatar__initial span:nth-child(1) {
  animation-delay: 0.7s;
}
.hero-card-avatar__initial span:nth-child(2) {
  animation-delay: 0.78s;
}
.hero-card-avatar__initial span:nth-child(3) {
  animation-delay: 0.86s;
}
.hero-card-avatar__initial span:nth-child(4) {
  animation-delay: 0.94s;
}
.hero-card-avatar__initial span:nth-child(5) {
  animation-delay: 1.02s;
}

@keyframes heroInitialSlide {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-card-avatar::after {
  content: "Avatar";
  position: absolute;
  left: 50%;
  bottom: -2.9rem;
  transform: translateX(-50%) translateY(6px);
  padding: 0.35rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--border-soft);
  color: #e7e7e7;
  font-size: 0.72rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.45);
}

.hero-card-avatar:hover::after,
.hero-card-avatar:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-top: 0.15rem;
  margin-bottom: 0.15rem;
}

.hero-card p.role {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.3rem;
  font-size: 0.87rem;
  margin-bottom: 0.9rem;
  justify-items: start;
  text-align: left;
}

.hero-card ul li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.hero-card ul li span.dot {
  display: inline-block;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 0.4rem;
  transform: translateY(1px);
  flex-shrink: 0;
}

.hero-card ul li span:not(.dot) {
  padding-left: 0.1rem;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 0.5rem;
}

.hero-card-footer span:last-child {
  margin-left: auto;
  text-align: right;
}

.hero-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  width: auto;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: default;
}

main {
  display: grid;
  gap: var(--space-gap);
}

.section {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: var(--space-section) 0;
  box-shadow: none;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(0.8rem, 0.8vw + 0.6rem, 1.05rem);
}

.section-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.section-fold-toggle {
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.section-fold-toggle .chevron {
  transition: transform 0.18s ease;
}

.section-fold-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.fold-section.closed .section-fold-toggle .chevron {
  transform: rotate(-90deg);
}

.section-body {
  margin-top: 0.25rem;
}

.section-body[hidden] {
  display: none;
}

.dashboard-shell .section-body {
  gap: 0.9rem;
}

.dashboard-shell {
  background: radial-gradient(
      circle at 18% 20%,
      rgba(56, 189, 248, 0.08),
      rgba(15, 23, 42, 0)
    )
    fixed;
}

.dashboard-shell .card-light {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 38px -20px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(3px);
}

.dashboard-shell .card-head .muted {
  color: #cbd5e1;
}

.dashboard-shell .card-title {
  letter-spacing: -0.01em;
}

.dashboard-shell .table-like .table-row {
  transition:
    background 0.15s ease,
    transform 0.12s ease;
}

.dashboard-shell .table-like .table-row:hover {
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-1px);
}

.dashboard-shell .calendar-shell {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.45);
  box-shadow: 0 18px 30px -22px rgba(15, 23, 42, 0.8);
}

.dashboard-shell .section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.dashboard-shell .section-title::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15);
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-title u {
  text-decoration-color: #38bdf8;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.1em;
  color: inherit;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-kicker::before {
  content: "✦";
  color: #38bdf8;
  font-size: 0.95rem;
  line-height: 1;
}

.section-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-intro--register {
  margin: 0.35rem auto 0;
  width: min(100%, 18rem);
  text-align: center;
}

.section-intro--register small {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.9rem 0.95rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.14),
    rgba(15, 23, 42, 0.2)
  );
  border: 1px solid rgba(56, 189, 248, 0.24);
  box-shadow: 0 0.9rem 2rem rgba(15, 23, 42, 0.12);
  color: var(--text-muted);
  line-height: 1.4;
}

.section-intro--register a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  min-width: 11.5rem;
  padding: 0.7rem 1rem;
  border-radius: 0.85rem;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow:
    0 0.8rem 1.6rem rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(125, 211, 252, 0.12) inset;
  color: var(--text-light);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.section-intro--register a:hover,
.section-intro--register a:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
  background: rgba(56, 189, 248, 0.24);
  border-color: rgba(125, 211, 252, 0.72);
  box-shadow:
    0 1rem 2rem rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(125, 211, 252, 0.2) inset;
}

:root[data-theme="light"] .section-intro--register small {
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.12),
    rgba(255, 255, 255, 0.95)
  );
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.08);
  color: var(--text-muted);
}

:root[data-theme="light"] .section-intro--register a {
  background: rgba(56, 189, 248, 0.12);
  color: #0f172a;
  box-shadow:
    0 0.7rem 1.4rem rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(14, 165, 233, 0.08) inset;
}

:root[data-theme="light"] .contact-text {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 42%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.94));
}

:root[data-theme="light"] .contact-text__panel {
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.08), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.86);
  border-color: rgba(148, 163, 184, 0.24);
}

:root[data-theme="light"] .contact-text__actions .login-chip {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(148, 163, 184, 0.24);
}

.calendar-shell .section-intro {
  color: #f8fafc;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: inline-block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(0.85rem, 1.4vw, 1.25rem);
}

.service-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  padding: clamp(0.95rem, 1.5vw, 1.15rem);
  display: grid;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.service-card::before {
  content: attr(data-icon);
  position: absolute;
  inset: auto 0 0 0;
  display: block;
  text-align: right;
  padding: 0 1rem 0.35rem 0;
  font-size: clamp(3.2rem, 4.2vw, 4.4rem);
  color: rgba(250, 204, 21, 0.28);
  opacity: 0.7;
  pointer-events: none;
}

.service-icon {
  display: none;
}

.service-title {
  font-weight: 600;
  font-size: clamp(0.98rem, 1vw, 1.05rem);
}

.service-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  }
  .service-card {
    padding: 1rem;
    gap: 0.5rem;
  }
  .service-card::before {
    font-size: clamp(2.8rem, 7vw, 3.6rem);
  }
  .service-title {
    font-size: 0.98rem;
  }
  .service-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 0.95rem;
  }
  .service-text {
    font-size: 0.88rem;
  }
}

.service-meta {
  font-size: 0.82rem;
  color: #9ca3af;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
}

.badge-soft span.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.price-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  padding: 1rem;
  display: grid;
  gap: 0.3rem;
}

.price-card.highlighted {
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 1.4rem 2.6rem rgba(8, 47, 73, 0.85);
  position: relative;
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-value {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.price-detail {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.35rem;
  margin-top: 0.5rem;
  justify-items: center;
}

.chip {
  padding: 0.25rem 1.55rem;
  border-radius: 999px 999px 0 0;
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.78rem;
  color: #d1d5db;
  background: rgba(15, 23, 42, 0.95);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.step-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  padding: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.step-card > * {
  position: relative;
  z-index: 1;
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: -0.95rem;
  right: 0.65rem;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.28);
  pointer-events: none;
  z-index: 0;
}

.step-number {
  display: none;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 0.5rem;
  align-items: flex-start;
}

.about-section.about-header {
  margin-top: 0.9rem;
}

.about-text {
  font-size: 0.93rem;
  color: var(--text-light);
}

.about-facts {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.about-facts--compact {
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

.about-facts li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.about-facts span.bullet {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.support-cta {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.manual-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  justify-content: space-evenly;
}

.manual-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  margin-bottom: 0.9rem;
  padding: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.manual-card--highlight {
  border-color: rgba(75, 194, 255, 0.8);
  box-shadow: 0 1.2rem 2.2rem rgba(8, 47, 73, 0.55);
}

.manual-card-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.manual-list,
.manual-steps {
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.manual-list li,
.manual-steps li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem;
  align-items: start;
}

.manual-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: 700;
}

.manual-steps {
  counter-reset: manualstep;
}

.manual-steps li::before {
  counter-increment: manualstep;
  content: counter(manualstep) ".";
  color: var(--accent);
  font-weight: 700;
}

.manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.legal-body {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1.5rem 1rem 2.5rem;
}

.legal-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.legal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  z-index: 30;
}

.legal-close:hover,
.legal-close:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 1.2rem 2.2rem rgba(56, 189, 248, 0.25);
  outline: none;
}

:root[data-theme="light"] .legal-close {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.12);
}

.legal-section {
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.72),
    rgba(30, 41, 59, 0.78)
  );
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  margin: 1.6rem 0 0 0;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  overflow: hidden;
}

.legal-section h2 {
  margin: 0 0 0.35rem 0;
  font-size: 1.3rem;
}

.legal-section h3 {
  margin: 0.35rem 0 0.2rem;
}

.legal-section ul {
  padding: 0;
  margin: 0.2rem 0 0.5rem 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.legal-section li {
  margin: 0;
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.5;
  color: var(--text-light);
}

.legal-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.legal-section {
  margin-bottom: 1.1rem;
}

.legal-callout {
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: rgba(56, 189, 248, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem;
  color: #e0f2fe;
  margin-top: 0.35rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #e0f2fe;
  border-radius: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.translator-page {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(56, 189, 248, 0.08),
      rgba(15, 23, 42, 0.6)
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(14, 165, 233, 0.12),
      rgba(15, 23, 42, 0.8)
    ),
    var(--bg-base);
}

.translator-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 2.2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.translator-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  padding: 0.6rem 0 0.4rem;
}

.translator-hero h1 {
  font-size: 2.4rem;
  margin: 0.1rem 0 0.35rem;
}

.translator-hero .subtitle {
  max-width: 36rem;
}

.translator-hero__card {
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.8),
    rgba(30, 41, 59, 0.82)
  );
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
}

.translator-hero__card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.5;
  color: var(--text-light);
}

.translator-hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.translator-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 1.4rem;
}

.translator-card {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
}

.translator-card--secondary {
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.9),
    rgba(15, 23, 42, 0.85)
  );
}

.translator-card header h2 {
  margin: 0.2rem 0 0.2rem;
}

.translator-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.translator-row--langs {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 0.5rem;
}

.translator-field {
  display: grid;
  gap: 0.2rem;
}

.translator-field label {
  font-weight: 600;
  color: #e2e8f0;
}

.translator-row {
  display: grid;
  gap: 0.2rem;
}

.translator-row select {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 0.7rem;
  padding: 0.65rem 0.8rem;
  color: #e9f3ff;
  box-shadow: 0 0.6rem 1.4rem rgba(0, 0, 0, 0.28);
}

.translator-swap {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(56, 189, 248, 0.12);
  color: #e2e8f0;
  font-size: 1.05rem;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.translator-swap:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 0.6rem 1.2rem rgba(56, 189, 248, 0.2);
}

.translator-form textarea {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  padding: 0.85rem;
  min-height: 8rem;
  resize: vertical;
  line-height: 1.4;
}

.translator-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.translator-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.translator-links {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.translator-links a {
  color: #7dd3fc;
  text-decoration: none;
}

.translator-links a:hover {
  color: #38bdf8;
}

.translator-note {
  margin-top: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.8rem;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #e2e8f0;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .translator-hero {
    grid-template-columns: 1fr;
  }
  .translator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .translator-row--langs {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .translator-swap {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 1440px) {
  .translator-main {
    max-width: 1320px;
    padding-left: 2.6rem;
    padding-right: 2.6rem;
  }
  .translator-hero {
    gap: 1.8rem;
  }
  .translator-grid {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    gap: 1.6rem;
  }
  .translator-card {
    padding: 1.45rem 1.6rem;
  }
  .translator-form textarea {
    min-height: 10rem;
  }
}

.legal-list {
  display: grid;
  gap: 0.65rem;
  line-height: 1.55;
  color: var(--text-light);
}

.legal-list li::marker {
  content: none;
}

.legal-list strong {
  color: rgb(255, 255, 255);
  font-weight: 500;
}

:root[data-theme="light"] .legal-list strong {
  color: #0f172a;
  font-weight: 700;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legal-actions a {
  margin-right: 0;
}

.legal-actions .btn-primary,
.legal-actions .btn-ghost {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.96rem;
  box-shadow: none;
  animation: none;
}

@media (min-width: 426px) {
  .legal-actions .btn-primary,
  .legal-actions .btn-ghost {
    padding: 0.75rem 1.5rem;
    font-size: 0.96rem;
  }
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.6rem;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.1rem 1.25rem;
  margin-top: 0.6rem;
  align-items: flex-start;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  justify-content: center;
}

.contact-text {
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
  color: var(--text-light);
  background:
    radial-gradient(circle at top left, rgba(75, 194, 255, 0.14), transparent 42%),
    linear-gradient(155deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  border: var(--panel-border);
  border-radius: calc(var(--panel-radius) + 0.2rem);
  padding: clamp(1.1rem, 2vw, 1.45rem);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.contact-text::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(125, 211, 252, 0.75),
    rgba(125, 211, 252, 0)
  );
  pointer-events: none;
}

.contact-text__intro {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.45rem;
}

.contact-text__lead {
  margin: 0;
  max-width: 34rem;
  color: var(--text-light);
  font-size: clamp(1rem, 1.1vw + 0.85rem, 1.12rem);
  line-height: 1.65;
  font-weight: 500;
  text-wrap: pretty;
}

.contact-text__panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  padding: clamp(0.9rem, 1.7vw, 1.05rem);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(15, 23, 42, 0.18)),
    rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.contact-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin: 0.35rem 0 0.25rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background:
    linear-gradient(120deg, rgba(56, 189, 248, 0.12), rgba(59, 130, 246, 0.08)),
    rgba(15, 23, 42, 0.82);
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.35);
}

.contact-notice-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 1.2rem;
  justify-self: center;
}

.contact-notice-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  text-align: left;
}

.contact-notice-text {
  margin: 0.1rem 0 0;
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.contact-card {
  background: rgba(15, 23, 42, 0.22);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: clamp(0.9rem, 2vw, 1.15rem);
  font-size: clamp(0.92rem, 1vw, 1rem);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 900px;
}

.contact-card--quickactions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.8vw, 0.95rem);
  padding: clamp(1rem, 2vw, 1.15rem);
  max-width: min(52rem, 100%);
  background:
    radial-gradient(circle at top left, rgba(75, 194, 255, 0.18), transparent 38%),
    linear-gradient(155deg, rgba(8, 18, 34, 0.72), rgba(15, 23, 42, 0.48));
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 1.2rem 2.5rem rgba(2, 6, 23, 0.24);
}

.contact-card--quickactions .contact-line {
  min-width: 0;
  display: flex;
  margin: 0;
}

.contact-card--quickactions .contact-line--messengers {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.7rem;
}

.contact-card--quickactions .contact-call {
  width: 100%;
  min-height: 4.5rem;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
}

.contact-card--quickactions .contact-call__body {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 0.16rem;
  align-content: center;
}

.contact-card--quickactions .contact-call__body strong {
  display: block;
  line-height: 1.35;
}

.contact-card--quickactions .contact-call__body em {
  display: block;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
}

.contact-card--quickactions .contact-call__glyph {
  width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0.82rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.15rem;
}

.contact-card--quickactions .contact-call__icon {
  margin-top: 0.15rem;
}

.contact-card--quickactions .contact-call--email {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.18),
    rgba(251, 191, 36, 0.12)
  );
  --contact-call-border: rgba(251, 146, 60, 0.34);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.26),
    rgba(251, 191, 36, 0.18)
  );
  --contact-call-hover-border: rgba(251, 146, 60, 0.56);
}

.contact-card--quickactions .contact-call--phone {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.18),
    rgba(71, 85, 105, 0.12)
  );
  --contact-call-border: rgba(148, 163, 184, 0.3);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.24),
    rgba(71, 85, 105, 0.16)
  );
  --contact-call-hover-border: rgba(191, 219, 254, 0.4);
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  word-break: break-word;
}

.contact-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-left: var(--space-page);
  padding-right: var(--space-page);
  margin-bottom: 1.2rem;
}
.contact-subline {
  margin: 0.35rem 0 0;
  color: var(--text-muted, #cbd5e1);
  max-width: 720px;
}
.contact-badge {
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #0b1220;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 22px rgba(56, 189, 248, 0.25);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  max-width: 1040px;
  margin: 0 auto 0;
  justify-items: stretch;
  justify-content: center;
  padding-top: 0.5rem;
}

.contact-page {
  padding-top: calc(var(--topnav-offset) + 5.25rem);
}
.contact-page .section {
  padding-top: 1rem;
  padding-left: 1rem;
  border-radius: 1.2rem;
}
.contact-card--primary {
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}
.contact-card--secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
  .contact-card {
    padding: 0.9rem;
    gap: 0.65rem;
  }
  .contact-line {
    gap: 0.45rem;
  }

  .contact-card--quickactions {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .contact-card--quickactions .contact-line--messengers {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .contact-card {
    border-radius: 12px;
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  .contact-line {
    align-items: flex-start;
  }
  .contact-line em,
  .contact-line strong {
    word-break: break-word;
  }
}

/* Kontaktseite – mehr Charakter */
.contact-page .section {
  position: relative;
  overflow: hidden;
}
.contact-page .section::before,
.contact-page .section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.35;
}
.contact-page .section::before {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(75, 194, 255, 0.3),
      transparent 40%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(94, 234, 212, 0.32),
      transparent 38%
    ),
    radial-gradient(
      circle at 30% 80%,
      rgba(99, 102, 241, 0.22),
      transparent 45%
    );
}
.contact-page .section::after {
  background: linear-gradient(
    140deg,
    rgba(15, 23, 42, 0.5),
    rgba(15, 23, 42, 0.05)
  );
}
.contact-page .contact-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}
.contact-page .contact-hero {
  align-items: stretch;
  margin-bottom: 1rem;
  padding: clamp(1.1rem, 2.2vw, 1.45rem);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top left, rgba(75, 194, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.4));
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.24);
}
.contact-page .contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.02)
      )
      border-box,
    radial-gradient(
        circle at 10% 20%,
        rgba(75, 194, 255, 0.18),
        transparent 55%
      )
      border-box,
    rgba(14, 20, 35, 0.65);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-radius: 1.25rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}
.contact-page .contact-card--primary {
  justify-content: space-between;
}
.contact-page .contact-card--secondary {
  gap: 0.85rem;
  background: linear-gradient(
    150deg,
    rgba(31, 41, 55, 0.75),
    rgba(17, 24, 39, 0.55)
  );
  border-color: rgba(148, 163, 184, 0.32);
}
.contact-page .contact-card__lead {
  display: grid;
}
.contact-page .contact-card__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.contact-page .contact-card--stack {
  justify-content: flex-start;
}
.contact-page .contact-block {
  display: grid;
  gap: 0.35rem;
  align-content: flex-start;
}
.contact-page .contact-block--featured,
.contact-page .contact-block--panel {
  min-height: 100%;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.36);
}
.contact-page .contact-block--featured {
  padding: 1.15rem;
  background:
    linear-gradient(145deg, rgba(11, 30, 55, 0.96), rgba(8, 47, 73, 0.78)),
    radial-gradient(
      circle at top left,
      rgba(75, 194, 255, 0.24),
      transparent 58%
    );
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-page .contact-block--panel {
  background: rgba(15, 23, 42, 0.32);
}
.contact-page .contact-card--secondary .contact-block--panel {
  background: rgba(10, 15, 28, 0.3);
}
.contact-page .contact-subline {
  max-width: 44rem;
  margin: 0.6rem 0 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 1rem;
  line-height: 1.6;
}
.contact-page .contact-hero__content {
  display: grid;
  gap: 0.2rem;
  align-content: center;
}
.contact-page .contact-hero__aside {
  display: grid;
  gap: 0.55rem;
  justify-items: end;
  align-content: center;
  min-width: min(100%, 19rem);
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  background: linear-gradient(155deg, rgba(6, 24, 43, 0.72), rgba(12, 18, 30, 0.5));
  border: 1px solid rgba(96, 165, 250, 0.18);
}
.contact-page .contact-badge-label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.68);
}
.contact-page .contact-status-note {
  max-width: 20rem;
  margin: 0;
  text-align: right;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}
.contact-page .contact-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.contact-page .contact-hero__chip {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 3.25rem;
  min-width: min(100%, 13rem);
  max-width: min(100%, 23rem);
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.54), rgba(15, 23, 42, 0.34)),
    rgba(15, 23, 42, 0.3);
  color: rgba(226, 232, 240, 0.94);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.18);
  backdrop-filter: blur(10px);
}
.contact-page .contact-hero__chip-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  line-height: 1;
}
.contact-page .contact-hero__chip-body {
  min-width: 0;
  display: grid;
  gap: 0.16rem;
}
.contact-page .contact-hero__chip-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.62);
}
.contact-page .contact-hero__chip-value {
  font-size: 0.98rem;
  line-height: 1.35;
  color: rgba(248, 250, 252, 0.96);
  word-break: break-word;
}
.contact-page .contact-hero__chip--status {
  border-color: rgba(74, 222, 128, 0.28);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 60%),
    linear-gradient(145deg, rgba(5, 46, 22, 0.58), rgba(15, 23, 42, 0.36));
}
.contact-page .contact-hero__chip--status .contact-hero__chip-icon {
  color: #86efac;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(74, 222, 128, 0.24);
}
.contact-page .contact-hero__chip--region {
  flex: 1 1 17rem;
  border-color: rgba(96, 165, 250, 0.24);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 58%),
    linear-gradient(145deg, rgba(11, 30, 55, 0.56), rgba(15, 23, 42, 0.34));
}
.contact-page .contact-hero__chip--region .contact-hero__chip-icon {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.22);
}
.contact-page .contact-overview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  margin-bottom: 0.95rem;
}
.contact-page .contact-overview-card {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.05rem;
  border-radius: 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(15, 23, 42, 0.48);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
}
.contact-page .contact-overview-card--accent {
  border-color: rgba(75, 194, 255, 0.26);
  background:
    radial-gradient(circle at top left, rgba(75, 194, 255, 0.14), transparent 58%),
    linear-gradient(145deg, rgba(7, 30, 52, 0.82), rgba(15, 23, 42, 0.58));
}
.contact-page .contact-overview-card__label {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.62);
}
.contact-page .contact-overview-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text-light);
}
.contact-page .contact-overview-card__text {
  margin: 0;
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.55;
  font-size: 0.95rem;
}
.contact-page .contact-quickactions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  margin-bottom: clamp(1rem, 2vw, 1.45rem);
}
.contact-page .contact-action-card {
  display: grid;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1rem 1.05rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    linear-gradient(155deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.38)),
    rgba(15, 23, 42, 0.32);
  color: var(--text-light);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.22);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.contact-page .contact-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(75, 194, 255, 0.4);
  box-shadow: 0 22px 42px rgba(8, 47, 73, 0.28);
}
.contact-page .contact-action-card--primary {
  background:
    radial-gradient(circle at top left, rgba(75, 194, 255, 0.24), transparent 60%),
    linear-gradient(145deg, rgba(5, 46, 73, 0.92), rgba(15, 23, 42, 0.82));
  border-color: rgba(75, 194, 255, 0.42);
}
.contact-page .contact-action-card--email {
  background:
    radial-gradient(circle at top left, rgba(251, 146, 60, 0.22), transparent 56%),
    linear-gradient(145deg, rgba(120, 53, 15, 0.86), rgba(30, 41, 59, 0.72));
  border-color: rgba(251, 146, 60, 0.34);
}
.contact-page .contact-action-card__kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.68);
}
.contact-page .contact-action-card strong {
  font-size: 1.04rem;
  line-height: 1.35;
}
.contact-page .contact-action-card small {
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.45;
}
.contact-page .contact-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.contact-page .contact-value {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.45;
  white-space: pre-line;
}
.contact-page .contact-hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.contact-page .contact-email-row {
  display: grid;
  gap: 0.8rem;
}
.contact-page .contact-email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.contact-page .contact-direct-action {
  width: 100%;
  justify-content: center;
  min-height: 3rem;
  border-radius: 0.95rem;
  box-shadow: 0 14px 26px rgba(56, 189, 248, 0.16);
}
.contact-page .contact-email-address {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  word-break: break-word;
}
.contact-page .contact-email-row a[data-contact-email] {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3.25rem;
  gap: 0.6rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.9rem;
  background: rgba(75, 194, 255, 0.12);
  border: 1px solid rgba(75, 194, 255, 0.5);
  color: #e0f4ff;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.contact-page .contact-email-row a[data-contact-email]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(75, 194, 255, 0.28);
  border-color: #4bc2ff;
}
.contact-page .btn-compact {
  width: auto;
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.75rem;
  border-color: rgba(148, 163, 184, 0.45);
  font-size: 0.9rem;
  line-height: 1.2;
}
.contact-page .btn-compact:hover {
  border-color: #4bc2ff;
  color: #e7f8ff;
}
.contact-page .contact-badge {
  background: linear-gradient(120deg, #22d3ee, #4bc2ff, #60a5fa);
  color: #06101f;
  box-shadow: 0 16px 32px rgba(96, 165, 250, 0.25);
}
.contact-page .contact-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  align-items: stretch;
}
.contact-page .contact-card--secondary {
  position: sticky;
  top: calc(var(--topnav-offset) + 1rem);
  align-self: start;
}
.contact-page .contact-panel-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--text-light);
}
.contact-page .contact-checklist {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.6rem;
  color: rgba(226, 232, 240, 0.88);
}
.contact-page .contact-checklist li {
  line-height: 1.55;
}

.contact-page .contact-card--stack > .contact-block + .contact-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.contact-page .chat-contact-link {
  background: rgba(75, 194, 255, 0.08);
  border-color: rgba(75, 194, 255, 0.22);
}

.contact-page .chat-contact-link:hover {
  border-color: rgba(75, 194, 255, 0.46);
  background: rgba(75, 194, 255, 0.14);
}

@media (max-width: 540px) {
  .contact-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-page .contact-hero__aside {
    width: 100%;
    justify-items: stretch;
  }
  .contact-page .contact-status-note {
    max-width: none;
    text-align: left;
  }
  .contact-badge {
    width: 100%;
    text-align: center;
  }
  .contact-page .contact-hero__chips {
    width: 100%;
  }
  .contact-page .contact-hero__chip {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .contact-page .contact-overview {
    grid-template-columns: 1fr;
  }
  .contact-page .contact-quickactions {
    grid-template-columns: 1fr;
  }
  .contact-page .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-page .contact-card--secondary {
    position: static;
  }
}

@media (max-width: 640px) {
  .contact-page .contact-card__split {
    grid-template-columns: 1fr;
  }
  .contact-page .contact-email-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .contact-page .contact-email-row a[data-contact-email] {
    padding: 0.75rem 0.85rem;
  }
}

.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.contact-call {
  --contact-call-bg: rgba(15, 23, 42, 0.65);
  --contact-call-border: rgba(148, 163, 184, 0.32);
  --contact-call-hover-bg: rgba(56, 189, 248, 0.18);
  --contact-call-hover-border: rgba(56, 189, 248, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  border-radius: 0.75rem;
  border: 1px solid var(--contact-call-border);
  background: var(--contact-call-bg);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
  max-width: 100%;
  flex: 1 1 auto;
  box-shadow: 0 0.85rem 1.8rem rgba(15, 23, 42, 0.18);
}

.contact-call em {
  white-space: normal;
  word-break: break-word;
}

.contact-call__icon {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.contact-call--whatsapp {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.22),
    rgba(5, 150, 105, 0.18)
  );
  --contact-call-border: rgba(37, 211, 102, 0.42);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.32),
    rgba(5, 150, 105, 0.24)
  );
  --contact-call-hover-border: rgba(74, 222, 128, 0.72);
  box-shadow: 0 1rem 2.2rem rgba(6, 95, 70, 0.22);
}

.contact-call--whatsapp:hover,
.contact-call--whatsapp:focus-visible {
  box-shadow: 0 1.1rem 2.4rem rgba(6, 95, 70, 0.28);
}

.contact-call--signal {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(58, 118, 240, 0.24),
    rgba(37, 99, 235, 0.18)
  );
  --contact-call-border: rgba(96, 165, 250, 0.42);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.32),
    rgba(37, 99, 235, 0.24)
  );
  --contact-call-hover-border: rgba(147, 197, 253, 0.74);
  box-shadow: 0 1rem 2.2rem rgba(30, 64, 175, 0.22);
}

.contact-call--signal:hover,
.contact-call--signal:focus-visible {
  box-shadow: 0 1.1rem 2.4rem rgba(30, 64, 175, 0.28);
}

.contact-call--telegram {
  --contact-call-bg: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.22),
    rgba(2, 132, 199, 0.18)
  );
  --contact-call-border: rgba(56, 189, 248, 0.4);
  --contact-call-hover-bg: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.32),
    rgba(3, 105, 161, 0.24)
  );
  --contact-call-hover-border: rgba(125, 211, 252, 0.72);
  box-shadow: 0 1rem 2.2rem rgba(8, 47, 73, 0.22);
}

.contact-call--telegram:hover,
.contact-call--telegram:focus-visible {
  box-shadow: 0 1.1rem 2.4rem rgba(8, 47, 73, 0.28);
}

.contact-label-full {
  display: inline;
}

.contact-label-compact {
  display: none;
}

@media (min-width: 425px) {
  .contact-card {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (min-width: 768px) {
  .contact-card {
    max-width: 1040px;
  }
}

.messenger-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.2rem;
}

.messenger-icon {
  width: 0.9rem;
  height: 0.9rem;
  fill: var(--accent);
}

.messenger-icon--signal {
  fill: #ffffff;
}

.messenger-icon-wrapper--signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3a76f0;
  border-radius: 6px;
  padding: 0.14rem;
  border: 1px dotted #ffffff;
}

.messenger-icon--whatsapp {
  fill: #25d366;
}

.contact-call:hover,
.contact-call:focus-visible {
  background: var(--contact-call-hover-bg);
  border-color: var(--contact-call-hover-border);
  transform: translateY(-1px);
  box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.24);
}

.map-card {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(75, 194, 255, 0.1),
      transparent 50%
    ),
    rgba(15, 23, 42, 0.7);
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.45);
}

.map-card-header {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.map-card-title {
  margin: 0.1rem 0;
}

.map-card-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.map-card-body {
  margin-top: 0.25rem;
}

.map-frame {
  width: 100%;
  height: 360px;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-light);
}

.availability-pill.open {
  border-color: rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
}

.availability-pill.soon {
  border-color: rgba(34, 211, 238, 0.7);
  background: rgba(34, 211, 238, 0.12);
  color: #0f172a;
}

.availability-pill.closed {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}

.contact-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer.site-footer {
  padding: 1rem 1.6rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: var(--bg-base);
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

footer.site-footer span.brand {
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.4;
}

footer.site-footer .footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

footer.site-footer .footer-link {
  color: #7dd3fc;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  padding: 0 0 0.2em 0;
  border-radius: 0;
  background: none;
  transition: color 0.18s ease;
}

footer.site-footer .footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

footer.site-footer .footer-link:hover,
footer.site-footer .footer-link:focus-visible {
  color: #38bdf8;
}

footer.site-footer .footer-link:hover::after,
footer.site-footer .footer-link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.footer-counts {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-counts__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.85rem;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 0.4rem 1.1rem rgba(15, 23, 42, 0.22);
}

.footer-counts__icon {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: linear-gradient(
    145deg,
    rgba(8, 47, 73, 0.55),
    rgba(56, 189, 248, 0.62)
  );
  font-size: 1.05rem;
  color: #e8f6ff;
  box-shadow:
    0 0.45rem 0.9rem rgba(56, 189, 248, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.footer-counts__text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.2;
}

.footer-counts__number {
  color: #e2e8f0;
  font-weight: 700;
  font-size: 1rem;
}

.footer-counts__label {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-cube,
.nav-cube {
  position: relative;
  width: var(--cube-size, 140px);
  height: var(--cube-size, 140px);
  flex: 0 0 var(--cube-size, 140px);
  perspective: 1200px;
  filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.45))
    drop-shadow(0 0 32px rgba(56, 189, 248, 0.18));
}

.footer-cube .cube-scene,
.nav-cube .cube-scene {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  animation: cube-spin 16s linear infinite;
  transform: rotateX(-18deg) rotateY(24deg);
  will-change: transform;
  pointer-events: none;
}

.nav-cube .cube-scene {
  animation: nav-cube-spin-words 18s ease-in-out infinite;
}

/* Nav cube specific tuning */
.nav-cube {
  --cube-size: 146px;
  --cube-depth: 88px;
  --cube-link-size: var(--cube-size);
  --cube-letter-spacing: 0.12em;
  --cube-font-size: clamp(0.82rem, 1.05vw, 1.08rem);
  --cube-text-offset: 12px;
  --cube-glow: rgba(56, 189, 248, 0.48);
  --cube-glass: rgba(255, 255, 255, 0.16);
}

.footer-cube .cube-face,
.nav-cube .cube-face {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.35),
      rgba(125, 211, 252, 0.28) 55%,
      rgba(14, 165, 233, 0.35)
    ),
    radial-gradient(
      circle at 25% 25%,
      rgba(255, 255, 255, 0.38),
      transparent 48%
    );
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 1.2rem rgba(125, 211, 252, 0.22) inset,
    0 10px 36px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(15, 23, 42, 0.2);
  opacity: 0.72;
  mix-blend-mode: normal;
  backdrop-filter: blur(6px);
  transform-style: preserve-3d;
  backface-visibility: visible;
  pointer-events: none;
}

.cube-face__label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0f2fe;
  text-shadow:
    0 6px 18px rgba(15, 23, 42, 0.55),
    0 0 12px rgba(125, 211, 252, 0.55);
  transform: translateZ(1px);
  font-size: 0.82rem;
  text-align: center;
  pointer-events: none;
}

.cube-face--front {
  transform: translateZ(70px);
  background:
    linear-gradient(
      135deg,
      rgba(125, 211, 252, 0.55),
      rgba(14, 165, 233, 0.35)
    ),
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.45),
      transparent 55%
    );
}
.cube-face--back {
  transform: translateZ(-70px) rotateY(180deg);
  background:
    linear-gradient(145deg, rgba(94, 234, 212, 0.5), rgba(45, 212, 191, 0.28)),
    radial-gradient(
      circle at 70% 35%,
      rgba(255, 255, 255, 0.28),
      transparent 60%
    );
}
.cube-face--right {
  transform: rotateY(90deg) translateZ(70px);
  background:
    linear-gradient(160deg, rgba(94, 234, 255, 0.5), rgba(14, 165, 233, 0.28)),
    radial-gradient(
      circle at 20% 60%,
      rgba(255, 255, 255, 0.4),
      transparent 55%
    );
}
.cube-face--left {
  transform: rotateY(-90deg) translateZ(70px);
  background:
    linear-gradient(120deg, rgba(168, 85, 247, 0.3), rgba(59, 130, 246, 0.3)),
    radial-gradient(
      circle at 65% 25%,
      rgba(255, 255, 255, 0.35),
      transparent 60%
    );
}
.cube-face--top {
  transform: rotateX(90deg) translateZ(70px);
  background:
    linear-gradient(
      115deg,
      rgba(244, 114, 182, 0.28),
      rgba(56, 189, 248, 0.32)
    ),
    radial-gradient(
      circle at 45% 45%,
      rgba(255, 255, 255, 0.4),
      transparent 55%
    );
}
.cube-face--bottom {
  transform: rotateX(-90deg) translateZ(70px);
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.32), rgba(52, 211, 153, 0.28)),
    radial-gradient(
      circle at 40% 60%,
      rgba(255, 255, 255, 0.28),
      transparent 60%
    );
}

.cube-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.4) 0%,
    rgba(56, 189, 248, 0.08) 35%,
    transparent 60%
  );
  filter: blur(18px);
  transform: translateZ(-40px);
  animation: cube-pulse 3.2s ease-in-out infinite alternate;
  opacity: 0.8;
}

@keyframes cube-spin {
  0% {
    transform: rotateX(-22deg) rotateY(18deg);
  }
  50% {
    transform: rotateX(22deg) rotateY(198deg);
  }
  100% {
    transform: rotateX(-22deg) rotateY(378deg);
  }
}

@keyframes cube-pulse {
  0% {
    opacity: 0.7;
    filter: blur(14px) brightness(1);
  }
  100% {
    opacity: 1;
    filter: blur(20px) brightness(1.2);
  }
}

@keyframes nav-cube-spin-words {
  0%,
  18% {
    transform: rotateX(-16deg) rotateY(28deg) rotateZ(-2deg);
  }
  25%,
  43% {
    transform: rotateX(-14deg) rotateY(-62deg) rotateZ(-1deg);
  }
  50%,
  68% {
    transform: rotateX(-17deg) rotateY(-152deg) rotateZ(1deg);
  }
  75%,
  93% {
    transform: rotateX(-15deg) rotateY(-242deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(-16deg) rotateY(-332deg) rotateZ(-2deg);
  }
}

.nav-cube {
  position: relative;
  top: 0;
  left: 0;
  right: auto;
  --cube-size: clamp(5.55rem, 5.1rem + 1vw, 6.45rem);
  --cube-depth: calc(var(--cube-size) * 0.47);
  width: var(--cube-size, 150px);
  height: var(--cube-size, 150px);
  flex-basis: var(--cube-size, 150px);
  opacity: 0.98;
  z-index: 0;
  pointer-events: none;
  align-self: center;
  transform: none;
  transform-origin: center;
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
  filter: drop-shadow(0 0.95rem 1.55rem rgba(2, 6, 23, 0.28))
    drop-shadow(0 0 1rem rgba(56, 189, 248, 0.12));
}

.nav-cube-link {
  --nav-cube-link-width: clamp(9.4rem, 8.6rem + 2.1vw, 11.6rem);
  --nav-cube-front-label-size: clamp(0.635rem, 0.585rem + 0.18vw, 0.795rem);
  position: relative;
  display: inline-grid;
  grid-template-rows: minmax(var(--cube-size), auto) auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 0.42rem;
  align-self: center;
  width: var(--nav-cube-link-width);
  min-width: var(--nav-cube-link-width);
  min-height: 0;
  padding: 0.42rem 0.46rem 0.56rem;
  pointer-events: auto;
  margin-block: 0.1rem;
  margin-right: clamp(0.55rem, 1.4vw, 1rem);
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
  border-radius: 1.35rem;
  border: 1px solid transparent;
  background: transparent;
  box-shadow:
    0 0.7rem 1.8rem rgba(2, 6, 23, 0.18),
    0 0 0 1px rgba(125, 211, 252, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  backdrop-filter: blur(12px) saturate(130%);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease,
    filter 0.24s ease;
}

.nav-cube-link::before {
  content: "";
  position: absolute;
  inset: 0.26rem;
  border-radius: 1.28rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.24s ease;
}

.nav-cube-link::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 0.08rem;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  pointer-events: none;
  filter: blur(0.4px);
  transition: opacity 0.24s ease;
}

.nav-cube-link:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.92);
  outline-offset: 4px;
  border-radius: 1.55rem;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.18),
    0 1.25rem 2.6rem rgba(2, 6, 23, 0.3),
    0 0 0 1px rgba(125, 211, 252, 0.14) inset;
}

.nav-cube-link.active {
  border-color: rgba(125, 211, 252, 0.3);
  background:
    radial-gradient(
      circle at 50% -8%,
      rgba(103, 232, 249, 0.26),
      rgba(255, 255, 255, 0) 56%
    ),
    linear-gradient(
      180deg,
      rgba(8, 78, 116, 0.78),
      rgba(15, 23, 42, 0.92) 54%,
      rgba(2, 6, 23, 0.98)
    );
  box-shadow:
    0 1.15rem 2.6rem rgba(2, 6, 23, 0.34),
    0 0 0 1px rgba(56, 189, 248, 0.12) inset,
    0 0 1.25rem rgba(56, 189, 248, 0.07);
}

.nav-cube-link.active::before,
.nav-cube-link.active::after {
  opacity: 1;
}

.nav-cube-link:hover,
.nav-cube-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.34);
  background:
    radial-gradient(
      circle at 50% -6%,
      rgba(125, 211, 252, 0.24),
      rgba(255, 255, 255, 0) 58%
    ),
    linear-gradient(
      180deg,
      rgba(10, 58, 92, 0.9),
      rgba(15, 23, 42, 0.94) 54%,
      rgba(2, 6, 23, 0.98)
    );
  box-shadow:
    0 1.2rem 2.8rem rgba(2, 6, 23, 0.36),
    0 0 0 1px rgba(56, 189, 248, 0.12) inset,
    0 0 1.6rem rgba(56, 189, 248, 0.08);
  filter: saturate(1.03);
}

.nav-cube-link:hover::before,
.nav-cube-link:hover::after,
.nav-cube-link:focus-visible::before,
.nav-cube-link:focus-visible::after {
  opacity: 1;
}

.nav-cube-link:hover .nav-cube,
.nav-cube-link:focus-visible .nav-cube {
  transform: translateY(-0.08rem) scale(1.02);
  filter: drop-shadow(0 1.15rem 1.9rem rgba(2, 6, 23, 0.32))
    drop-shadow(0 0 1.25rem rgba(56, 189, 248, 0.18));
}

.nav-cube-link:hover .cube-scene,
.nav-cube-link:focus-visible .cube-scene {
  animation-play-state: paused;
}

.nav-cube-link__caption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-height: 2.1rem;
  max-width: 100%;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(8, 47, 73, 0.38);
  box-shadow:
    0 0.55rem 1.4rem rgba(2, 6, 23, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(10px) saturate(140%);
  font-size: clamp(0.58rem, 0.52rem + 0.12vw, 0.68rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(240, 249, 255, 0.92);
  text-align: center;
  white-space: normal;
  text-wrap: balance;
}

.nav-cube-link__caption::after {
  content: "↗";
  display: inline-grid;
  place-items: center;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(125, 211, 252, 0.18);
  font-size: 0.56rem;
  line-height: 1;
  opacity: 0.92;
}

:root[data-theme="light"] .nav-cube-link {
  border-color: transparent;
  background: transparent;
  box-shadow:
    0 0.7rem 1.8rem rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(148, 163, 184, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

:root[data-theme="light"] .nav-cube-link.active {
  border-color: rgba(56, 189, 248, 0.22);
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(56, 189, 248, 0.16),
      rgba(255, 255, 255, 0) 58%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(241, 245, 249, 0.94) 56%,
      rgba(226, 232, 240, 0.9)
    );
  box-shadow:
    0 1.1rem 2.2rem rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(148, 163, 184, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

:root[data-theme="light"] .nav-cube-link::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.46)
  );
  border-color: rgba(148, 163, 184, 0.2);
}

:root[data-theme="light"] .nav-cube-link__caption {
  color: rgba(15, 23, 42, 0.78);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(56, 189, 248, 0.18);
  box-shadow:
    0 0.45rem 1.1rem rgba(148, 163, 184, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

:root[data-theme="light"] .nav-cube-link__caption::after {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.18);
}

:root[data-theme="light"] .nav-cube-link:hover,
:root[data-theme="light"] .nav-cube-link:focus-visible,
:root[data-theme="light"] .nav-cube-link.active {
  border-color: rgba(14, 165, 233, 0.32);
  background:
    radial-gradient(
      circle at 50% -4%,
      rgba(56, 189, 248, 0.22),
      rgba(255, 255, 255, 0) 60%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.99),
      rgba(240, 249, 255, 0.96) 56%,
      rgba(226, 232, 240, 0.92)
    );
  box-shadow:
    0 1.35rem 2.6rem rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(56, 189, 248, 0.12) inset,
    0 0 1.5rem rgba(56, 189, 248, 0.08);
}

:root[data-theme="light"] .nav-cube .cube-face__label {
  color: #0f3b58;
  text-shadow:
    0 2px 8px rgba(255, 255, 255, 0.85),
    0 0 10px rgba(56, 189, 248, 0.18);
}

.nav-cube .cube-face {
  border-radius: 1rem;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.14),
      rgba(125, 211, 252, 0.1) 46%,
      rgba(8, 47, 73, 0.38)
    ),
    radial-gradient(
      circle at 22% 18%,
      rgba(255, 255, 255, 0.32),
      transparent 42%
    );
  border: 1px solid rgba(191, 219, 254, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0.65rem 1.4rem rgba(2, 6, 23, 0.2);
  opacity: 0.98;
  backdrop-filter: blur(8px) saturate(130%);
}

.nav-cube .cube-face__label {
  color: #eff6ff;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(0.695rem, 0.615rem + 0.2vw, 0.835rem);
  line-height: 1.05;
  width: calc(100% - 0.85rem);
  padding: 0.36rem;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  text-transform: none;
  max-width: calc(100% - 0.85rem);
  transform: translate3d(-50%, -50%, var(--cube-text-offset, 0px));
  text-shadow:
    0 2px 8px rgba(2, 6, 23, 0.44),
    0 0 10px rgba(125, 211, 252, 0.26);
}

.nav-cube .cube-face--front .cube-face__label {
  font-size: var(--nav-cube-front-label-size);
  letter-spacing: 0;
  line-height: 1.04;
  white-space: nowrap;
  text-wrap: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  max-width: calc(100% - 0.75rem);
}

.nav-cube .cube-face--front {
  background:
    linear-gradient(
      160deg,
      rgba(224, 242, 254, 0.28),
      rgba(56, 189, 248, 0.18) 42%,
      rgba(8, 47, 73, 0.52)
    ),
    radial-gradient(
      circle at 30% 24%,
      rgba(255, 255, 255, 0.34),
      transparent 48%
    );
}

.nav-cube .cube-face--back {
  background:
    linear-gradient(
      160deg,
      rgba(191, 219, 254, 0.18),
      rgba(59, 130, 246, 0.12) 40%,
      rgba(15, 23, 42, 0.56)
    ),
    radial-gradient(
      circle at 68% 30%,
      rgba(255, 255, 255, 0.22),
      transparent 50%
    );
}

.nav-cube .cube-face--right {
  background:
    linear-gradient(
      160deg,
      rgba(204, 251, 241, 0.18),
      rgba(45, 212, 191, 0.14) 42%,
      rgba(6, 78, 59, 0.46)
    ),
    radial-gradient(
      circle at 22% 56%,
      rgba(255, 255, 255, 0.2),
      transparent 50%
    );
}

.nav-cube .cube-face--left {
  background:
    linear-gradient(
      160deg,
      rgba(219, 234, 254, 0.18),
      rgba(96, 165, 250, 0.12) 42%,
      rgba(30, 41, 59, 0.5)
    ),
    radial-gradient(
      circle at 62% 24%,
      rgba(255, 255, 255, 0.22),
      transparent 52%
    );
}

.nav-cube .cube-face--top,
.nav-cube .cube-face--bottom {
  opacity: 0.58;
}

:root[data-theme="light"] .nav-cube .cube-face {
  border-color: rgba(56, 189, 248, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0.65rem 1.35rem rgba(148, 163, 184, 0.22);
}

:root[data-theme="light"] .nav-cube .cube-face--front {
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.92),
      rgba(186, 230, 253, 0.86) 40%,
      rgba(191, 219, 254, 0.82)
    ),
    radial-gradient(
      circle at 30% 24%,
      rgba(255, 255, 255, 0.78),
      transparent 52%
    );
}

:root[data-theme="light"] .nav-cube .cube-face--back {
  background:
    linear-gradient(
      160deg,
      rgba(248, 250, 252, 0.92),
      rgba(219, 234, 254, 0.8) 40%,
      rgba(226, 232, 240, 0.86)
    ),
    radial-gradient(
      circle at 68% 30%,
      rgba(255, 255, 255, 0.62),
      transparent 52%
    );
}

:root[data-theme="light"] .nav-cube .cube-face--right {
  background:
    linear-gradient(
      160deg,
      rgba(240, 253, 250, 0.92),
      rgba(167, 243, 208, 0.72) 42%,
      rgba(209, 250, 229, 0.82)
    ),
    radial-gradient(
      circle at 22% 56%,
      rgba(255, 255, 255, 0.54),
      transparent 52%
    );
}

:root[data-theme="light"] .nav-cube .cube-face--left {
  background:
    linear-gradient(
      160deg,
      rgba(239, 246, 255, 0.92),
      rgba(191, 219, 254, 0.76) 42%,
      rgba(224, 231, 255, 0.84)
    ),
    radial-gradient(
      circle at 62% 24%,
      rgba(255, 255, 255, 0.6),
      transparent 54%
    );
}

@media (min-width: 48rem) {
  .nav-cube {
    --cube-size: clamp(5.4rem, 5rem + 0.8vw, 6.1rem);
  }

  .nav-cube-link {
    --nav-cube-link-width: clamp(8.6rem, 7.9rem + 1.5vw, 10rem);
    --nav-cube-front-label-size: clamp(0.595rem, 0.545rem + 0.14vw, 0.695rem);
    margin-block: 0.12rem;
    gap: 0.32rem;
    padding: 0.3rem 0.32rem 0.38rem;
  }

  .nav-cube-link:hover .nav-cube,
  .nav-cube-link:focus-visible .nav-cube {
    transform: translateY(-0.06rem) scale(1.03);
  }
}

@media (min-width: 1140px) {
  .nav-cube .cube-face--front .cube-face__label {
    font-size: 0.775rem;
    letter-spacing: 0;
    max-width: calc(100% - 0.8rem);
  }
}

/* Push nav cube faces outward only for header logo */
.nav-cube .cube-face--front {
  transform: translateZ(var(--cube-depth, 70px));
}
.nav-cube .cube-face--back {
  transform: translateZ(calc(-1 * var(--cube-depth, 70px))) rotateY(180deg);
}
.nav-cube .cube-face--right {
  transform: rotateY(90deg) translateZ(var(--cube-depth, 70px));
}
.nav-cube .cube-face--left {
  transform: rotateY(-90deg) translateZ(var(--cube-depth, 70px));
}
.nav-cube .cube-face--top {
  transform: rotateX(90deg) translateZ(var(--cube-depth, 70px));
}
.nav-cube .cube-face--bottom {
  transform: rotateX(-90deg) translateZ(var(--cube-depth, 70px));
}

/* Hide glow for a cleaner logo look */
.nav-cube .cube-glow {
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.2) 0%,
    rgba(56, 189, 248, 0.08) 38%,
    transparent 66%
  );
  opacity: 0.18;
  filter: blur(16px);
  transform: translateZ(-40px) scale(0.84);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.nav-cube-link:hover .nav-cube .cube-glow,
.nav-cube-link:focus-visible .nav-cube .cube-glow {
  opacity: 0.42;
  transform: translateZ(-40px) scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .footer-cube .cube-scene,
  .nav-cube .cube-scene,
  .cube-glow {
    animation: none !important;
  }
}

@media (max-width: 55rem) {
  .footer-cube {
    width: 120px;
    height: 120px;
    flex-basis: 120px;
  }
  .nav-cube {
    --cube-size: 5.15rem;
  }
  .nav-cube-link {
    --nav-cube-link-width: 8.8rem;
    --nav-cube-front-label-size: 0.625rem;
    padding: 0.34rem 0.32rem 0.42rem;
    margin-right: 0.45rem;
  }
  .nav-cube-link__caption {
    min-height: 2rem;
    font-size: 0.56rem;
  }
  .nav-cube .cube-face--front .cube-face__label {
    max-width: calc(100% - 0.7rem);
    letter-spacing: 0;
  }
  .topnav {
    padding-left: 0.75rem;
  }
}

@media (max-width: 46rem) {
  .nav-cube-link {
    --nav-cube-link-width: 8rem;
    --nav-cube-front-label-size: 0.555rem;
    gap: 0.24rem;
    margin-right: 0.3rem;
  }
  .nav-cube {
    --cube-size: 4.7rem;
  }
  .nav-cube .cube-face--front .cube-face__label {
    max-width: calc(100% - 0.55rem);
  }
}

@media (max-width: 38rem) {
  .topnav {
    padding-left: 0.75rem;
  }
  .footer-cube {
    width: 98px;
    height: 98px;
    flex-basis: 98px;
    margin-left: auto;
    opacity: 0.85;
  }
  .nav-cube {
    display: none;
  }
  .nav-cube-link {
    display: none;
  }
}

footer.site-footer .footer-link:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.75);
  outline-offset: 3px;
  border-radius: 4px;
}

:root:not([data-theme="light"]) footer.site-footer .footer-link {
  color: #7dd3fc;
  background: none;
  border: none;
}

:root:not([data-theme="light"]) footer.site-footer .footer-link:hover,
:root:not([data-theme="light"]) footer.site-footer .footer-link:focus-visible {
  color: #38bdf8;
}

@media (max-width: 55rem) {
  .topnav {
    padding-left: 0.75rem;
  }
  header.hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side {
    order: -1;
  }

  .hero-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .login-chip {
    width: 100%;
    justify-content: center;
  }

  @media (min-width: 721px) and (max-width: 769px) {
    header.hero {
      padding: 4.9rem 1.3rem 3.9rem;
    }
    .services-grid {
      grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
      gap: 1rem;
    }
    .contact-grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
  }

  .login-chip strong {
    text-align: center;
  }
}

/* Kontaktkarte auf kleineren Screens immer volle Breite zeigen */
@media (max-width: 64rem) {
  .contact-card {
    grid-column: 1 / -1;
    max-width: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .service-card {
    max-width: none;
    padding: 1.05rem 1.1rem;
  }
}

/* Services: auf mobilen/tablet Icons ausblenden für bessere Lesbarkeit */
@media (max-width: 64rem) {
  .service-card::before {
    display: none;
  }
}

/* 768–1024px gezielt optimieren */
@media (min-width: 48rem) and (max-width: 64rem) {
  .page-shell {
    --page-shell-content-top-padding: calc(var(--space-page) + 1.5rem);
    --page-shell-inline-padding: clamp(1rem, 2.4vw, 2.1rem);
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: calc(var(--topnav-offset) + 2.6rem);
  }

  header.hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.15rem;
  }

  .hero-side {
    max-width: 24rem;
    width: 100%;
    order: 2;
  }

  .hero-actions {
    justify-content: flex-start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .service-card,
  .price-card,
  .step-card {
    padding: 1rem 1.05rem;
  }

  .ticker-track {
    gap: 0.8rem;
  }

  .section {
    padding: 1.2rem 1.25rem;
  }
}

/* 500–800px: zwei Spalten wo möglich */
@media (min-width: 31.25rem) and (max-width: 50rem) {
  .services-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
  .contact-grid,
  .contact-grid--with-weather {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 48rem) {
  .contact-grid--with-weather {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .contact-grid--with-weather .weather-col {
    order: 2;
  }
}

/* Feinschliff unter 800px */
@media (max-width: 50rem) {
  .page-shell {
    --page-shell-content-top-padding: calc(var(--space-page) + 1rem);
    --page-shell-inline-padding: clamp(0.9rem, 2vw, 1.6rem);
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: calc(var(--topnav-offset) + 2.35rem);
  }

  header.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .contact-grid--with-weather {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .contact-grid--with-weather {
    gap: 0.75rem;
  }

  .hero-side {
    order: -1;
    max-width: none;
    width: 100%;
  }
}

/* 426–769px: kompakt, aber zweispaltige Grids wo möglich */
@media (min-width: 26.6rem) and (max-width: 48rem) {
  .page-shell {
    --page-shell-content-top-padding: calc(var(--space-page) + 1.1rem);
    --page-shell-inline-padding: clamp(1rem, 2.5vw, 1.8rem);
    max-width: 1100px;
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: calc(var(--topnav-offset) + 2.5rem);
  }

  header.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.9rem;
  }

  .contact-grid,
  .contact-grid--with-weather {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.8rem;
  }

  .section {
    padding: 1.1rem 1.15rem;
  }
}

/* Tablet-Landschaft: harmonische Zweispalter und großzügige Ränder */
@media (min-width: 50rem) and (max-width: 75rem) {
  .page-shell {
    --page-shell-content-top-padding: calc(var(--space-page) + 1.9rem);
    --page-shell-inline-padding: clamp(1.1rem, 3vw, 2.3rem);
    max-width: var(--page-shell-max-width);
    margin: 0 auto;
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: calc(var(--topnav-offset) + 2.8rem);
  }

  .section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .manual-grid {
    gap: 1rem;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.85rem;
  }
}

/* Tablet layout: use the available width but keep things airy */
@media (min-width: 50rem) and (max-width: 75rem) {
  header.hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 1.25rem;
  }

  .hero-main {
    max-width: none;
  }

  .hero-side {
    order: 2;
    max-width: 28rem;
    width: 100%;
    justify-self: stretch;
  }

  .hero-card {
    height: 100%;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: min(960px, 96vw);
  }

  .contact-grid--with-weather {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    gap: 1.35rem;
  }

  .contact-grid--with-weather .weather-col .weather-widget .wrap {
    max-width: 100%;
  }

  .contact-card {
    grid-column: 1 / -1;
    max-width: none;
  }

  .section {
    padding: 1.35rem 1.4rem;
  }
}

@media (max-width: 48rem) {
  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .manual-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .service-card,
  .price-card,
  .step-card,
  .contact-card,
  .manual-card {
    padding: 0.95rem 1rem;
  }
}

@media (max-width: 45rem) {
  .map-frame {
    height: 260px;
  }

  .calendar-section .calendar-shell {
    padding: 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .services-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .support-actions {
    grid-template-columns: 1fr;
  }

  /* Cards auf kleineren Screens wie Hero vollflächig stapeln */
  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card,
  .price-card,
  .step-card,
  .contact-card,
  .manual-card,
  .hero-card {
    width: 100%;
    box-sizing: border-box;
    padding: 0.9rem 0.95rem;
  }

  .page-shell {
    --page-shell-inline-padding: clamp(0.8rem, 4vw, 1.2rem);
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: 6.75rem;
  }

  header.hero {
    padding: 5.4rem 1.1rem 4.2rem;
    margin-block: 0 0.9rem;
  }

  .hero-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-fold-toggle {
    margin-left: 0;
    align-self: flex-start;
  }

  .section {
    padding: 1.1rem 1.05rem 1.2rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .login-chip {
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
  }

  .login-chip__avatar {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1rem;
  }

  @media (min-width: 721px) and (max-width: 769px) {
    header.hero {
      padding: 4.9rem 1.3rem 3.9rem;
    }
    .services-grid {
      grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
      gap: 1rem;
    }
    .contact-grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
  }

  .login-chip strong {
    font-size: 0.95rem;
  }

  .legal-section,
  .legal-section h1,
  .legal-section h2,
  .legal-section h3,
  .legal-section p,
  .legal-section li {
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
  }

  .btn-primary,
  .btn-ghost {
    justify-content: center;
    width: 100%;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
  }

  .manual-actions a {
    min-width: 0;
  }

  body {
    /* padding-bottom: calc(5.8rem + env(safe-area-inset-bottom, 0px)); */
    padding-bottom: 0;
  }

  .mobile-action-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    justify-items: stretch;
    align-items: stretch;
    max-width: none;
  }

  .mobile-action-bar .mobile-btn {
    max-width: 14rem;
    width: 100%;
    justify-self: center;
  }

  footer.site-footer {
    width: 100%;
    padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }

  footer.site-footer .footer-meta {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.55rem 0.9rem;
  }

  footer.site-footer .footer-link {
    white-space: normal;
    word-break: break-word;
  }

  footer.site-footer .footer-counts {
    white-space: normal;
    line-height: 1.4;
    text-align: left;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    width: 100%;
  }

  .hero-lang {
    position: static;
    margin-top: 0.5rem;
  }

  .lang-menu {
    position: static;
    width: 100%;
  }

  .lang-tooltip {
    display: none;
  }
}

/* Mobile bottom fixed action bar */
.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.88);
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  display: none;
  z-index: 999;
  box-shadow: 0 -0.8rem 2rem rgba(0, 0, 0, 0.4);
}

.mobile-action-bar .mobile-btn {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: normal;
}

.mobile-btn.primary {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: var(--bg-base);
  box-shadow: 0 0.6rem 1.4rem rgba(56, 189, 248, 0.35);
}

.mobile-btn.secondary {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-soft);
  color: var(--text-light);
}

@media (max-width: 30rem) {
  .mobile-action-bar {
    grid-template-columns: 1fr;
    padding: 0.55rem 0.9rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    gap: 0.55rem;
  }

  .mobile-action-bar .mobile-btn {
    max-width: none;
    width: 100%;
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
  }

  footer.site-footer {
    padding-bottom: calc(1.8rem + env(safe-area-inset-bottom, 0px));
    align-items: center;
    text-align: center;
  }

  footer.site-footer .footer-meta {
    justify-content: center;
    text-align: center;
  }
}

.lang-inline {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.lang-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #f8fafc;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.lang-switcher:hover,
.lang-switcher:focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-1px);
  outline: none;
}

.lang-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-current {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: #0b1224;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 12rem;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 0.85rem;
  box-shadow: 0 1.2rem 2.2rem rgba(0, 0, 0, 0.55);
  padding: 0.4rem;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 10;
}

.lang-option {
  width: 100%;
  text-align: left;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text-light);
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  cursor: pointer;
  font-weight: 600;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.lang-option.active {
  background: var(--accent);
  color: #0b1224;
  border-color: var(--accent);
}

.lang-tooltip {
  position: absolute;
  top: -0.6rem;
  right: 0.1rem;
  background: #f5f6f8;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 0.85rem;
  padding: 0.55rem 0.75rem;
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.12);
  min-width: 12rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.lang-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.lang-tooltip-title {
  font-weight: 700;
  margin: 0;
  color: #0f172a;
  font-size: 0.9rem;
}

.lang-tooltip-sub {
  margin: 0.25rem 0 0;
  color: #1f2937;
  font-size: 0.78rem;
}

.lang-inline button {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-light);
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
  box-shadow: 0 0.9rem 1.8rem rgba(0, 0, 0, 0.35);
}

.lang-inline button:hover,
.lang-inline button:focus-visible {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.hero-lang {
  position: fixed;
  top: 0.75rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.75rem;
  z-index: 50;
  padding: 0.25rem 0.35rem;
  /* background: rgba(15, 23, 42, 0.65); */
  /* border: 1px solid rgba(148, 163, 184, 0.35); */
  /* backdrop-filter: blur(8px); */
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-light);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.38);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.theme-toggle__icon {
  font-size: 1rem;
  line-height: 1;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 1.1rem 2.4rem rgba(56, 189, 248, 0.28);
}

.theme-toggle--fab {
  position: fixed;
  right: 1rem;
  bottom: 4.25rem;
  z-index: 1200;
}

.theme-toggle--inline {
  position: relative;
}

/* Hide all theme toggle buttons across templates */
.theme-toggle {
  display: none;
}

@media (max-width: 48rem) {
  .theme-toggle--fab {
    bottom: 4.8rem;
    right: 0.9rem;
  }
}

:root[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.16);
}

.calendar-section .calendar-shell {
  margin-top: 1.4rem;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(75, 194, 255, 0.12),
      transparent 45%
    ),
    rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 1.6rem 3.2rem rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.calendar-section .calendar-shell .hero-actions {
  justify-content: center;
  justify-items: center;
  display: flex;
  margin: 0.6rem auto 0;
  width: 100%;
  max-width: 22rem;
  min-width: 14rem;
}

.calendar-section .calendar-shell .hero-actions .btn-primary,
.calendar-section .calendar-shell .hero-actions .btn-ghost {
  width: min(100%, 16rem);
}

@media (max-width: 40rem) {
  .calendar-section .calendar-shell .hero-actions {
    max-width: 100%;
    min-width: 0;
    padding-inline: 0.25rem;
  }

  .calendar-section .calendar-shell .hero-actions .btn-primary,
  .calendar-section .calendar-shell .hero-actions .btn-ghost {
    width: 100%;
  }

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

  .contact-text {
    padding: 0.95rem 0.9rem;
    gap: 0.85rem;
  }

  .contact-text__panel {
    padding: 0.8rem;
  }

  .contact-notice {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .contact-notice-label,
  .contact-notice-text {
    text-align: center;
  }

  .hero-actions.contact-actions {
    align-items: center;
    justify-content: center;
    margin: 0.6rem auto 0;
  }

  .hero-actions.contact-actions .btn-primary,
  .hero-actions.contact-actions .btn-ghost {
    width: 100%;
    max-width: none;
  }

  .contact-text__actions {
    grid-template-columns: 1fr;
  }

  .hero-actions.contact-actions.contact-text__actions {
    align-items: stretch;
    margin: 0;
  }

  .contact-text__actions .login-chip,
  .contact-text__actions .login-chip strong,
  .contact-text__register,
  .contact-text__register small {
    text-align: center;
    justify-items: center;
  }

  .contact-text__actions .login-chip {
    justify-content: center;
  }

  .contact-availability strong {
    display: none;
  }

  .contact-line--availability {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .contact-line--availability .availability-pill {
    flex: 1 1 auto;
    text-align: right;
  }

  .contact-label-full {
    display: none;
  }

  .contact-label-compact {
    display: inline;
  }
}

.contact-line--availability {
  justify-content: space-between;
}

.contact-line--availability .availability-pill {
  margin-left: auto;
  flex: 1 1 auto;
  text-align: right;
}

@media (max-width: 26.5rem) {
  .hero-actions.contact-actions {
    width: 100%;
    padding-inline: 0.35rem;
  }

  .hero-actions.contact-actions .btn-primary,
  .hero-actions.contact-actions .btn-ghost {
    width: 100%;
    max-width: none;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid {
    gap: 0.75rem;
  }

  .service-card,
  .price-card,
  .step-card,
  .contact-card,
  .manual-card {
    padding: 0.8rem 0.85rem;
  }

  .service-title,
  .price-value {
    font-size: 1.05rem;
  }

  .service-text,
  .service-meta,
  .price-detail,
  .step-card {
    font-size: 0.9rem;
  }
}

.calendar-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.9rem 1.2rem;
  margin-top: 0.8rem;
  font-size: 1rem;
  color: #e5e7eb;
  font-weight: 800;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.legend-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-block;
}

.legend-dot.free {
  background: rgba(34, 197, 94, 0.8);
}

.legend-dot.busy {
  background: rgba(59, 130, 246, 0.9);
}

.legend-dot.blocked {
  background: rgba(148, 163, 184, 0.8);
}

.legend-dot.holiday {
  background: rgba(239, 68, 68, 0.9);
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.calendar-nav-btn {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: #f8fafc;
  border-radius: 0.6rem;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.calendar-nav-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--border-soft);
  transform: translateY(-1px);
}

.calendar-title {
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  color: #f8fafc;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.85rem;
}

:root[data-theme="light"] .calendar-weekdays {
  color: #0f172a;
}

.calendar-weekday {
  text-align: center;
  padding: 0.35rem 0.25rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e5e7eb;
}

:root[data-theme="light"] .calendar-weekday {
  background: #e9ecf3;
  border-color: rgba(148, 163, 184, 0.55);
  color: #0f172a;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.calendar-day {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-light);
  border-radius: 0.8rem;
  min-height: 4.5rem;
  padding: 0.5rem;
  text-align: left;
  display: grid;
  align-content: space-between;
  gap: 0.35rem;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.2s ease,
    border-color 0.18s ease;
  position: relative;
  overflow: visible;
}

.calendar-day:hover:not(.is-placeholder):not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
  border-color: rgba(148, 163, 184, 0.5);
}

.calendar-day.is-placeholder {
  background: rgba(148, 163, 184, 0.08);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: rgba(15, 23, 42, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  cursor: default;
}

.calendar-day.calendar-adjacent {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.22),
    rgba(15, 23, 42, 0.16)
  );
  border: 1px dashed rgba(148, 163, 184, 0.45);
  color: rgba(226, 232, 240, 0.8);
}

:root[data-theme="light"] .calendar-day.calendar-adjacent {
  background: linear-gradient(135deg, #eef1f6, #e4e8f0);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  color: #334155;
}

.calendar-day-number {
  font-weight: 700;
  color: var(--text-light);
}

.calendar-day-status {
  display: inline-block;
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.9);
  opacity: 0.95;
}

.calendar-day.calendar-unavailable {
  background: rgba(148, 163, 184, 0.18);
  color: #9ca3af;
}

.calendar-day.calendar-free {
  background: rgba(34, 197, 94, 0.18);
  color: #e8ffe8;
}

.calendar-day.calendar-busy {
  background: rgba(59, 130, 246, 0.08);
}

.calendar-day.calendar-holiday {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.4);
  position: relative;
}

.calendar-day.calendar-today {
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.calendar-day.calendar-free .calendar-day-status {
  background: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.5);
}

.calendar-day.calendar-busy .calendar-day-status {
  background: rgba(59, 130, 246, 0.9);
}

.calendar-day.calendar-unavailable .calendar-day-status {
  background: rgba(148, 163, 184, 0.8);
}

.calendar-day.calendar-holiday .calendar-day-status {
  background: rgba(239, 68, 68, 0.9);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.55);
}

.calendar-day.calendar-sunday {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.4);
}

.calendar-day.calendar-sunday .calendar-day-status {
  background: rgba(239, 68, 68, 0.9);
}

.calendar-day.calendar-holiday .calendar-day-status::after {
  content: none;
}

.calendar-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2000;
}

.calendar-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.calendar-modal__dialog {
  position: relative;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 1.4rem 1.2rem 1.2rem;
  width: min(520px, 100%);
  box-shadow: 0 1.8rem 3.2rem rgba(0, 0, 0, 0.5);
}

.calendar-modal__kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.calendar-modal__title {
  font-size: 1.35rem;
  color: #f8fafc;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.calendar-modal__note {
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.calendar-modal__list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0;
}

.calendar-modal__list li {
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
  background: rgba(30, 41, 59, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: #f8fafc;
}

.calendar-modal__list time {
  color: #e0f2fe;
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.status-busy {
  background: rgba(59, 130, 246, 0.9);
  color: #0b1224;
}

.status-free {
  background: #34d399;
}

.status-unavailable {
  background: rgba(148, 163, 184, 0.85);
}

.calendar-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  background: rgba(30, 41, 59, 0.8);
  color: #e7e7e7;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  font-size: 1.1rem;
}

.calendar-modal__backdrop {
  position: absolute;
  inset: 0;
}

.calendar-tooltip {
  position: absolute;
  min-width: 240px;
  max-width: 320px;
  padding: 0.85rem 0.95rem;
  background: var(--panel-bg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.9rem;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.5);
  color: var(--text-light);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.12s ease,
    transform 0.12s ease;
}

.calendar-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.calendar-tooltip__date {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.calendar-tooltip__note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.calendar-tooltip__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.calendar-tooltip__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.65rem;
  padding: 0.4rem 0.55rem;
}

.calendar-tooltip__more {
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.3rem 0.1rem 0.1rem;
}

.calendar-tooltip__time {
  color: var(--text-light);
  font-weight: 600;
}

@media screen and (max-width: 40rem) {
  .calendar-weekdays {
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-light);
  }

  .calendar-grid {
    gap: 0.25rem;
  }

  .calendar-day {
    min-height: 3.3rem;
    padding: 0.35rem 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    justify-content: space-between;
  }

  .calendar-day-number {
    font-size: 0.98rem;
    flex: 0 0 auto;
  }

  .calendar-day-status {
    position: static;
    flex: 0 0 auto;
    width: 0.24rem;
    height: 0.24rem;
  }
}

/* Extra-small screens */
@media screen and (max-width: 32rem) {
  .btn-primary,
  .btn-ghost {
    width: 100%;
    min-width: 0;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
  }

  .calendar-weekdays {
    font-size: 0.75rem;
    gap: 0.2rem;
    color: var(--text-light);
  }

  .calendar-grid {
    gap: 0.2rem;
  }

  .calendar-day {
    min-height: 2.9rem;
    padding: 0.3rem 0.38rem;
    gap: 0.18rem;
  }

  .calendar-day-number {
    font-size: 0.9rem;
  }

  .calendar-day-status {
    width: 0.24rem;
    height: 0.24rem;
  }

  .login-chip {
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
  }

  .login-chip__avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
  }

  @media (min-width: 721px) and (max-width: 769px) {
    header.hero {
      padding: 4.9rem 1.3rem 3.9rem;
    }
    .services-grid {
      grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
      gap: 1rem;
    }
    .contact-grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
  }

  .login-chip strong {
    font-size: 0.9rem;
  }

  /* Ultra small (≤320px) tweak */
  @media screen and (max-width: 20rem) {
    .calendar-weekdays {
      font-size: 0.7rem;
      gap: 0.18rem;
      color: var(--text-light);
    }
    .calendar-grid {
      gap: 0.18rem;
    }
    .calendar-day {
      min-height: 2.75rem;
      padding: 0.28rem 0.34rem;
      gap: 0.16rem;
    }
    .calendar-day-number {
      font-size: 0.6rem;
    }
    .calendar-day-status {
      width: 0.24rem;
      height: 0.24rem;
    }
    .btn-primary,
    .btn-ghost {
      font-size: 0.85rem;
      padding: 0.65rem 0.8rem;
    }
    .login-chip {
      gap: 0.35rem;
      padding: 0.4rem 0.7rem;
    }
    .login-chip__avatar {
      width: 1.8rem;
      height: 1.8rem;
      font-size: 0.85rem;
    }
    @media (min-width: 721px) and (max-width: 769px) {
      header.hero {
        padding: 4.9rem 1.3rem 3.9rem;
      }
      .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
        gap: 1rem;
      }
      .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      }
    }

    .login-chip strong {
      font-size: 0.8rem;
    }
  }

  .page-shell {
    --page-shell-content-top-padding: 0.9rem;
    --page-shell-inline-padding: 0.75rem;
    --page-shell-bottom-padding: 0.75rem;
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: 6.6rem;
  }

  header.hero {
    padding: 1.1rem 1rem;
    gap: 1.2rem;
    margin-block: 0 0.75rem;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 4.5vw + 1rem, 2.1rem);
    line-height: 1.25;
  }

  .highlight {
    font-size: 1.05rem;
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .login-chip {
    justify-content: center;
  }

  @media (min-width: 721px) and (max-width: 769px) {
    header.hero {
      padding: 4.9rem 1.3rem 3.9rem;
    }
    .services-grid {
      grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
      gap: 1rem;
    }
    .contact-grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
  }

  .login-chip strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .hero-card {
    max-width: none;
    width: 100%;
  }

  .section {
    padding: 1rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }

  .map-frame {
    min-height: 240px;
  }

  .service-card,
  .step-card,
  .contact-card {
    padding: 0.9rem 0.95rem;
  }

  .section-title {
    font-size: 1rem;
  }
}

@media screen and (max-width: 26.6rem) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  body {
    overflow-x: hidden;
    width: 100%;
  }

  .page-shell {
    --page-shell-content-top-padding: 0.85rem;
    --page-shell-inline-padding: 0.7rem;
    --page-shell-bottom-padding: 0.7rem;
    max-width: 100%;
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: 6.4rem;
  }

  .section {
    padding: 0.9rem 0.75rem;
    width: 100%;
  }

  header.hero {
    padding: 1.1rem 0.95rem;
    gap: 1rem;
    width: 100%;
  }

  .service-card,
  .step-card,
  .contact-card,
  .manual-card,
  .hero-card {
    width: 100%;
    min-width: 0;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .manual-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  header.hero,
  .section,
  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .manual-grid {
    box-sizing: border-box;
  }

  .section-header,
  .section-body,
  .section-title {
    width: 100%;
    min-width: 0;
  }

  .section-header {
    gap: 0.4rem;
  }

  .sidenav a {
    padding: 0.5rem 0.65rem;
    font-size: 18px;
  }
}

@media screen and (max-width: 260px) {
  body {
    font-size: 15px;
  }

  .page-shell {
    --page-shell-content-top-padding: 0.8rem;
    --page-shell-inline-padding: 0.65rem;
    --page-shell-bottom-padding: 0.65rem;
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: 6.2rem;
  }

  header.hero {
    padding: 0.95rem 0.9rem;
  }

  .hero h1 {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .map-frame {
    min-height: 210px;
  }
}

@media screen and (max-width: 376px) {
  .hero h1 {
    font-size: 1.45rem;
    line-height: 1.26;
  }
}

@media screen and (min-width: 23.5rem) and (max-width: 32rem) {
  .hero h1 {
    font-size: clamp(1.55rem, 0.8rem + 3.4vw, 1.95rem);
    line-height: 1.16;
  }
}

@media screen and (min-width: 261px) and (max-width: 361px) {
  .hero h1 {
    font-size: 1.15rem;
    line-height: 1.26;
    letter-spacing: 0.01em;
  }
}

@media (min-width: 768px) {
  .page-shell {
    --page-shell-content-top-padding: calc(var(--space-page) + 2rem);
  }

  .page-shell.has-topnav {
    --page-shell-topnav-padding: calc(var(--topnav-offset) + 3.2rem);
  }
}

@media (min-width: 118.75rem) {
  .page-shell {
    max-width: 1720px;
  }

  .hero-surface {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    column-gap: clamp(2rem, 2.4vw, 3.25rem);
  }

  .hero-head {
    width: 100%;
    max-width: 40rem;
  }

  .hero-body {
    width: min(100%, 48rem);
    margin: 0 0 0 auto;
    justify-self: end;
  }
}

/* Print friendly view */
@media print {
  :root {
    --bg-dark: #fff;
    --bg-card: #fff;
    --bg-soft: #fff;
    --text-light: #111;
    --text-muted: #444;
    --accent: #111;
  }

  body {
    background: #fff;
    color: #111;
    line-height: 1.4;
  }

  .page-shell {
    max-width: none;
    padding: 1.2cm;
    margin: 0 auto;
  }

  header.hero,
  .section,
  .hero-card,
  .card {
    background: #fff;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  header.hero::before,
  .hero::before {
    display: none;
  }

  a {
    color: #111;
    text-decoration: underline;
  }

  /* Buttons im Print nicht pauschal ausblenden, nur UI-spezifische Elemente */
  .mobile-action-bar,
  .lang-inline {
    display: none;
  }
}

/* ENBT Chatbot */
.chatbot-widget {
  position: fixed;
  right: 1.25rem;
  bottom: calc(env(safe-area-inset-bottom, 0) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
  z-index: 10;
}

.chatbot-panel {
  width: 420px;
  max-width: 92vw;
  height: 520px;
  max-height: 80vh;
  background: rgba(12, 16, 28, 0.92);
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.25));
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  pointer-events: auto;
  resize: none;
}

.chatbot-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(75, 194, 255, 0.35),
    rgba(255, 255, 255, 0)
  );
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.chatbot-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-soft, rgba(148, 163, 184, 0.2));
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0)
  );
}

.chatbot-panel__kicker {
  font-size: 0.85rem;
  color: var(--text-muted, #9ca3af);
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.chatbot-panel__title {
  margin: 0.1rem 0;
  font-size: 1.1rem;
  color: var(--text-light, #e7e7e7);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0.01em;
}

.chatbot-panel__subtitle {
  margin: 0;
  color: var(--text-muted, #9ca3af);
  font-size: 0.9rem;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
.chatbot-panel__contact {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--text-light, #e7e7e7);
}
.chatbot-panel__contact a {
  color: var(--accent, #4bc2ff);
  text-decoration: none;
}
.chatbot-panel__contact a:hover {
  text-decoration: underline;
}

.chatbot-panel__actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.chatbot-panel__actions button,
.chatbot-panel__actions a.chatbot-panel__close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  transition: background 0.2s ease;
  color: var(--text-light, #e7e7e7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chatbot-panel__actions button:hover,
.chatbot-panel__actions a.chatbot-panel__close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.chatbot-panel__actions button:focus-visible,
.chatbot-panel__actions a.chatbot-panel__close:focus-visible {
  outline: 2px solid var(--accent, #4bc2ff);
  outline-offset: 2px;
}

.chatbot-panel__body {
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-light, #e7e7e7);
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(75, 194, 255, 0.08),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.05),
      transparent 35%
    );
}

.chatbot-panel__footer {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border-soft, rgba(148, 163, 184, 0.25));
}

.chatbot-msg {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  line-height: 1.4;
  font-size: 0.95rem;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

.chatbot-msg--bot {
  background: rgba(75, 194, 255, 0.08);
  color: var(--text-light, #e7e7e7);
  align-self: flex-start;
}

.chatbot-msg--user {
  background: var(--accent, #4bc2ff);
  color: #fff;
  align-self: flex-end;
}

.chatbot-page .chatbot-widget {
  position: static;
  right: auto;
  bottom: auto;
  align-items: center;
  width: 100%;
}

.chatbot-page .chatbot-panel {
  width: min(920px, 100%);
  min-height: min(72vh, 760px);
  max-height: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.chatbot-page .chatbot-panel__body {
  flex: 1 1 auto;
  max-height: none;
  min-height: 380px;
}

.chatbot-page-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  margin-bottom: 1rem;
}

.chatbot-page-shell {
  width: min(1240px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.6rem) 0;
}

.chatbot-page-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1.2rem 1.35rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top left, rgba(75, 194, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(11, 18, 32, 0.82));
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.24);
}

.chatbot-page-hero__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

.chatbot-page-hero__title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.04;
  color: #f8fafc;
}

.chatbot-page-hero__text {
  max-width: 52rem;
  margin: 0.6rem 0 0;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.55;
}

.chatbot-page-hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.chatbot-page-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #dbeafe;
}

.chatbot-page-badge--success {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.28);
  color: #dcfce7;
}

.chatbot-page-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.chatbot-page-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.chatbot-sidecard {
  padding: 1rem 1.05rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.64));
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.16);
}

.chatbot-sidecard--primary {
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 47, 73, 0.66));
}

.chatbot-sidecard__label {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.92);
}

.chatbot-sidecard__list {
  margin: 0;
  padding-left: 1.1rem;
  color: #e2e8f0;
  line-height: 1.55;
}

.chatbot-sidecard__list li + li {
  margin-top: 0.5rem;
}

.chatbot-sidecard__stack {
  display: grid;
  gap: 0.7rem;
}

.chatbot-sidecard__link {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: rgba(15, 23, 42, 0.46);
  color: #e2e8f0;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.chatbot-sidecard__link:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.42);
  background: rgba(30, 41, 59, 0.76);
}

.chatbot-sidecard__link small {
  color: rgba(226, 232, 240, 0.68);
}

.chatbot-sidecard__meta {
  display: grid;
  gap: 0.55rem;
  color: #e2e8f0;
}

.chatbot-panel__footer {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem 1rem 1rem;
  border-top: 1px solid var(--border-soft, rgba(148, 163, 184, 0.25));
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.32)),
    rgba(15, 23, 42, 0.92);
}

.chatbot-panel__composer {
  min-height: 0;
}

.chatbot-panel__footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: rgba(148, 163, 184, 0.92);
}

.chatbot-panel__charcount {
  font-variant-numeric: tabular-nums;
}

.chatbot-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent, #4bc2ff);
  text-decoration: none;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.3));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.chatbot-back-link:hover {
  background: rgba(75, 194, 255, 0.1);
}

.chatbot-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.chatbot-close:hover {
  color: var(--text-light);
  border-color: rgba(75, 194, 255, 0.6);
  background: rgba(75, 194, 255, 0.08);
}

.chatbot-link-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  min-width: 3.25rem;
  min-height: 3.25rem;
  color: #333;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  z-index: 2000;
  transition:
    filter 0.35s ease,
    background 0.35s ease,
    color 0.35s ease,
    opacity 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease,
    gap 0.3s ease,
    max-width 0.35s ease;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.chatbot-link-fab__badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #333;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.chatbot-link-fab__badge--image {
  background: url("/static/images/smily.0be69f857406.webp") center center / cover no-repeat;
  color: transparent;
}

.chatbot-link-fab__text {
  color: #f8fafc;
  font-size: 1rem;
}

.chatbot-link-fab.is-compact {
  padding: 0.55rem;
  gap: 0;
  max-width: 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  min-height: 3.5rem;
  justify-content: center;
}

.chatbot-link-fab.is-compact .chatbot-link-fab__text {
  opacity: 0;
  transform: scaleX(0.6);
  width: 0;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 640px) {
  .chatbot-link-fab {
    right: 1rem;
    top: auto;
    bottom: 1rem;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
  }
}

.chatbot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Manual page */
.manual-shell {
  --manual-shell-max: 92rem;
  --manual-sidebar-width: 18.75rem;
  --manual-sticky-top: max(
    1.2rem,
    calc(var(--page-shell-topnav-padding) - var(--topnav-offset) + 0.45rem)
  );
  width: min(100%, var(--manual-shell-max));
  margin-inline: auto;
  margin-top: var(--manual-sticky-top);
  padding-inline: clamp(0.75rem, 1.6vw, 1.2rem);
  padding-bottom: 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, var(--manual-sidebar-width)) minmax(0, 1fr);
  gap: clamp(1rem, 1.8vw, 2rem);
  align-items: start;
}

.manual-header {
  grid-column: 2;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: none;
  min-height: clamp(18rem, 24vw, 24rem);
  animation: none;
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.05rem;
  margin-top: 0;
  border-radius: 1.6rem;
  padding: clamp(1.5rem, 2.2vw, 2.1rem) clamp(1.35rem, 2vw, 2rem)
    clamp(1.35rem, 2vw, 2rem);
  background:
    linear-gradient(135deg, rgba(8, 15, 30, 0.86), rgba(15, 23, 42, 0.6)),
    rgba(15, 23, 42, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(148, 163, 184, 0.1),
    0 1.5rem 3rem rgba(2, 6, 23, 0.24);
}

.manual-header::before,
.manual-header::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
  z-index: 1;
  border-radius: 999px;
  opacity: 0.8;
}

.manual-header::before {
  top: -5.5rem;
  right: -4rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(
    circle,
    rgba(75, 194, 255, 0.18),
    transparent 66%
  );
}

.manual-header::after {
  left: -5rem;
  bottom: -7rem;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.14),
    transparent 68%
  );
}

.manual-header__grid {
  position: relative;
  z-index: 2;
  display: none;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr);
  gap: clamp(1rem, 1.6vw, 1.4rem);
  width: 100%;
  align-items: stretch;
}

.manual-header__media,
.manual-header__overlay {
  position: absolute;
  inset: 0;
}

.manual-header__media {
  z-index: 0;
  pointer-events: none;
}

.manual-header__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) brightness(0.88);
}

.manual-header__overlay {
  z-index: 1;
  background:
    radial-gradient(
      circle at top left,
      rgba(125, 211, 252, 0.28),
      transparent 38%
    ),
    linear-gradient(120deg, rgba(3, 7, 18, 0.78), rgba(15, 23, 42, 0.42));
  pointer-events: none;
}

.manual-header__copy {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding-right: clamp(0rem, 0.8vw, 0.4rem);
}

.manual-header__kicker {
  margin: 0;
  color: #e2f3ff;
}

.manual-header h1 {
  font-size: clamp(1.9rem, 2.3vw + 1.1rem, 2.8rem);
  margin: 0;
  color: #f8fbff;
  line-height: 1.08;
  text-align: left;
  word-break: break-word;
  hyphens: auto;
}

.manual-header__intro {
  max-width: 46rem;
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  font-size: 1rem;
  line-height: 1.7;
}

.manual-header__highlights {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  align-content: start;
}

.manual-header__hints {
  position: relative;
  z-index: 2;
  --manual-steps-orbit-size: clamp(3.5rem, 8vw, 4.8rem);
  --manual-steps-orbit-inset: 0.55rem;
  --manual-steps-orbit-glow: radial-gradient(
    circle,
    rgba(125, 211, 252, 0.96) 0%,
    rgba(56, 189, 248, 0.7) 28%,
    rgba(245, 158, 11, 0.36) 52%,
    rgba(255, 255, 255, 0) 76%
  );
  width: 100%;
  margin-top: 0.4rem;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.5)),
    rgba(15, 23, 42, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(148, 163, 184, 0.12),
    0 1rem 2rem rgba(2, 6, 23, 0.2);
  backdrop-filter: blur(10px);
}

.manual-header__hints::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.45),
    rgba(125, 211, 252, 0.08)
  );
  pointer-events: none;
}

.manual-header__hints::after {
  content: "";
  position: absolute;
  top: var(--manual-steps-orbit-inset);
  left: var(--manual-steps-orbit-inset);
  width: var(--manual-steps-orbit-size);
  height: var(--manual-steps-orbit-size);
  border-radius: 999px;
  background: var(--manual-steps-orbit-glow);
  filter: blur(10px);
  opacity: 0.8;
  transform: translate(-50%, -50%);
  animation: manual-steps-glow-orbit 7.2s linear infinite;
  pointer-events: none;
}

.manual-header__hints:hover::after {
  opacity: 0.98;
  filter: blur(12px);
}

.manual-header__hints.is-collapsed::after {
  opacity: 0;
  animation-play-state: paused;
}

.manual-header__hints .manual-section__header {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  margin-bottom: 0.2rem;
}

.manual-header__hints .manual-section__index {
  width: fit-content;
  min-width: 2.7rem;
  padding-inline: 0.65rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.18);
}

.manual-header__hints h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(1.2rem, 1.1rem + 0.55vw, 1.55rem);
  line-height: 1.12;
}

.manual-header__hints h2,
.manual-header__hints .hint-title,
.manual-header__hints .hint-body,
.manual-header__hints li {
  color: #f8fbff;
}

.manual-header__hints .hint-body {
  color: rgba(226, 232, 240, 0.92);
}

.manual-header__hints code {
  background: rgba(15, 23, 42, 0.58);
}

.manual-header__hints .hints-grid {
  gap: 1.05rem;
}

.manual-header__hints .hint-card {
  position: relative;
  padding: 1.2rem 1.2rem 1.15rem;
  border: none;
  border-radius: 1.2rem;
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.08),
      rgba(75, 194, 255, 0.06)
    ),
    rgba(15, 23, 42, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(148, 163, 184, 0.12),
    0 0.9rem 1.8rem rgba(2, 6, 23, 0.16);
}

.manual-header__hints .hint-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(245, 158, 11, 0.9),
    rgba(75, 194, 255, 0.18)
  );
}

.manual-header__hints .hint-title {
  margin-bottom: 0.8rem;
  font-size: 1.02rem;
}

.manual-header__hints .hint-body {
  font-size: 0.97rem;
  line-height: 1.72;
}

.manual-jump-card {
  position: relative;
  overflow: hidden;
  min-height: 8.5rem;
  padding: 1.05rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    radial-gradient(
      circle at top right,
      rgba(75, 194, 255, 0.22),
      transparent 48%
    ),
    rgba(15, 23, 42, 0.46);
  color: var(--text-light);
  text-decoration: none;
  display: grid;
  gap: 0.7rem;
  align-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.manual-jump-card:hover,
.manual-jump-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(75, 194, 255, 0.62);
  box-shadow: 0 1rem 2rem rgba(2, 6, 23, 0.26);
  outline: none;
}

.manual-jump-card__index {
  width: fit-content;
  min-width: 2.4rem;
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #d9f3ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.manual-jump-card__label {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.manual-sidebar {
  grid-column: 1;
  grid-row: 1;
  position: static;
  align-self: start;
  display: grid;
  min-width: 0;
  max-height: none;
}

.manual-sidebar__panel {
  position: sticky;
  top: var(--manual-sticky-top);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(75, 194, 255, 0.18),
      transparent 34%
    ),
    linear-gradient(165deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.78)),
    rgba(15, 23, 42, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 1.35rem 2.8rem rgba(2, 6, 23, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  max-height: calc(100vh - var(--manual-sticky-top) - 1rem);
  overflow: hidden;
}

.manual-sidebar__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(75, 194, 255, 0.72),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

.manual-sidebar__intro,
.manual-nav {
  position: relative;
  z-index: 1;
}

.manual-sidebar__intro {
  display: grid;
  gap: 0.7rem;
}

.manual-sidebar__kicker {
  margin: 0;
  color: #d9f3ff;
}

.manual-sidebar__status-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.05),
      rgba(75, 194, 255, 0.05)
    ),
    rgba(15, 23, 42, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0.75rem 1.6rem rgba(2, 6, 23, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.manual-sidebar__status {
  display: grid;
  gap: 0.35rem;
}

.manual-sidebar__fraction {
  display: flex;
  align-items: end;
  gap: 0.2rem;
  line-height: 1;
}

.manual-sidebar__current-index {
  font-size: clamp(1.85rem, 2.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #f8fbff;
}

.manual-sidebar__fraction-total {
  padding-bottom: 0.16rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.manual-sidebar__progress-track {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.manual-sidebar__progress-fill {
  display: block;
  height: 100%;
  width: 11.111%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4bc2ff, #8bdcff);
  box-shadow: 0 0 1rem rgba(75, 194, 255, 0.4);
  transition: width 0.24s ease;
}

.manual-sidebar__nav-shell {
  min-height: 0;
  overflow: hidden;
  padding: 0.05rem;
}

.manual-nav {
  display: grid;
  gap: 0.45rem;
  padding: 0.28rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0.8rem 1.7rem rgba(2, 6, 23, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  max-height: 100%;
  overflow: auto;
  scroll-padding-block: 0.4rem;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(75, 194, 255, 0.5) transparent;
}

.manual-nav__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.88rem 0.9rem;
  border-radius: 0.95rem;
  color: var(--text-light);
  text-decoration: none;
  background: transparent;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.manual-nav__link:hover,
.manual-nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fbff;
  transform: translateX(2px);
  box-shadow:
    inset 0 0 0 1px rgba(75, 194, 255, 0.18),
    0 0.75rem 1.5rem rgba(2, 6, 23, 0.12);
  outline: none;
}

.manual-nav__link.is-active {
  background: linear-gradient(
    135deg,
    rgba(75, 194, 255, 0.14),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow:
    inset 0 0 0 1px rgba(75, 194, 255, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0.85rem 1.8rem rgba(2, 6, 23, 0.18);
  transform: translateX(0.15rem);
}

.manual-nav__index {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(75, 194, 255, 0.12);
  color: #d9f3ff;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(75, 194, 255, 0.24);
}

.manual-nav__link.is-active .manual-nav__index {
  background: rgba(75, 194, 255, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(75, 194, 255, 0.42),
    0 0 0 0.28rem rgba(75, 194, 255, 0.12);
}

.manual-nav__copy {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.manual-nav__title {
  display: block;
  font-weight: 700;
  line-height: 1.35;
}

.manual-nav__anchor {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.18rem 0.46rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.manual-nav__link.is-active .manual-nav__title {
  color: #f8fbff;
}

.manual-nav__link.is-active .manual-nav__anchor {
  color: #d9f3ff;
  background: rgba(75, 194, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(75, 194, 255, 0.22);
}

.manual-page {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: clamp(1rem, 1.6vw, 1.35rem);
  align-items: stretch;
  padding: 0;
}

.manual-section {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.05rem;
  align-content: start;
  scroll-margin-top: calc(var(--page-shell-topnav-padding) + 0.75rem);
  margin: 0;
  height: 100%;
  padding: clamp(1.2rem, 1.9vw, 1.7rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 1rem 2rem rgba(2, 6, 23, 0.16);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.manual-section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(75, 194, 255, 0.55),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

.manual-section > * {
  position: relative;
  z-index: 1;
}

.manual-section:hover {
  transform: translateY(-2px);
  border-color: rgba(75, 194, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1.35rem 2.6rem rgba(2, 6, 23, 0.2);
}

.manual-section--wide {
  grid-column: 1 / -1;
}

.manual-section--compact {
  gap: 0.95rem;
}

.manual-section--steps {
  isolation: isolate;
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1rem 2rem rgba(2, 6, 23, 0.16);
}

.manual-section--steps:hover {
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(125, 211, 252, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 1.35rem 2.6rem rgba(2, 6, 23, 0.2);
}

@keyframes manual-steps-glow-orbit {
  0% {
    top: var(--manual-steps-orbit-inset);
    left: var(--manual-steps-orbit-inset);
  }

  25% {
    top: var(--manual-steps-orbit-inset);
    left: calc(100% - var(--manual-steps-orbit-inset));
  }

  50% {
    top: calc(100% - var(--manual-steps-orbit-inset));
    left: calc(100% - var(--manual-steps-orbit-inset));
  }

  75% {
    top: calc(100% - var(--manual-steps-orbit-inset));
    left: var(--manual-steps-orbit-inset);
  }

  100% {
    top: var(--manual-steps-orbit-inset);
    left: var(--manual-steps-orbit-inset);
  }
}

.manual-section--feature {
  grid-column: 1 / -1;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.manual-section--feature::before {
  display: none;
}

.manual-section--feature:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.manual-section h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1vw + 1rem, 1.45rem);
  color: var(--text-light);
}

.manual-section__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem 1rem;
  position: relative;
  padding-right: 1.6rem;
}

.manual-section__header h2 {
  align-self: center;
  max-width: 22ch;
  line-height: 1.16;
  text-wrap: balance;
}

.manual-section__toggle {
  position: absolute;
  top: -0.12rem;
  right: 0;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.18),
      transparent 38%
    ),
    linear-gradient(165deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.54));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(148, 163, 184, 0.18),
    0 0.65rem 1.35rem rgba(2, 6, 23, 0.18);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

.manual-section__toggle::before {
  content: "";
  position: absolute;
  inset: 0.18rem;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0)
  );
  opacity: 0.9;
  pointer-events: none;
}

.manual-section__toggle:hover,
.manual-section__toggle:focus-visible {
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.22),
      transparent 38%
    ),
    linear-gradient(165deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.68));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(245, 158, 11, 0.24),
    0 0.95rem 1.6rem rgba(2, 6, 23, 0.22);
  transform: translateY(-1px) scale(1.02);
  outline: none;
}

.manual-section__toggle-stars {
  position: relative;
  z-index: 1;
  display: inline-grid;
  grid-template-columns: repeat(2, max-content);
  place-items: center;
  gap: 0.04rem;
  width: 1rem;
  height: 1rem;
  color: rgba(245, 158, 11, 0.9);
  font-size: 0.68rem;
  line-height: 1;
  transform: translateY(-0.06rem);
  transform-origin: center;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    text-shadow 0.2s ease;
}

.manual-section__toggle-stars > span {
  display: block;
  text-shadow:
    0 0 0.7rem rgba(245, 158, 11, 0.3),
    -0.24rem 0.3rem 0 rgba(125, 211, 252, 0.72);
}

.manual-section__toggle-stars > span:first-child {
  transform: translate(0.03rem, 0.01rem);
}

.manual-section__toggle-stars > span:last-child {
  transform: translate(-0.03rem, -0.01rem);
}

.manual-section__toggle[aria-expanded="true"] {
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.2),
      transparent 38%
    ),
    linear-gradient(165deg, rgba(14, 116, 144, 0.38), rgba(15, 23, 42, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(125, 211, 252, 0.22),
    0 0.7rem 1.45rem rgba(2, 6, 23, 0.18);
}

.manual-section__toggle[aria-expanded="true"] .manual-section__toggle-stars {
  transform: translateY(-0.06rem) scale(1.02) rotate(0deg);
}

.manual-section__toggle[aria-expanded="false"] {
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.14),
      transparent 38%
    ),
    linear-gradient(165deg, rgba(15, 23, 42, 0.62), rgba(30, 41, 59, 0.4));
}

.manual-section__toggle[aria-expanded="false"] .manual-section__toggle-stars {
  opacity: 0.82;
  transform: translateY(-0.06rem) rotate(-18deg) scale(0.92);
}

.manual-section__body {
  display: grid;
  gap: 1.05rem;
  align-content: start;
  min-width: 0;
  overflow: hidden;
  height: auto;
  opacity: 1;
  transform: translateY(0);
  transition:
    height 0.28s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.manual-section.is-collapsed {
  height: auto;
  min-height: 0;
  align-self: start;
  gap: 0.65rem;
  border-color: transparent;
  box-shadow: none;
}

.manual-section.is-collapsed::before {
  opacity: 0;
}

.manual-section.is-collapsed:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.manual-section.is-collapsed .manual-section__header::after {
  opacity: 0.45;
}

.manual-section.is-collapsed .manual-section__toggle {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(148, 163, 184, 0.12),
    0 0.35rem 0.9rem rgba(2, 6, 23, 0.12);
}

.manual-section.is-collapsed .manual-section__toggle-stars {
  text-shadow:
    0 0 0.45rem rgba(245, 158, 11, 0.2),
    -0.18rem 0.22rem 0 rgba(125, 211, 252, 0.44);
}

.manual-section.is-collapsed .manual-section__body {
  opacity: 0;
  transform: translateY(-0.22rem);
}

.manual-section__header::after {
  content: "";
  display: block;
  grid-column: 2;
  width: 100%;
  height: 1px;
  margin-top: 0.15rem;
  background: linear-gradient(
    90deg,
    rgba(75, 194, 255, 0.32),
    rgba(148, 163, 184, 0)
  );
}

.manual-section__index {
  flex: 0 0 auto;
  min-width: 2.7rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(75, 194, 255, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(75, 194, 255, 0.24),
    0 0.45rem 1rem rgba(2, 6, 23, 0.12);
  color: #d9f3ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.manual-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.manual-close:hover {
  color: var(--text-light);
  border-color: rgba(75, 194, 255, 0.6);
  background: rgba(75, 194, 255, 0.08);
}

.manual-section h3 {
  margin: 0.25rem 0;
}

.manual-section ul,
.manual-section ol {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  display: grid;
  gap: 0.8rem;
}

.manual-section__list--split {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.9rem;
}

.manual-section__list--steps {
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.manual-section__list--compact {
  gap: 0.7rem;
}

.manual-section__list--faq {
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.manual-section ol {
  counter-reset: manual-step;
}

.manual-section li {
  position: relative;
  margin: 0;
  height: 100%;
  line-height: 1.7;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.manual-section li:hover {
  transform: translateY(-2px);
  border-color: rgba(75, 194, 255, 0.28);
  background: rgba(75, 194, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0.8rem 1.6rem rgba(2, 6, 23, 0.12);
}

.manual-section ul li {
  padding: 0.95rem 1rem 0.95rem 2.8rem;
}

.manual-section ol li {
  counter-increment: manual-step;
  padding: 0.95rem 1rem 0.95rem 3.25rem;
}

.manual-section ul li::before,
.manual-section ol li::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.manual-section ul li::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.35rem rgba(75, 194, 255, 0.12);
  top: 1.3rem;
}

.manual-section ol li::before {
  content: counter(manual-step);
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(75, 194, 255, 0.14);
  border: 1px solid rgba(75, 194, 255, 0.35);
  color: #d9f3ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.manual-section code {
  display: inline-block;
  max-width: 100%;
  padding: 0.08rem 0.38rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #dbeafe;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.manual-section--compact li {
  line-height: 1.6;
}

.manual-section--faq strong {
  display: block;
  margin-bottom: 0.18rem;
  color: #f8fbff;
}

.manual-section--hints h2 {
  color: #f59e0b;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.hints-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: stretch;
}

.hint-card {
  height: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1rem;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.07),
    rgba(75, 194, 255, 0.04)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0.8rem 1.8rem rgba(2, 6, 23, 0.18);
}

.hint-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
}

.hint-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.hint-body code {
  margin-inline: 0.1rem;
}

.hint-underline {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: #f59e0b;
}

@media (min-width: 1280px) {
  .manual-shell {
    --manual-shell-max: 106rem;
    --manual-sidebar-width: 20.5rem;
    gap: clamp(1.4rem, 1.8vw, 2.3rem);
    padding-inline: clamp(1rem, 2vw, 1.8rem);
  }

  .manual-sidebar__panel {
    padding: 1.15rem;
    gap: 1.1rem;
    border-radius: 1.5rem;
  }

  .manual-sidebar__status-card {
    padding: 1.05rem 1.1rem;
  }

  .manual-nav {
    padding: 0.35rem;
    gap: 0.55rem;
  }

  .manual-nav__link {
    padding: 1rem 1rem 1rem 1.05rem;
  }

  .manual-nav__title {
    font-size: 0.98rem;
  }

  .manual-nav__anchor {
    font-size: 0.68rem;
  }

  .manual-header {
    min-height: clamp(19rem, 22vw, 25rem);
    padding: 1.7rem 1.85rem 1.85rem;
    border-radius: 1.75rem;
  }

  .manual-header__hints {
    display: grid;
    grid-template-columns: minmax(14.5rem, 17rem) minmax(0, 1fr);
    gap: 1.35rem 1.8rem;
    align-items: start;
    padding: 1.5rem 1.6rem;
  }

  .manual-header__hints .manual-section__header {
    align-self: start;
    margin: 0;
  }

  .manual-header__hints .hints-grid {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .manual-page {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .manual-section {
    grid-column: span 6;
    padding: 1.35rem 1.4rem;
    min-height: 100%;
  }

  .manual-section--steps {
    grid-column: 1 / -1;
  }

  .manual-section--wide,
  .manual-section--feature,
  .manual-section--faq {
    grid-column: 1 / -1;
  }

  .manual-section__list--split {
    grid-template-columns: repeat(2, minmax(18rem, 1fr));
  }

  .manual-section--compact .manual-section__list--compact {
    gap: 0.85rem;
  }

  .manual-hero-card {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1.3fr) minmax(24rem, 1fr);
    padding: 1.55rem 1.7rem 1.65rem;
  }
}

@media (min-width: 1600px) {
  .manual-shell {
    --manual-shell-max: 116rem;
    --manual-sidebar-width: 21.5rem;
  }

  .manual-header__hints {
    grid-template-columns: minmax(15.5rem, 18rem) minmax(0, 1fr);
    gap: 1.45rem 2rem;
  }

  .manual-header {
    min-height: clamp(20rem, 21vw, 26rem);
    padding: 1.9rem 2rem 2rem;
  }

  .manual-page {
    gap: 1.35rem;
  }

  .manual-section {
    padding: 1.45rem 1.5rem;
  }

  .manual-hero-card {
    grid-template-columns: minmax(0, 1.4fr) minmax(27rem, 1fr);
    padding: 1.7rem 1.9rem 1.8rem;
  }
}

@media (max-width: 1024px) {
  .manual-shell {
    width: min(100%, 72rem);
  }

  .manual-header__grid {
    grid-template-columns: 1fr;
  }

  .manual-shell {
    grid-template-columns: 1fr;
    padding-bottom: 2.2rem;
  }

  .manual-header,
  .manual-sidebar,
  .manual-page {
    grid-column: 1;
  }

  .manual-sidebar {
    position: static;
    max-height: none;
  }

  .manual-sidebar__panel {
    gap: 0.85rem;
    padding: 0.9rem;
    max-height: none;
    overflow: visible;
    grid-template-rows: auto;
  }

  .manual-sidebar__nav-shell {
    overflow: visible;
    padding: 0;
  }

  .manual-nav {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    max-height: none;
    overflow: visible;
  }

  .manual-section h2 {
    font-size: 1.15rem;
  }

  .manual-section li {
    line-height: 1.6;
    word-break: break-word;
  }

  .manual-section__header::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .manual-shell {
    padding-inline: 0.65rem;
    gap: 0.85rem;
  }

  .manual-sidebar__panel {
    gap: 0.8rem;
    padding: 0.85rem;
  }

  .manual-sidebar__intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.85fr);
    gap: 0.75rem;
    align-items: stretch;
  }

  .manual-sidebar__kicker {
    grid-column: 1 / -1;
  }

  .manual-sidebar__status-card {
    height: 100%;
  }

  .manual-sidebar__nav-shell {
    padding: 0;
  }

  .manual-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .manual-nav__link {
    min-height: 5.25rem;
    padding: 0.8rem 0.85rem;
  }
}

@media (max-width: 640px) {
  .manual-shell {
    width: 100%;
    padding-inline: 0.55rem;
  }

  .manual-sidebar__panel {
    padding: 0.8rem;
    border-radius: 1.15rem;
  }

  .manual-sidebar__intro {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .manual-sidebar__status-card {
    padding: 0.85rem 0.9rem;
    gap: 0.65rem;
  }

  .manual-sidebar__status {
    gap: 0.28rem;
  }

  .manual-sidebar__fraction {
    gap: 0.18rem;
  }

  .manual-sidebar__current-index {
    font-size: 1.65rem;
  }

  .manual-header {
    padding: 1.2rem 1rem 1.2rem;
    border-radius: 1.15rem;
  }

  .manual-header__hints {
    padding: 1.1rem 1rem;
  }

  .manual-header__hints h2 {
    max-width: none;
  }

  .manual-header__hints .hint-card {
    padding: 1rem;
  }

  .manual-header h1 {
    font-size: 1.75rem;
  }

  .manual-header__intro {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .manual-header__highlights {
    grid-template-columns: 1fr;
  }

  .manual-jump-card {
    min-height: auto;
  }

  .manual-shell {
    --manual-sticky-top: max(
      1rem,
      calc(var(--page-shell-topnav-padding) - var(--topnav-offset) + 0.35rem)
    );
    margin-top: max(
      1rem,
      calc(var(--page-shell-topnav-padding) - var(--topnav-offset) + 0.35rem)
    );
    padding-bottom: 1.6rem;
    gap: 1rem;
  }

  .manual-page {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .manual-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: 0.45rem;
    overflow: visible;
    padding: 0.15rem;
  }

  .manual-nav__link {
    min-height: auto;
    padding: 0.78rem;
  }

  .manual-nav__title {
    font-size: 0.92rem;
  }

  .manual-nav__anchor {
    font-size: 0.64rem;
    padding: 0.14rem 0.38rem;
  }

  .manual-section {
    padding: 1rem;
    border-radius: 1.1rem;
  }

  .manual-section__header {
    gap: 0.7rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding-right: 1.35rem;
  }

  .manual-section__header h2 {
    max-width: none;
  }

  .manual-section__toggle {
    width: 1.75rem;
    height: 1.75rem;
  }

  .manual-section h2 {
    font-size: 1.05rem;
  }

  .manual-section__list--split,
  .manual-section__list--steps,
  .manual-section__list--faq {
    grid-template-columns: 1fr;
  }

  .manual-section ul li {
    padding: 0.85rem 0.9rem 0.85rem 2.45rem;
  }

  .manual-section ol li {
    padding: 0.85rem 0.9rem 0.85rem 2.9rem;
  }

  .manual-section ul li::before,
  .manual-section ol li::before {
    left: 0.9rem;
  }

  .manual-section ul li::before {
    top: 1.18rem;
  }

  .manual-section code {
    word-break: break-all;
    font-size: 0.9em;
  }

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

  .hint-card {
    padding: 0.9rem;
  }

  .hint-title {
    font-size: 0.95rem;
  }

  .hint-body {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .manual-shell {
    padding-inline: 0.45rem;
    gap: 0.8rem;
  }

  .manual-sidebar__panel {
    padding: 0.72rem;
    border-radius: 1rem;
  }

  .manual-sidebar__status-card {
    padding: 0.8rem;
  }

  .manual-sidebar__status {
    gap: 0.5rem;
  }

  .manual-nav {
    grid-template-columns: 1fr;
  }

  .manual-nav__link {
    grid-template-columns: 1.8rem 1fr;
    gap: 0.7rem;
  }

  .manual-nav__index {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.72rem;
  }

  .manual-header {
    padding: 1rem 0.9rem 1rem;
  }

  .manual-header h1 {
    font-size: 1.58rem;
  }

  .manual-section {
    padding: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manual-header__video {
    display: none;
  }

  .manual-header__media {
    background:
      radial-gradient(
        circle at top,
        rgba(125, 211, 252, 0.18),
        transparent 42%
      ),
      linear-gradient(135deg, rgba(8, 15, 30, 0.9), rgba(15, 23, 42, 0.76));
  }

  .manual-header__hints::after {
    animation: none;
  }
}

.manual-callout {
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.16),
    rgba(15, 23, 42, 0.18)
  );
  border-radius: 1rem;
  padding: 1rem 1.05rem;
  color: var(--text-light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.manual-callout p,
.manual-callout span {
  margin: 0;
  color: inherit;
}

.manual-hero-card {
  animation: none;
  text-align: left;
  max-width: none;
  padding: clamp(1.2rem, 1.8vw, 1.8rem);
  gap: 1.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: start;
  background:
    radial-gradient(
      circle at top left,
      rgba(75, 194, 255, 0.18),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(34, 197, 94, 0.08),
      transparent 28%
    ),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1.6rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 1.4rem 2.8rem rgba(2, 6, 23, 0.22);
}

.manual-hero-card__pill {
  justify-content: flex-start;
  grid-column: 1;
}

.manual-hero-card h2 {
  margin: 0;
  grid-column: 1;
  font-size: clamp(1.45rem, 1vw + 1.1rem, 2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.manual-hero-card .auth-meta {
  margin: 0;
  max-width: 40rem;
  grid-column: 1;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.92);
}

.manual-hero-card .hero-list {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: stretch;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.manual-hero-card .hero-list li {
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.14),
    0 0.85rem 1.6rem rgba(2, 6, 23, 0.12);
}

.manual-hero-card .hero-list li .icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(75, 194, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(75, 194, 255, 0.24);
  color: #d9f3ff;
  font-weight: 800;
  flex-shrink: 0;
}

.manual-hero-card .hero-list li > div {
  line-height: 1.55;
}

.manual-hero-card .hero-cta {
  grid-column: 1 / -1;
  margin-top: 0.15rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(
      135deg,
      rgba(75, 194, 255, 0.12),
      rgba(255, 255, 255, 0.04)
    ),
    rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1rem 2rem rgba(2, 6, 23, 0.14);
}

.manual-hero-card .hero-cta__eyebrow {
  margin-bottom: 0.85rem;
}

.manual-hero-card .hero-cta__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.manual-hero-card .hero-cta__btn {
  min-height: 3.4rem;
}

@media (max-width: 820px) {
  .manual-hero-card {
    grid-template-columns: 1fr;
  }

  .manual-hero-card__pill,
  .manual-hero-card h2,
  .manual-hero-card .auth-meta,
  .manual-hero-card .hero-list,
  .manual-hero-card .hero-cta {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .manual-hero-card {
    padding: 1rem;
    border-radius: 1.2rem;
    gap: 0.9rem;
  }

  .manual-hero-card h2 {
    font-size: 1.28rem;
  }

  .manual-hero-card .auth-meta {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .manual-hero-card .hero-list li {
    padding: 0.85rem 0.9rem;
  }

  .manual-hero-card .hero-cta {
    padding: 1rem;
  }

  .manual-hero-card .hero-cta__actions {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

:root[data-theme="light"] .manual-hero-card {
  background:
    radial-gradient(
      circle at top left,
      rgba(75, 194, 255, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(34, 197, 94, 0.08),
      transparent 28%
    ),
    linear-gradient(145deg, #f8fafc, #eef2f7);
  border-color: rgba(148, 163, 184, 0.26);
  box-shadow: 0 1.2rem 2.4rem rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .manual-hero-card .auth-meta {
  color: #334155;
}

:root[data-theme="light"] .manual-hero-card .hero-list li {
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.2),
    0 0.75rem 1.4rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .manual-hero-card .hero-list li .icon {
  color: #0f172a;
  background: rgba(75, 194, 255, 0.16);
}

:root[data-theme="light"] .manual-hero-card .hero-cta {
  background:
    linear-gradient(135deg, rgba(75, 194, 255, 0.14), rgba(255, 255, 255, 0.9)),
    #fff;
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .manual-header {
  background:
    radial-gradient(
      circle at top right,
      rgba(75, 194, 255, 0.18),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(238, 242, 247, 0.96)
    ),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 0 0 1px rgba(148, 163, 184, 0.14),
    0 1.3rem 2.6rem rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .manual-header h1 {
  color: #0f172a;
}

:root[data-theme="light"] .manual-header__kicker {
  color: #0369a1;
}

:root[data-theme="light"] .manual-header__intro {
  color: #334155;
}

:root[data-theme="light"] .manual-header__hints {
  background:
    linear-gradient(
      155deg,
      rgba(255, 255, 255, 0.94),
      rgba(239, 246, 255, 0.9)
    ),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 0 1px rgba(148, 163, 184, 0.14),
    0 1rem 2rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .manual-header__hints::after {
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.8) 0%,
    rgba(14, 165, 233, 0.48) 30%,
    rgba(245, 158, 11, 0.22) 56%,
    rgba(255, 255, 255, 0) 78%
  );
  opacity: 0.62;
}

:root[data-theme="light"] .manual-header__hints .manual-section__index {
  background: rgba(245, 158, 11, 0.14);
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.2);
}

:root[data-theme="light"] .manual-header__hints h2,
:root[data-theme="light"] .manual-header__hints .hint-title,
:root[data-theme="light"] .manual-header__hints li {
  color: #0f172a;
}

:root[data-theme="light"] .manual-header__hints .hint-body {
  color: #334155;
}

:root[data-theme="light"] .manual-header__hints code {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

:root[data-theme="light"] .manual-header__hints .hint-card {
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.96),
      rgba(239, 246, 255, 0.76)
    ),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 0 0 1px rgba(148, 163, 184, 0.14),
    0 0.85rem 1.7rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .manual-section {
  background: transparent;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.14);
}

:root[data-theme="light"] .manual-nav,
:root[data-theme="light"] .manual-sidebar__panel,
:root[data-theme="light"] .manual-jump-card {
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.95),
      rgba(241, 245, 249, 0.88)
    ),
    #fff;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .manual-sidebar__status-card {
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.96),
      rgba(75, 194, 255, 0.12)
    ),
    #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0.75rem 1.5rem rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(148, 163, 184, 0.16);
}

:root[data-theme="light"] .manual-nav__link,
:root[data-theme="light"] .manual-jump-card {
  color: #0f172a;
}

:root[data-theme="light"] .manual-nav {
  background: rgba(248, 250, 252, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 0.8rem 1.6rem rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(148, 163, 184, 0.14);
}

:root[data-theme="light"] .manual-sidebar__current-index {
  color: #0f172a;
}

:root[data-theme="light"] .manual-nav__anchor {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

:root[data-theme="light"] .manual-nav__link:hover,
:root[data-theme="light"] .manual-nav__link:focus-visible {
  background: rgba(75, 194, 255, 0.08);
}

:root[data-theme="light"] .manual-nav__link.is-active {
  background: linear-gradient(
    135deg,
    rgba(75, 194, 255, 0.16),
    rgba(255, 255, 255, 0.82)
  );
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .manual-nav__anchor {
  color: #64748b;
}

:root[data-theme="light"] .manual-section__index {
  background: rgba(75, 194, 255, 0.12);
  color: #0f172a;
  box-shadow:
    inset 0 0 0 1px rgba(75, 194, 255, 0.22),
    0 0.55rem 1.1rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .manual-section__toggle {
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.92),
      transparent 38%
    ),
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(226, 232, 240, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(148, 163, 184, 0.16),
    0 0.55rem 1.1rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .manual-section__toggle:hover,
:root[data-theme="light"] .manual-section__toggle:focus-visible {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 1), transparent 38%),
    linear-gradient(165deg, rgba(255, 255, 255, 1), rgba(239, 246, 255, 0.96));
}

:root[data-theme="light"] .manual-section__toggle-stars {
  color: rgba(217, 119, 6, 0.88);
  text-shadow:
    0 0 0.5rem rgba(245, 158, 11, 0.18),
    -0.26rem 0.34rem 0 rgba(14, 165, 233, 0.42);
}

:root[data-theme="light"] .manual-section__toggle[aria-expanded="true"] {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 1), transparent 38%),
    linear-gradient(
      165deg,
      rgba(224, 242, 254, 0.96),
      rgba(255, 255, 255, 0.98)
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(125, 211, 252, 0.22),
    0 0.65rem 1.2rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .manual-section__toggle[aria-expanded="false"] {
  background:
    radial-gradient(
      circle at 32% 28%,
      rgba(255, 255, 255, 0.9),
      transparent 38%
    ),
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.92),
      rgba(226, 232, 240, 0.82)
    );
}

:root[data-theme="light"] .manual-section__header::after {
  background: linear-gradient(
    90deg,
    rgba(75, 194, 255, 0.26),
    rgba(100, 116, 139, 0)
  );
}

:root[data-theme="light"] .manual-section li {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(148, 163, 184, 0.32);
}

:root[data-theme="light"] .manual-section:hover {
  border-color: rgba(75, 194, 255, 0.32);
  box-shadow: 0 1.2rem 2.2rem rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .manual-section--steps {
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 1rem 2rem rgba(15, 23, 42, 0.1);
}

:root[data-theme="light"] .manual-section--steps:hover {
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(75, 194, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 1.2rem 2.2rem rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .manual-section li:hover {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(75, 194, 255, 0.34);
}

:root[data-theme="light"] .manual-section code {
  background: rgba(255, 255, 255, 0.86);
  color: #0f172a;
}

:root[data-theme="light"] .hint-card {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.92),
    rgba(75, 194, 255, 0.1)
  );
  box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .manual-callout {
  background: linear-gradient(
    135deg,
    rgba(75, 194, 255, 0.12),
    rgba(255, 255, 255, 0.88)
  );
}

:root[data-theme="light"] .manual-section--feature {
  background: transparent;
  box-shadow: none;
}

.manual-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.manual-actions a {
  margin: 0;
  max-width: 100%;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.lang-inline {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}

.lang-inline button {
  padding: 0.35rem 0.6rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.8);
  color: #e7e7e7;
  cursor: pointer;
}

.lang-inline button:hover {
  border-color: rgba(56, 189, 248, 0.7);
}

@media (max-width: 32rem) {
  .manual-shell {
    padding-bottom: 1.5rem;
  }
  .manual-actions {
    gap: 0.35rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    display: flex;
  }
  .manual-actions a {
    width: auto;
    max-width: 86vw;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 20rem) {
  .manual-shell {
    padding-bottom: 1rem;
  }
  .manual-actions {
    gap: 0.3rem;
  }
  .manual-actions a {
    max-width: 82vw;
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
  }
}

.chatbot-btn {
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.3));
  background: var(--bg-dark, #0f0f0f);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  color: var(--text-light, #e7e7e7);
}

.chatbot-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent, #4bc2ff);
}

.chatbot-input {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.5rem;
}
.chatbot-input textarea {
  width: 100%;
  min-height: 52px;
  max-height: 220px;
  padding: 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.35));
  background: var(--bg-dark, #0f0f0f);
  color: var(--text-light, #e7e7e7);
  resize: none;
  flex: 1;
}
.chatbot-input button {
  align-self: stretch;
  padding-inline: 1.1rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.chatbot-input.is-busy textarea,
.chatbot-input.is-busy button {
  opacity: 0.72;
}

.chatbot-input button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.chatbot-lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chatbot-lang {
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.3));
  background: var(--bg-dark, #0f0f0f);
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-light, #e7e7e7);
}

.chatbot-lang.active {
  background: var(--accent, #4bc2ff);
  color: #fff;
  border-color: var(--accent, #4bc2ff);
}

.chatbot-other-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chatbot-other-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.3));
  padding: 0.6rem;
  font-family: inherit;
  background: var(--bg-dark, #0f0f0f);
  color: var(--text-light, #e7e7e7);
}

.chatbot-upload-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border: 1px dashed var(--border-soft, rgba(148, 163, 184, 0.35));
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.chatbot-upload__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.6rem;
}

.chatbot-upload__label {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0b1018;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border: 1px solid rgba(56, 189, 248, 0.6);
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease;
}

.chatbot-upload__label:hover,
.chatbot-upload__label:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0.7rem 1.6rem rgba(56, 189, 248, 0.3);
  filter: brightness(1.05);
  outline: none;
}

.chatbot-upload-form input[type="file"] {
  font-size: 0.9rem;
  color: var(--text-light, #e7e7e7);
}
.chatbot-upload__hint {
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.78);
  margin: 0;
}
.chatbot-upload__status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted, #cbd5e1);
}
.chatbot-upload__status[data-state="pending"] {
  color: #94a3b8;
}
.chatbot-upload__status[data-state="success"] {
  color: #4ade80;
}
.chatbot-upload__status[data-state="error"] {
  color: #ef4444;
}

.form-field--file {
  position: relative;
}

.file-inline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.file-input-hidden {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.file-inline__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0b1018;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border: 1px solid rgba(56, 189, 248, 0.6);
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease;
}

.file-inline__button:hover,
.file-inline__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0.7rem 1.6rem rgba(56, 189, 248, 0.3);
  filter: brightness(1.05);
  outline: none;
}

.file-inline__name {
  font-size: 0.92rem;
  color: var(--text-light);
  min-width: 10rem;
}

.file-inline__preview {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.35));
  background: rgba(15, 23, 42, 0.6);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

.file-inline__preview.has-preview {
  display: inline-block;
}
.chatbot-upload__preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 100%;
  padding-top: 0.15rem;
}
.chatbot-upload__preview[hidden] {
  display: none;
}
.chatbot-upload__preview-item {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  padding: 0.45rem;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.35));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}
.chatbot-upload__preview-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.35));
}
.chatbot-upload__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  border: none;
  background: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  border-radius: 999px;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}
.chatbot-upload__remove:hover {
  background: rgba(148, 163, 184, 0.3);
}
.chatbot-upload__preview-icon {
  font-size: 1.4rem;
}
.chatbot-upload__preview-item span {
  font-size: 0.8rem;
  color: var(--text-light, #e7e7e7);
  word-break: break-all;
  text-align: center;
}

/* Auth / Reset pages */
.auth-page {
  min-height: 100vh;
  background: var(--bg, #0b1018);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.auth-shell {
  width: 100%;
  max-width: 480px;
}
.auth-card {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-light, #e7e7e7);
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.auth-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.auth-subtitle {
  margin: 0 0 1.25rem;
  color: rgba(226, 232, 240, 0.8);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.auth-input {
  width: 100%;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.35));
  background: var(--bg-dark, #0f0f0f);
  color: var(--text-light, #e7e7e7);
}
.auth-btn {
  width: 100%;
  justify-content: center;
}
.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
}
.auth-footer a {
  color: var(--accent, #4bc2ff);
}

@media screen and (max-width: 640px) {
  .chatbot-widget {
    right: 0.75rem;
    bottom: 0.9rem;
    align-items: stretch;
    left: 0.75rem;
    width: auto;
  }

  .chatbot-panel {
    width: 100%;
    max-height: 78vh;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  }

  .chatbot-panel__header {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .chatbot-panel__actions {
    margin-left: auto;
  }

  .chatbot-panel__body {
    max-height: 58vh;
  }

  .chatbot-page-shell {
    width: min(100vw - 1rem, 100%);
  }

  .chatbot-page-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1rem;
  }

  .chatbot-page-hero__badges {
    justify-content: flex-start;
  }

  .chatbot-page-layout {
    grid-template-columns: 1fr;
  }

  .chatbot-page-sidebar {
    order: 2;
  }

  .chatbot-page .chatbot-panel {
    min-height: calc(100vh - 10rem);
  }

  .chatbot-panel__footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .chatbot-input {
    flex-direction: column;
  }

  .chatbot-input button {
    width: 100%;
    min-height: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .btn-primary,
  .btn-ghost {
    width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .hero-actions,
  .manual-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin: 0 auto;
  }
}

@media screen and (min-width: 426px) and (max-width: 768px) {
  .interp-page {
    padding-top: 10rem;
  }
  .interp-shell {
    margin-top: 0.8rem;
  }
  .interp-grid {
    margin-top: 1.2rem;
  }
}

@media screen and (min-width: 768px) {
  .interp-page {
    padding-top: 5rem;
  }
}

@media screen and (min-width: 1024px) {
  .interp-page {
    align-items: flex-start;
    padding: 3.5rem clamp(2rem, 3vw, 3.25rem);
  }
  .interp-page .chatbot-widget > .interp-shell {
    width: min(1200px, 90vw);
  }
  .interp-filter,
  .interp-grid {
    max-width: 1200px;
  }
  .interp-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
  }
}

@media screen and (min-width: 1440px) {
  .interp-page {
    padding-top: 2.5rem;
  }
}

/* === Override: Interpreter cards one per row (full width) === */
.interp-grid {
  grid-template-columns: 1fr !important;
  max-width: none !important;
  margin: 0 !important;
  justify-items: stretch !important;
}
.notice {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
  color: var(--text-light);
  margin: 0 0 1rem 0;
}

.notice-success {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.12);
}

/* Desktop Contact + Weather balancing */
@media (min-width: 64rem) {
  .contact-grid--with-weather {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 1.4rem;
    align-items: stretch;
  }
  .contact-grid--with-weather .weather-col {
    min-width: 320px;
  }
}

/* Large desktop breathing room */
@media (min-width: 90rem) {
  .contact-grid--with-weather {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 1.6rem;
  }
  .services-grid {
    gap: 1.35rem;
  }
}

@media (min-width: 52rem) and (max-width: 64rem) {
  .topnav {
    padding: 0 0.75rem 0 5.65rem;
    gap: 0.42rem;
  }
  .topnav a:not(.nav-cube-link),
  .topnav .lang-wrapper {
    padding: 9px 11px;
    font-size: 15px;
  }
  .nav-cube {
    transform: translateY(0) scale(0.42);
  }
  .nav-cube-link {
    margin-right: 0.35rem;
  }
}

@media (max-width: 64rem) and (min-width: 40rem) {
  .topnav {
    padding: 0 0.5rem 0 4.8rem;
    gap: 0.42rem;
  }
  .topnav a:not(.nav-cube-link),
  .topnav .lang-wrapper {
    padding: 8px 9px;
    font-size: 14px;
  }
  .nav-cube {
    transform: translateY(0) scale(0.4);
  }
  .nav-cube-link {
    margin-right: 0.3rem;
  }
}

@media (min-width: 64rem) and (max-width: 75rem) {
  .womens-day-section--page {
    margin-top: calc(var(--topnav-offset) * 0.42 + 1.8rem);
  }

  .topnav {
    padding: 0 0.95rem 0 6.15rem;
    gap: 0.46rem;
  }
  .topnav a:not(.nav-cube-link),
  .topnav .lang-wrapper {
    padding: 9px 12px;
    font-size: 15px;
  }
  .nav-cube {
    transform: translateY(0) scale(0.44);
  }
  .nav-cube-link {
    margin-right: 0.4rem;
  }
}

/* Weather widget */
.weather-widget {
  --bg1: #0f172a;
  --bg2: #0b1323;
  --glass: rgba(255, 255, 255, 0.06);
  --glass2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --radius: 22px;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.weather-widget .wrap {
  position: relative;
  width: min(640px, 100%);
  padding: 18px;
  border-radius: 34px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background-image:
    radial-gradient(
      900px 500px at 15% 15%,
      rgba(56, 189, 248, 0.08),
      transparent 60%
    ),
    linear-gradient(160deg, var(--bg1), var(--bg2));
  overflow: hidden;
}

.weather-widget .wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22),
    transparent 35%
  );
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.weather-widget .wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.weather-widget .blob {
  display: none;
}

.weather-widget .search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.weather-widget .load-btn {
  width: 100%;
  border: none;
  padding: 11px 14px;
  margin: 0 0 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  color: #0b1323;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.weather-widget .load-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.weather-widget .load-btn:focus-visible,
.weather-widget .details-toggle:focus-visible,
.weather-widget .search input:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.95);
  outline-offset: 2px;
}

.weather-widget .load-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.weather-widget .load-btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.weather-widget .search .input {
  flex: 1;
  position: relative;
}

.weather-widget .search input {
  width: 100%;
  border: none;
  outline: none;
  padding: 12px 14px 12px 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.weather-widget .search input::placeholder {
  color: var(--muted);
}

.weather-widget .search .icon {
  position: absolute;
  left: 12px;
  top: 11px;
  font-size: 14px;
  opacity: 0.8;
}

.weather-widget .status {
  margin: 2px 4px 10px;
  color: var(--muted);
  font-size: 12px;
  min-height: 16px;
}

.weather-widget .status[data-state="updated_live"],
.weather-widget .status[data-state="updated_cache"] {
  color: #bae6fd;
}

.weather-widget .status[data-state="error"],
.weather-widget .status[data-state="offline"],
.weather-widget .status[data-state="no_result"] {
  color: #fecaca;
}

.weather-widget .header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px 16px;
  position: relative;
  z-index: 1;
}

.weather-widget .header h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.weather-widget .sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.weather-widget .big {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.weather-widget .big .temp {
  font-size: 44px;
  font-weight: 900;
}

.weather-widget .big .mini {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.weather-widget .pill {
  margin-left: auto;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.weather-widget .details-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.weather-widget .details-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
}

.weather-widget .details-toggle:active {
  transform: translateY(1px);
}

.weather-widget .details-toggle__label {
  text-align: left;
}

.weather-widget .details-toggle__icon {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.weather-widget .details-toggle[aria-expanded="true"] .details-toggle__icon {
  transform: rotate(180deg);
}

.weather-widget .details-panel {
  margin-top: 12px;
}

.weather-widget .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.weather-widget .card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 14px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.weather-widget .card .label {
  color: var(--muted);
  font-size: 12px;
}

.weather-widget .card .value {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 800;
}

.weather-widget .card .hint {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.weather-widget .forecast {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 12px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 1;
}

.weather-widget .hidden {
  display: none;
}

.weather-widget .hourly {
  margin-top: 12px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.weather-widget .hourly h3 {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.1px;
  color: var(--muted);
}

.weather-widget .strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.weather-widget .chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 70px;
  padding: 8px 8px 7px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  line-height: 1.2;
  scroll-snap-align: start;
}

.weather-widget .chip .t {
  font-size: 11px;
  color: var(--muted);
}

.weather-widget .chip .i {
  font-size: 18px;
}

.weather-widget .chip .v {
  font-weight: 800;
  font-size: 14px;
}

.weather-widget .chip .p {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.weather-widget .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8px;
  border-radius: 16px;
}

.weather-widget .row + .row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.weather-widget .day {
  display: flex;
  gap: 10px;
  align-items: center;
}

.weather-widget .day span {
  color: var(--muted);
  font-size: 12px;
}

.weather-widget .icon {
  font-size: 20px;
}

.weather-widget .deg {
  font-weight: 800;
}

@media (max-width: 720px) {
  .weather-widget .wrap {
    width: 100%;
    padding: 15px;
  }

  .weather-widget .wrap.is-collapsed {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .weather-widget .header {
    align-items: flex-start;
  }

  .weather-widget .search input {
    font-size: 16px;
  }

  .weather-widget .big .temp {
    font-size: 38px;
  }

  .weather-widget .big .mini {
    font-size: 11px;
  }

  .weather-widget .pill {
    padding: 8px 10px;
    font-size: 12px;
  }

  .weather-widget .grid {
    grid-template-columns: 1fr;
  }

  .weather-widget .chip {
    min-width: 64px;
    padding: 8px;
  }

  .weather-widget .strip {
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .weather-widget .wrap {
    border-radius: 24px;
    padding: 13px;
  }

  .weather-widget .header {
    flex-direction: column;
    gap: 10px;
    padding: 8px 4px 12px;
  }

  .weather-widget .big {
    gap: 10px;
    margin-top: 8px;
  }

  .weather-widget .big .temp {
    font-size: 34px;
  }

  .weather-widget .pill {
    margin-left: 0;
  }

  .weather-widget .details-toggle {
    padding: 11px 12px;
    border-radius: 14px;
  }

  .weather-widget .forecast,
  .weather-widget .hourly,
  .weather-widget .card {
    border-radius: 18px;
  }

  .weather-widget .row {
    padding: 9px 4px;
    gap: 0.75rem;
  }

  .weather-widget .deg {
    text-align: right;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .weather-widget * {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .weather-widget .wrap,
  .weather-widget .card,
  .weather-widget .forecast,
  .weather-widget .hourly,
  .weather-widget .chip,
  .weather-widget .search input {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #0f172a;
    box-shadow: none;
  }
}
