:root {
  --ink: #17211f;
  --graphite: #26302d;
  --muted: rgba(23, 33, 31, .68);
  --line: rgba(23, 33, 31, .14);
  --paper: #fffdf8;
  --shell: #f4f0e7;
  --mist: #e8f0ed;
  --teal: #0b7268;
  --teal-dark: #0a3b36;
  --gold: #c79a5a;
  --sand: #ded1b8;
  --coral: #b85f4b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 32, 29, .14);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open,
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button,
input,
select,
textarea { font: inherit; }
button { cursor: pointer; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wrap-wide { width: min(1380px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-tight { padding: 58px 0; }
.band { background: var(--shell); }
.band-mist { background: var(--mist); }
.dark { background: var(--teal-dark); color: var(--paper); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 46px; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}
.dark .eyebrow,
.hero .eyebrow { color: #e8bd79; }
h1,
h2,
h3,
p { margin-top: 0; }
.h1,
.h2,
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}
.h1 { font-size: clamp(42px, 7vw, 82px); margin: 18px 0 24px; max-width: 940px; }
.h2 { font-size: clamp(34px, 5vw, 58px); margin: 16px 0 18px; }
.h3 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 12px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 760px; }
.hero .lead,
.dark .lead,
.dark .muted { color: rgba(255, 253, 248, .76); }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}
.section-head .lead { max-width: 560px; margin-bottom: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--coral); color: var(--white); box-shadow: 0 14px 32px rgba(184, 95, 75, .22); }
.btn-primary:hover { background: #9f4f3f; }
.btn-secondary { background: var(--teal-dark); color: var(--paper); }
.btn-outline { border-color: var(--line); background: rgba(255,255,255,.64); }
.btn-outline:hover { background: var(--white); border-color: rgba(23,33,31,.32); }
.btn-light { background: var(--paper); color: var(--teal-dark); }
.btn-ghost { border-color: rgba(255, 253, 248, .38); color: var(--paper); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.site-header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: 100%;
  color: var(--paper);
  transition: background .24s ease, color .24s ease, box-shadow .24s ease;
}
.site-header.solid,
.site-header.scrolled {
  background: rgba(255,253,248,.94);
  color: var(--ink);
  box-shadow: 0 12px 38px rgba(18,32,29,.08);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  white-space: nowrap;
}
.brand span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--gold);
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.nav a { opacity: .82; }
.nav a:hover,
.nav a.active { color: var(--gold); opacity: 1; }
.head-actions { display: flex; align-items: center; gap: 12px; }
.phone { font-weight: 800; white-space: nowrap; }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span:before,
.burger span:after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.burger span:before { transform: translateY(-6px); }
.burger span:after { transform: translateY(4px); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 28px;
  background: var(--teal-dark);
  color: var(--paper);
  transform: translateY(-100%);
  transition: transform .32s ease;
}
.mobile-menu.open { transform: translateY(0); }
.menu-close {
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255,253,248,.34);
  border-radius: 6px;
  background: transparent;
  color: var(--paper);
  font-size: 24px;
}
.mobile-menu nav { display: grid; gap: 20px; font-family: var(--serif); font-size: 34px; }
.mobile-foot { margin-top: auto; display: grid; gap: 14px; }

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 27, 24, .86) 0%, rgba(5, 27, 24, .58) 47%, rgba(5, 27, 24, .14) 100%),
    linear-gradient(0deg, rgba(5, 27, 24, .68), rgba(5, 27, 24, .08) 52%);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 150px 0 58px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 58px;
  background: rgba(255, 253, 248, .24);
  border: 1px solid rgba(255, 253, 248, .24);
  border-radius: 8px;
  overflow: hidden;
  max-width: 1040px;
}
.hero-meta div {
  min-height: 112px;
  padding: 20px;
  background: rgba(5, 27, 24, .42);
  backdrop-filter: blur(12px);
}
.hero-meta strong {
  display: block;
  color: var(--paper);
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.hero-meta span { color: rgba(255, 253, 248, .72); font-size: 14px; }

.notice {
  border: 1px solid rgba(199, 154, 90, .34);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255,255,255,.66);
}
.notice strong { display: block; margin-bottom: 6px; }
.disclaimer {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.dark .disclaimer { color: rgba(255,253,248,.62); }

.quick-box {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: 34px;
  align-items: center;
  margin-top: -46px;
  position: relative;
  z-index: 3;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.lead-form,
.quiz-form {
  display: grid;
  gap: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { color: rgba(23, 33, 31, .78); font-size: 13px; font-weight: 800; }
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}
textarea { min-height: 116px; resize: vertical; }
input:focus,
select:focus,
textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11, 114, 104, .12); }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.consent input { width: 16px; min-height: 16px; margin-top: 2px; }
.form-success {
  display: none;
  padding: 18px;
  border-radius: 8px;
  background: rgba(11, 114, 104, .1);
  border: 1px solid rgba(11, 114, 104, .2);
}
.form-error { color: var(--coral); font-size: 13px; margin: 0; }

