/* ==========================================================================
   Biuro Rachunkowe BEA – Lubań
   Design system: cream paper, deep navy ink, muted brass accents.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, latin + latin-ext)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #131c2b;
  --navy: #0f2748;
  --navy-deep: #0a1d37;
  --navy-soft: #173461;
  --blue: #1b3f82;
  --gold: #b08a52;
  --gold-ink: #866631;
  --gold-soft: #d8c39b;
  --cream: #f4edE0;
  --cream-2: #fbf7ef;
  --paper: #fffdf8;
  --sand: #e8ddc9;
  --muted: #5a6373;
  --line: rgba(15, 39, 72, 0.13);
  --line-strong: rgba(15, 39, 72, 0.24);
  --line-light: rgba(244, 237, 224, 0.16);
  --shadow: 0 30px 70px -38px rgba(10, 29, 55, 0.45);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 84px;
  --radius: 2px;
}

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

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

body {
  margin: 0;
  background: var(--cream-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body,
button,
input { font-family: var(--sans); }

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

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { margin: 0; padding: 0; }

address { font-style: normal; }

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(176, 138, 82, 0.28);
  color: var(--navy-deep);
}

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

:target { scroll-margin-top: 120px; }

/* --------------------------------------------------------------------------
   4. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--navy);
  color: var(--cream);
  padding: 12px 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: none;
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: 0 0 26px;
  background: currentColor;
  opacity: 0.65;
}
.eyebrow--light { color: var(--gold-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn svg { flex: 0 0 auto; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--navy); color: var(--cream); }
.btn--primary:hover { background: var(--navy-soft); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--navy);
  background: rgba(255, 253, 248, 0.35);
}
.btn--ghost:hover { border-color: var(--navy); background: var(--paper); }

.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: var(--paper); }

.btn--outline-light {
  border-color: rgba(244, 237, 224, 0.34);
  color: var(--cream);
}
.btn--outline-light:hover { border-color: rgba(244, 237, 224, 0.7); background: rgba(244, 237, 224, 0.07); }

.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(244, 237, 224, 0.66);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.topbar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__place,
.topbar__links { display: flex; align-items: center; gap: 9px; }
.topbar__links { gap: 16px; }
.topbar__divider { width: 1px; height: 11px; background: rgba(244, 237, 224, 0.24); }
.topbar a { transition: color 0.2s ease; }
.topbar a:hover { color: var(--cream); }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 247, 239, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(251, 247, 239, 0.985);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -32px rgba(10, 29, 55, 0.5);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  flex: 0 0 auto;
}
.brand__mark { display: block; color: var(--navy); }
.brand__mark svg { width: 44px; height: 44px; }
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 13px;
  border-left: 1px solid var(--line);
}
.brand__name {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 0.9;
  color: var(--navy);
}
.brand__sub {
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.27em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 40px);
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 10px 0;
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
}
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.header-call:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  min-width: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.menu-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 17px;
}
.menu-toggle__bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.28s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Mobile menu backdrop */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 78;
  background: rgba(10, 29, 55, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-backdrop.is-open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
@media (min-width: 981px) {
  .menu-backdrop { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 79;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(10, 29, 55, 0.4);
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s ease;
}
.mobile-menu.is-open {
  max-height: min(80vh, 640px);
  overflow-y: auto;
  visibility: visible;
}
.mobile-menu__inner {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 10px 0 28px;
}
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.2;
  color: var(--navy);
}
.mobile-menu__num {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--gold-ink);
}
.mobile-menu__contact { padding-top: 22px; display: grid; gap: 12px; }
.mobile-menu__mail {
  justify-self: center;
  font-size: 13px;
  color: var(--navy);
  border-bottom: 1px solid var(--line-strong);
  overflow-wrap: anywhere;
}
.mobile-menu__address {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px) 0 clamp(60px, 8vw, 108px);
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(216, 195, 155, 0.22), rgba(216, 195, 155, 0) 55%),
    var(--cream-2);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 79px,
    rgba(15, 39, 72, 0.045) 79px,
    rgba(15, 39, 72, 0.045) 80px
  );
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}
.hero__content { max-width: 620px; }

.hero__title {
  margin-top: clamp(20px, 2.4vw, 30px);
  font-size: clamp(3.9rem, 8.5vw, 7.5rem);
  line-height: 0.86;
  letter-spacing: -0.025em;
  color: var(--navy);
  font-weight: 500;
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  font-style: italic;
  font-weight: 400;
  padding-left: clamp(0px, 3.4vw, 52px);
  letter-spacing: -0.02em;
}
.hero__title-line--accent::after {
  content: ".";
  color: var(--gold);
  font-style: normal;
}

.hero__lead {
  margin-top: clamp(24px, 3vw, 34px);
  max-width: 42ch;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.72;
  color: #414b5b;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 38px);
}

.hero__note {
  margin-top: clamp(30px, 4vw, 46px);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero__note-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 4px;
}

.hero__media {
  position: relative;
  padding: 0 0 26px 26px;
}
.hero__frame {
  position: absolute;
  left: 0;
  top: 26px;
  right: 26px;
  bottom: 0;
  border: 1px solid rgba(176, 138, 82, 0.55);
  pointer-events: none;
}
.hero__figure {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(1.02);
}
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 29, 55, 0) 52%, rgba(10, 29, 55, 0.34) 100%);
  pointer-events: none;
}

