/* ================================================================
   agil Frankfurt – Design System v3 (UX)
   White + Magenta. Manrope. Cards, clear affordances, structure.
   No editorial theatre — this is a portal for patients.
   ================================================================ */

:root {
  /* Brand */
  --magenta:        #E20074;
  --magenta-hover:  #C4006A;
  --magenta-active: #A80057;
  --magenta-soft:   #FDE9F1;
  --magenta-mist:   #FEF6FA;
  --magenta-ring:   rgba(226, 0, 116, 0.15);

  /* Neutrals */
  --white:     #FFFFFF;
  --off-white: #FAFAFB;
  --gray-25:   #FCFCFD;
  --gray-50:   #F6F7F9;
  --gray-100:  #EBEDF0;
  --gray-200:  #D9DCE1;
  --gray-300:  #BEC3CB;
  --gray-500:  #6B7280;
  --gray-700:  #3A414B;
  --gray-900:  #14171C;
  --ink:       #0F1216;

  /* Type */
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap:       1200px;
  --wrap-tight:  920px;
  --wrap-read:   680px;
  --pad-x:      clamp(1rem, 4vw, 2.5rem);

  /* Radius */
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --radius-xl:  20px;

  /* Shadow */
  --shadow-sm:  0 1px 2px rgba(15, 18, 22, 0.04);
  --shadow:     0 4px 14px rgba(15, 18, 22, 0.06);
  --shadow-md:  0 10px 30px rgba(15, 18, 22, 0.08);
  --shadow-mag: 0 10px 30px rgba(226, 0, 116, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur:  0.2s;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-feature-settings: "cv11", "ss01";
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
::selection { background: var(--magenta); color: var(--white); }

/* ---------- Typography ---------- */

h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

.hl { color: var(--magenta); }
em.hl, .hl em { font-style: normal; color: var(--magenta); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--magenta); }
a.underline {
  text-decoration: underline;
  text-decoration-color: var(--gray-200);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a.underline:hover { text-decoration-color: var(--magenta); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--magenta);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  display: inline-block;
  flex: none;
}

.lede {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--gray-700);
  font-weight: 400;
  max-width: 62ch;
}

.meta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}

/* ---------- Layout primitives ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.wrap-tight { max-width: var(--wrap-tight); }
.wrap-read  { max-width: var(--wrap-read); }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-alt { background: var(--off-white); }

.hairline { height: 1px; background: var(--gray-100); border: 0; margin: 0; }

/* ---------- Icons (inline SVG helpers) ---------- */

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }
.icon-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--magenta-soft);
  color: var(--magenta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-badge .icon { stroke-width: 1.75; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 60px; height: 60px; }

.nav-primary { display: flex; align-items: center; gap: 1.75rem; }
.nav-primary a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav-primary a:hover { color: var(--magenta); }
.nav-primary a[aria-current="page"] { color: var(--magenta); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  width: 40px; height: 40px;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { border-color: var(--magenta); color: var(--magenta); }
.nav-toggle svg { width: 20px; height: 20px; }

/* Header CTA button — wider, more presence, always white text */
.site-header .btn-primary {
  padding: 0.8rem 1.6rem !important;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF !important;
}
.site-header .btn-primary svg,
.site-header .btn-primary svg * {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}
.site-header .btn-primary:hover {
  color: #FFFFFF !important;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--magenta-ring); }

.btn-primary { background: var(--magenta); color: var(--white); border-color: var(--magenta); }
.btn-primary:hover { background: var(--magenta-hover); border-color: var(--magenta-hover); color: var(--white); box-shadow: var(--shadow-mag); }

.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--gray-200); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.btn-ghost { background: transparent; color: var(--gray-700); border-color: transparent; }
.btn-ghost:hover { color: var(--magenta); background: var(--magenta-mist); }

.btn-lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

.btn-icon-right svg { margin-right: -0.15rem; }
.btn-icon-left  svg { margin-left:  -0.15rem; }

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 7fr 5fr; }
}
.hero__title { max-width: 15ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Hero side card - key info */
.hero__card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.hero__card h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); font-weight: 700; margin-bottom: 1.25rem; }
.hero__stat { display: flex; justify-content: space-between; align-items: baseline; padding: 0.9rem 0; border-bottom: 1px solid var(--gray-100); gap: 1rem; }
.hero__stat:last-child { border-bottom: 0; }
.hero__stat__label { font-size: 0.9rem; color: var(--gray-700); font-weight: 500; }
.hero__stat__val { font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.hero__stat__val.hl { color: var(--magenta); }

/* ---------- Trust bar (below hero) ---------- */
.trust-bar {
  background: var(--off-white);
  border-block: 1px solid var(--gray-100);
  padding-block: 1.25rem;
}
.trust-bar__inner {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}
.trust-bar__inner .item { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-bar__inner .item .icon { color: var(--magenta); }

/* ---------- Feature cards (services) ---------- */

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
.card:hover {
  border-color: var(--magenta);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  text-decoration: none;
}
a.card { text-decoration: none; }

.card__badge {
  margin-bottom: 1.25rem;
}
.card__title { font-size: 1.375rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.card__desc { font-size: 0.95rem; color: var(--gray-700); line-height: 1.55; margin-bottom: 1.25rem; flex: 1; }
.card__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--magenta);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card__link svg { transition: transform var(--dur) var(--ease); }
.card:hover .card__link svg { transform: translateX(3px); }

/* ---------- Standort cards (location) ---------- */

.location-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.location-card:hover { border-color: var(--magenta); box-shadow: var(--shadow-md); }
.location-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.location-card__title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.location-card__title a { color: inherit; }
.location-card__title a:hover { color: var(--magenta); }
.location-card__badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--magenta);
  background: var(--magenta-soft);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
}
.location-card__body { font-size: 0.9375rem; color: var(--gray-700); line-height: 1.5; }
.location-card__row { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.5rem 0; }
.location-card__row .icon { color: var(--gray-500); margin-top: 0.15rem; }
.location-card__row a { color: var(--ink); font-weight: 500; }
.location-card__row a:hover { color: var(--magenta); }
.location-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}
.location-card__actions .btn { flex: 1; }

