/* ============================================================
   Nightingale Nursing Services — stylesheet
   Direction: modern clinical editorial.
   Deep navy/slate + soft clinical aqua + white + limited teal.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* Fluid type scale */
  --text-xs: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --text-sm: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --text-base: clamp(1rem, 0.97rem + 0.18vw, 1.09rem);
  --text-lg: clamp(1.14rem, 1.06rem + 0.4vw, 1.35rem);
  --text-xl: clamp(1.5rem, 1.28rem + 1.05vw, 2.1rem);
  --text-2xl: clamp(1.95rem, 1.55rem + 1.9vw, 3rem);
  --text-hero: clamp(2.5rem, 1.75rem + 3.4vw, 4.4rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --section-y: clamp(3.5rem, 7vw, 7.5rem);

  --measure: 62ch;
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;

  /* Light palette */
  --navy: #0d2032;
  --navy-deep: #081726;
  --slate: #24435c;
  --aqua-050: #f2f7f9;
  --aqua-100: #e2eef2;
  --aqua-200: #cfe2e8;
  --bg: #ffffff;
  --bg-alt: var(--aqua-050);
  --surface: #ffffff;
  --surface-alt: var(--aqua-100);
  --border: #d3e0e6;
  --border-strong: #b6cbd4;
  --text: #0d2032;
  --text-muted: #4e6577;
  --text-faint: #7b8f9c;
  --accent: #0f6f7b;
  --accent-hover: #0a545e;
  --accent-soft: #e0f0f2;
  --on-accent: #ffffff;
  --brand-crimson: #8e1b28;

  --shadow-sm: 0 1px 2px rgba(13, 32, 50, 0.06), 0 2px 8px rgba(13, 32, 50, 0.05);
  --shadow-md: 0 10px 30px rgba(13, 32, 50, 0.1);
  --shadow-lg: 0 24px 60px rgba(8, 23, 38, 0.18);

  --font-display: "Gambetta", "Iowan Old Style", Georgia, serif;
  --font-body: "General Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08151f;
  --bg-alt: #0c1d2a;
  --surface: #10222f;
  --surface-alt: #14293a;
  --border: #24404f;
  --border-strong: #35576a;
  --text: #e6eef3;
  --text-muted: #a6bcc9;
  --text-faint: #7c95a4;
  --accent: #5ab8c4;
  --accent-hover: #85d2db;
  --accent-soft: #12313b;
  --on-accent: #06171d;
  --navy: #0f2634;
  --navy-deep: #061119;
  --aqua-050: #0c1d2a;
  --aqua-100: #12283a;
  --brand-crimson: #e5909a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; }
h4 { font-size: var(--text-base); font-family: var(--font-body); font-weight: 600; }

p { margin: 0 0 var(--space-4); max-width: var(--measure); }
ul { margin: 0; padding: 0; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

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

/* ---------- Utilities ---------- */
.wrap {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}
@media (min-width: 48rem) { .wrap { width: min(100% - 4rem, 1180px); } }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg-alt); }
.section--ink {
  background: var(--navy);
  color: #eef5f8;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  /* Teal at CTA strength is too dark on navy — brighten accent inside this band. */
  --accent: #7fd0da;
  --accent-hover: #a8e4eb;
}
.section--ink h2, .section--ink h3 { color: #ffffff; }
.section--ink p { color: #c3d6e0; }

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::after {
  content: "";
  flex: 0 0 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.section--ink .eyebrow { color: var(--accent); }

.lede { font-size: var(--text-lg); color: var(--text-muted); line-height: 1.5; }
.section--ink .lede { color: #cfe0e9; }
.muted { color: var(--text-muted); }
.small { font-size: var(--text-sm); }
.tiny { font-size: var(--text-xs); }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--on-accent);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--space-4); color: var(--on-accent); }

.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;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.82rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.section--ink .btn--ghost { color: #ffffff; border-color: rgba(255, 255, 255, 0.4); }
.section--ink .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 132px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  margin-right: auto;
}
.brand__plate {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px;
  display: grid;
  place-items: center;
  flex: none;
}
.brand__plate img {
  width: clamp(82px, 6.4vw, 112px);
  height: auto;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  display: block;
}
.brand__tag {
  font-size: 0.66rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-3), 1.6vw, var(--space-8));
  list-style: none;
}
.nav__list a {
  color: var(--text);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  padding-block: var(--space-2);
  position: relative;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 2px;
  height: 1.5px;
  background: var(--accent);
  transition: right 0.25s var(--ease);
}
.nav__list a:hover { color: var(--accent); }
.nav__list a:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: var(--space-3); }