.type-card,
.area-card,
.object-card,
.step-card,
.faq-item,
.check-item,
.compare-box,
.locked-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  overflow: hidden;
}
.type-card { min-height: 430px; display: flex; flex-direction: column; padding: 0; }
.type-card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--shell);
  border-bottom: 1px solid var(--line);
}
.type-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.type-card:hover .type-card-media img { transform: scale(1.025); }
.type-card-content {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.type-card .icon,
.step-num {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 900;
  margin-bottom: 18px;
}
.type-card h3,
.area-card h3,
.object-card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.18; }
.price-lock {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 900;
  color: var(--teal);
}

.image-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.image-panel {
  min-height: 460px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.image-panel.small { min-height: 220px; }
.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.image-panel:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,27,24,.72), rgba(5,27,24,.04) 55%);
}
.image-panel div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: var(--paper);
}
.image-panel h3 { margin: 0 0 4px; font-size: 26px; }
.image-panel p { margin: 0; color: rgba(255,253,248,.78); }

.area-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.area-card img { width: 100%; height: 160px; object-fit: cover; }
.area-card div { padding: 18px; }
.area-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}
.step-card { padding: 18px; min-height: 214px; display: flex; flex-direction: column; min-width: 0; }
.step-icon { width: 58px; height: 58px; object-fit: contain; margin: -4px 0 14px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }

.property-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  padding: 9px 15px;
  font-weight: 800;
}
.filter.active { background: var(--teal-dark); color: var(--paper); border-color: var(--teal-dark); }
.object-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.object-card img { width: 100%; height: 220px; object-fit: cover; }
.object-card .body { padding: 20px; }
.meta-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.meta-list span {
  display: grid;
  gap: 2px;
  padding: 10px;
  background: var(--shell);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
}
.meta-list strong { color: var(--ink); font-size: 14px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 114, 104, .1);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}
.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.comparison-table th { background: var(--teal-dark); color: var(--paper); }
.comparison-table tr:last-child td { border-bottom: 0; }

.map-card {
  min-height: 460px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}
.map-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 59, 54, .28);
}
.pin {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.pin:before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  border: 3px solid var(--paper);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.pin.bangtao { left: 42%; top: 24%; }
.pin.kamala { left: 34%; top: 36%; }
.pin.laguna { left: 53%; top: 29%; }
.pin.rawai { left: 50%; top: 78%; }
.pin.naiharn { left: 37%; top: 82%; }

.guide-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.timeline { display: grid; gap: 12px; }
.timeline-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.timeline-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-dark);
  color: var(--paper);
  font-weight: 900;
}
.timeline-item h3 { margin: 0 0 6px; font-size: 20px; }
.timeline-item p { margin: 0; color: var(--muted); }
.check-list { display: grid; gap: 12px; }
.check-item { padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.check-item span {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(11,114,104,.12);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 0; }
.faq-q {
  width: 100%;
  min-height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 900;
}
.faq-q span:last-child { font-size: 24px; color: var(--teal); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-a p { margin: 0; padding: 0 20px 20px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 260px; }

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: var(--paper);
}
.cta-panel label { color: rgba(255,253,248,.78); }
.cta-panel input,
.cta-panel select,
.cta-panel textarea { background: rgba(255,255,255,.94); }
.cta-panel .lead { color: rgba(255,253,248,.74); }
.cta-panel .consent { color: rgba(255,253,248,.7); }

.footer {
  padding: 38px 0;
  background: #101917;
  color: rgba(255,253,248,.74);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.footer .brand { color: var(--paper); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 18px; min-width: 0; font-size: 14px; }

.contact-rail {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  gap: 10px;
}
.contact-rail a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--paper);
  box-shadow: 0 14px 30px rgba(10,59,54,.2);
  font-weight: 900;
}
.contact-rail a:nth-child(2) { background: var(--coral); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(9, 23, 20, .68);
}
.modal.open { display: grid; }
.modal-card {
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 8px;
  background: var(--paper);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nav,
  .head-actions .phone,
  .head-actions > .btn { display: none; }
  .burger { display: inline-flex; }
  .hero-meta,
  .grid-4,
  .area-grid,
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .object-grid,
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-box,
  .cta-panel { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 58px; }
  .wrap { width: min(100% - 28px, 1180px); }
  .section { padding: 64px 0; }
  .section-head { display: block; }
  .split,
  .grid-2,
  .guide-grid { grid-template-columns: 1fr; }
  .hero { min-height: 760px; }
  .hero-inner { padding: 124px 0 34px; }
  .hero-meta,
  .grid-3,
  .grid-4,
  .area-grid,
  .process,
  .object-grid,
  .form-grid { grid-template-columns: 1fr; }
  .quick-box {
    margin-top: 0;
    border-radius: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 22px 14px;
  }
  .quick-box > *,
  .form-grid > *,
  .type-card,
  .type-card-content,
  .step-card { min-width: 0; }
  .quick-box input,
  .quick-box select,
  .quick-box textarea,
  .quick-box .btn { max-width: 100%; }
  .image-grid { grid-template-columns: 1fr; }
  .image-panel,
  .image-panel.small { min-height: 330px; }
  .comparison-table { display: block; overflow-x: auto; white-space: nowrap; }
  .cta-panel { padding: 24px; }
  .footer-inner { display: grid; }
  .footer-inner > * { min-width: 0; }
  .footer-links { justify-content: flex-start; max-width: 100%; }
  .footer .brand { min-width: 0; }
  .footer .brand span { max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }
  .contact-rail {
    right: 12px;
    bottom: 12px;
    display: flex;
    gap: 8px;
  }
  .contact-rail a { width: 44px; height: 44px; }
}


