/* FitNord E300 uthyrning – mobile-first wellness theme */
:root {
  --bg: #f4faf9;
  --bg-alt: #e8f5f3;
  --surface: #ffffff;
  --ink: #0f2d36;
  --ink-muted: #4a6a74;
  --brand: #0d7a6f;
  --brand-dark: #095a52;
  --brand-soft: #d4f0eb;
  --accent: #1a8fbf;
  --accent-soft: #d6eef7;
  --border: #c5ddd8;
  --error: #b42318;
  --error-bg: #fef3f2;
  --success: #067647;
  --success-bg: #ecfdf3;
  --shadow: 0 8px 30px rgba(15, 45, 54, 0.08);
  --radius: 14px;
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 250, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--brand);
}

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--brand-dark);
  color: #fff !important;
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, var(--accent-soft), transparent),
    radial-gradient(ellipse 70% 50% at 0% 80%, var(--brand-soft), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 40rem;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 5.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.bike-card {
  background: var(--surface);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
}

.bike-illustration {
  background: linear-gradient(160deg, var(--bg-alt), #fff);
  border-radius: var(--radius);
  padding: 1rem;
}

.bike-caption {
  margin: 0.85rem 0 0;
  font-weight: 600;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.25rem;
}

.section-header h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0;
  color: var(--ink-muted);
}

.section-intro code {
  font-size: 0.9em;
  background: var(--bg-alt);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Features */
.highlights {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Steps */
.how {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  display: flex;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Pricing */
.pricing .price-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--brand);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.price-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-amount {
  margin: 0.35rem 0 1.25rem;
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-currency {
  font-size: 1.75rem;
  vertical-align: super;
}

.price-period {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.price-includes {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  text-align: left;
}

.price-includes li {
  padding: 0.45rem 0 0.45rem 1.6rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.price-includes li:last-child {
  border-bottom: none;
}

.price-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.price-note {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Order */
.order {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.order-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .order-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.order-intro h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.order-intro p {
  color: var(--ink-muted);
}

.form-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
}

@media (min-width: 480px) {
  .form-panel {
    padding: 1.75rem 1.75rem;
  }
}

fieldset {
  border: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

legend {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  padding: 0;
  color: var(--ink);
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .field-sm {
    max-width: 10rem;
  }
}

.field {
  margin-bottom: 1rem;
}

.field label,
.checkbox-label {
  display: block;
  font-weight: 550;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.req {
  color: var(--error);
}

.optional {
  font-weight: 400;
  color: var(--ink-muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #9fc4bc;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
  outline: none;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: var(--error);
  background: var(--error-bg);
}

.error {
  margin: 0.3rem 0 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--error);
}

.consent-field {
  margin-bottom: 1.25rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.45;
}

.checkbox-label input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--brand);
}

.form-footnote {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Success */
.success-panel {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.success-panel[hidden] {
  display: none !important;
}

.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 1.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.success-panel h3 {
  margin: 0 0 0.6rem;
  color: var(--success);
}

.success-panel p {
  color: var(--ink-muted);
  margin: 0 0 0.75rem;
}

.success-ref {
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: #0f2d36;
  color: #c8dde4;
  padding: 2rem 0;
  font-size: 0.92rem;
}

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

.footer-inner p {
  margin: 0 0 0.5rem;
}

.footer-inner a {
  color: #7fd4c8;
}

.footer-note {
  opacity: 0.85;
  font-size: 0.85rem;
  max-width: 32rem;
  margin-inline: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}


.bike-photo {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0.75rem;
}
.bike-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Products grid */
.products {
  background: var(--bg);
}

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.product-card.is-selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow);
}

.product-photo {
  background: var(--bg-alt);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.product-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.product-body > p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  flex: 1;
}

.product-price {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink) !important;
  margin: 0.25rem 0 0.5rem !important;
}

.product-price span {
  font-size: 1.45rem;
}

.product-body .btn {
  margin-top: auto;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  align-items: stretch;
}

.product-actions .btn {
  margin-top: 0;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  text-align: center;
}

/* Product info modal */
body.modal-open {
  overflow: hidden;
}

.product-modal[hidden] {
  display: none !important;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 54, 0.55);
  cursor: pointer;
}

.product-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--surface);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 20px 60px rgba(15, 45, 54, 0.25);
  display: grid;
  gap: 0;
}

@media (min-width: 640px) {
  .product-modal-dialog {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.product-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.product-modal-close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.product-modal-close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.product-modal-media {
  background: var(--bg-alt);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.product-modal-media img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.product-modal-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-modal-body h2 {
  margin: 0;
  padding-right: 2.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--brand-dark);
}

.product-modal-price {
  margin: 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}

.product-modal-price span {
  font-size: 1.45rem;
}

.product-modal-desc {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.product-modal-desc p {
  margin: 0 0 0.75rem;
}

.product-modal-desc ul {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
}

.product-modal-desc li {
  margin-bottom: 0.35rem;
}

.product-modal-note {
  font-size: 0.9rem;
  color: var(--ink-muted);
  background: var(--brand-soft);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}

.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.product-modal-actions .btn {
  flex: 1 1 auto;
  min-width: 8rem;
}

/* Price list (all products) */
.price-list {
  max-width: 640px;
  margin: 0 auto 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row.is-active {
  background: var(--brand-soft);
}

.price-row-name {
  color: var(--ink);
  font-weight: 500;
}

.price-row-amount {
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
}

.price-product-name {
  margin: 0.35rem 0 0;
  font-weight: 600;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.pricing .price-card {
  max-width: 480px;
}


/* Nav current page */
.nav a[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}

/* Info / training page */
.narrow {
  max-width: 42rem;
}

.page-intro {
  padding-top: 2.5rem;
}

.page-intro h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  color: var(--ink);
}

.disclaimer {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
}

.disclaimer p {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  margin: 1.5rem 0 0;
  box-shadow: var(--shadow);
}

.toc-heading {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.25rem;
}

.toc li {
  margin: 0.35rem 0;
}

.info-block h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}

.info-block h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--brand-dark);
}

.info-block ul {
  padding-left: 1.2rem;
}

.info-block li {
  margin: 0.4rem 0;
}

.info-block.alt {
  background: var(--bg-alt);
}

.info-cta {
  margin-top: 1.25rem;
  font-weight: 500;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Logo dropdown */
.logo-menu {
  position: relative;
}

.logo-menu-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0.15rem 0.2rem;
  border-radius: 8px;
}

.logo-menu-btn:hover,
.logo-menu-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.logo-caret {
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink-muted);
}

.logo-menu-btn[aria-expanded="true"] .logo-caret {
  transform: rotate(180deg);
}

.logo-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 13.5rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 60;
}

.logo-dropdown a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.logo-dropdown a:hover,
.logo-dropdown a:focus-visible {
  background: var(--bg-alt);
  color: var(--brand-dark);
}

.logo-dropdown a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-dark);
}