/* ---------- Two-column editorial ---------- */

.two-col {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 5fr 7fr; } }
.two-col__aside { padding-right: 1rem; }
@media (min-width: 900px) {
  .two-col__aside {
    position: sticky;
    top: 6rem;
  }
}
.two-col__aside p { color: var(--gray-700); max-width: 40ch; font-size: 1rem; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: flex-start;
  color: var(--gray-900);
  font-size: 0.95rem;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li .icon {
  color: var(--magenta);
  flex: none;
  margin-top: 0.125rem;
}

/* ---------- Callout / info box ---------- */

.callout {
  background: var(--magenta-mist);
  border: 1px solid var(--magenta-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--gray-900);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.callout .icon { color: var(--magenta); margin-top: 0.15rem; }
.callout strong { color: var(--ink); }

/* ---------- Price cards ---------- */

.price-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.price-card.featured { border-color: var(--magenta); box-shadow: var(--shadow); }
.price-card .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}
.price-card .amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.price-card .amount .cur { font-size: 0.5em; color: var(--gray-500); vertical-align: 0.35em; margin-left: 0.15em; font-weight: 600; }
.price-card .desc { font-size: 0.9rem; color: var(--gray-700); line-height: 1.5; }

/* ---------- Pull quote ---------- */

.quote {
  padding: 2.5rem;
  background: var(--magenta-mist);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--magenta);
}
.quote blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 40ch;
}
.quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--magenta);
  color: var(--white);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band h2 { color: var(--white); max-width: 22ch; }
.cta-band .lede { color: rgba(255,255,255,0.85); }
.cta-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) { .cta-band__inner { grid-template-columns: 3fr 2fr; } }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-start; }
@media (min-width: 800px) { .cta-band__actions { justify-content: flex-end; } }
.cta-band .btn-primary { background: var(--white); color: var(--magenta); border-color: var(--white); }
.cta-band .btn-primary:hover { background: var(--gray-50); color: var(--magenta-active); border-color: var(--gray-50); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.cta-band .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }

/* ---------- Job listings ---------- */

.job {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.job:first-child { border-top: 1px solid var(--gray-100); }
.job__title { font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.job__meta { font-size: 0.8125rem; color: var(--gray-500); margin-top: 0.25rem; }

/* ---------- Form ---------- */

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: span 2; }
}
.field label {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray-700);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--gray-300); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--magenta-ring);
}
.field textarea { min-height: 140px; resize: vertical; }
.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.consent input {
  width: 18px; height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--magenta);
  border-radius: 4px;
}
.consent a { color: var(--magenta); }
.consent a:hover { text-decoration: underline; }

/* ---------- Breadcrumb ---------- */

.crumbs {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.crumbs a { color: var(--gray-700); font-weight: 500; }
.crumbs a:hover { color: var(--magenta); }
.crumbs .sep { color: var(--gray-300); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding-block: clamp(3rem, 5vw, 4rem) 1.5rem;
}
.site-footer .brand { color: var(--white); }
.site-footer .brand:hover { color: var(--white); }
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 {
  font-size: 0.75rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer a { color: var(--gray-300); font-size: 0.9rem; font-weight: 500; }
.site-footer a:hover { color: var(--white); }
.site-footer .footer-blurb { color: var(--gray-300); font-size: 0.9rem; max-width: 36ch; margin-top: 1rem; line-height: 1.55; }
.site-footer__base {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--gray-500);
}
.site-footer__base a { font-size: 0.8125rem; color: var(--gray-500); }
.site-footer__base a:hover { color: var(--white); }

/* ---------- Utilities ---------- */

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mt-5 { margin-top: 3.5rem; }
.center { text-align: center; }
.hide-mobile { display: none; }
@media (min-width: 720px) { .hide-mobile { display: initial; } }

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Mobile nav ---------- */

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-primary {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 88vw);
    background: #FFFFFF !important;
    border-left: 1px solid var(--gray-100);
    padding: 4.5rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 100;
    box-shadow: -20px 0 40px rgba(0,0,0,.12);
    overflow-y: auto;
  }
  .nav-primary.open { transform: translateX(0); }
  .nav-primary a { font-size: 1rem; padding: 0.6rem 0; width: 100%; }
  .nav-primary .btn { display: inline-flex !important; margin-top: 0.75rem; align-self: stretch; justify-content: center; }
  .site-header .nav-primary .btn-primary {
    padding: 0.75rem 1.2rem !important;
    font-size: 0.95rem;
  }
  /* Close button (X) inside the open nav */
  .nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }
  .nav-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.25; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .nav-close:hover { color: var(--magenta); border-color: var(--magenta); }
}
.nav-close { display: none; }
@media (max-width: 860px) {
  .nav-close { display: flex; }
}

/* Backdrop behind mobile nav */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 22, 0.28);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav-backdrop { display: block; }
}
.nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Scroll-to-top button */
.scroll-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--magenta);
  color: #FFFFFF;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(226, 0, 116, 0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s var(--ease);
  z-index: 60;
}
.scroll-top:hover { background: var(--magenta-hover); transform: translateY(-2px); }
.scroll-top:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 720px) {
  .scroll-top { bottom: 2rem; right: 2rem; width: 52px; height: 52px; }
}

/* ---------- Fade-in on scroll (progressive enhancement) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