/* Audit fixes: breadcrumbs, legal pages, unified form feedback */
.breadcrumbs{padding:94px 0 12px;background:var(--paper);border-bottom:1px solid var(--line)}
.breadcrumbs .wrap{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--muted)}
.breadcrumbs a{color:var(--teal);text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}
.legal-page{padding-top:118px}.legal-card{background:var(--white);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;padding:34px;margin-top:26px}.legal-card h2{font-size:22px;margin:26px 0 10px}.legal-card h2:first-child{margin-top:0}.legal-card a{color:var(--teal);text-decoration:underline}
.form-error{grid-column:1/-1;margin:10px 0 0;color:#9b1c1c;font-size:13px}.form-success[hidden]{display:none!important}
.consent a{color:var(--teal);text-decoration:underline}.hp-field{position:absolute!important;left:-9999px!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
.thanks-popup{position:fixed;inset:0;z-index:120;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(10,32,30,.66)}
.thanks-popup.open{display:flex}.thanks-popup__panel{width:min(540px,100%);background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:34px;text-align:center;box-shadow:0 28px 90px rgba(0,0,0,.24)}
.thanks-popup__panel h2{font-family:var(--serif);font-size:32px;margin:0 0 12px;color:var(--teal-dark)}.thanks-popup__panel p{margin:0 0 22px;color:var(--muted)}
@media(max-width:720px){.breadcrumbs{padding-top:82px}.legal-page{padding-top:92px}.legal-card{padding:24px}}


/* Bilingual and accessibility audit additions. The existing visual system is preserved. */
.lang-toggle {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  opacity: .9;
  transition: background .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}
.lang-toggle:hover {
  opacity: 1;
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
}
.site-header.solid .lang-toggle:hover,
.site-header.scrolled .lang-toggle:hover {
  background: var(--mist);
}
.mobile-lang-toggle {
  width: 100%;
  min-height: 48px;
  height: auto;
  margin-top: auto;
  border-color: rgba(255,253,248,.38);
  color: var(--paper);
}
.mobile-menu .mobile-lang-toggle + .mobile-foot { margin-top: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(199,154,90,.75);
  outline-offset: 3px;
}
input::placeholder,
textarea::placeholder { color: rgba(23,33,31,.48); }

@media (max-width: 1180px) {
  .header-inner { gap: 14px; }
  .nav { gap: 16px; }
  .head-actions { gap: 9px; }
}
@media (max-width: 1100px) {
  .head-actions .lang-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  .brand { font-size: 21px; }
  .brand span { font-size: 8px; letter-spacing: .12em; }
  .footer-links { gap: 10px 14px; font-size: 12px; }
  .header-inner { min-height: 70px; }
  .head-actions { gap: 8px; }
  .lang-toggle { width: 40px; height: 40px; flex-basis: 40px; }
  .burger { width: 40px; height: 40px; }
}