.hero__card {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: min(300px, 82%);
  padding: 20px 22px 18px;
  background: var(--paper);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -28px rgba(10, 29, 55, 0.5);
  color: var(--navy);
}
.hero__card-brand { display: flex; align-items: center; gap: 10px; }
.hero__card-mark { color: var(--navy); }
.hero__card-name {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1;
}
.hero__card-sub {
  margin-top: 7px;
  font-size: 7.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__card-rule { height: 1px; background: var(--line); margin: 13px 0 10px; }
.hero__card-foot {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   8. Facts strip
   -------------------------------------------------------------------------- */
.facts { background: var(--navy); color: var(--cream); }
.facts__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.facts__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 104px;
  padding: 20px 32px;
  border-left: 1px solid rgba(244, 237, 224, 0.14);
}
.facts__item:first-child { border-left: 0; padding-left: 0; }
.facts__value {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--paper);
}
.facts__label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.62);
}

/* --------------------------------------------------------------------------
   9. Offer
   -------------------------------------------------------------------------- */
.offer { padding: clamp(64px, 9vw, 118px) 0 clamp(64px, 8vw, 100px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding-bottom: clamp(24px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(38px, 5vw, 60px);
}
.section-head__title {
  margin-top: 16px;
  max-width: 17ch;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.02;
  color: var(--navy);
}
.section-head__note {
  max-width: 220px;
  text-align: right;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  line-height: 1.9;
  text-transform: uppercase;
  padding-bottom: 6px;
}

.offer__intro {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.book-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
}
.book-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(176, 138, 82, 0.28);
  pointer-events: none;
}
.book-card img {
  position: relative;
  width: 100%;
  height: auto;
  padding: 6px 2px 4px;
}
.book-card figcaption {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 6px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.book-card figcaption span:last-child { color: var(--gold-ink); }

.offer__text { max-width: 640px; }
.offer__lead {
  font-size: clamp(16.5px, 1.45vw, 18.5px);
  line-height: 1.8;
  color: #303a4a;
}
.offer__ksef {
  margin-top: clamp(22px, 3vw, 30px);
  padding: 2px 0 2px clamp(18px, 2.4vw, 26px);
  border-left: 2px solid var(--gold);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.78;
}
.offer__text p:first-child { margin-top: 0; }

.services-block { margin-top: clamp(54px, 8vw, 96px); }
.services-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.services-head__title {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.services-head__count {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-ink);
}

.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 214px;
  padding: 22px 22px 24px;
  background: rgba(255, 253, 248, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
}
.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.service-card__num {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--gold-ink);
  padding-top: 4px;
}
.service-card__icon { color: var(--navy); opacity: 0.9; }
.service-card__title {
  margin-top: auto;
  font-size: clamp(1.18rem, 1.5vw, 1.32rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--navy);
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(176, 138, 82, 0.5);
    background: var(--paper);
    box-shadow: 0 26px 46px -34px rgba(10, 29, 55, 0.5);
  }
  .service-card:hover::before { transform: scaleX(1); }
}

/* Closing panel */
.closing {
  position: relative;
  overflow: hidden;
  margin-top: clamp(54px, 8vw, 92px);
  padding: clamp(32px, 5vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--navy);
  color: var(--cream);
}
.closing__main,
.closing__aside { position: relative; z-index: 1; }
.closing__main > p {
  color: rgba(244, 237, 224, 0.76);
  font-size: 16px;
  line-height: 1.8;
  max-width: 54ch;
}
.closing__quote {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.05rem) !important;
  font-style: italic;
  font-weight: 400;
  line-height: 1.28 !important;
  color: var(--paper) !important;
  max-width: 24ch !important;
}
.closing__aside {
  border-left: 1px solid var(--line-light);
  padding-left: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.closing__aside > p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(244, 237, 224, 0.72);
}
.closing__invite {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-style: italic;
  color: var(--gold-soft) !important;
  line-height: 1.2 !important;
}
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.closing__watermark {
  position: absolute;
  right: -56px;
  bottom: -58px;
  width: 340px;
  height: 340px;
  color: var(--cream);
  opacity: 0.06;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   10. Contact
   -------------------------------------------------------------------------- */
.contact { padding: clamp(64px, 8vw, 104px) 0; background: var(--cream); }

.contact__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact__info {
  padding: clamp(30px, 4.2vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact__title {
  margin-top: 14px;
  font-size: clamp(2.7rem, 4.6vw, 4rem);
  line-height: 1;
  color: var(--paper);
}
.contact__invite {
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  color: var(--gold-soft);
}
.contact-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 30px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line-light);
}
.contact-list__item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-list__label {
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.55);
}
.contact-list__phone {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.1vw, 1.8rem);
  line-height: 1.2;
  color: var(--paper);
  transition: color 0.2s ease;
}
.contact-list__phone:hover { color: var(--gold-soft); }
.contact-list__mail {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--cream);
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.contact-list__mail:hover { color: var(--gold-soft); }
.contact-list__address { font-size: 14px; line-height: 1.65; color: rgba(244, 237, 224, 0.82); }
.contact-list__text { font-size: 14px; color: rgba(244, 237, 224, 0.82); }
.contact-list__hint {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(244, 237, 224, 0.45);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact__media {
  position: relative;
  min-height: 560px;
  background: var(--navy-soft);
}
.contact__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.92);
}
.contact__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 39, 72, 0.6), rgba(15, 39, 72, 0.05) 60%);
}

.route-card {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  bottom: clamp(16px, 2vw, 24px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  background: var(--paper);
  color: var(--navy);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
}
.route-card__label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.route-card__address {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--navy);
}
.route-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.route-card__link:hover { border-color: var(--gold); color: var(--gold-ink); }

