*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sand: #f5f2ea;
  --paper: #fcfaf6;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --border: rgba(50, 74, 86, 0.12);
  --ink: #21343c;
  --muted: #5f7279;
  --sea: #5f8d95;
  --sea-deep: #365b61;
  --shadow: 0 18px 50px rgba(34, 58, 64, 0.12);
}

html {
  scroll-behavior: smooth;
}

html.a11y-large-text {
  font-size: 118%;
}

body {
  font-family: "Segoe UI", "Atkinson Hyperlegible", Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(158, 193, 201, 0.2), transparent 35%),
    linear-gradient(180deg, #f7f4ee 0%, #f2eee6 100%);
  line-height: 1.7;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 4px solid #a86617;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fffdf9;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.assistive-quicklinks {
  position: fixed;
  top: 4.25rem;
  left: 0.75rem;
  z-index: 10000;
  width: min(380px, calc(100vw - 1.5rem));
  transform: translateY(-170%);
  padding: 0.9rem;
  border: 1px solid rgba(50, 74, 86, 0.18);
  border-radius: 18px;
  background: #fffdf9;
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(20, 38, 44, 0.2);
}

.assistive-quicklinks:focus-within {
  transform: translateY(0);
}

.assistive-quicklinks strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--sea-deep);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistive-quicklinks a {
  display: block;
  padding: 0.48rem 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem clamp(0.75rem, 2vw, 1.25rem) 0;
  background: linear-gradient(180deg, rgba(247, 244, 238, 0.98), rgba(247, 244, 238, 0.78) 72%, transparent);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 64px;
  padding: 0.42rem 0.5rem 0.42rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(39, 61, 68, 0.08);
}

.topbar-inner > * {
  min-width: 0;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: clamp(12.5rem, 24vw, 18rem);
  padding: 0.5rem 0.88rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(54, 91, 97, 0.94), rgba(95, 141, 149, 0.9));
  font-family: inherit;
  font-size: clamp(0.88rem, 0.95vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.14;
  text-decoration: none;
  color: #fffdf9;
  text-shadow: 0 1px 10px rgba(12, 25, 30, 0.25);
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 30rem;
  justify-content: flex-end;
  gap: 0.25rem;
  min-width: 0;
}

.topbar-nav a,
.lang-switcher a,
.side-nav a {
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.topbar-nav a {
  min-width: 0;
  max-width: 100%;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.topbar-nav a:hover,
.topbar-nav a.active {
  color: var(--ink);
  background: rgba(95, 141, 149, 0.12);
}

.lang-switcher {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.22rem;
  font-size: 0.82rem;
  min-width: 0;
}

.lang-switcher a {
  min-width: 0;
  padding: 0.3rem 0.48rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.lang-switcher a:hover,
.lang-switcher a.active-lang {
  color: var(--ink);
  border-color: rgba(95, 141, 149, 0.3);
  background: rgba(95, 141, 149, 0.08);
}

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  min-width: 0;
}

.sidebar {
  display: none;
}

.brand-text h1,
.section-title,
.subsection-title,
.hero-title,
.hero-card h3,
.quote-section h2,
.contact-info-card h3,
.card h3 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-text h1 {
  font-size: 1.38rem;
  color: var(--ink);
}

.brand-text span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.sidebar .lang-switcher {
  gap: 0.35rem;
}

.side-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.side-nav a {
  display: block;
  padding: 0.72rem 0.9rem;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 600;
}

.side-nav a:hover,
.side-nav a.active {
  color: var(--ink);
  background: rgba(95, 141, 149, 0.12);
}

.sidebar-contact {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(50, 74, 86, 0.08);
  font-size: 0.9rem;
  color: var(--muted);
}

.sidebar-contact strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.sidebar-contact a {
  color: var(--sea-deep);
  font-weight: 700;
}

main {
  min-width: 0;
}

main section {
  padding: 3.25rem 0;
  min-width: 0;
}

#home {
  padding-top: 0;
}

.hero {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.55rem);
}

.hero-image-frame {
  width: 100%;
  height: clamp(280px, 42vw, 520px);
  overflow: hidden;
  border-radius: 32px;
  background: #d8e6e7;
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 48px rgba(39, 61, 68, 0.09);
  min-width: 0;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.6rem, 1vw, 0.85rem);
  width: 100%;
  max-width: 640px;
  color: var(--ink);
  min-width: 0;
  text-align: left;
}

