/* Patch Notes: Launch polish pass for the static Opiekunki.PRO site; refines tokens, typography, spacing, cards, navigation, and responsive presentation without changing content or structure. */
:root {
  --color-ink: #101715;
  --color-text: #1d302d;
  --color-muted: #68746f;
  --color-page: #ffffff;
  --color-surface: #f5f6f1;
  --color-surface-strong: #ecefe7;
  --color-dark: #151a18;
  --color-header: rgba(245, 246, 241, 0.96);
  --color-gold: #d99100;
  --color-gold-dark: #8a5b00;
  --color-gold-soft: #f6b95b;
  --color-brand-blue: #1687d9;
  --color-brand-blue-dark: #004f8f;
  --color-slate: #536679;
  --color-green: #50aa7e;
  --color-teal: #005450;
  --color-teal-mid: #2d8f79;
  --color-teal-dark: #032f2d;
  --color-lime: #b4c977;
  --border-subtle: rgba(21, 26, 24, 0.1);
  --shadow-soft: 0 14px 32px rgba(28, 35, 31, 0.1);
  --shadow-card: 0 18px 44px rgba(28, 35, 31, 0.13);
  --container: min(1240px, calc(100% - 40px));
  --radius: 8px;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-display: "Josefin Sans", "Open Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.is-text-large {
  font-size: 120%;
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(246, 185, 91, 0.96);
  outline-offset: 4px;
}

p,
h1,
h2,
h3,
ul {
  margin-top: 0;
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--color-gold-soft);
  color: #111111;
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.top-bar {
  background: rgba(0, 0, 0, 0.88);
  color: #ffffff;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.top-bar__inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  min-height: 50px;
  flex-wrap: wrap;
}

.top-bar a {
  color: #ffffff;
  font-weight: 800;
}

.text-scale-toggle {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: #ffffff;
  color: #0b4e87;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.text-scale-toggle[aria-pressed="true"] {
  background: var(--color-brand-blue);
  border-color: #ffffff;
  color: #ffffff;
}

.text-scale-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-header);
  box-shadow: 0 1px 0 rgba(217, 145, 0, 0.28), 0 10px 28px rgba(28, 35, 31, 0.1);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: var(--container);
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 136px;
  flex-shrink: 0;
}

.brand img {
  width: 52px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(22%) sepia(91%) saturate(1980%) hue-rotate(186deg) brightness(83%) contrast(102%);
}

.brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--color-teal);
  white-space: nowrap;
}

.brand-title {
  color: #ffffff;
}

.hero .brand-title {
  color: #ffffff;
}

.site-footer .brand-title {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 84, 80, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-teal);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.nav-toggle:hover {
  background: #ffffff;
  border-color: rgba(0, 84, 80, 0.4);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 22px);
  color: var(--color-teal-dark);
  font-size: clamp(0.9rem, 0.92vw, 1rem);
  font-weight: 800;
}

.site-nav a {
  flex-shrink: 0;
  padding: 9px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--color-gold-dark);
  border-color: currentColor;
}

.header-contact {
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--color-teal-dark);
  font-style: normal;
  line-height: 1.22;
  text-align: right;
  white-space: nowrap;
}

.header-contact a {
  color: var(--color-teal-dark);
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: 800;
}

.header-contact a:first-child {
  letter-spacing: 0.02em;
}

.header-contact a:hover {
  color: var(--color-gold);
}

.header-actions {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: auto auto;
  justify-items: end;
  align-items: center;
  gap: 7px 9px;
  width: max-content;
  max-width: 340px;
}

.header-actions .header-contact {
  grid-column: 1 / -1;
}

.language-switcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
}

.language-switcher span {
  color: var(--color-teal-dark);
}

.language-switcher__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--color-gold);
}

