/* ==========================================================================
   NNE Advocates — Nyongesa Nafula & Co. Advocates
   Base design system, layout, navigation, forms, footer
   ========================================================================== */

/* ---------- Fonts (self-hosted variable) ---------- */
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-italic-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #383d47;   /* #0f151f; */
  --ink-deep: #041531;
  --ink-soft: #18212c;
  --brand: #3c3e95;
  --brand-dark: #2c2e78;
  --accent: #00b3ea;
  --accent-soft: #4cc7ef;
  --accent-light: #7ddcf9;
  --gold: #c0a262;
  --gold-soft: #d3bb85;
  --gold-light: #ddc48e;
  --gold-deep: #a4874a;
  --cream: #e8ecf5;
  --paper: #f6f8fc;
  --white: #ffffff;
  --body: #464b55;
  --muted: #565d66;
  --line: rgba(15, 21, 31, 0.14);
  --line-soft: rgba(15, 21, 31, 0.08);
  --line-light: rgba(255, 255, 255, 0.14);
  --danger: #b03a2e;
  --success: #2f6b4f;

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --radius: 4px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 10px 30px rgba(15, 21, 31, 0.08);
  --shadow-lg: 0 30px 70px rgba(4, 21, 49, 0.22);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* The header shrinks when it becomes sticky, which changes the document
     height. Scroll anchoring would then compensate by moving the scroll
     position back across the toggle threshold, making the header flicker
     near the top of the page. */
  overflow-anchor: none;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration-color: rgba(60, 62, 149, 0.45); text-underline-offset: 3px; }
a:hover { color: var(--brand); }

ul, ol { margin: 0 0 1.1rem; padding-left: 1.15rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.site-header :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.section--ink :focus-visible,
.quote-band :focus-visible,
.consult-section :focus-visible,
.cta-band--ink :focus-visible,
.aside-card--ink :focus-visible,
.site-footer :focus-visible { outline-color: var(--accent); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 300;
  padding: 0.8rem 1.2rem;
  background: var(--accent);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--ink); }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  color: var(--brand);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--accent { color: var(--accent); }
.hero .eyebrow--accent { color: var(--accent-light); }
.eyebrow--gold { color: var(--gold); }
.hero .eyebrow--gold,
.page-hero .eyebrow--gold,
.section--ink .eyebrow--gold,
.consult-section .eyebrow--gold,
.quote-band .eyebrow--gold { color: var(--gold-light); }
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.8;
  color: var(--body);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head > div { max-width: 640px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0.8rem 0 0; max-width: 440px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--ink .link-arrow { color: var(--accent); }
.section--ink .link-arrow:hover { color: var(--accent-soft); }

.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.6rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--ink); transform: translateY(-1px); }

.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); transform: translateY(-1px); }
.btn--gold:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

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

.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.34); color: var(--white); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(255, 255, 255, 0.03); }

.btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.btn--sm { min-height: 44px; padding: 0.4rem 1.1rem; font-size: 0.68rem; }
.btn--block { width: 100%; }

/* ---------- Skip / header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
}

.topbar {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
  max-height: 44px;
  overflow: hidden;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
}
.topbar__group { display: flex; align-items: center; gap: 1.6rem; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.topbar__item svg { width: 13px; height: 13px; color: var(--accent); flex: none; }
.topbar__login { color: var(--accent) !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; }

.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
  transition: min-height 0.3s var(--ease);
}
.site-header.is-scrolled .header__inner { min-height: 68px; }

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--white);
  flex: none;
}
.brand:hover { color: var(--white); }
.brand__mark { width: 44px; height: 44px; color: var(--accent); flex: none; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  letter-spacing: 0.01em;
  color: var(--white);
}
.brand__sub {
  margin-top: 0.35rem;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

/* Navigation */
.nav { display: flex; align-items: center; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.9rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__list li { margin: 0; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--white); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link svg { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 0.9rem; flex: none; }

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(860px, 92vw);
  padding-top: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 20;
}
.nav__item--has-menu:hover > .mega,
.nav__item--has-menu:focus-within > .mega,
.nav__item--has-menu.is-open > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega__panel {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 1.6rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.mega__label {
  display: block;
  margin: 0 0 0.7rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}
.mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mega__grid li { margin: 0; }
.mega__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding 0.2s var(--ease);
}
.mega__link svg { width: 13px; height: 13px; color: var(--accent); flex: none; opacity: 0; transition: opacity 0.2s; }
.mega__link:hover { color: var(--brand); padding-left: 4px; }
.mega__link:hover svg { opacity: 1; }
.mega__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--cream);
  border-radius: var(--radius);
}
.mega__aside h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.mega__aside p { font-size: 0.85rem; line-height: 1.6; color: var(--body); }
.mega__aside .link-arrow { font-size: 0.68rem; }

