:root {
  --ink: #182126;
  --ink-soft: #34444c;
  --muted: #6c7a80;
  --line: #e0e6e4;
  --surface: #ffffff;
  --paper: #f7f4ee;
  --paper-deep: #eee8dc;
  --green: #0d5148;
  --green-2: #143c37;
  --gold: #b9852f;
  --gold-soft: #efe1c7;
  --shadow: 0 18px 42px rgba(24, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.58;
  overflow-x: hidden;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  -webkit-text-size-adjust: 100%;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(224, 230, 228, 0.9);
  backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.9);
  background: #102f2c;
  font-size: 13px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 12px clamp(18px, 5vw, 76px);
}

.brand {
  position: relative;
  z-index: 82;
  flex-shrink: 0;
}

.brand img {
  width: 184px;
  max-width: min(184px, 42vw);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 82;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  display: contents;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(17, 27, 28, 0.55);
  backdrop-filter: blur(2px);
}

.nav-overlay[hidden] {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  white-space: nowrap;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--green);
}

.nav-cta,
.primary-link,
button:not(.enquire-modal__close):not(.nav-toggle),
.plan-grid a,
.final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-cta:hover,
.primary-link:hover,
button:not(.enquire-modal__close):not(.nav-toggle):hover,
.plan-grid a:hover,
.final-cta a:hover {
  background: var(--green-2);
}

.hero {
  background: #111;
}

.hero img {
  width: 100%;
  height: auto;
}

select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9d2c6;
  border-radius: 4px;
  font: inherit;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  color: #fff;
  font-weight: 800;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  position: relative;
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: 0 12px 30px rgba(24, 33, 38, 0.08);
}

.quick-strip div {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.quick-strip div:last-child {
  border-right: 0;
}

.quick-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.quick-strip strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.1;
}

.lead-form {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 38px auto 0;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(24, 33, 38, 0.06);
}

.lead-form h1 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
}

.lead-form form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9d2c6;
  border-radius: 4px;
  font: inherit;
}

input:focus,
select:focus {
  outline: 2px solid rgba(185, 133, 47, 0.28);
  border-color: var(--gold);
}

.section {
  padding: clamp(70px, 8vw, 118px) clamp(18px, 5vw, 76px);
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about,
.location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
}

.section-copy p,
.section-head p,
.plan-grid p,
.proof p,
.faq p,
footer p {
  color: var(--muted);
}