/* Text logo (no mark) + hamburger menu right */
.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  gap: 0;
}

.logo-text {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.menu-wrap {
  position: relative;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  color: var(--ink);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.menu-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.15rem;
}

.menu-bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: var(--ink);
}

.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.menu-bars span {
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.logo-dropdown,
.site-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  left: auto;
  min-width: 14rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 60;
}

.logo-dropdown a,
.site-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.logo-dropdown a:hover,
.logo-dropdown a:focus-visible,
.site-menu a:hover,
.site-menu a:focus-visible {
  background: var(--bg-alt);
  color: var(--brand-dark);
}

.logo-dropdown a[aria-current="page"],
.site-menu a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

/* Hide old desktop nav links; menu is hamburger */
.nav {
  display: none !important;
}


/* Header actions: language switch + hamburger */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

/* Desktop phone + email in sticky header */
.header-contacts {
  display: none;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  margin-right: 0.75rem;
}

.header-phone,
.header-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}

.header-contact-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.header-phone:hover,
.header-email:hover {
  color: var(--ink);
  text-decoration: underline;
}

@media (min-width: 860px) {
  .header-contacts {
    display: inline-flex;
  }

  .header-actions {
    margin-left: 0;
  }
}


.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.4rem 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  min-width: 2rem;
}

.lang-btn:hover {
  color: var(--brand-dark);
}

.lang-btn[aria-pressed="true"],
.lang-btn.is-active {
  background: var(--brand);
  color: #fff;
}

.lang-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.lang-sep {
  color: var(--border);
  font-weight: 600;
  user-select: none;
  font-size: 0.85rem;
}
