:root {
  --bg: #f7f4ee;
  --surface: #efe7da;
  --card: #f8f5ef;
  --border: #d8ccbb;
  --green: #1f4d36;
  --green-hover: #173b2a;
  --text: #1f1f1f;
  --secondary: #6b675f;
  --white: #ffffff;
  --footer: #1f2421;
  --shadow: 0 18px 44px rgba(45, 38, 28, 0.13);
  --soft-shadow: 0 10px 26px rgba(45, 38, 28, 0.08);
  --radius: 8px;
  --header: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 14%, rgba(31, 77, 54, 0.045), transparent 30rem),
    radial-gradient(circle at 82% 44%, rgba(140, 115, 75, 0.08), transparent 34rem);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
.kicker,
.eyebrow {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 7px;
  font-size: 1.17rem;
  line-height: 1.25;
}

p {
  color: var(--secondary);
}

.page-shell,
.section-shell {
  width: min(1360px, calc(100% - 92px));
  margin-inline: auto;
}

.section {
  padding: 50px 0 30px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 310px 1fr auto;
  min-height: var(--header);
  align-items: center;
  gap: 30px;
  padding: 14px max(46px, calc((100vw - 1360px) / 2));
  border-bottom: 1px solid rgba(216, 204, 187, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand {
  width: 278px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 3px;
  background: var(--green);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(31, 77, 54, 0.18);
}

.header-cta:hover {
  background: var(--green-hover);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--green);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: linear-gradient(90deg, #fbf8f1 0%, #fbf8f1 28%, rgba(249, 247, 242, 0.42) 52%, rgba(249, 247, 242, 0.02) 84%);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 36%;
  z-index: 0;
  background:
    linear-gradient(90deg, #fbf8f1 0%, rgba(251, 248, 241, 0.86) 13%, rgba(251, 248, 241, 0.26) 38%, rgba(251, 248, 241, 0) 78%),
    linear-gradient(180deg, rgba(247, 244, 238, 0), rgba(247, 244, 238, 0.02)),
    url("../images/erfurt-dom-hero.jpg") center right / cover no-repeat;
  filter: saturate(1.18) contrast(1.1) brightness(1.06);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.45fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  min-height: 650px;
  padding: 86px 0 104px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 34px;
  color: #32302c;
  font-size: 1.16rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.full {
  width: 100%;
}

.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(31, 77, 54, 0.18);
}

.button-primary:hover {
  background: var(--green-hover);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.72);
  background: #f4efe6;
  color: var(--green);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.76);
  color: var(--white);
}

.hero-trust-card {
  justify-self: end;
  width: min(390px, 100%);
  overflow: hidden;
  border: 1px solid rgba(216, 204, 187, 0.95);
  border-radius: var(--radius);
  background: rgba(248, 245, 239, 0.93);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.trust-list {
  display: grid;
  gap: 28px;
  padding: 48px 46px;
}

.trust-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 20px;
  align-items: start;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 650;
}

.trust-list svg {
  width: 26px;
  height: 26px;
  color: var(--green);
  stroke-width: 1.8;
}

.trust-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green);
  color: var(--white);
}

.trust-numbers div {
  min-height: 104px;
  padding: 20px 10px;
  text-align: center;
}

.trust-numbers div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.trust-numbers strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.05rem;
  line-height: 1.1;
}

.trust-numbers span {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -52px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.trust-strip article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 24px 42px;
}

.trust-strip article + article {
  border-left: 1px solid var(--border);
}

.trust-strip svg,
.audience-row svg,
.about-stats svg {
  width: 36px;
  height: 36px;
  color: var(--green);
  stroke-width: 1.7;
}

.trust-strip h2 {
  margin-bottom: 2px;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.trust-strip p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.92rem;
}

.section-title {
  margin-bottom: 30px;
  text-align: center;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: clamp(1.7rem, 2.7vw, 2.35rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 14px auto 0;
  background: var(--green);
}

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

.service-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 20px rgba(45, 38, 28, 0.045);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover {
  border-color: rgba(31, 77, 54, 0.38);
  box-shadow: var(--soft-shadow);
  transform: translateY(-2px);
}

.icon-tile {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--green), #123222);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.icon-tile svg {
  width: 38px;
  height: 38px;
  color: var(--white);
  stroke-width: 1.6;
}

.service-card p {
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.card-arrow {
  font-size: 1.8rem;
  line-height: 1;
}

.audience-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  text-align: center;
}

.audience-row article {
  min-height: 132px;
  padding: 10px 28px 0;
}