.header__phone {
  display: none;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--accent); }
@media (min-width: 62rem) { .header__phone { display: inline-flex; align-items: center; gap: 0.4rem; } }

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }

.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle { display: grid; }
@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .nav__cta { display: none; } /* header phone button covers the CTA on desktop */
}

/* Mobile navigation */
@media (max-width: 61.99rem) {
  .nav {
    position: fixed;
    inset: 132px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: var(--space-4) 0 var(--space-8);
    display: none;
  }
  .nav[data-open="true"] { display: block; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(100% - 2.5rem, 1180px);
    margin-inline: auto;
  }
  .nav__list li + li { border-top: 1px solid var(--border); }
  .nav__list a { display: block; padding: var(--space-4) 0; font-size: var(--text-base); }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: var(--space-4); border-top: 0 !important; }
  .nav__cta .btn {
    display: inline-flex;
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: var(--text-sm);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 38% 0;
  background: linear-gradient(180deg, var(--aqua-100) 0%, var(--bg) 100%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
}
@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}
.hero__content { min-width: 0; }
.hero h1 { margin-bottom: var(--space-6); }
.hero h1 .accentline {
  display: block;
  font-style: italic;
  color: var(--accent);
}
.hero__lede { max-width: 46ch; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.hero__meta {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-12);
}
.hero__meta div { min-width: 8rem; }
.hero__meta dt {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}
.hero__meta dd {
  margin: 0;
  font-weight: 600;
  font-size: var(--text-base);
}
.hero__meta a { color: var(--text); text-decoration: none; }
.hero__meta a:hover { color: var(--accent); }

.hero__figure { position: relative; margin: 0; }
.hero__figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero__figure::after {
  content: "";
  position: absolute;
  right: -14px; bottom: -14px;
  width: 46%; height: 42%;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.hero__card {
  position: absolute;
  left: clamp(-1rem, -2vw, -2.25rem);
  bottom: clamp(1rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: var(--space-4) var(--space-6);
  max-width: 17rem;
}
.hero__card p { margin: 0; font-size: var(--text-sm); line-height: 1.45; }
@media (max-width: 40rem) { .hero__card { display: none; } }

/* ---------- Value band ---------- */
.band { border-block: 1px solid var(--border); background: var(--bg-alt); }
.band__grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .band__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .band__grid { grid-template-columns: repeat(4, 1fr); } }
.band__item {
  padding: clamp(var(--space-6), 3vw, var(--space-12)) clamp(var(--space-4), 2.4vw, var(--space-8));
  border-top: 1px solid var(--border);
}
@media (min-width: 40rem) {
  .band__item:nth-child(-n + 2) { border-top: 0; }
  .band__item:nth-child(even) { border-left: 1px solid var(--border); }
}
@media (min-width: 68rem) {
  .band__item { border-top: 0; border-left: 1px solid var(--border); }
  .band__item:first-child { border-left: 0; }
}
.band__item h3 { margin-bottom: var(--space-2); font-size: var(--text-base); }
.band__item p { margin: 0; font-size: var(--text-sm); color: var(--text-muted); }
.band__icon { color: var(--accent); margin-bottom: var(--space-4); display: block; }
.band__icon svg { width: 26px; height: 26px; }

/* ---------- Section headers ---------- */
.section__head {
  display: grid;
  gap: var(--space-6);
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}
@media (min-width: 62rem) {
  .section__head--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: end;
    gap: var(--space-16);
  }
}
.section__head h2 { margin-bottom: 0; }

/* ---------- Services ---------- */
.services {
  display: grid;
  gap: clamp(var(--space-6), 2.4vw, var(--space-8));
}
@media (min-width: 46rem) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .services { grid-template-columns: repeat(12, 1fr); } }