/* Mobile toggle + drawer */
.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile-cta { display: none; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(2.75rem, 5vw, 4.25rem);
  background:
    radial-gradient(ellipse 60% 80% at 82% 10%, rgba(192, 162, 98, 0.16), transparent 65%),
    var(--ink);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 162, 98, 0.4), transparent);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; max-width: 18ch; }
.page-hero__lede {
  max-width: 620px;
  margin-top: 1rem;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current] { color: var(--accent); }
.breadcrumb__sep { color: rgba(255, 255, 255, 0.28); }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.field label .req { color: var(--brand); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0.95rem;
  border: 1px solid #d7d0c2;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2362676c' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 15px;
  padding-right: 2.4rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9a9c9e; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 162, 98, 0.22);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field__error {
  display: none;
  margin-top: 0.15rem;
  color: var(--danger);
  font-size: 0.76rem;
  line-height: 1.4;
}
.field__error.is-visible { display: block; }

.field--check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 0.15rem 0.7rem;
  grid-column: 1 / -1;
}
.field--check input {
  display: inline-grid;
  place-content: center;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 0.2rem;
  padding: 0;
  border: 1px solid #c9c1b2;
  border-radius: var(--radius);
  background: var(--white);
  flex: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.field--check input::before {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--white);
  clip-path: polygon(14% 44%, 0 65%, 40% 100%, 100% 22%, 84% 6%, 39% 68%);
  transform: scale(0);
  transition: transform 0.15s var(--ease);
}
.field--check input:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.field--check input:checked::before { transform: scale(1); }
.field--check input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.field--check label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
  color: var(--muted);
  cursor: pointer;
}
.field--check a { color: var(--ink); }
.field--check .field__error { grid-column: 2; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.86rem;
  line-height: 1.6;
}
.form-status.is-visible { display: block; }
.form-status.is-success { background: #eef5f0; border-color: #c4ddcd; color: var(--success); }
.form-status.is-error { background: #fbf0ee; border-color: #eccfc9; color: var(--danger); }
.form-status.is-loading { background: #f6f3ec; border-color: #e5ddcc; color: var(--muted); }

.consult-form .btn { margin-top: 0.35rem; }
.form-note {
  margin-top: 0.9rem;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}
.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.8fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 4vw, 3.5rem);
}
.footer__brand .brand { margin-bottom: 1.2rem; }
.footer__brand p { max-width: 320px; font-size: 0.86rem; line-height: 1.7; color: rgba(255, 255, 255, 0.55); }
.footer__col h2,
.footer__col h3 {
  margin: 0 0 1.1rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links li { margin-bottom: 0.55rem; }
.footer__links a { color: rgba(255, 255, 255, 0.62); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--accent); }
.footer__contact { list-style: none; margin: 0; padding: 0; }
.footer__contact li { display: flex; gap: 0.7rem; margin-bottom: 0.85rem; font-size: 0.88rem; line-height: 1.6; }
.footer__contact svg { width: 16px; height: 16px; margin-top: 0.22rem; color: var(--accent); flex: none; }
.footer__contact a { color: rgba(255, 255, 255, 0.62); text-decoration: none; display: inline-block; padding-block: 4px; }
.footer__contact a:hover { color: var(--accent); }
.footer__hours { display: block; font-size: 0.84rem; line-height: 1.7; }
.footer__hours span { color: inherit; font-size: inherit; letter-spacing: 0; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.56);
}
.footer__bottom p { margin: 0; }
.footer__bottom-links { display: flex; align-items: center; gap: 1.4rem; }
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { color: var(--accent); }
.footer__dev { color: rgba(255, 255, 255, 0.56); }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.to-top:hover { color: var(--accent); }
.to-top svg { width: 14px; height: 14px; }