/* --------------------------------------------------------------------------
   11. Privacy policy
   -------------------------------------------------------------------------- */
.privacy {
  padding: clamp(54px, 7vw, 84px) 0 clamp(60px, 8vw, 96px);
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.privacy__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.privacy__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: sticky;
  top: calc(var(--header-h) + 28px);
}
.privacy__title {
  font-size: clamp(1.7rem, 2.5vw, 2.1rem);
  line-height: 1.1;
  color: var(--navy);
  max-width: 12ch;
}

.legal {
  max-width: 700px;
  padding: clamp(20px, 3.4vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(176, 138, 82, 0.55);
  font-size: 0.5rem; /* 8px – half of the regular 16px body text, as requested */
  line-height: 2;
  letter-spacing: 0.005em;
  color: #3f4754;
}
.legal h3 {
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--navy);
  margin: 2.1em 0 0.55em;
}
.legal h3:first-child { margin-top: 0; }
.legal p { margin: 0.65em 0; }
.legal ol,
.legal ul { margin: 0.65em 0; padding-left: 1.5em; }
.legal ol ol { margin: 0.4em 0; }
.legal li { margin: 0.38em 0; padding-left: 0.15em; }
.legal li::marker { color: var(--gold-ink); }
.legal strong { color: var(--navy); font-weight: 600; }
.legal__bullets { list-style: none; padding-left: 0.2em !important; }
.legal__bullets li { position: relative; padding-left: 0.9em; }
.legal__bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold-ink);
}
.legal__address {
  margin: 0.5em 0 0.2em;
  padding-left: 0.15em;
  line-height: 2;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(244, 237, 224, 0.66);
  padding: clamp(44px, 6vw, 68px) 0 24px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.65fr) minmax(0, 0.9fr);
  gap: clamp(30px, 5vw, 64px);
  padding-bottom: clamp(32px, 4vw, 46px);
  border-bottom: 1px solid rgba(244, 237, 224, 0.12);
}
.site-footer .brand { color: var(--cream); }
.site-footer .brand__mark { color: var(--cream); }
.site-footer .brand__name { color: var(--paper); }
.site-footer .brand__text { border-left-color: rgba(244, 237, 224, 0.18); }
.site-footer .brand__sub { color: rgba(244, 237, 224, 0.70); }
.site-footer__desc {
  margin-top: 20px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.75;
}
.site-footer__place {
  margin-top: 10px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 237, 224, 0.68);
}
.site-footer__heading {
  margin-bottom: 14px;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.site-footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  font-size: 12.5px;
  color: rgba(244, 237, 224, 0.72);
  transition: color 0.2s ease;
}
.site-footer__nav a:hover { color: var(--cream); }
.site-footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-footer__contact a,
.site-footer__contact p { font-size: 12.5px; line-height: 1.7; color: rgba(244, 237, 224, 0.72); }
.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}
.site-footer__contact a:hover { color: var(--cream); }
.site-footer__contact .site-footer__phone {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--paper);
}
.site-footer__bottom {
  padding-top: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 28px;
  flex-wrap: wrap;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(244, 237, 224, 0.68);
}
.site-footer__legal { letter-spacing: 0.03em; }