.svc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(var(--space-6), 2.6vw, var(--space-8));
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.svc:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
@media (min-width: 72rem) {
  .svc--wide { grid-column: span 7; }
  .svc--narrow { grid-column: span 5; }
  .svc--third { grid-column: span 4; }
}
.svc__no {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
  display: block;
}
.svc h3 { margin-bottom: var(--space-3); }
.svc > p { color: var(--text-muted); font-size: var(--text-sm); }
.svc__list {
  list-style: none;
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-sm);
}
@media (min-width: 30rem) {
  .svc--wide .svc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-6); }
}
.svc__list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: var(--space-3);
  align-items: start;
}
.svc__list li::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Approach ---------- */
.approach__grid {
  display: grid;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
}
@media (min-width: 62rem) {
  .approach__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
  .approach__figure { order: -1; }
}
.approach__figure { margin: 0; position: relative; }
.approach__figure img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.approach__figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-faint);
  max-width: 34ch;
}
.steps { list-style: none; margin-top: var(--space-8); display: grid; gap: var(--space-6); }
.steps li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: var(--space-4);
  align-items: start;
}
.steps b {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  font-size: var(--text-lg);
  line-height: 1.2;
}
.steps h3 { margin-bottom: var(--space-1); }
.steps p { margin: 0; color: var(--text-muted); font-size: var(--text-sm); }

.pullquote {
  margin: clamp(var(--space-12), 6vw, var(--space-24)) 0 0;
  padding-left: clamp(var(--space-4), 2vw, var(--space-8));
  border-left: 2px solid var(--accent);
  max-width: 42ch;
}
.pullquote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: 1.28;
  margin: 0;
  max-width: none;
}

/* ---------- Priorities / social proof ---------- */
.notice {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-4);
  color: #c3d6e0;
  margin-bottom: var(--space-8);
}
.section:not(.section--ink) .notice { border-color: var(--border-strong); color: var(--text-muted); }

.quotes {
  display: grid;
  gap: clamp(var(--space-4), 2vw, var(--space-6));
}
@media (min-width: 48rem) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: clamp(var(--space-6), 2.4vw, var(--space-8));
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.quote h3 { font-size: var(--text-base); margin: 0; }
.quote p { margin: 0; font-size: var(--text-sm); }
.quote span {
  margin-top: auto;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: start;
}
@media (min-width: 62rem) {
  .contact__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}
.contact__lines { list-style: none; display: grid; gap: var(--space-6); margin-top: var(--space-8); }
.contact__lines dt {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--space-1);
}
.contact__lines dd { margin: 0; }
.contact__lines a, .contact__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.01em;
}
.contact__lines a:hover { color: var(--accent); }
.emergency-note { margin-top: var(--space-8); }

.next-steps {
  list-style: none;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
  counter-reset: step;
}
.next-steps li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: var(--space-3);
  align-items: baseline;
}
.next-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  color: var(--accent);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
}
.next-steps h3 {
  font-size: var(--text-sm);
  color: var(--text);
  margin: 0 0 2px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 3vw, var(--space-12));
  box-shadow: var(--shadow-sm);
}
.contact-card > p:not(.eyebrow):not(.small) { color: var(--text-muted); }
.contact-card__email {
  display: inline-block;
  margin: var(--space-6) 0;
  font-family: var(--font-display);
  font-size: clamp(var(--text-lg), 2.2vw, var(--text-2xl));
  color: var(--navy);
  overflow-wrap: anywhere;
}
.contact-card__email:hover { color: var(--accent); }
.contact-card__details {
  display: grid;
  gap: var(--space-5);
  margin: 0 0 var(--space-7);
  padding: var(--space-6) 0;
  border-block: 1px solid var(--border);
}
.contact-card__details dt {
  margin-bottom: var(--space-1);
  color: var(--text-faint);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.contact-card__details dd { margin: 0; color: var(--text); }
.contact-card .small { margin: var(--space-5) 0 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: #c3d6e0;
  padding-block: clamp(var(--space-12), 5vw, var(--space-16)) var(--space-8);
}
.footer a { color: #dbe9f0; text-decoration: none; }
.footer a:hover { color: #ffffff; text-decoration: underline; }
.footer__grid {
  display: grid;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-16); } }
.footer__brand { display: flex; gap: var(--space-4); align-items: flex-start; }
.footer__brand .brand__plate { padding: 7px; }
.footer__brand .brand__plate img { width: clamp(104px, 7vw, 132px); }
.footer__brandname { color: #ffffff; }
.footer__brand p { font-size: var(--text-sm); color: #a9c1cf; margin: var(--space-3) 0 0; max-width: 34ch; }
.footer h2 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fabbb;
  margin-bottom: var(--space-4);
  font-weight: 600;
}
.footer ul { list-style: none; display: grid; gap: var(--space-3); font-size: var(--text-sm); }
.footer__bottom {
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: #8fabbb;
}
.footer__bottom p { margin: 0; max-width: 64ch; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .svc:hover { transform: none; }
}