.language-switcher select {
  min-height: 38px;
  max-width: 126px;
  padding: 7px 28px 7px 10px;
  border: 1px solid rgba(0, 84, 80, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-teal-dark);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.language-switcher select:hover {
  background: #ffffff;
  border-color: rgba(0, 84, 80, 0.42);
}

.language-switcher select option {
  color: #111111;
}

.language-switcher a,
.language-switcher .gt_selector {
  color: var(--color-teal-dark);
}

.language-switcher.is-enhanced .gtranslate_wrapper {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.language-switcher__button {
  position: relative;
  min-height: 38px;
  max-width: 136px;
  padding: 7px 28px 7px 10px;
  border: 1px solid rgba(0, 84, 80, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-teal-dark);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.language-switcher__button::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.language-switcher__button:hover,
.language-switcher__button[aria-expanded="true"] {
  background: #ffffff;
  border-color: rgba(0, 84, 80, 0.42);
}

.language-switcher__menu[hidden] {
  display: none;
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 300;
  width: min(320px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid rgba(0, 84, 80, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(28, 35, 31, 0.18);
  color: var(--color-teal-dark);
}

.language-switcher__search {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 84, 80, 0.22);
  border-radius: 6px;
  background: #ffffff;
  color: var(--color-teal-dark);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
}

.language-switcher__search:focus {
  outline: 3px solid rgba(246, 185, 91, 0.62);
  outline-offset: 2px;
}

.language-switcher__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 84, 80, 0.1);
}

.language-switcher__results {
  display: grid;
  gap: 6px;
  max-height: 246px;
  margin-top: 8px;
  overflow-y: auto;
}

.language-switcher__option {
  display: grid;
  gap: 2px;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid rgba(0, 84, 80, 0.14);
  border-radius: 6px;
  background: #f8faf6;
  color: var(--color-teal-dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.language-switcher__quick .language-switcher__option {
  width: calc(50% - 3px);
}

.language-switcher__results .language-switcher__option {
  width: 100%;
}

.language-switcher__option:hover,
.language-switcher__option[aria-current="true"] {
  border-color: rgba(217, 145, 0, 0.52);
  background: #fff6e3;
}

.language-switcher__option-native,
.language-switcher__option-detail {
  overflow: hidden;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-switcher__option-native {
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switcher__option-detail {
  color: var(--color-muted);
  font-size: 0.66rem;
  font-weight: 700;
}

.language-switcher__empty {
  margin: 4px 2px 0;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.header-actions .text-scale-toggle {
  min-height: 38px;
  padding: 7px 11px;
  border-color: rgba(0, 84, 80, 0.22);
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-teal-dark);
  font-size: 0.74rem;
  box-shadow: none;
}

.header-actions .text-scale-toggle:hover {
  background: #ffffff;
  border-color: rgba(0, 84, 80, 0.42);
  box-shadow: none;
}

.header-actions .text-scale-toggle[aria-pressed="true"] {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: #ffffff;
}

html.is-text-large .site-nav {
  gap: 12px;
  font-size: 0.9rem;
}

html.is-text-large .header-actions {
  max-width: 330px;
}

html.is-text-large .language-switcher,
html.is-text-large .language-switcher select,
html.is-text-large .language-switcher__button,
html.is-text-large .header-actions .text-scale-toggle {
  font-size: 0.68rem;
}

.hero {
  min-height: 430px;
  display: grid;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(15, 17, 16, 0.68), rgba(15, 17, 16, 0.22)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero--home {
  min-height: 540px;
  background-position: center 24%;
}

.hero--home-people {
  background-image:
    linear-gradient(90deg, rgba(15, 17, 16, 0.7) 0%, rgba(15, 17, 16, 0.28) 42%, rgba(15, 17, 16, 0.04) 100%),
    url("../assets/img/pexels-vlada-karpovich-5790833-scaled-1.jpg");
}

.hero--compact {
  min-height: 310px;
  align-items: center;
}

.hero--teal {
  background-image:
    linear-gradient(90deg, rgba(0, 66, 62, 0.78), rgba(0, 39, 37, 0.58)),
    var(--hero-image);
}

.hero__inner {
  width: var(--container);
  margin: 0 auto;
  padding: 68px 0 62px;
}

.hero--compact .hero__inner {
  padding: 54px 0 48px;
}

.hero__eyebrow {
  margin-bottom: 12px;
  color: var(--color-gold-soft);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__eyebrow--brand {
  color: #ffffff;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.1vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
}

.hero--home h1 {
  font-size: clamp(3rem, 6.5vw, 5.8rem);
}

.hero--compact h1 {
  font-size: clamp(2.05rem, 3.8vw, 3.05rem);
  line-height: 1.1;
}

.hero--teal h1 {
  max-width: 720px;
  font-size: clamp(2.25rem, 4.4vw, 3.8rem);
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 0;
  padding: 14px 18px 14px 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2422;
  font-size: clamp(1.08rem, 2vw, 1.62rem);
  font-weight: 800;
  line-height: 1.4;
  text-shadow: none;
  border-left: 4px solid var(--color-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.choice-strip {
  background: var(--color-surface);
}

.choice-strip__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  transform: translateY(-24px);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  overflow: hidden;
}

.choice-card {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 22px;
  color: #ffffff;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.choice-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.04);
}

.choice-card--gold {
  background: var(--color-gold-soft);
  color: #14110b;
}

.choice-card--slate {
  background: var(--color-slate);
}

.choice-card--green {
  background: var(--color-green);
  color: #061b15;
}

.section {
  background: var(--color-surface);
  color: var(--color-text);
  padding: clamp(50px, 6vw, 82px) 0;
}

.section--tight {
  padding-top: 28px;
}

.section--light {
  background: #f6f7f3;
  color: var(--color-ink);
}

.section__inner {
  width: var(--container);
  margin: 0 auto;
}

.section-title {
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-title--center {
  text-align: center;
}

.section-title--center::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin: 20px auto 0;
  background: var(--color-gold);
  border-radius: 999px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  min-height: 0;
  display: grid;
  grid-template-rows: 245px 1fr;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.feature-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(28, 35, 31, 0.08)),
    var(--card-image);
  background-size: cover;
  background-position: center;
}

.feature-card__body {
  padding: clamp(24px, 2.4vw, 30px);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  color: #1f2422;
  font-size: clamp(1.45rem, 1.7vw, 1.72rem);
  line-height: 1.25;
}

.feature-card p {
  color: #31413d;
  font-size: clamp(1.02rem, 1.1vw, 1.1rem);
  line-height: 1.68;
}

.content-panel {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  font-size: clamp(1.03rem, 1.15vw, 1.16rem);
  line-height: 1.74;
}

.content-panel p {
  margin-bottom: 1.05rem;
}

.content-panel ul {
  display: grid;
  gap: 10px;
  margin: 0 0 1.8rem;
  padding-left: 1.3rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.split__media {
  display: grid;
  gap: 16px;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.split__media img:first-child {
  aspect-ratio: 4 / 3;
}

.split__media img:last-child {
  width: 60%;
  margin-left: auto;
  margin-top: -70px;
  border: 6px solid #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contact-card {
  min-height: 245px;
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
}

.contact-card h2,
.contact-card h3 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: inherit;
}

.contact-card p {
  color: #ffffff;
  font-weight: 700;
}

.contact-card a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-card--lime {
  background: var(--color-lime);
  color: #002725;
}

.contact-card--lime p,
.contact-card--lime a {
  color: #002725;
}

.contact-card--green {
  background: var(--color-teal-mid);
  color: #061b15;
}

.contact-card--green p,
.contact-card--green a {
  color: #061b15;
}

.contact-card--dark {
  background: var(--color-teal-dark);
  color: #ffffff;
}

.contact-card--teal {
  background: var(--color-teal);
  color: #ffffff;
}

.contact-person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-top: 44px;
}

.page-contact .hero--teal {
  min-height: 300px;
  background-position: center 42%;
}

.page-contact .hero--teal h1 {
  max-width: 780px;
  font-size: clamp(2.15rem, 4.1vw, 3.6rem);
}

.page-contact .section {
  background: #f6f7f3;
  padding-top: clamp(36px, 5vw, 64px);
}

.page-contact .contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  overflow: visible;
  box-shadow: none;
}

.page-contact .contact-card {
  min-height: 0;
  padding: clamp(26px, 3.5vw, 40px);
  text-align: left;
  background: #ffffff;
  color: #13201c;
  border: 1px solid var(--border-subtle);
  border-left: 6px solid var(--color-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.page-contact .contact-card h2,
.page-contact .contact-card h3 {
  color: #13201c;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  margin-bottom: 16px;
}

.page-contact .contact-card p {
  color: #13201c;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.62;
  font-weight: 700;
}

.page-contact .contact-card a {
  display: inline-block;
  color: #004a43;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.page-contact .contact-card--green {
  border-left-color: var(--color-teal-mid);
}

.page-contact .contact-card--dark {
  border-left-color: var(--color-teal-dark);
}

.page-contact .contact-card--teal {
  border-left-color: var(--color-teal);
}

.page-contact .contact-person {
  max-width: 760px;
  margin: 38px auto 0;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.page-contact .person-caption {
  margin: 0;
  color: #13201c;
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
  font-weight: 700;
}

.page-contact .contact-person img {
  border-color: var(--color-surface-strong);
}

.contact-person img {
  width: 164px;
  justify-self: center;
  border: 5px solid rgba(236, 239, 231, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.person-caption {
  color: var(--color-text);
  font-size: 1.1rem;
  text-align: center;
}

.button-row {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  color: #111111;
  background: #fffaf0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--color-gold);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 145, 0, 0.18);
}

.site-footer {
  background: var(--color-dark);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: clamp(28px, 5vw, 72px);
  padding: 44px 0;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.site-footer p,
.site-footer a {
  color: #ffffff;
  line-height: 1.55;
}

.site-footer a {
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--color-gold-soft);
}

.footer-nav {
  display: grid;
  gap: 9px;
}

.small-note {
  color: #ffffff;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  body {
    font-size: 16.5px;
  }

  .top-bar__inner {
    justify-content: center;
  }

  .text-scale-toggle {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .site-header {
    background: var(--color-header);
    box-shadow: 0 1px 0 rgba(217, 145, 0, 0.24), 0 8px 18px rgba(28, 35, 31, 0.1);
  }

  .site-header__inner {
    min-height: 64px;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 8px 0;
  }

  .site-header.is-nav-open .site-header__inner {
    flex-wrap: wrap;
    padding-bottom: 12px;
  }

  .brand {
    min-width: 0;
    order: 0;
  }

  .brand span {
    color: var(--color-teal);
  }

  .nav-toggle {
    order: 2;
    display: inline-flex;
    color: var(--color-teal);
    border-color: rgba(0, 84, 80, 0.22);
    margin-left: 0;
    flex-shrink: 0;
  }

  .header-actions {
    order: 1;
    display: grid;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    grid-template-columns: minmax(86px, auto) minmax(112px, max-content);
    justify-content: center;
    justify-items: center;
    align-items: center;
    padding: 0;
    gap: 6px 8px;
  }

  .header-contact {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1px;
    text-align: center;
    min-width: 0;
  }

  .header-contact a {
    font-size: 0.82rem;
  }

  .header-actions .text-scale-toggle {
    width: min(100%, 300px);
    min-height: 40px;
    font-size: 0.86rem;
  }

  .language-switcher {
    justify-content: center;
    width: auto;
    font-size: 0.78rem;
  }

  .language-switcher select,
  .language-switcher__button {
    min-height: 40px;
    max-width: 112px;
    font-size: 0.78rem;
  }

  .site-nav {
    order: 3;
    position: static;
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    color: #101715;
    padding: 7px;
    border: 1px solid rgba(0, 84, 80, 0.16);
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(28, 35, 31, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
    border-bottom: 0;
    border-radius: 6px;
    white-space: normal;
  }

  .site-nav a[aria-current="page"],
  .site-nav a:hover {
    background: rgba(246, 185, 91, 0.13);
    color: #101715;
  }

  .hero,
  .hero--home {
    min-height: 430px;
  }

  .hero--home {
    background-position: 48% 24%;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 8.5vw, 4rem);
  }

  .choice-strip__inner,
  .feature-grid,
  .contact-grid,
  .split,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .choice-strip__inner {
    transform: none;
    padding-top: 22px;
    box-shadow: none;
  }

  .choice-card {
    min-height: 92px;
  }

  .feature-card {
    min-height: 0;
    grid-template-rows: 230px 1fr;
  }

  .feature-card::before {
    min-height: 0;
  }

  .contact-person {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-contact .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-card {
    text-align: left;
  }

  .split__media img:last-child {
    width: 68%;
    margin-top: -50px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1100px);
  }

  .top-bar__inner {
    gap: 10px;
    padding: 10px 0;
    line-height: 1.4;
  }

  .brand img {
    width: 40px;
  }

  .brand span {
    display: none;
  }

  .site-header__inner {
    min-height: 62px;
    gap: 8px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .header-contact {
    line-height: 1.14;
  }

  .header-contact a {
    font-size: clamp(0.7rem, 3.15vw, 0.78rem);
  }

  .header-actions {
    grid-template-columns: minmax(82px, auto) minmax(104px, max-content);
    gap: 4px 6px;
  }

  .header-actions .header-contact {
    grid-column: auto;
  }

  .language-switcher {
    width: 100%;
    gap: 4px;
    justify-content: flex-start;
  }

  .language-switcher__icon {
    width: 16px;
    height: 16px;
  }

  .language-switcher select,
  .language-switcher__button {
    min-height: 38px;
    max-width: 96px;
    padding: 7px 22px 7px 8px;
    font-size: 0.72rem;
  }

  .language-switcher__button::after {
    right: 8px;
  }

  .language-switcher__menu {
    position: fixed;
    top: 70px;
    right: 14px;
    left: 14px;
    width: auto;
  }

  .header-actions .text-scale-toggle {
    display: none;
  }

  .hero,
  .hero--home,
  .hero--compact {
    min-height: 360px;
  }

  .hero--home {
    background-position: 44% 24%;
  }

  .page-contact .hero--teal {
    min-height: 250px;
  }

  .hero__inner,
  .hero--compact .hero__inner {
    padding: 46px 0 42px;
  }

  .hero__lead {
    padding: 10px 12px;
    font-size: clamp(1rem, 5.1vw, 1.25rem);
  }

  .section {
    padding: 40px 0;
  }

  .feature-card__body,
  .contact-card {
    padding: 26px;
  }

  .contact-card {
    min-height: 210px;
  }

  .split__media img:last-child {
    width: 82%;
  }
}

@media (max-width: 360px) {
  .header-actions {
    grid-template-columns: minmax(76px, auto) minmax(96px, max-content);
  }

  .header-contact a {
    font-size: 0.68rem;
  }

  .language-switcher select,
  .language-switcher__button {
    max-width: 90px;
    font-size: 0.68rem;
  }
}
