:root {
  --header-height: 74px;
  --bg: #fdf8ef;
  --surface: #ffffff;
  --text: #1e2732;
  --muted: #586575;
  --brand: #29b3a8;
  --brand-soft: #d9f5f2;
  --accent: #ff8f5a;
  --accent-soft: #ffe8dc;
  --ring: rgba(41, 179, 168, 0.3);
  --radius: 18px;
  --shadow: 0 18px 42px rgba(24, 38, 54, 0.1);
  --control-shadow: 0 6px 14px rgba(22, 32, 42, 0.08);
  --control-shadow-hover-brand: 0 10px 22px color-mix(in oklab, var(--brand) 24%, transparent);
  --control-shadow-hover-muted: 0 10px 22px color-mix(in oklab, var(--muted) 30%, transparent);
  --control-shadow-active: 0 4px 10px rgba(22, 32, 42, 0.1);
}

.dark {
  --bg: #1a2530;
  --surface: #243442;
  --text: #eef7ff;
  --muted: #b7c9d8;
  --brand: #66dbd2;
  --brand-soft: #2a424f;
  --accent: #ff9f66;
  --accent-soft: #5c3d2c;
  --ring: rgba(102, 219, 210, 0.38);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at 10% -16%, color-mix(in oklab, var(--brand-soft) 50%, var(--bg)) 0, transparent 42%),
    radial-gradient(circle at 90% -12%, color-mix(in oklab, var(--accent-soft) 50%, var(--bg)) 0, transparent 38%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  transition: background-color 0.25s ease, color 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, button { user-select: text; -webkit-user-select: text; }
img, video, audio, canvas { -webkit-user-drag: none; user-drag: none; }

.wrap { width: min(1100px, 92vw); margin: 0 auto; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus { top: 10px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--muted) 20%, transparent);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 74px;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.22rem, 2vw, 1.48rem);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  border: 1px solid color-mix(in oklab, var(--brand) 40%, transparent);
  border-radius: 12px;
  padding: 8px 13px;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  box-shadow: 0 4px 14px rgba(22, 32, 42, 0.08);
}
.logo-text {
  color: var(--brand);
  background: linear-gradient(110deg, #11d9c8 0%, #2db9ff 42%, #ff6f3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}
.logo:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  padding: 8px;
  font-size: 1.35rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  border: 1px solid color-mix(in oklab, var(--brand) 35%, transparent);
  background: var(--surface);
  color: var(--brand);
  border-radius: 999px;
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: var(--control-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.has-tooltip {
  position: relative;
}
.has-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  pointer-events: none;
  padding: 9px 13px;
  border-radius: 8px;
  background: color-mix(in oklab, var(--text) 86%, #111821);
  color: #fff;
  border: 1px solid color-mix(in oklab, var(--brand) 28%, transparent);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  line-height: 1;
  max-width: none;
  white-space: nowrap;
  text-align: left;
  box-shadow: 0 8px 18px rgba(12, 18, 24, 0.26);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 60;
}
.dark .has-tooltip::after {
  background: #f3fbff;
  color: #10202b;
  border-color: #7bcfc9;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.has-tooltip:hover::after,
.has-tooltip:focus-visible::after,
.has-tooltip:active::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.hero {
  padding: clamp(46px, 7vw, 78px) 0 34px;
  display: grid;
  gap: 18px;
}
.hero-visit-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
  padding: clamp(18px, 2.8vw, 30px);
  border-radius: 26px;
  border: 1px solid color-mix(in oklab, var(--brand) 28%, transparent);
  background:
    radial-gradient(circle at 12% 14%, color-mix(in oklab, var(--accent-soft) 60%, var(--surface)) 0, transparent 48%),
    linear-gradient(160deg, color-mix(in oklab, var(--surface) 94%, var(--brand-soft)), var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-visit-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--brand-soft) 75%, transparent);
  pointer-events: none;
}
.hero-quote-side {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 22px;
}
.hero-quote {
  margin: 0;
  padding-left: 14px;
  border-left: 4px solid color-mix(in oklab, var(--accent) 62%, transparent);
  font-family: "Aleo";
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.22rem);
  font-style: italic;
  line-height: 1.62;
  max-width: 30ch;
  align-self: center;
  justify-self: center;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--accent); }