.audience-row article + article {
  border-left: 1px solid var(--border);
}

.audience-row svg {
  margin: 0 auto 16px;
}

.audience-row h3 {
  margin-bottom: 3px;
}

.audience-row p {
  margin: 0;
  font-size: 0.92rem;
}

.language-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.language-chips span {
  display: inline-flex;
  min-width: 160px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--green);
  font-weight: 700;
}

.center-note {
  margin: 18px 0 0;
  text-align: center;
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1fr) minmax(240px, 0.48fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  margin-top: 34px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(239, 231, 218, 0.88)),
    var(--surface);
  box-shadow: var(--soft-shadow);
}

.about::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 24px;
  width: 4px;
  border-radius: 999px;
  background: var(--green);
  opacity: 0.9;
}

.about-portrait {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 360px;
  margin-left: 14px;
  border: 1px solid rgba(216, 204, 187, 0.92);
  border-radius: var(--radius);
  background: #ded5c8;
  box-shadow: 0 16px 32px rgba(45, 38, 28, 0.12);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(31, 77, 54, 0.14));
}

.kicker {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy h2 {
  max-width: 640px;
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.about-copy p {
  max-width: 680px;
  color: #3e3b36;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.about-copy .button {
  margin-top: 8px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.about-stats article {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(216, 204, 187, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 8px 20px rgba(45, 38, 28, 0.045);
}

.about-stats svg {
  width: 26px;
  height: 26px;
  align-self: start;
  margin-top: 3px;
}

.about-stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.78rem;
  line-height: 1;
}

.about-stats span {
  color: var(--secondary);
  font-size: 0.94rem;
}

.cta-band {
  display: grid;
  grid-template-columns: 90px 1fr 360px;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 34px 44px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(31, 77, 54, 0.96), rgba(31, 77, 54, 0.88)),
    url("../images/erfurt-dom-hero.jpg") center / cover no-repeat;
  color: var(--white);
  box-shadow: var(--soft-shadow);
}

.cta-band h2 {
  margin-bottom: 7px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
}

.cta-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
}

.cta-icon svg {
  width: 40px;
  height: 40px;
}

.cta-actions {
  flex-direction: column;
  gap: 12px;
}

.cta-actions .button {
  width: 100%;
  justify-content: space-between;
}

.contact-section {
  padding: 64px 0 24px;
}

.section-title.left {
  max-width: 760px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.section-title.left h2::after {
  margin-left: 0;
}

.section-title.left p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--secondary);
  font-size: 1.08rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
  align-items: start;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.site-footer {
  margin-top: 22px;
  padding: 44px 0 18px;
  background:
    radial-gradient(circle at 0 0, rgba(31, 77, 54, 0.22), transparent 28rem),
    linear-gradient(135deg, #202522, #262826);
  color: var(--white);
}

.footer-inner,
.footer-grid {
  display: grid;
  width: min(1360px, calc(100% - 92px));
  margin-inline: auto;
  grid-template-columns: 1.35fr 1fr 0.8fr 0.8fr;
  gap: 68px;
}

.footer-logo {
  width: 250px;
  max-width: 100%;
  margin-bottom: 22px;
}

.site-footer p,
.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
  text-decoration: none;
}

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

.site-footer svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  width: min(1360px, calc(100% - 92px));
  margin-top: 36px;
  margin-inline: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.footer-bottom span {
  display: block;
  margin: 0;
}

.footer-credit {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.footer-credit span {
  margin: 0;
}

.footer-credit a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.footer-credit a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.footer-credit a span {
  display: inline-block;
  transition: transform 160ms ease;
}

.footer-credit a:hover {
  color: var(--white);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
}

.footer-credit a:hover::after {
  transform: scaleX(1);
}

.footer-credit a:hover span {
  transform: translate(2px, -2px);
}

.image-credit {
  margin-top: 8px !important;
  color: rgba(255, 255, 255, 0.42) !important;
  font-size: 0.68rem;
  opacity: 1;
}

.reveal {
  opacity: 0.92;
  transform: translateY(8px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.subhero {
  padding: 96px 0 54px;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.94), rgba(247, 244, 238, 0.66)),
    url("../images/erfurt-dom-hero.jpg") center right / cover no-repeat;
}

.subhero-copy {
  max-width: 820px;
}

.subhero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.application-info,
.form-card,
.contact-box,
.quick-note,
.legal-card,
.info-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--soft-shadow);
}

.form-card {
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--green);
}

.application-info {
  display: grid;
  gap: 18px;
}

.info-panel,
.form-card,
.contact-box,
.quick-note,
.legal-card {
  padding: 28px;
}

