﻿:root {
  --bg: #081525;
  --bg-alt: #0f203b;
  --panel: rgba(15, 32, 59, 0.86);
  --text: #f6f5f2;
  --muted: #d3d7e4;
  --accent: #f0c65d;
  --accent-soft: rgba(240, 198, 93, 0.18);
  --border: rgba(255, 255, 255, 0.1);
  --panel-contrast: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(2, 10, 32, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top, rgba(240, 198, 93, 0.14), transparent 30%), linear-gradient(180deg, #03101f 0%, #071726 55%, #0f203b 100%);
  color: var(--text);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: relative;
  overflow: hidden;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(240, 198, 93, 0.14);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.brand-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px 48px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(0.95) brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(4, 12, 20, 0.72), rgba(7, 13, 24, 0.96)); */
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding-top: 56px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
}

.hero-subtitle {
  margin: 16px 0 0;
  font-size: 1.1rem;
  color: #e7d29f;
  line-height: 1.5;
}

.hero-copy p {
  max-width: 560px;
  margin: 20px auto 0;
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-size: 0.85rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  line-height: 1.03;
  max-width: 12ch;
}

.hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  line-height: 1.75;
  color: var(--muted);
}

/* Banner text: force white for strongest contrast */
.hero-copy h1,
.hero-copy p,
.hero-subtitle {
  color: #ffffff !important;
  text-shadow: 0 6px 24px rgba(2,8,16,0.6);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #f0c65d, #d89a33);
  color: #061025;
}

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

.section {
  padding: 80px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.section:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.035);
}

.section-header {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-description {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.section-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-header h2,
.about-text h2,
.membership-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.section-header p,
.about-text p,
.membership-copy p,
.form-header p {
  max-width: 700px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.about-inner,
.membership-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.about-text {
  max-width: 580px;
}

.about-list {
  margin: 32px 0 25px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.about-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 22px;
  background: rgba(2, 12, 29, 0.82);
  color: var(--text);
  font-size: 0.95rem;
}

.facilities-section .facility-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 32px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.facility-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-8px);
  border-color: rgba(240, 198, 93, 0.35);
}

.facility-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.facility-content {
  padding: 24px;
}

.facility-content h3 {
  margin: 0 0 14px;
}

.facility-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.amenity-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px 24px;
}

.amenity-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.amenity-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.membership-inner {
  gap: 40px;
}

.membership-copy {
  max-width: 540px;
}