.lead {
  color: var(--muted);
  margin: 18px 0 24px;
  max-width: 62ch;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.home-actions {
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 12px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  color: color-mix(in oklab, #f8fffd 84%, #c8efe8);
  background: linear-gradient(120deg, var(--brand), color-mix(in oklab, var(--brand) 70%, #0f6d67));
  box-shadow: 0 6px 14px color-mix(in oklab, var(--ring) 72%, transparent);
}

.btn-secondary {
  color: color-mix(in oklab, #7f4d34 78%, #fff);
  background: linear-gradient(120deg, var(--accent-soft), color-mix(in oklab, var(--accent-soft) 72%, #fff));
  border: 1px solid color-mix(in oklab, var(--accent) 55%, transparent);
}
.dark .btn-secondary {
  color: #fff;
  background: linear-gradient(120deg, color-mix(in oklab, var(--accent) 78%, #000), color-mix(in oklab, var(--accent) 62%, #3a2418));
  border: 1px solid color-mix(in oklab, var(--accent) 66%, transparent);
  box-shadow: 0 10px 22px rgba(255, 159, 102, 0.22);
}

.dark #button-cls-btn-3 {
  background: linear-gradient(120deg, #2e8f88, #236f69);
  border: 1px solid #4aa9a2;
  color: #e9fffb;
  box-shadow: 0 10px 20px rgba(6, 24, 28, 0.34);
}

.dark #button-cls-btn-3:hover,
.dark #button-cls-btn-3:focus-visible {
  background: linear-gradient(120deg, #359b94, #287972);
  border-color: #62bdb5;
  box-shadow: 0 12px 24px rgba(8, 28, 33, 0.38);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--control-shadow-hover-brand);
  outline: none;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  box-shadow: 0 10px 22px color-mix(in oklab, var(--accent) 34%, transparent);
}
.btn.is-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
  text-shadow: none !important;
  transform: none !important;
}
.btn.is-loading:hover {
  transform: none !important;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 0.95em;
  height: 0.95em;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-right-color: transparent;
  animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-photo {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid color-mix(in oklab, var(--brand) 26%, transparent);
  padding: 14px;
  min-height: clamp(250px, 33vw, 380px);
  box-shadow: 0 14px 28px rgba(22, 32, 42, 0.12);
  display: flex;
}
.hero-photo-frame {
  border: 0;
  border-radius: 14px;
  min-height: 100%;
  width: 100%;
  overflow: hidden;
  background: color-mix(in oklab, var(--brand-soft) 45%, var(--surface));
}
.hero-photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 14px;
}

section { scroll-margin-top: calc(var(--header-height) + 14px); padding: 28px 0; }

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--brand);
  letter-spacing: -0.01em;
}
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.section-title-row .section-title { margin: 0; }

.section-intro {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 74ch;
}
#about .section-intro {
  max-width: 88ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#knowledge > .section-intro {
  max-width: none;
}
.about-quote {
  margin: 0 0 14px;
  text-align: center;
  font-family: "Aleo";
  font-style: italic;
  font-weight: 500;
  color: var(--brand);
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
}
.about-quote .quote-mark {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: 1.22em;
  font-style: normal;
  color: color-mix(in oklab, var(--accent) 76%, var(--brand));
  vertical-align: baseline;
}
.about-quote .quote-mark:first-child { margin-right: 0.18em; }
.about-quote .quote-mark:last-child { margin-left: 0.18em; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service {
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--muted) 16%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.service h3 {
  margin: 0 0 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 1.12rem;
}

.service img { width: 24px; height: 24px; }
.service p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.opinions-shell {
  position: relative;
  margin-top: 10px;
  padding: clamp(14px, 2.6vw, 24px) clamp(6px, 2vw, 14px);
  border-top: 1px solid color-mix(in oklab, var(--muted) 18%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--muted) 18%, transparent);
}

#opinie .opinions-shell > .section-intro {
  margin: 18px auto;
  text-align: center;
}

.opinions-carousel {
  position: relative;
  overflow: hidden;
  width: min(760px, 100%);
  margin: 0 auto;
}
.opinions-track {
  display: flex;
  transition: transform 320ms ease;
  will-change: transform;
}
.opinion-slide {
  flex: 0 0 100%;
  padding: 10px 8px 16px;
  text-align: center;
}
.opinion-slide::before {
  content: "“";
  display: block;
  margin-bottom: 6px;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  line-height: 1;
  color: color-mix(in oklab, var(--accent) 52%, transparent);
  font-family: "Fraunces", serif;
}
.opinion-text {
  margin: 0 auto 14px;
  color: var(--text);
  font-size: clamp(1.03rem, 2.4vw, 1.22rem);
  line-height: 1.72;
  max-width: 62ch;
}
.opinion-author {
  margin: 0;
  color: var(--brand);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.015em;
}
.opinions-controls {
  margin-top: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.opinions-nav-btn {
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in oklab, var(--brand) 35%, transparent);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brand);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--control-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover,
.icon-btn:focus-visible,
.opinions-nav-btn:hover,
.opinions-nav-btn:focus-visible {
  border-color: color-mix(in oklab, var(--brand) 62%, transparent);
  background: color-mix(in oklab, var(--brand-soft) 38%, var(--surface));
  box-shadow: var(--control-shadow-hover-brand);
  outline: none;
}
.icon-btn:active,
.opinions-nav-btn:active {
  box-shadow: var(--control-shadow-active);
}
.opinions-dots {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.opinions-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: color-mix(in oklab, var(--muted) 35%, transparent);
  cursor: pointer;
  padding: 0;
}
.opinions-dot.active {
  width: 20px;
  border-radius: 99px;
  background: var(--brand);
}
#open-public-opinion-add-modal-btn {
  padding: 9px 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.modal-backdrop[hidden] { display: none; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 16, 22, 0.66);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 18px;
}
.public-opinion-add-modal-wrap {
  width: min(520px, 100%);
  background: color-mix(in oklab, var(--surface) 96%, var(--bg));
  color: var(--text);
  border: 1px solid color-mix(in oklab, var(--muted) 28%, transparent);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(24, 38, 54, 0.18);
  padding: 22px;
}
.dark .public-opinion-add-modal-wrap {
  background: color-mix(in oklab, var(--surface) 88%, #000);
  border-color: #4f687b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}
.public-opinion-add-modal-wrap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.public-opinion-add-modal-wrap h3 {
  margin: 0;
  color: var(--brand);
  font-size: 1.3rem;
}
.modal-close {
  border: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 999px;
  background: color-mix(in oklab, var(--muted) 16%, transparent);
  color: var(--text);
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 0;
  cursor: pointer;
  box-shadow: var(--control-shadow);
  transition: box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.modal-close:hover,
.modal-close:focus-visible {
  background: color-mix(in oklab, var(--brand) 16%, var(--surface));
  color: color-mix(in oklab, var(--brand) 78%, var(--text));
  box-shadow: 0 12px 24px color-mix(in oklab, var(--brand) 24%, transparent);
  transform: translateY(-2px);
  outline: none;
}
.dark .modal-close:hover,
.dark .modal-close:focus-visible {
  box-shadow:
    0 14px 28px rgba(4, 12, 20, 0.56),
    0 0 0 1px color-mix(in oklab, var(--brand) 24%, transparent);
}
.modal-close:active {
  transform: translateY(0);
  box-shadow: var(--control-shadow-active);
}
.opinion-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.form-field {
  display: grid;
  gap: 6px;
}
.honeypot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid color-mix(in oklab, var(--muted) 22%, transparent);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.public-opinion-add-modal-wrap .form-field textarea {
  resize: none;
}
#opinion-text-input {
  min-height: 180px;
  height: 180px;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
}
.form-field .field-error {
  border-color: #d62424;
  box-shadow: 0 0 0 2px rgba(214, 36, 36, 0.14);
}
.captcha-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}
.captcha-question {
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}
#public-flash.toast-stack {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  width: min(92vw, 520px);
  pointer-events: none;
}
#public-flash .flash {
  margin: 0;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(12, 20, 34, 0.16);
  animation: toastIn 0.16s ease;
}
.flash-ok {
  background: #e6f8ee;
  color: #1c8b47;
  border: 1px solid #9ad9b5;
}
.flash-err {
  background: #ffebea;
  color: #c6352b;
  border: 1px solid #f5b8b3;
}
.flash-info {
  background: #fff1de;
  color: #9a5b00;
  border: 1px solid #ffd3aa;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.dark .flash-ok {
  background: #1f3e2f;
  color: #98efbe;
  border-color: #4c8e69;
}
.dark .flash-err {
  background: #44292f;
  color: #ffc6c2;
  border-color: #a05b6a;
}
.dark .flash-info {
  background: #4a3a22;
  color: #ffd9a8;
  border-color: #b18a56;
}
#opinion-form .btn {
  margin-top: 12px;
  justify-self: stretch;
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.public-opinion-add-modal-wrap .btn:hover,
.public-opinion-add-modal-wrap .btn:focus-visible {
  box-shadow: 0 12px 24px color-mix(in oklab, var(--brand) 26%, transparent);
}

.dark .public-opinion-add-modal-wrap .btn:hover,
.dark .public-opinion-add-modal-wrap .btn:focus-visible {
  box-shadow:
    0 14px 28px rgba(4, 12, 20, 0.56),
    0 0 0 1px color-mix(in oklab, var(--brand) 24%, transparent);
}


.knowledge-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.panel {
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--muted) 16%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.panel h3 {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 1.15rem;
}
.panel h3.panel-subtitle {
  margin-top: 16px;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.list li + li { margin-top: 8px; }

.contact-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(20px, 4vw, 28px);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}
.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 4px 6px;
}