.hero-copy > * {
  max-width: 100%;
}

.hero-badge,
.hero-kicker,
.chip {
  backdrop-filter: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(95, 141, 149, 0.22);
  background: rgba(95, 141, 149, 0.09);
  color: var(--sea-deep);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.hero-title {
  font-size: clamp(2rem, 3.05vw, 2.85rem);
  line-height: 1.12;
  max-width: 22ch;
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.hero-lead {
  max-width: 55ch;
  font-size: clamp(0.95rem, 1.05vw, 1rem);
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.btn-primary {
  background: var(--sea-deep);
  color: #fffdf9;
}

.btn-ghost {
  border: 1px solid rgba(54, 91, 97, 0.26);
  color: var(--sea-deep);
  background: rgba(255, 255, 255, 0.58);
}

.hero-meta {
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hero-actions {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
  max-width: 610px;
  padding: 0.25rem 0 0;
}

.hero-actions .hero-cta {
  justify-content: flex-start;
}

.hero-actions .hero-meta {
  max-width: none;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(50, 74, 86, 0.1);
  text-align: left;
}

.hero-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  height: 100%;
  padding: clamp(1rem, 2.3vw, 1.35rem);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 0.95rem;
  background: linear-gradient(180deg, rgba(95, 141, 149, 0.1), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(95, 141, 149, 0.16);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
  min-width: 0;
}

.hero-card h3 {
  max-width: 24ch;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  margin-bottom: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hero-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero-card-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.55rem;
}

.chip {
  display: flex;
  flex-direction: column;
  align-content: start;
  min-width: 0;
  padding: 0.72rem 0.78rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(95, 141, 149, 0.13);
  line-height: 1.35;
}

.chip strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--sea-deep);
  overflow-wrap: normal;
  word-break: normal;
}

.chip span {
  display: block;
  font-size: 0.84rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.seo-hero .btn-primary {
  background: var(--paper);
  color: var(--ink);
}

.seo-hero .btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fffdf9;
  background: rgba(255, 255, 255, 0.08);
}

.quote-section {
  padding: 2.5rem 0 0.5rem;
  text-align: center;
}

.quote-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  color: var(--ink);
}

.quote-section p {
  margin-top: 0.65rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.section-title {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.section-subtitle {
  max-width: 62ch;
  margin-bottom: 2rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.cards,
.staff-grid,
.service-links,
.seo-grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-links {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.link-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 10px 24px rgba(41, 61, 67, 0.05);
  text-decoration: none;
}

.link-card span,
.eyebrow {
  color: var(--sea-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.link-card strong {
  margin-top: 0.35rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.link-card p {
  margin-top: 0.65rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-strong);
  box-shadow: 0 10px 24px rgba(41, 61, 67, 0.04);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.faq-list details p {
  padding: 0 1.15rem 1rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.faq-list a {
  color: var(--sea-deep);
  font-weight: 800;
}

.card,
.staff-card,
.contact-info-card {
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: 0 10px 24px rgba(41, 61, 67, 0.05);
}

.card {
  padding: 1.35rem;
  border-radius: 24px;
}

.card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
  overflow-wrap: anywhere;
}

.card p,
.card ul {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.card ul {
  padding-left: 1.1rem;
}

.card ul li + li {
  margin-top: 0.35rem;
}

.staff-group + .staff-group {
  margin-top: 2rem;
}

.subsection-title {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--ink);
}

.staff-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.staff-card {
  border-radius: 24px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
  overflow: hidden;
}

.staff-card > div {
  min-width: 0;
  flex: 1 1 auto;
}

.avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  object-fit: cover;
  flex-shrink: 0;
}

.staff-card h3 {
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.staff-role {
  color: var(--sea-deep);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-info-card {
  max-width: 620px;
  padding: 1.5rem;
  border-radius: 28px;
}

.seo-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.breadcrumbs {
  margin: 0.75rem 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--sea-deep);
  font-weight: 800;
  text-decoration: none;
}

.seo-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(330px, 42vw, 500px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 5.4vw, 3.6rem);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(13, 30, 39, 0.74) 0%, rgba(13, 30, 39, 0.48) 46%, rgba(13, 30, 39, 0.18) 100%),
    linear-gradient(180deg, rgba(26, 45, 56, 0.04) 0%, rgba(26, 45, 56, 0.52) 100%),
    url("images/hero-beach.jpg") center 58% / cover no-repeat;
  color: #fffdf9;
  box-shadow: var(--shadow);
}

.seo-hero .eyebrow {
  color: rgba(255, 253, 249, 0.82);
}

.seo-hero h1 {
  max-width: 16ch;
  margin-top: 0.7rem;
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.seo-hero p {
  max-width: 58ch;
  margin-top: 1rem;
  color: rgba(255, 253, 249, 0.9);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.seo-content {
  padding: 3rem 0 0;
}

.seo-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: start;
}

.seo-panel {
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 10px 24px rgba(41, 61, 67, 0.05);
}

.seo-panel h2,
.seo-panel h3 {
  margin-bottom: 0.65rem;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.25;
}

.seo-panel p,
.seo-panel li {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.seo-panel ul {
  padding-left: 1.1rem;
}

.seo-panel li + li,
.seo-panel p + p {
  margin-top: 0.45rem;
}

.local-cta {
  margin-top: 1rem;
  padding: 1.15rem;
  border-radius: 20px;
  background: rgba(95, 141, 149, 0.1);
}

.local-cta a {
  color: var(--sea-deep);
  font-weight: 800;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(50, 74, 86, 0.08);
  min-width: 0;
}

.contact-person > div {
  min-width: 0;
  max-width: 100%;
}

.contact-person strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.15rem;
  overflow-wrap: anywhere;
}

.contact-person p {
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.contact-avatar {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  object-fit: cover;
  flex-shrink: 0;
}

.contact-list {
  list-style: none;
  margin: 1rem 0 1.2rem;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(50, 74, 86, 0.08);
  min-width: 0;
}

.contact-list li > * {
  min-width: 0;
}

.contact-list span,
.opening-hours {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-list a {
  color: var(--sea-deep);
  font-weight: 700;
  overflow-wrap: anywhere;
}

footer {
  padding: 1rem 1.25rem 2.5rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(50, 74, 86, 0.1);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.95rem;
  margin-top: 0.85rem;
}

.footer-links a,
.footer-link-button {
  border: 0;
  background: transparent;
  color: var(--sea-deep);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.accessibility-fab {
  position: fixed;
  left: clamp(0.75rem, 2vw, 1.25rem);
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  z-index: 9998;
  min-height: 44px;
  max-width: calc(100vw - 1.5rem);
  padding: 0.72rem 1rem;
  border: 1px solid rgba(50, 74, 86, 0.2);
  border-radius: 999px;
  background: #fffdf9;
  color: var(--sea-deep);
  box-shadow: 0 14px 36px rgba(20, 38, 44, 0.16);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
}

.accessibility-fab:hover,
.accessibility-fab[aria-expanded="true"] {
  background: var(--sea-deep);
  color: #fffdf9;
}

.accessibility-panel {
  position: fixed;
  left: clamp(0.75rem, 2vw, 1.25rem);
  bottom: calc(clamp(0.75rem, 2vw, 1.25rem) + 58px);
  z-index: 9999;
  width: min(430px, calc(100vw - 1.5rem));
  max-height: min(76vh, 620px);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(50, 74, 86, 0.18);
  border-radius: 24px;
  background: rgba(252, 250, 246, 0.98);
  box-shadow: 0 22px 70px rgba(20, 38, 44, 0.22);
}

.accessibility-panel[hidden] {
  display: none !important;
}

.accessibility-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.accessibility-kicker {
  color: var(--sea-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.accessibility-panel h2 {
  margin-top: 0.1rem;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.accessibility-close,
.accessibility-reset {
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(54, 91, 97, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--sea-deep);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.accessibility-intro {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.accessibility-options {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.accessibility-option {
  display: grid;
  gap: 0.12rem;
  width: 100%;
  min-height: 56px;
  padding: 0.78rem 0.85rem;
  border: 1px solid rgba(54, 91, 97, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.accessibility-option[aria-pressed="true"] {
  border-color: var(--sea-deep);
  background: rgba(54, 91, 97, 0.12);
  box-shadow: inset 4px 0 0 var(--sea-deep);
}

.accessibility-option-title {
  font-weight: 850;
  line-height: 1.2;
}

.accessibility-option-help {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.accessibility-panel-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.8rem;
}

html.a11y-large-text body {
  line-height: 1.85;
}

html.a11y-large-text .topbar-nav a,
html.a11y-large-text .lang-switcher a,
html.a11y-large-text .btn-primary,
html.a11y-large-text .btn-ghost,
html.a11y-large-text .accessibility-fab,
html.a11y-large-text .cookie-actions .btn-primary,
html.a11y-large-text .cookie-actions .btn-ghost {
  min-height: 48px;
}

html.a11y-underlined-links a:not(.btn-primary):not(.btn-ghost):not(.topbar-brand) {
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

html.a11y-high-contrast {
  --sand: #ffffff;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --border: #233b43;
  --ink: #071d25;
  --muted: #173640;
  --sea: #174f59;
  --sea-deep: #073f48;
  --shadow: none;
}

html.a11y-high-contrast body {
  background: #ffffff;
  color: var(--ink);
}

html.a11y-high-contrast .topbar {
  background: #ffffff;
}

html.a11y-high-contrast .topbar-inner,
html.a11y-high-contrast .hero-content,
html.a11y-high-contrast .card,
html.a11y-high-contrast .staff-card,
html.a11y-high-contrast .contact-info-card,
html.a11y-high-contrast .legal-hero,
html.a11y-high-contrast .legal-panel,
html.a11y-high-contrast .seo-panel,
html.a11y-high-contrast .link-card,
html.a11y-high-contrast .faq-list details,
html.a11y-high-contrast .accessibility-panel,
html.a11y-high-contrast .cookie-banner {
  border-color: #173640;
  background: #ffffff;
  box-shadow: none;
}

html.a11y-high-contrast .hero-image-frame {
  box-shadow: none;
}

html.a11y-high-contrast .btn-primary,
html.a11y-high-contrast .accessibility-fab:hover,
html.a11y-high-contrast .accessibility-fab[aria-expanded="true"],
html.a11y-high-contrast .cookie-actions .btn-primary {
  background: #073f48;
  color: #ffffff;
}

html.a11y-high-contrast .btn-ghost,
html.a11y-high-contrast .accessibility-close,
html.a11y-high-contrast .accessibility-reset,
html.a11y-high-contrast .cookie-actions .btn-ghost {
  border-color: #173640;
  background: #ffffff;
  color: #073f48;
}

html.a11y-high-contrast .hero-badge,
html.a11y-high-contrast .chip {
  border-color: #173640;
  background: #ffffff;
}

html.a11y-reduced-motion {
  scroll-behavior: auto;
}

html.a11y-reduced-motion *,
html.a11y-reduced-motion *::before,
html.a11y-reduced-motion *::after {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}

.legal-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.legal-hero,
.legal-panel {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: 0 10px 24px rgba(41, 61, 67, 0.05);
}

.legal-hero {
  padding: clamp(1.5rem, 4vw, 2.8rem);
}

.legal-hero h1 {
  max-width: 18ch;
  margin-top: 0.4rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.legal-hero p {
  max-width: 68ch;
  margin-top: 0.9rem;
  color: var(--muted);
}

.legal-content {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.legal-panel {
  padding: clamp(1.1rem, 2.4vw, 1.55rem);
}

.legal-panel h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.legal-panel h3 {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
}

.legal-panel p + p,
.legal-panel ul + p,
.legal-panel p + ul {
  margin-top: 0.65rem;
}

.legal-panel ul {
  padding-left: 1.15rem;
}

.policy-table {
  width: 100%;
  margin-top: 0.8rem;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

.policy-table th,
.policy-table td {
  padding: 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  color: var(--ink);
  background: rgba(95, 141, 149, 0.1);
  overflow-wrap: normal;
  word-break: normal;
}

.legal-note {
  border-left: 4px solid var(--sea);
  padding-left: 1rem;
}

.legal-info-table th {
  width: clamp(11rem, 34%, 16rem);
  min-width: 11rem;
}

.legal-required {
  display: inline-block;
  padding: 0.18rem 0.45rem;
  border: 1px solid rgba(166, 102, 23, 0.35);
  border-radius: 0.7rem;
  background: rgba(166, 102, 23, 0.08);
  color: #7a4306;
  font-weight: 800;
  line-height: 1.35;
}

.cookie-banner {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.25rem);
  bottom: clamp(0.75rem, 2vw, 1.25rem);
  z-index: 9999;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  width: min(660px, calc(100vw - 1.5rem));
  padding: 0.9rem;
  border: 1px solid rgba(50, 74, 86, 0.18);
  border-radius: 22px;
  background: rgba(252, 250, 246, 0.98);
  box-shadow: 0 22px 70px rgba(20, 38, 44, 0.2);
}

.cookie-banner[hidden],
.cookie-banner [hidden] {
  display: none !important;
}

.cookie-copy {
  min-width: 0;
}

.cookie-label {
  margin-bottom: 0.12rem;
  color: var(--sea-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-banner h2 {
  font-size: 1rem;
  line-height: 1.25;
}

.cookie-banner p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.cookie-more {
  margin-top: 0.4rem;
}

.cookie-more a {
  color: var(--sea-deep);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.45rem;
  min-width: min(100%, 230px);
}

.cookie-actions .btn-primary,
.cookie-actions .btn-ghost {
  min-height: 40px;
  padding: 0.6rem 0.82rem;
  font-size: 0.84rem;
}

.cookie-options {
  margin-top: 0.8rem;
}

.consent-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 700;
}

.consent-toggle input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--sea-deep);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1080px) {
  .page {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    width: min(100%, 860px);
  }

  .hero-copy,
  .hero-actions,
  .hero-card {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-copy {
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .hero-actions {
    justify-self: center;
  }

  .hero-actions .hero-cta {
    justify-content: center;
  }

  .hero-actions .hero-meta {
    text-align: center;
  }

  .hero-card {
    justify-self: center;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .hero-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.15rem;
  }
}

@media (max-width: 980px) {
  .topbar-inner {
    min-height: auto;
    padding: 0.65rem 0.78rem;
    border-radius: 26px;
    flex-wrap: wrap;
    align-items: center;
  }

  .topbar-brand {
    flex: 1 1 16rem;
    max-width: calc(100% - 7rem);
  }

  .topbar-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 0.35rem;
  }

  .topbar-nav a {
    padding: 0.4rem 0.65rem;
    font-size: 0.86rem;
  }

  .lang-switcher {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 0.55rem 0.55rem 0;
  }

  .topbar-inner {
    min-height: auto;
    padding: 0.64rem 0.72rem;
    border-radius: 22px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .topbar-brand {
    flex: 1 1 12rem;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 0.5rem 0.72rem;
    font-size: 0.96rem;
  }

  .topbar-nav {
    display: none;
  }

  .page {
    padding: 0.9rem 0.65rem 3rem;
  }

  main section {
    padding: 2.4rem 0;
  }

  .hero-content {
    padding: 1rem;
    border-radius: 22px;
  }

  .hero-copy {
    gap: 0.8rem;
  }

  .hero-image-frame {
    height: clamp(220px, 62vw, 360px);
    border-radius: 24px;
  }

  .hero-badge,
  .hero-kicker {
    font-size: 0.76rem;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
  }

  .hero-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .hero-actions .hero-cta {
    justify-content: center;
  }

  .hero-actions .hero-meta {
    text-align: center;
  }

  .hero-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .seo-page {
    padding: 1rem 0.75rem 3rem;
  }

  .seo-hero {
    min-height: auto;
    padding: 1.6rem;
    border-radius: 24px;
    background-position: center bottom;
  }

  .seo-hero h1 {
    max-width: none;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .accessibility-fab {
    left: 0.75rem;
    right: auto;
    width: auto;
    max-width: calc(100vw - 1.5rem);
  }

  .accessibility-panel {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 4.75rem;
    width: auto;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .cookie-actions .btn-primary,
  .cookie-actions .btn-ghost {
    width: 100%;
  }

  .policy-table,
  .policy-table tbody,
  .policy-table tr,
  .policy-table th,
  .policy-table td {
    display: block;
    width: 100%;
  }

  .policy-table th {
    border-bottom: 0;
  }

  .legal-info-table th {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  .topbar-inner {
    gap: 0.65rem;
  }

  .topbar-brand {
    flex-basis: 100%;
    justify-content: center;
    text-align: center;
  }

  .lang-switcher {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .hero-badge {
    width: fit-content;
    justify-content: center;
    text-align: center;
  }

  .hero-kicker {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-card {
    display: block;
  }

  .hero-card-grid {
    grid-template-columns: 1fr;
    margin-top: 0.9rem;
  }

  .staff-card {
    align-items: flex-start;
  }

  .avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .contact-person {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-list li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }
}