.membership-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.membership-highlights div {
  padding: 22px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.membership-highlights strong {
  display: block;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.membership-cards {
  display: grid;
  gap: 24px;
}

.tier-card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.tier-card h3 {
  margin: 0 0 12px;
}

.price {
  margin: 0 0 16px;
  font-size: 1.9rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.life-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: baseline;
  margin-bottom: 16px;
}

.life-prices .price,
.intro-price {
  margin: 0;
  font-size: 1.9rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.intro-price small {
  display: inline;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0;
}

.tier-card p {
  overflow-wrap: anywhere;
}

.tier-highlight {
  border-color: rgba(240, 198, 93, 0.4);
  background: rgba(240, 198, 93, 0.1);
}

.form-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.form-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(2, 12, 29, 0.94);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.form-header {
  margin-bottom: 30px;
}

.interest-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 10px;
}

.form-group label {
  color: var(--text);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(240, 198, 93, 0.5);
  background: rgba(255,255,255,0.08);
}

.radio-group-wrapper {
  align-items: flex-start;
}

.radio-group {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.radio-label {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}

.radio-label input {
  accent-color: var(--accent);
}

.submit-btn {
  width: fit-content;
  padding: 16px 30px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0c65d, #d89a33);
  color: #061025;
  font-weight: 700;
  cursor: pointer;
}

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

.contact-section {
  padding-top: 72px;
}

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

.contact-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  padding: 32px 32px 48px;
  background: #03101f;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner h2 {
  margin: 0 0 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-note {
  margin-top: 24px;
  color: var(--muted);
  max-width: 720px;
}

@media (max-width: 1024px) {
  .facilities-section .facility-grid,
  .amenities-grid,
  .contact-grid,
  .gallery-grid,
  .membership-cards,
  .membership-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-inner,
  .membership-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .topbar,
  .hero,
  .section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-links {
    gap: 14px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .hero {
    min-height: 68vh;
    padding-top: 28px;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
    max-width: none;
  }

  .section-header h2,
  .about-text h2,
  .membership-copy h2 {
    font-size: 2rem;
  }

  .form-row,
  .membership-highlights {
    grid-template-columns: 1fr;
  }

  .facilities-section .facility-grid,
  .amenities-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .facility-card img {
    height: 210px;
  }

  .membership-inner {
    gap: 28px;
  }

  .membership-cards {
    grid-template-columns: 1fr;
  }

  .tier-card {
    padding: 24px;
    border-radius: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 28px;
    border-radius: 24px;
  }
}

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

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .nav-links a {
    padding: 8px 0;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .hero-copy p {
    margin-top: 16px;
    line-height: 1.6;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .button {
    width: 100%;
  }

  .theme-toggle {
    width: 44px;
    margin-top: 10px;
  }

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

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-header h2,
  .about-text h2,
  .membership-copy h2 {
    font-size: 1.65rem;
    line-height: 1.14;
  }

  .about-list {
    margin: 24px 0;
  }

  .about-image,
  .facility-card,
  .amenity-card,
  .contact-card,
  .tier-card,
  .form-wrapper {
    border-radius: 18px;
  }

  .image-caption {
    position: static;
    padding: 14px 16px;
  }

  .facility-card img {
    height: 190px;
  }

  .facility-content,
  .amenity-card,
  .contact-card {
    padding: 20px;
  }

  .membership-highlights {
    gap: 12px;
  }

  .membership-highlights div {
    padding: 18px 14px;
  }

  .membership-highlights strong {
    font-size: 1.35rem;
  }

  .life-prices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .life-prices .price,
  .intro-price {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  .intro-price small {
    display: block;
    margin-top: 3px;
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .price {
    font-size: 1.55rem;
  }

  .form-wrapper {
    padding: 22px;
  }

  .form-group input,
  .form-group textarea,
  .radio-label {
    border-radius: 12px;
  }

  .footer-inner,
  .footer-links {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .topbar,
  .hero,
  .section,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .hero-copy h1 {
    font-size: 1.95rem;
  }

  .life-prices .price,
  .intro-price,
  .price {
    font-size: 1.38rem;
  }

  .form-wrapper,
  .tier-card,
  .amenity-card,
  .facility-content {
    padding: 18px;
  }
}

/* Light theme: set on the <body> element with `data-theme="light"` */
body[data-theme="light"] {
  --bg: #f7f6f3; /* soft warm off-white */
  --bg-alt: #fdfcf8; /* subtle contrast */
  --panel: rgba(255, 255, 250, 0.98);
  --text: #0f1720;
  --muted: #6b7784;
  --accent: #2b9eb3;
  --accent-soft: rgba(43, 158, 179, 0.08);
  --border: rgba(15, 35, 50, 0.06);
  --shadow: 0 18px 50px rgba(15, 35, 50, 0.04);
  background: radial-gradient(circle at top, rgba(43,158,179,0.03), transparent 30%), linear-gradient(180deg,#fbfaf7 0%, #f7f6f3 100%);
  color: var(--text);
}

/* Darker accents for header/footer and focused areas to add professional contrast */
body[data-theme="light"] {
  --header-bg: rgba(12, 18, 24, 0.10);
  --header-strong: rgba(12, 18, 24, 0.18);
  --panel-contrast: rgba(12, 18, 24, 0.06);
}

/* General light-theme element overrides */
body[data-theme="light"] .topbar { border-bottom-color: var(--border); background: var(--header-bg); backdrop-filter: blur(6px); }
body[data-theme="light"] .brand-mark { background: var(--header-strong); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02); }
body[data-theme="light"] .nav-links a { color: var(--text); font-weight: 600; }
body[data-theme="light"] .nav-links a:hover { color: var(--accent); }
body[data-theme="light"] .hero-bg { filter: contrast(1.05) brightness(0.96) saturate(1.02); }
body[data-theme="light"] .hero-overlay { background: linear-gradient(180deg, rgba(12,16,20,0.62), rgba(255,255,255,0.06)); }
body[data-theme="light"] .hero-copy { background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.0)); }
body[data-theme="light"] .hero-subtitle { color: var(--accent); }

/* Sections and panels */
body[data-theme="light"] .section:nth-of-type(odd) { background: rgba(15,35,50,0.02); }
body[data-theme="light"] .section:nth-of-type(even) { background: rgba(15,35,50,0.01); }
body[data-theme="light"] .facility-card,
body[data-theme="light"] .amenity-card,
body[data-theme="light"] .contact-card,
body[data-theme="light"] .tier-card,
body[data-theme="light"] .membership-highlights div { background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Section tag and header contrast */
body[data-theme="light"] .section-tag { background: var(--header-strong); color: var(--accent); padding: 6px 10px; border-radius: 8px; display: inline-block; }
body[data-theme="light"] .section-header { background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(15,23,28,0.02)); padding: 8px 12px; border-radius: 10px; }

body[data-theme="light"] .about-image { box-shadow: var(--shadow); }
body[data-theme="light"] .image-caption { background: rgba(12,16,20,0.72); color: #fff; }

.form-wrapper { }
body[data-theme="light"] .form-wrapper { background: var(--panel); border: 1px solid var(--panel-contrast); color: var(--text); }
body[data-theme="light"] .form-group input,
body[data-theme="light"] .form-group textarea { background: #fcfbf9; border: 1px solid var(--border); color: var(--text); }
body[data-theme="light"] .form-group input:focus,
body[data-theme="light"] .form-group textarea:focus { border-color: var(--accent); background: #ffffff; }

/* Radio / label tweaks */
body[data-theme="light"] .radio-label { background: rgba(15,35,50,0.02); border: 1px solid var(--border); }
body[data-theme="light"] .radio-label input { accent-color: var(--accent); }

/* Buttons */
body[data-theme="light"] .button-primary { background: linear-gradient(135deg, var(--accent), #1b8aa0); color: #ffffff; }
body[data-theme="light"] .button-secondary { background: transparent; color: var(--text); border-color: var(--border); }
body[data-theme="light"] .submit-btn { background: linear-gradient(135deg, var(--accent), #1b8aa0); color: #fff; }

/* Footer */
body[data-theme="light"] .site-footer { background: black; border-top-color: rgba(255,255,255,0.02); color: #dce6ea; }
body[data-theme="light"] .footer-links a { color: #e6f3f6; }

/* small visual polish: ensure nav links are dark and readable */
body[data-theme="light"] .nav-links a { color: var(--text); font-weight: 600; }
body[data-theme="light"] .nav-links a:hover { color: var(--accent); }

/* Misc fixes for hard-coded dark colors */
body[data-theme="light"] .hero-copy p,
body[data-theme="light"] .section-description,
body[data-theme="light"] .about-list li,
body[data-theme="light"] .amenity-card p,
body[data-theme="light"] .facility-content p { color: var(--muted); }

/* Theme toggle small styling */
.theme-toggle {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
}

@media (max-width: 560px) {
  .theme-toggle { margin-top: 12px; }
}

/* Smooth theme transitions */
html, body, .section, .hero, .form-wrapper, .facility-card, .amenity-card, .tier-card, .button, .topbar, .brand-mark {
  transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease, box-shadow 320ms ease, transform 320ms ease;
}

/* Don't animate layout-critical transforms */
img, .hero-bg { transition: opacity 300ms ease; }

/* Announcement modal styles */
.site-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 12000;
  pointer-events: none;
}
.site-modal[aria-hidden="false"], .site-modal.show { pointer-events: auto; }
.site-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 12, 0.48);
  backdrop-filter: blur(6px) saturate(0.95);
  opacity: 0;
  transition: opacity 260ms ease;
}
.site-modal.show .site-modal-backdrop { opacity: 1; }
.site-modal-card {
  position: relative;
  width: min(960px, calc(100% - 48px));
  max-height: 86vh;
  overflow: auto;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 30px 80px rgba(10, 30, 50, 0.18);
  transform: translateY(12px) scale(0.995);
  opacity: 0;
  transition: transform 300ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease;
  padding: 28px;
}
.site-modal.show .site-modal-card { transform: translateY(0) scale(1); opacity: 1; }
.site-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: rgba(0,0,0,0.04);
  border: none;
  width:36px;
  height:36px;
  border-radius:8px;
  font-size: 16px;
  color: #22343a;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.site-modal-header { display:flex; gap:16px; align-items:center; margin-bottom:6px; }
.modal-icon { width:44px; height:44px; flex:0 0 44px; }
.site-modal-content h3 { margin: 0; font-size: 1.25rem; color: #0b2a33; }
.site-modal-body p { color: #274349; line-height: 1.6; margin: 0 0 12px; }
.site-modal-body ul { margin: 0 0 12px 1.2rem; color: #274349; }
.site-modal-actions { display:flex; gap:12px; justify-content:flex-end; margin-top: 16px; }

/* List item icon (check-in-circle) */
.site-modal-body ul li { position: relative; padding-left: 34px; margin-bottom:8px; }
.site-modal-body ul li::before { content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; background-repeat: no-repeat; background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='%232b9eb3'/><path d='M6 12l4 4 8-8' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>");
}

/* Buttons inside modal: blue primary */
.site-modal .button-primary { padding: 12px 20px; border-radius: 10px; background: linear-gradient(135deg,#2b9eb3,#1b7f90); color:#fff; box-shadow: 0 8px 30px rgba(43,158,179,0.14); border: 1px solid rgba(11,45,54,0.06); }
.site-modal .button-secondary { padding: 12px 20px; border-radius: 10px; background: transparent; border: 1px solid rgba(39,67,73,0.08); color: #274349; }

/* Button adjustments inside modal */
.site-modal .button-primary { padding: 12px 20px; border-radius: 10px; }
.site-modal .button-secondary { padding: 12px 20px; border-radius: 10px; background: transparent; border: 1px solid rgba(39,67,73,0.12); color: #274349; }

@media (max-width: 640px) {
  .site-modal-card { padding: 20px; width: calc(100% - 32px); border-radius: 12px; }
  .site-modal-header { align-items: flex-start; }
  .site-modal-content h3 { padding-right: 28px; font-size: 1.08rem; line-height: 1.35; }
  .site-modal-body ul { margin-left: 0; padding-left: 0; }
  .site-modal-actions { flex-direction: column-reverse; align-items: stretch; }
}

/* Payment modal */
.payment-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 12000;
  pointer-events: none;
}

.payment-modal[aria-hidden="false"],
.payment-modal.show {
  pointer-events: auto;
}

.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 12, 0.58);
  opacity: 0;
  transition: opacity 220ms ease;
}

.payment-modal.show .payment-modal-backdrop {
  opacity: 1;
}

.payment-modal-card {
  position: relative;
  width: min(720px, calc(100% - 40px));
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--panel-contrast);
  box-shadow: 0 28px 80px rgba(2, 10, 32, 0.34);
  padding: 28px;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 260ms ease, opacity 220ms ease;
}

.payment-modal.show .payment-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.payment-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
}

.payment-modal-header {
  margin-bottom: 22px;
  padding-right: 34px;
}

.payment-modal-header h3 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 1.35rem;
}

.payment-modal-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.payment-qr-wrap {
  display: grid;
  gap: 14px;
  place-items: center;
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(12, 16, 20, 0.08);
  color: #17202a;
}

.payment-qr {
  display: block;
  width: 100%;
  max-width: 212px;
  aspect-ratio: 1;
  object-fit: contain;
}

.payment-bank-details {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  background: #f7f4ec;
  border: 1px solid rgba(12, 16, 20, 0.08);
}

.payment-bank-title {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(12, 16, 20, 0.1);
  color: #6f4b0d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-bank-row {
  display: grid;
  grid-template-columns: minmax(82px, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
  align-items: start;
  font-size: 0.88rem;
  line-height: 1.35;
}

.payment-bank-row span {
  color: #64707d;
}

.payment-bank-row strong {
  min-width: 0;
  color: #111827;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: right;
}

.payment-fields {
  display: grid;
  gap: 18px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-question {
  flex: 1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--panel-contrast);
  color: var(--text);
  font-weight: 700;
}

.captcha-refresh {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--panel-contrast);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 1.15rem;
}

.payment-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.payment-modal .form-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
}

body[data-theme="light"] .payment-modal-card {
  background: #ffffff;
  border-color: var(--border);
}

body[data-theme="light"] .payment-modal-close {
  background: rgba(15, 35, 50, 0.06);
  color: var(--text);
}

body[data-theme="light"] .captcha-question,
body[data-theme="light"] .captcha-refresh {
  background: #fcfbf9;
  border-color: var(--border);
}

@media (max-width: 680px) {
  .payment-modal-card {
    width: calc(100% - 28px);
    padding: 22px;
  }

  .payment-modal-body {
    grid-template-columns: 1fr;
  }

  .payment-qr {
    max-width: 220px;
  }

  .payment-bank-details {
    max-width: 360px;
  }

  .payment-modal-actions {
    flex-direction: column-reverse;
  }
}

@media (max-width: 420px) {
  .site-modal-card,
  .payment-modal-card {
    width: calc(100% - 20px);
    padding: 18px;
  }

  .payment-modal-header h3 {
    font-size: 1.12rem;
    line-height: 1.35;
  }

  .payment-qr {
    max-width: 190px;
  }

  .payment-bank-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .payment-bank-row strong {
    text-align: left;
  }

  .captcha-row {
    align-items: stretch;
  }
}