.social {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
#contact .section-title { margin-bottom: 18px; }
#contact .section-intro { margin: 0 0 20px; max-width: 44ch; }
#contact .cta-row {
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 18px;
}

.social a {
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--muted) 15%, transparent);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 600;
}

.map {
  width: 100%;
  min-height: 320px;
  height: auto;
  border: 0;
  border-radius: 14px;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.scroll-top i {
  font-size: 1.45rem;
  line-height: 1;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover,
.scroll-top:focus-visible {
  box-shadow: var(--control-shadow-hover-brand);
  transform: translateY(-2px);
  outline: none;
}

footer {
  margin-top: 34px;
  padding: 22px 0 28px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid color-mix(in oklab, var(--muted) 16%, transparent);
}
.footer-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.footer-mobile-break { display: none; }
.footer-copy-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  vertical-align: middle;
  border: 1px solid color-mix(in oklab, var(--muted) 40%, transparent);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.9;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.footer-sep,
.footer-years,
.footer-rights { white-space: nowrap; }

@media (max-width: 980px) {
  .hero-visit-card, .knowledge-layout, .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero-visit-card, .knowledge-layout, .services-grid { grid-template-columns: 1fr; }
  .hero-photo {
    order: -1;
    min-height: 300px;
  }
  .hero-quote-side {
    order: 1;
  }
  .contact-card { grid-template-columns: 1fr; gap: 18px; }
  .contact-left { align-items: center; text-align: center; padding: 0; }
  #contact .section-intro { margin: 0 auto 18px; }
  #contact .cta-row { justify-content: center; }
  .map { min-height: 280px; }
  .hero-quote { max-width: 100%; }
  .home-actions { justify-content: center; }
  .captcha-row { grid-template-columns: 1fr; }
  .header-row { justify-content: flex-start; }
  .nav-toggle { margin-left: auto; margin-right: 6px; }
  .header-actions { gap: 0; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid color-mix(in oklab, var(--muted) 16%, transparent);
    display: none;
  }
  .site-nav.open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 4vw 16px;
  }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 10px 0; }
  .footer-copy {
    flex-wrap: wrap;
    white-space: normal;
    text-align: center;
  }
  .footer-mobile-break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