/* --------------------------------------------------------------------------
   13. Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .services .reveal:nth-child(2) { transition-delay: 0.05s; }
  .services .reveal:nth-child(3) { transition-delay: 0.1s; }
  .services .reveal:nth-child(4) { transition-delay: 0.15s; }
  .services .reveal:nth-child(5) { transition-delay: 0.05s; }
  .services .reveal:nth-child(6) { transition-delay: 0.1s; }
  .services .reveal:nth-child(7) { transition-delay: 0.15s; }
  .services .reveal:nth-child(8) { transition-delay: 0.2s; }

  .hero__eyebrow { animation: rise 0.8s 0.05s both; }
  .hero__title { animation: rise 1s 0.12s both; }
  .hero__lead { animation: rise 0.9s 0.26s both; }
  .hero__actions { animation: rise 0.9s 0.36s both; }
  .hero__note { animation: rise 0.9s 0.46s both; }
  .hero__media { animation: fade-in 1.2s 0.2s both; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .header-call { padding: 0 14px; }
  .site-header__inner { gap: 24px; }
  .nav { gap: 24px; }
  .facts__item { padding-left: 24px; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }

  .topbar { display: none; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__actions { margin-left: auto; }
  .header-call {
    width: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .header-call__text { display: none; }

  .hero { padding-top: 40px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__content { max-width: 640px; }
  .hero__title { font-size: clamp(3.6rem, 12vw, 6.4rem); }
  .hero__media {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    padding-left: 20px;
    padding-bottom: 22px;
  }
  .hero__frame { right: 20px; top: 22px; }

  .facts__list { grid-template-columns: 1fr; }
  .facts__item {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    min-height: 0;
    padding: 15px 0;
    border-left: 0;
    border-top: 1px solid rgba(244, 237, 224, 0.13);
  }
  .facts__item:first-child { border-top: 0; }

  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .section-head__note { text-align: left; max-width: none; padding-bottom: 0; }

  .offer__intro { grid-template-columns: 1fr; gap: 34px; }
  .book-card { order: 2; max-width: 520px; width: 100%; }
  .offer__text { max-width: none; }

  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 200px; }

  .closing { grid-template-columns: 1fr; gap: 30px; }
  .closing__aside { border-left: 0; border-top: 1px solid var(--line-light); padding-left: 0; padding-top: 26px; }
  .closing__quote { max-width: 30ch !important; }

  .contact__panel { grid-template-columns: 1fr; }
  .contact__info { padding: 34px 28px; }
  .contact__media { min-height: 380px; }
  .contact__media::after { background: linear-gradient(180deg, rgba(15, 39, 72, 0.35), rgba(15, 39, 72, 0.05) 55%); }

  .privacy__layout { grid-template-columns: 1fr; gap: 26px; }
  .privacy__head { position: static; }
  .privacy__title { max-width: none; }
  .legal { max-width: none; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  body { font-size: 15.5px; }

  .site-header__inner { min-height: 66px; }
  .brand { gap: 9px; }
  .brand__mark svg { width: 38px; height: 38px; }
  .brand__text { padding-left: 10px; gap: 4px; }
  .brand__name { font-size: 21px; }
  .brand__sub { font-size: 6.5px; letter-spacing: 0.22em; }

  .menu-toggle { padding: 0 10px; }
  .menu-toggle__text { display: none; }

  .hero { padding-top: 32px; padding-bottom: 52px; }
  .hero::before { display: none; }
  .hero__inner { gap: 38px; }
  .hero__title { font-size: clamp(3.35rem, 16.5vw, 4.6rem); }
  .hero__title-line--accent { padding-left: 18px; }
  .hero__lead { font-size: 16px; margin-top: 22px; }
  .hero__actions { margin-top: 26px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__note { margin-top: 26px; gap: 9px; font-size: 9px; }
  .hero__media { padding-left: 14px; padding-bottom: 20px; }
  .hero__frame { top: 14px; right: 14px; }
  .hero__card { width: min(255px, 88%); padding: 16px 18px 14px; }
  .hero__card-name { font-size: 19px; }
  .hero__card-foot { font-size: 8.5px; }

  .facts__value { font-size: 1.45rem; }
  .facts__label { font-size: 8.5px; text-align: right; }

  .offer { padding-top: 56px; }
  .section-head__title { font-size: clamp(2.2rem, 8.6vw, 2.8rem); }
  .offer__lead { font-size: 16px; }
  .offer__ksef { font-size: 15px; padding-left: 16px; }

  .services { grid-template-columns: 1fr; gap: 10px; }
  .service-card { min-height: 0; padding: 18px 18px 20px; }
  .service-card__top { margin-bottom: 20px; }
  .service-card__title { font-size: 1.28rem; }

  .closing { padding: 28px 20px 34px; }
  .closing__watermark { width: 240px; height: 240px; right: -60px; bottom: -40px; }
  .closing__aside .btn { flex: 1 1 100%; }

  .contact { padding-top: 52px; padding-bottom: 52px; }
  .contact__info { padding: 30px 20px; }
  .contact__title { font-size: 2.7rem; }
  .contact-list { grid-template-columns: 1fr; gap: 18px; }
  .contact__actions .btn { flex: 1 1 100%; }
  .contact__media { min-height: 340px; }
  .route-card { padding: 15px 16px; align-items: flex-start; }
  .route-card__link { font-size: 8.5px; }

  .privacy { padding-top: 44px; }
  .privacy__title { font-size: 1.75rem; }
  .legal { padding: 18px 16px 22px; }

  .site-footer { padding-top: 38px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer__desc { max-width: none; }
}

@media (max-width: 380px) {
  .brand__mark svg { width: 34px; height: 34px; }
  .brand__name { font-size: 19px; }
  .brand__sub { font-size: 6px; }
  .header-call { width: 40px; min-height: 40px; }
  .menu-toggle { padding: 0 8px; }
  .hero__title { font-size: 3.05rem; }
  .hero__title-line--accent { padding-left: 12px; }
  .hero__card { width: 240px; }
}

/* --------------------------------------------------------------------------
   15. Print
   -------------------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .hero__media, .facts, .contact__media, .closing__watermark { display: none !important; }
  body { background: #fff; color: #000; }
  .legal { border: 0; padding: 0; max-width: none; }
  a[href^="tel"], a[href^="mailto"] { text-decoration: underline; }
}
/* ==========================================================================
   BEA 2026 upgrade: company identification, privacy page, contact widget,
   consent UI and footer legal/utility rows.
   ========================================================================== */

[hidden] { display: none !important; }

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

/* --------------------------------------------------------------------------
   Company identification
   -------------------------------------------------------------------------- */
.company {
  padding: clamp(64px, 9vw, 118px) 0;
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.company__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}
.company__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding: clamp(13px, 1.8vw, 20px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 28px 55px -42px rgba(10, 29, 55, 0.45);
}
.company__card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(176, 138, 82, 0.3);
  pointer-events: none;
}
.company__card-inner {
  position: relative;
  background: #fff;
  padding: clamp(8px, 1.2vw, 13px);
}
.company__card img {
  width: 100%;
  height: auto;
}
.company__card figcaption {
  position: relative;
  margin-top: 9px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}