.info-panel h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.info-panel h3 {
  margin-top: 26px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--secondary);
}

.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.panel-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.form-card label,
.language-fieldset legend {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
  min-height: 156px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(31, 77, 54, 0.12);
}

.button:focus-visible,
.site-nav a:focus-visible,
.header-cta:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31, 77, 54, 0.22);
  outline-offset: 3px;
}

.field-error {
  border-color: #b42318 !important;
}

.checkbox-row {
  display: flex !important;
  gap: 10px !important;
  align-items: flex-start;
}

.checkbox-row input,
.checkbox-grid input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.form-message {
  min-height: 24px;
  margin: 3px 0 14px;
  font-weight: 800;
}

.form-message.error {
  color: #b42318;
}

.form-message.success {
  color: var(--green);
}

.language-fieldset {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.checkbox-grid label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.48);
}

.add-language {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.custom-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.custom-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-weight: 800;
}

.custom-chip button {
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.field-hint {
  margin: 10px 0 0;
  color: var(--secondary);
  font-size: 0.92rem;
}

.contact-box {
  display: grid;
  gap: 12px;
}

.contact-box h3,
.quick-note h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.contact-box a,
.contact-box span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  text-decoration: none;
}

.contact-box a:hover {
  color: var(--green);
}

.contact-box svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.legal-page {
  min-height: 72svh;
  padding: 54px 0 88px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 34px;
  color: var(--secondary);
  font-size: 0.92rem;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.legal-hero {
  max-width: 980px;
  margin-bottom: 28px;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(239, 231, 218, 0.82)),
    var(--surface);
  box-shadow: var(--soft-shadow);
}

.legal-hero h1 {
  margin-bottom: 16px;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.legal-hero p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--secondary);
  font-size: 1.12rem;
}

.legal-content {
  display: grid;
  max-width: 980px;
  gap: 16px;
}

.legal-card,
.legal-section {
  max-width: 980px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--soft-shadow);
}

.legal-section {
  padding: clamp(22px, 3vw, 34px);
}

.legal-section h2 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

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

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--secondary);
}

.legal-section li::marker {
  color: var(--green);
}

.legal-card h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.legal-card a,
.legal-section a {
  color: var(--green);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    padding: 0 10px;
  }

  .hero-inner,
  .application-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-trust-card {
    justify-self: start;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .trust-strip article:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .audience-row article {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius);
    padding: 24px;
    background: rgba(255, 255, 255, 0.42);
  }

  .about,
  .cta-band,
  .footer-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about {
    padding: 22px;
  }

  .about::before {
    top: 22px;
    bottom: auto;
    left: 22px;
    width: 54px;
    height: 4px;
  }

  .about-portrait {
    min-height: 430px;
    margin: 0;
  }

  .about-portrait img {
    min-height: 430px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0;
    border-left: 0;
  }

  .cta-actions {
    flex-direction: row;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 78px;
  }

  .page-shell,
  .section-shell {
    width: min(100% - 28px, 1360px);
  }

  .site-header {
    min-height: var(--header);
    padding-inline: 14px;
  }

  .brand {
    width: 224px;
  }

  .hero {
    min-height: auto;
    background: #f9f7f2;
  }

  .hero-image {
    inset: 0;
    opacity: 0.52;
    background-position: center right;
  }

  .hero-inner {
    min-height: auto;
    padding: 62px 0 82px;
  }

  h1 {
    font-size: clamp(2.55rem, 10vw, 4rem);
    line-height: 1;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1.04rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    padding: 30px 24px;
  }

  .trust-strip,
  .service-grid,
  .audience-row,
  .form-grid.two,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: -32px;
  }

  .trust-strip article,
  .trust-strip article:nth-child(n) {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 22px;
  }

  .trust-strip article:first-child {
    border-top: 0;
  }

  .service-card {
    grid-template-columns: 64px 1fr;
    padding: 18px;
  }

  .icon-tile {
    width: 64px;
    height: 64px;
  }

  .icon-tile svg {
    width: 32px;
    height: 32px;
  }

  .language-chips span {
    width: 100%;
  }

  .about-copy,
  .about-stats {
    padding-inline: 0;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-portrait,
  .about-portrait img {
    min-height: 360px;
  }

  .cta-band {
    padding: 26px;
  }

  .footer-inner,
  .footer-grid {
    gap: 32px;
  }

  .footer-credit {
    justify-content: center;
    text-align: center;
  }

  .add-language {
    grid-template-columns: 1fr;
  }
}