.section-copy p {
  max-width: 710px;
  font-size: 17px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stats-grid article {
  min-height: 160px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid #e7dfd3;
}

.stats-grid span {
  display: block;
  color: var(--green);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  line-height: 0.95;
}

.stats-grid p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.project-table {
  padding-top: 0;
  background: #fff;
}

.project-table .section-head {
  margin-bottom: 24px;
}

.project-table h2 {
  font-size: clamp(30px, 3.4vw, 46px);
}

.detail-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, 100%);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.detail-table div {
  min-height: 112px;
  padding: 22px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-table span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-table strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.proof article {
  padding: clamp(36px, 5vw, 62px);
  background: #fff;
}

.proof span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.proof h3 {
  margin: 18px 0 10px;
  font-size: 25px;
  line-height: 1.12;
}

.proof p {
  margin: 0;
}

.plans,
.faq {
  background: var(--paper);
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-head p {
  font-size: 17px;
}

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

.plan-grid--single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.plan-grid article {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid #e2dbcf;
  box-shadow: 0 10px 28px rgba(34, 39, 39, 0.05);
}

.plan-grid small {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.plan-grid h3 {
  margin: 12px 0 8px;
  font-size: 23px;
  line-height: 1.15;
}

.plan-grid strong {
  display: block;
  color: var(--green);
  font-size: 31px;
  line-height: 1;
}

.plan-grid p {
  margin: 16px 0 22px;
}

.plan-grid a {
  width: fit-content;
  margin-top: auto;
  min-height: 42px;
}

.amenities {
  background: #fff;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.amenity-grid span {
  min-height: 120px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.amenity-grid b {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location {
  background: #f9faf8;
}

.location iframe {
  width: 100%;
  min-height: 500px;
  border: 0;
  box-shadow: var(--shadow);
}

.distance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.distance-grid span {
  padding: 15px 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
}

.distance-grid strong {
  display: block;
  color: var(--green);
  font-size: 20px;
  line-height: 1.1;
}

.faq details {
  max-width: 940px;
  margin-bottom: 12px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e2dbcf;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  padding-right: 28px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-bottom: 0;
}

.final-cta {
  padding: clamp(66px, 8vw, 104px) clamp(18px, 5vw, 76px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(13, 81, 72, 0.96), rgba(20, 60, 55, 0.94)),
    url("img/banner.png") center/cover;
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

.final-cta p {
  max-width: 690px;
  margin: 16px auto 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.final-cta a {
  background: var(--gold);
}

.site-footer {
  padding: 48px clamp(18px, 5vw, 76px) 28px;
  color: rgba(255, 255, 255, 0.78);
  background: #000;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 34px;
}

.site-footer__heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__heading-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}

.site-footer__logo {
  width: 210px;
  max-width: 100%;
  margin-bottom: 18px;
}

.site-footer__col p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer__highlight {
  color: #6eb8ff;
}

.site-footer__rera {
  margin-top: 18px !important;
  color: #fff !important;
  font-size: 15px !important;
}

.site-footer__rera strong {
  font-weight: 800;
}

.site-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.site-footer__links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links li + li {
  margin-top: 10px;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.site-footer__contact svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  color: #e85d4c;
}

.site-footer__contact a {
  color: #fff;
}

.site-footer__contact a:hover {
  color: #6eb8ff;
}

.site-footer__disclaimer {
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.75;
}

.site-footer__copyright {
  margin: 22px 0 0;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.float-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  pointer-events: none;
}

.float-call,
.float-enquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.float-call svg,
.float-enquire svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.float-call {
  background: #1faa59;
}

.float-call:hover {
  background: #18924d;
}

.float-enquire {
  background: #a67c52;
}

.float-enquire:hover {
  background: #946e49;
}

body.enquire-modal-open {
  overflow: hidden;
}

.enquire-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
}

.enquire-modal[hidden] {
  display: none;
}

.enquire-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 27, 28, 0.72);
  backdrop-filter: blur(4px);
}

.enquire-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 32px 28px 28px;
  background: #fff;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.enquire-modal__panel h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.12;
}

.enquire-modal__panel .form-note {
  margin: 10px 0 20px;
}

.enquire-modal__panel form {
  display: grid;
  gap: 12px;
}

.enquire-modal__panel button[type="submit"] {
  width: 100%;
}

.enquire-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.enquire-modal__close:hover {
  color: var(--ink);
  background: var(--paper);
}

.thank-you-page {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  background:
    linear-gradient(120deg, rgba(13, 81, 72, 0.92), rgba(20, 60, 55, 0.94)),
    url("img/banner.png") center/cover;
}

.thank-you-card {
  width: min(680px, 100%);
  padding: clamp(34px, 6vw, 58px);
  background: #fff;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.thank-you-card h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.thank-you-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.outline-link.dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
  border-radius: 4px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 80;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    padding: 88px 24px 28px;
    background: #fff;
    box-shadow: -12px 0 36px rgba(24, 33, 38, 0.14);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-panel.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    overflow: visible;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .nav-links .nav-cta {
    justify-content: center;
    margin-top: 16px;
    border-bottom: 0;
  }

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

@media (max-width: 1080px) {
  .lead-form,
  .about,
  .location {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__col:first-child {
    grid-column: 1 / -1;
  }

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

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

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

@media (max-width: 820px) {
  .lead-form form {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form form button[type="submit"] {
    grid-column: 1 / -1;
  }

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

  .quick-strip div:nth-child(2) {
    border-right: 0;
  }

  .quick-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .lead-form {
    width: 100%;
    margin-top: 0;
    border-left: 0;
    border-right: 0;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

@media (max-width: 620px) {
  .topbar {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .brand img {
    width: 148px;
    max-width: 148px;
  }

  .quick-strip,
  .lead-form,
  .lead-form form,
  .stats-grid,
  .proof,
  .plan-grid,
  .plan-grid--single,
  .amenity-grid,
  .distance-grid,
  .detail-table {
    grid-template-columns: 1fr;
  }

  .quick-strip {
    width: 100%;
    margin-top: 0;
    box-shadow: none;
  }

  .quick-strip div {
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-strip div:last-child {
    border-bottom: 0;
  }

  .lead-form {
    gap: 22px;
    padding: 22px 18px;
  }

  .lead-form h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .section {
    padding: 52px 16px;
  }

  .section h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .section-copy p,
  .section-head p,
  .final-cta p {
    font-size: 16px;
  }

  .stats-grid article {
    min-height: auto;
    padding: 22px;
  }

  .detail-table div {
    min-height: auto;
    padding: 18px;
  }

  .detail-table strong {
    font-size: 16px;
  }

  .proof article {
    padding: 28px 22px;
  }

  .proof h3 {
    font-size: 21px;
  }

  .plan-grid article {
    min-height: auto;
    padding: 22px;
  }

  .plan-grid h3 {
    font-size: 20px;
  }

  .plan-grid strong {
    font-size: 26px;
  }

  .amenity-grid span {
    min-height: auto;
    padding: 18px;
    font-size: 16px;
  }

  .location iframe {
    min-height: 280px;
  }

  .faq details {
    padding: 16px 18px;
  }

  .faq summary {
    font-size: 16px;
    line-height: 1.45;
  }

  .final-cta h2 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .site-footer {
    padding: 36px 16px 24px;
  }

  .site-footer__grid,
  .site-footer__links {
    grid-template-columns: 1fr;
  }

  .site-footer__logo {
    width: 180px;
  }

  .site-footer__disclaimer {
    font-size: 11px;
  }

  .float-call,
  .float-enquire {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    font-size: 14px;
  }

  .enquire-modal {
    align-items: flex-end;
    padding: 0;
  }

  .enquire-modal__panel {
    width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    border-top: 4px solid var(--gold);
    border-radius: 12px 12px 0 0;
    padding: 28px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  }

  .thank-you-page {
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-actions a {
    width: 100%;
    justify-content: center;
  }

  .legal-hero {
    padding: 34px 16px 42px;
  }

  .legal-layout {
    width: calc(100% - 32px);
    padding-bottom: 48px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 22px 18px;
  }

  .legal-related {
    flex-direction: column;
  }

  .legal-related a,
  .legal-back {
    width: 100%;
    justify-content: center;
  }
}

/* Legal pages */
.legal-hero {
  padding: 42px clamp(18px, 5vw, 76px) 56px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(13, 81, 72, 0.97), rgba(20, 60, 55, 0.95)),
    url("img/banner.png") center/cover;
}

.legal-hero__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
}

.legal-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.legal-breadcrumb a:hover {
  color: #fff;
}

.legal-breadcrumb span {
  opacity: 0.55;
}

.legal-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}

.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: -34px auto 0;
  padding-bottom: 72px;
}

.legal-sidebar {
  position: sticky;
  top: 92px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(24, 33, 38, 0.06);
}

.legal-sidebar h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.legal-toc a {
  display: block;
  padding: 8px 10px;
  color: var(--ink-soft);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  color: var(--green);
  background: var(--paper);
}

.legal-card {
  padding: clamp(28px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(24, 33, 38, 0.06);
}

.legal-card > p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
}

.legal-card > p {
  margin: 0 0 18px;
}

.legal-section {
  scroll-margin-top: 100px;
  padding-top: 8px;
}

.legal-section + .legal-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.15;
}

.legal-section h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.legal-section ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

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

.legal-section a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  color: var(--green-2);
}

.legal-callout {
  margin: 18px 0;
  padding: 16px 18px;
  color: var(--ink-soft);
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  line-height: 1.65;
}

.legal-callout strong {
  color: var(--ink);
}

.legal-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-related a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--green);
  background: #fff;
  border: 1px solid var(--green);
  border-radius: 4px;
  font-weight: 800;
}

.legal-related a:hover {
  color: #fff;
  background: var(--green);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 4px;
  font-weight: 800;
}

.legal-back:hover {
  background: var(--green-2);
}

.legal-back svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-top: 28px;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-toc {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 10px;
  }
}

.hst-snji {
  text-decoration: underline;
}

.thank-you-body {
  padding-bottom: 0;
}