.company__body { min-width: 0; }
.company__title {
  margin-top: 16px;
  color: var(--navy);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 0.98;
}
.company__lead {
  margin-top: 18px;
  max-width: 52ch;
  color: #46505f;
  font-size: 16px;
  line-height: 1.75;
}
.company__data {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}
.company__row {
  display: grid;
  grid-template-columns: 9.8rem minmax(0, 1fr);
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.company__row dt {
  color: var(--gold-ink);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.75;
  text-transform: uppercase;
}
.company__row dd {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.company__small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.company__links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}
.company__links .btn { min-height: 46px; font-size: 9.5px; padding-inline: 17px; }

/* --------------------------------------------------------------------------
   Separate privacy policy page
   -------------------------------------------------------------------------- */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.breadcrumbs a {
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.breadcrumbs a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.breadcrumbs [aria-current="page"] { color: var(--navy); }
.breadcrumbs + .privacy { padding-top: clamp(28px, 4vw, 44px); }
.privacy--page .privacy__title {
  max-width: 14ch;
  font-size: clamp(2.5rem, 4.6vw, 3.9rem);
}
.privacy__note {
  max-width: 32ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.privacy__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.privacy__actions .btn {
  min-height: 44px;
  padding-inline: 15px;
  font-size: 9px;
}
.privacy__document { min-width: 0; }
.privacy--page .legal { margin-top: 0; }

/* --------------------------------------------------------------------------
   Floating contact widget
   -------------------------------------------------------------------------- */
.contact-widget {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.contact-widget__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 54px;
  min-height: 54px;
  padding: 0 19px;
  border: 1px solid rgba(216, 195, 155, 0.55);
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 20px 44px -20px rgba(10, 29, 55, 0.65);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-widget__trigger:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 25px 48px -20px rgba(10, 29, 55, 0.7);
}
.contact-widget__trigger-icon { display: inline-flex; color: var(--gold-soft); }
.contact-widget__trigger-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}
.contact-widget__panel {
  width: min(374px, calc(100vw - 36px));
  max-height: calc(100vh - 116px);
  max-height: calc(100dvh - 116px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  background: var(--paper);
  border: 1px solid rgba(176, 138, 82, 0.5);
  border-top: 3px solid var(--gold);
  box-shadow: 0 34px 80px -30px rgba(10, 29, 55, 0.6);
  scrollbar-width: thin;
}
.contact-widget__panel.is-open { animation: widget-in 0.26s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes widget-in {
  from { opacity: 0; transform: translateY(9px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-widget__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.contact-widget__panel-head .eyebrow { font-size: 8.5px; }
.contact-widget__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -8px -8px 0 0;
  color: var(--navy);
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.contact-widget__close:hover { background: var(--cream); border-color: var(--line); }
.contact-widget__title {
  margin-top: 13px;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 2.3rem);
  line-height: 1.05;
}
.contact-widget__intro {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.contact-widget__methods {
  display: grid;
  gap: 9px;
  margin-top: 17px;
}
.contact-widget__method {
  padding: 13px;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.contact-widget__method-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.contact-widget__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--gold-ink);
  border: 1px solid rgba(176, 138, 82, 0.42);
  border-radius: 50%;
}
.contact-widget__label {
  color: var(--gold-ink);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}
.contact-widget__value {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
}
.contact-widget__value--mail {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
p.contact-widget__value {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.45;
}
.contact-widget__action {
  min-height: 42px;
  margin-top: 10px;
  padding-inline: 12px;
  font-size: 9px;
  letter-spacing: 0.13em;
}

/* --------------------------------------------------------------------------
   Cookie consent: conditional banner, native settings dialog
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 120;
  width: min(980px, calc(100vw - 32px));
  transform: translateX(-50%);
  padding: 22px clamp(18px, 3vw, 30px);
  background: var(--navy-deep);
  color: var(--cream);
  border-top: 3px solid var(--gold);
  box-shadow: 0 35px 80px -30px rgba(10, 29, 55, 0.8);
}
.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.cookie-banner__title {
  margin-top: 9px;
  color: var(--paper);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  line-height: 1.05;
}
.cookie-banner__copy p:not(.eyebrow) {
  margin-top: 8px;
  max-width: 68ch;
  color: rgba(244, 237, 224, 0.72);
  font-size: 12px;
  line-height: 1.65;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 190px;
}
.cookie-banner__action {
  justify-content: center;
  min-height: 44px;
  font-size: 9px;
  padding-inline: 15px;
  white-space: nowrap;
}
.cookie-banner__settings {
  min-height: 40px;
  padding: 4px;
  color: rgba(244, 237, 224, 0.72);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.cookie-banner__settings:hover { color: var(--paper); }

.cookie-dialog {
  width: min(780px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.cookie-dialog::backdrop {
  background: rgba(10, 29, 55, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.cookie-dialog__panel {
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  padding: clamp(22px, 3.5vw, 38px);
  background: var(--paper);
  border-top: 3px solid var(--gold);
  box-shadow: 0 38px 100px -28px rgba(10, 29, 55, 0.7);
  scrollbar-width: thin;
}
.cookie-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.cookie-dialog__title {
  margin-top: 10px;
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.02;
}
.cookie-dialog__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: -8px -8px 0 0;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cookie-dialog__close:hover { background: var(--cream); border-color: var(--line-strong); }
.cookie-dialog__intro {
  margin-top: 14px;
  max-width: 72ch;
  color: #46505f;
  font-size: 13px;
  line-height: 1.7;
}
.cookie-dialog__notice {
  margin-top: 16px;
  padding: 11px 13px;
  background: var(--cream);
  border-left: 2px solid var(--gold);
  color: var(--navy);
  font-size: 12px;
  line-height: 1.65;
}
.cookie-categories {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}
.cookie-category {
  padding: 16px;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.cookie-category--required { border-left: 2px solid var(--gold); }
.cookie-category__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.cookie-category__title {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.05;
}
.cookie-category__text {
  margin-top: 5px;
  max-width: 60ch;
  color: #4d5663;
  font-size: 12px;
  line-height: 1.6;
}
.cookie-category__status {
  margin-top: 7px;
  color: var(--gold-ink);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.cookie-category__hint {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.cookie-category.is-disabled { opacity: 0.82; }
.cookie-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  color: var(--gold-ink);
  border: 1px solid rgba(176, 138, 82, 0.38);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.cookie-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 20px;
  margin: 13px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.cookie-details div { display: grid; grid-template-columns: 5.8rem minmax(0, 1fr); gap: 8px; }
.cookie-details dt {
  color: var(--gold-ink);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}
.cookie-details dd { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; overflow-wrap: anywhere; }
.cookie-details code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9.5px; color: var(--navy); }

.cookie-switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 46px;
  width: 46px;
  height: 27px;
  cursor: pointer;
}
.cookie-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cookie-switch__track {
  position: absolute;
  inset: 0;
  background: #d4cdc1;
  border: 1px solid rgba(15, 39, 72, 0.18);
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cookie-switch__track span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(10, 29, 55, 0.22);
  transition: transform 0.2s ease;
}
.cookie-switch input:checked + .cookie-switch__track { background: var(--navy); border-color: var(--navy); }
.cookie-switch input:checked + .cookie-switch__track span { transform: translateX(19px); }
.cookie-switch input:focus-visible + .cookie-switch__track { outline: 2px solid var(--gold-ink); outline-offset: 3px; }
.cookie-switch input:disabled + .cookie-switch__track { opacity: 0.6; cursor: not-allowed; }
.cookie-switch:has(input:disabled) { cursor: not-allowed; }

.cookie-dialog__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.cookie-dialog__actions .btn { min-height: 46px; font-size: 9px; padding-inline: 15px; }
.cookie-dialog__status {
  min-height: 1.4em;
  margin-top: 9px;
  color: var(--gold-ink);
  font-size: 10px;
  line-height: 1.4;
}
body.cookie-dialog-open { overflow: hidden; }
.cookie-dialog.is-fallback {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: none;
  padding: 14px;
  background: rgba(10, 29, 55, 0.7);
}
.cookie-dialog.is-fallback .cookie-dialog__panel { width: min(780px, 100%); }

/* --------------------------------------------------------------------------
   Footer: four-column identification + cookie/credit utility row
   -------------------------------------------------------------------------- */
.site-footer { padding-bottom: 92px; }
.site-footer__grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.55fr) minmax(0, 0.8fr) minmax(0, 1fr);
}
.site-footer__company {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(244, 237, 224, 0.74);
  font-size: 12px;
  line-height: 1.65;
}
.site-footer__company p { margin: 0; }
.site-footer__company strong { color: rgba(244, 237, 224, 0.88); font-weight: 400; }
.site-footer__administrator { color: rgba(244, 237, 224, 0.68) !important; }
.site-footer__bottom { align-items: flex-start; }
.site-footer__meta { display: grid; gap: 4px; }
.site-footer__meta p { margin: 0; }
.site-footer__utility {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.site-footer__utility a,
.site-footer__cookie-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  color: rgba(244, 237, 224, 0.70);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__cookie-button { background: none; text-align: left; }
.site-footer__utility a:hover,
.site-footer__cookie-button:hover { color: var(--cream); border-bottom-color: var(--gold-soft); }
.site-footer__credit {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 237, 224, 0.1);
  color: rgba(244, 237, 224, 0.66);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: right;
}
.site-footer__credit a {
  color: rgba(244, 237, 224, 0.76);
  border-bottom: 1px solid rgba(244, 237, 224, 0.22);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__credit a:hover { color: var(--cream); border-bottom-color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   Responsive additions
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .site-footer__brand,
  .site-footer__company { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .company__layout { grid-template-columns: 1fr; gap: 34px; }
  .company__body { order: 1; }
  .company__card { order: 2; max-width: 440px; width: 100%; margin-inline: auto; }
  .company__lead { max-width: 62ch; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__company { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 96px; }
}

@media (max-width: 640px) {
  .company { padding: 52px 0; }
  .company__title { font-size: 2.55rem; }
  .company__lead { font-size: 15.5px; }
  .company__row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .company__links .btn { flex: 1 1 100%; }
  .company__card figcaption { font-size: 7.5px; }
  .company__card { max-width: 370px; }

  .breadcrumbs { padding-top: 18px; font-size: 8.5px; }
  .privacy--page .privacy__title { font-size: 2.45rem; }
  .privacy__note { font-size: 11px; }
  .privacy__actions .btn { flex: 1 1 100%; }
  .privacy--page .legal { padding: 18px 15px 22px; }

  .contact-widget {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .contact-widget__trigger {
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    border-radius: 50%;
  }
  .contact-widget__trigger-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .contact-widget__panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 104px);
    max-height: calc(100dvh - 104px);
    padding: 18px;
  }
  .contact-widget__title { font-size: 1.95rem; }
  .contact-widget__action { min-height: 44px; }

  .cookie-banner {
    bottom: max(12px, env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    padding: 18px 16px;
  }
  .cookie-banner__inner { grid-template-columns: 1fr; gap: 15px; }
  .cookie-banner__actions { min-width: 0; gap: 7px; }
  .cookie-banner__action { width: 100%; }
  .cookie-banner__title { font-size: 1.8rem; }
  .cookie-banner__copy p:not(.eyebrow) { font-size: 11.5px; }

  .cookie-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .cookie-dialog__panel { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 20px 15px; }
  .cookie-dialog__title { font-size: 2rem; }
  .cookie-dialog__intro { font-size: 12px; }
  .cookie-category { padding: 14px; }
  .cookie-category__title { font-size: 1.3rem; }
  .cookie-category__top { gap: 12px; }
  .cookie-badge { max-width: 95px; font-size: 7.5px; }
  .cookie-details { grid-template-columns: 1fr; gap: 3px; }
  .cookie-details div { grid-template-columns: 5.3rem minmax(0, 1fr); }
  .cookie-dialog__actions { flex-direction: column; align-items: stretch; }
  .cookie-dialog__actions .btn { width: 100%; }

  .site-footer { padding-bottom: 102px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__company { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 9px; }
  .site-footer__utility { gap: 2px 16px; }
  .site-footer__credit { text-align: left; }
}

@media (max-width: 380px) {
  .contact-widget__panel { width: calc(100vw - 20px); }
  .company__title { font-size: 2.25rem; }
  .cookie-banner { width: calc(100vw - 18px); }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .contact-widget,
  .cookie-dialog,
  .cookie-banner,
  .breadcrumbs,
  .privacy__actions,
  .site-footer__utility,
  .site-footer__credit { display: none !important; }
  .site-footer { padding-bottom: 24px; }
  .privacy__layout { display: block; }
  .privacy__head { position: static; margin-bottom: 20px; }
  .legal { font-size: 9pt; line-height: 1.6; }
}

/* ==========================================================================
   BEA 2026 multi-page upgrade
   Actual logo, page heroes, editorial pages and five-column footer.
   ========================================================================== */

.brand__logo {
  display: block;
  width: auto;
  height: 52px;
  flex: 0 0 auto;
}
.nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }
.mobile-menu__nav a[aria-current="page"] { color: var(--gold-ink); }

/* Home hero with the approved headline and actual logo card. */
.home-hero { padding-top: clamp(44px, 5vw, 64px); }
.home-hero .hero__inner { grid-template-columns: 1.06fr 0.94fr; }
.home-hero .hero__content { max-width: 660px; }
.home-hero .hero__title {
  font-size: clamp(3.05rem, 5.1vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.home-hero__line { display: block; }
.home-hero__line--accent {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-ink);
  padding-left: clamp(0px, 3.2vw, 48px);
}
.home-hero__line--tail {
  padding-left: clamp(0px, 3.2vw, 48px);
  font-size: 0.8em;
  color: #2d3a4e;
}
.hero__card-logo { width: auto; height: 44px; }
.hero__card-sub { margin-top: 0; }

/* Shared inner-page hero. */
.page-hero {
  position: relative;
  padding: 0 0 clamp(52px, 7vw, 88px);
  background:
    radial-gradient(105% 86% at 92% 6%, rgba(216, 195, 155, 0.18), rgba(216, 195, 155, 0) 58%),
    var(--cream-2);
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumbs { padding-top: clamp(24px, 3vw, 36px); }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  padding-top: clamp(36px, 5vw, 64px);
}
.page-hero__grid--single { grid-template-columns: 1fr; max-width: 850px; }
.page-hero__content { min-width: 0; }
.page-hero__title {
  margin-top: 16px;
  font-size: clamp(3.4rem, 6.5vw, 6.1rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.page-hero__lead {
  max-width: 58ch;
  margin-top: 22px;
  color: #414b5b;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.8;
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.page-hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(1.02);
}
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 29, 55, 0) 55%, rgba(10, 29, 55, 0.44) 100%);
  pointer-events: none;
}
.page-hero__media figcaption {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  color: rgba(244, 237, 224, 0.72);
  font-size: 8px;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.page-hero--compact { padding-bottom: 34px; }
.page-hero--compact .page-hero__grid { padding-top: 28px; padding-bottom: 6px; }
.page-hero--compact .page-hero__title { font-size: clamp(3rem, 5vw, 4.7rem); }
.page-hero__grid--single .page-hero__lead { max-width: 64ch; }

/* Shared page sections. */
.page-section { padding: clamp(58px, 8vw, 100px) 0; }
.page-section--paper { background: var(--paper); border-top: 1px solid var(--line); }
.section-more { display: flex; justify-content: flex-end; margin-top: 28px; }
.home-services .services { margin-top: 0; }
.service-card--preview { min-height: 238px; }
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  min-height: 40px;
  margin-top: 18px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--navy);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.service-card__more:hover { color: var(--gold-ink); border-bottom-color: var(--gold); }
.services--detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service-card--detail { min-height: 220px; padding: 28px 28px 30px; }
.service-card--detail .service-card__title { max-width: 22ch; font-size: clamp(1.4rem, 2vw, 1.72rem); }
.service-card[id] { scroll-margin-top: 122px; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.value-card {
  display: flex;
  flex-direction: column;
  min-height: 224px;
  padding: 24px 23px 26px;
  background: rgba(255, 253, 248, 0.56);
  border: 1px solid var(--line);
}
.value-card__num {
  color: var(--gold-ink);
  font-size: 9px;
  letter-spacing: 0.18em;
}
.value-card__title {
  margin-top: auto;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.8vw, 1.65rem);
  font-weight: 500;
  line-height: 1.16;
}
.value-card__text {
  margin-top: 12px;
  color: #4c5665;
  font-size: 12px;
  line-height: 1.7;
}
.home-about-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.home-about-link p { max-width: 56ch; color: var(--muted); font-size: 13px; line-height: 1.75; }

/* About page. */
.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: start;
  gap: clamp(34px, 6vw, 78px);
}
.about-story__body { min-width: 0; }
.about-story__body h2 {
  max-width: 19ch;
  margin-top: 16px;
  color: var(--navy);
  font-size: clamp(2.4rem, 4.2vw, 3.65rem);
}
.about-story__body p:not(.eyebrow) {
  max-width: 64ch;
  margin-top: 18px;
  color: #414b5b;
  font-size: 16px;
  line-height: 1.82;
}
.about-story__body .about-story__quote {
  margin-top: 28px;
  padding: 22px 0 0 clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  font-style: italic;
  line-height: 1.3;
}
.about-card {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 28px 55px -42px rgba(10, 29, 55, 0.45);
}
.about-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(176, 138, 82, 0.3);
  pointer-events: none;
}
.about-card__inner { position: relative; background: #fff; padding: 10px; }
.about-card img { width: 100%; height: auto; }
.about-card figcaption {
  position: relative;
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}
.value-grid--about { margin-top: clamp(48px, 6vw, 74px); }

/* Offer detail page. */
.offer-page .section-head { margin-bottom: clamp(30px, 4vw, 44px); }
.price-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  padding: 26px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
}
.price-note .eyebrow { flex: 0 0 100%; }
.price-note__text {
  flex: 1 1 360px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.3;
}

/* Page CTA and contact links inside the dark panel. */
.page-cta .closing,
.home-cta .closing { margin-top: 0; }
.closing__phone,
.closing__mail {
  color: var(--paper);
  border-bottom: 1px solid rgba(216, 195, 155, 0.55);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.closing__phone:hover,
.closing__mail:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }

/* Footer: brand, company, navigation, contact and legal documents. */
.site-footer__grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.05fr) minmax(0, 0.44fr) minmax(0, 1.05fr) minmax(0, 0.8fr);
  gap: clamp(20px, 2.4vw, 34px);
}
.site-footer__brand { min-width: 0; }
.site-footer__documents { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.site-footer__documents a,
.site-footer__documents .site-footer__cookie-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  color: rgba(244, 237, 224, 0.72);
  font-size: 12.5px;
  line-height: 1.6;
  text-align: left;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__documents a:hover,
.site-footer__documents .site-footer__cookie-button:hover { color: var(--cream); border-bottom-color: var(--gold-soft); }
.site-footer .brand--footer {
  width: fit-content;
  padding: 10px 12px;
  background: var(--paper);
  color: var(--navy);
}
.site-footer .brand--footer .brand__logo { height: 46px; }
.site-footer .brand--footer .brand__text { border-left-color: var(--line); }
.site-footer .brand--footer .brand__sub { color: var(--muted); }
.site-footer__bottom { align-items: center; }
.site-footer__credit--bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  text-align: right;
}

@media (max-width: 1120px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .site-footer__brand,
  .site-footer__company { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .home-hero .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .home-hero .hero__title { font-size: clamp(3.1rem, 9.3vw, 5.2rem); }
  .home-hero .hero__media { width: 100%; max-width: 560px; margin-inline: auto; }
  .home-hero .hero__content { max-width: 660px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 34px; padding-top: 34px; }
  .page-hero__media { width: 100%; max-width: 560px; margin-inline: auto; }
  .page-hero__grid--single { max-width: none; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-story__grid { grid-template-columns: 1fr; }
  .about-card { max-width: 440px; }
  .home-about-link { align-items: flex-start; flex-direction: column; gap: 16px; }
  .services--detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-footer__brand,
  .site-footer__company { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .brand__logo { height: 42px; }
  .home-hero { padding-top: 34px; }
  .home-hero .hero__title { font-size: clamp(2.72rem, 12.5vw, 3.55rem); line-height: 1.02; }
  .home-hero__line--accent,
  .home-hero__line--tail { padding-left: 0; }
  .home-hero__line--tail { font-size: 0.82em; }
  .hero__card-logo { height: 38px; }
  .page-hero { padding-bottom: 46px; }
  .page-hero__title { font-size: clamp(2.75rem, 12vw, 3.55rem); }
  .page-hero__lead { font-size: 16px; }
  .page-hero__actions .btn { flex: 1 1 100%; }
  .page-hero__media { max-width: 480px; }
  .page-hero--compact { padding-bottom: 28px; }
  .page-section { padding: 54px 0; }
  .section-more { justify-content: stretch; }
  .section-more .btn { width: 100%; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; padding: 22px 20px; }
  .value-card__title { margin-top: 28px; }
  .services--detail { grid-template-columns: 1fr; gap: 10px; }
  .service-card--detail { min-height: 0; padding: 22px 20px 24px; }
  .service-card--detail .service-card__title { font-size: 1.32rem; }
  .price-note { align-items: flex-start; flex-direction: column; padding: 23px 20px; }
  .price-note__text { flex: 1 1 auto; }
  .price-note .btn { width: 100%; }
  .about-story__body h2 { font-size: clamp(2.2rem, 8.6vw, 2.8rem); }
  .about-story__body p:not(.eyebrow) { font-size: 15.5px; }
  .about-story__body .about-story__quote { font-size: 1.35rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__brand,
  .site-footer__company { grid-column: auto; }
  .site-footer .brand--footer .brand__logo { height: 40px; }
  .site-footer__credit--bottom { text-align: left; }
}

@media (max-width: 380px) {
  .brand__logo { height: 36px; }
  .brand__text { padding-left: 9px; }
  .brand__sub { font-size: 6px; }
  .home-hero .hero__title { font-size: 2.55rem; }
  .page-hero__title { font-size: 2.45rem; }
}
