/* ============================================================
   D9 Palace Slot — Corporate dark green & yellow system
   ============================================================ */

:root {
  --green-950: #04140d;
  --green-900: #071f15;
  --green-800: #0b2b1e;
  --green-700: #0f3b2a;
  --green-600: #15503a;
  --green-500: #1c6649;
  --yellow-500: #e6b82e;
  --yellow-400: #f5c542;
  --yellow-300: #ffd966;
  --yellow-200: #ffeaa3;
  --cream: #f6f2e7;
  --cream-2: #efe9d9;
  --ink: #14251d;
  --text-light: #e9f1ec;
  --text-muted: #b8c9c0;
  --border-gold: rgba(245, 197, 66, 0.28);
  --border-gold-strong: rgba(245, 197, 66, 0.55);
  --shadow-soft: 0 18px 50px rgba(4, 20, 13, 0.14);
  --shadow-deep: 0 28px 90px rgba(4, 20, 13, 0.38);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  padding-bottom: 76px; /* space for sticky Book Now */
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--green-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--yellow-500);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--green-900);
}

h1 { font-size: clamp(2.35rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2rem; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 2000;
  background: var(--yellow-400);
  color: var(--green-950);
  padding: 0.7rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
}

.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--yellow-400);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(7, 31, 21, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-light);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
  color: var(--green-950);
  font-weight: 800;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand-text small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow-400);
  margin-top: 4px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--yellow-300);
  background: rgba(245, 197, 66, 0.08);
}

.nav-cta {
  border: 1px solid var(--border-gold-strong);
  color: var(--yellow-300) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--yellow-300);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
  color: var(--green-950);
  box-shadow: 0 10px 26px rgba(245, 197, 66, 0.25);
}

.btn-primary:hover {
  color: var(--green-950);
  box-shadow: 0 14px 32px rgba(245, 197, 66, 0.35);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-gold-strong);
  color: var(--yellow-300);
}

.btn-ghost:hover {
  background: rgba(245, 197, 66, 0.1);
  color: var(--yellow-200);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--text-light);
}

.btn-ghost-light:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.btn-dark {
  background: var(--green-800);
  color: var(--yellow-300);
  border-color: var(--green-700);
}

.btn-dark:hover {
  background: var(--green-700);
  color: var(--yellow-200);
}

.text-link {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.text-link:hover { color: var(--yellow-500); }

.text-link-light { color: var(--yellow-300); }
.text-link-light:hover { color: var(--yellow-200); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-950);
  color: var(--text-light);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 20, 13, 0.96) 0%, rgba(7, 31, 21, 0.82) 45%, rgba(7, 31, 21, 0.45) 100%),
    radial-gradient(circle at 80% 20%, rgba(245, 197, 66, 0.12), transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 10vw, 8rem);
  max-width: 760px;
}

.hero h1 {
  color: #fff;
  text-wrap: balance;
}

.hero-lead {
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--border-gold);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-trust li { display: flex; align-items: center; gap: 0.5rem; }

.hero-trust span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 0.4rem;
  border-radius: 6px;
  background: rgba(245, 197, 66, 0.14);
  border: 1px solid var(--border-gold);
  color: var(--yellow-300);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow-500);
  margin: 0 0 0.9rem;
}

.section-heading-light .eyebrow,
.cta-band .eyebrow { color: var(--yellow-300); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }

.section-cream { background: var(--cream); }

.section-dark {
  background:
    radial-gradient(circle at 15% 10%, rgba(245, 197, 66, 0.08), transparent 38%),
    var(--green-950);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3 { color: #fff; }

.section-dark p { color: var(--text-muted); }

.section-heading {
  max-width: 720px;
  margin-bottom: 2.4rem;
}

.section-heading p { color: #5f6f66; }

.section-heading-light p { color: var(--text-muted); }

.section-cta { margin-top: 2.4rem; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--green-800);
  border-block: 1px solid var(--border-gold);
  color: var(--text-light);
  padding-block: 1.6rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--yellow-300);
  margin-bottom: 0.25rem;
}

.trust-item span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Grids & cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(11, 43, 30, 0.08);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.feature-card-dark {
  background: rgba(255,255,255,0.035);
  border-color: var(--border-gold);
  box-shadow: none;
}

.feature-card-dark h3 { color: var(--yellow-300); }

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-800);
  color: var(--yellow-300);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ---------- Direct answer ---------- */
.answer-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.75;
  color: var(--green-900);
}

/* ---------- Game cards ---------- */
.game-grid { align-items: stretch; }

.game-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 43, 30, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.section-dark .game-card {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-gold);
}

.game-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--green-800);
  overflow: hidden;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-media img { transform: scale(1.04); }

.game-badge {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--green-950);
  color: var(--yellow-300);
  border: 1px solid var(--border-gold);
}

.badge-high { background: #3a1710; color: #ffd0a8; border-color: rgba(255, 160, 100, 0.4); }
.badge-medium { background: #1d2b16; color: #d9efb0; border-color: rgba(190, 230, 140, 0.35); }

.game-body {
  padding: 1.3rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.section-dark .game-body h3,
.section-dark .game-body h2 { color: #fff; }

.game-meta {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--yellow-600, #a98212);
  margin-bottom: 0.7rem;
}

.section-dark .game-meta { color: var(--yellow-300); }

.game-body p:not(.game-meta) {
  font-size: 0.9rem;
  color: #53645a;
  flex: 1;
}

.section-dark .game-body p:not(.game-meta) { color: var(--text-muted); }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-reverse .split-media { order: 2; }
.split-reverse .split-content { order: 1; }

.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-800);
  box-shadow: var(--shadow-deep);
}

.split-media img {
  width: 100%;
  height: 100%;
}

/* ---------- Lists ---------- */
.numbered-list {
  padding-left: 0;
  list-style: none;
  counter-reset: step;
}

.numbered-list li {
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 1.1rem;
  counter-increment: step;
}

.numbered-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--green-800);
  color: var(--yellow-300);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
}

.spaced li { margin-bottom: 1.5rem; }

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-600);
  font-weight: 800;
}

.check-list-light li::before { color: var(--yellow-300); }

.cross-list {
  list-style: none;
  padding-left: 0;
}

.cross-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
}

.cross-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #ff8f7a;
  font-weight: 800;
}

/* ---------- Page hero ---------- */
.page-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 197, 66, 0.12), transparent 42%),
    var(--green-950);
  color: var(--text-light);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.page-hero-warm {
  background:
    radial-gradient(circle at 15% 20%, rgba(245, 197, 66, 0.14), transparent 38%),
    linear-gradient(120deg, var(--green-950), #123126);
}

.page-hero h1 { color: #fff; }

.page-lead {
  max-width: 760px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin-bottom: 1.4rem; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: rgba(255,255,255,0.3);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--yellow-300); }

/* ---------- Filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 43, 30, 0.18);
  background: transparent;
  color: var(--green-800);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover,
.filter-btn.is-active {
  background: var(--green-800);
  color: var(--yellow-300);
  border-color: var(--green-800);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(11, 43, 30, 0.1);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}

.section-dark .faq-item {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-gold);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.05rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--green-900);
}

.section-dark .faq-item summary { color: var(--yellow-200); }

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--yellow-500);
  flex: 0 0 auto;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  font-size: 0.92rem;
  color: #53645a;
}

.section-dark .faq-item p { color: var(--text-muted); }

.faq-page .faq-item summary { padding: 1.15rem 1.3rem; }

/* ---------- Assessment ---------- */
.assessment-list {
  display: grid;
  gap: 0.8rem;
}

.assessment-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(11, 43, 30, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
}

.assessment-number {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--yellow-600, #a98212);
  padding-top: 0.15rem;
}

.assessment-item p { margin: 0; font-size: 0.93rem; }

/* ---------- Notices ---------- */
.small-note {
  font-size: 0.8rem;
  color: #63736a;
}

.section-dark .small-note { color: var(--text-muted); }

.notice-box {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--yellow-500);
  background: rgba(245, 197, 66, 0.1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 197, 66, 0.2), transparent 40%),
    var(--green-800);
  color: var(--text-light);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }

.cta-band p { color: var(--text-muted); margin-bottom: 0; }

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex: 0 0 auto;
}

/* ---------- Contact ---------- */
.contact-form {
  background: #fff;
  border: 1px solid rgba(11, 43, 30, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.form-row { margin-bottom: 1.1rem; }

.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--green-900);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(11, 43, 30, 0.22);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: #fbfaf6;
  color: var(--ink);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--yellow-500);
  outline: 2px solid rgba(245, 197, 66, 0.3);
  outline-offset: 1px;
}

.form-row-inline { margin-top: 0.4rem; }

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500 !important;
  font-size: 0.82rem !important;
  line-height: 1.5;
}

.checkbox-label input { width: auto; margin-top: 0.2rem; }

.form-status {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-600);
}

.form-status.is-error { color: #b23b2a; }

.contact-card {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  background: rgba(7, 31, 21, 0.94);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  color: var(--text-light);
  backdrop-filter: blur(10px);
}

.contact-card h3 { color: var(--yellow-300); font-size: 1rem; margin-bottom: 0.5rem; }

.contact-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-card li { margin-bottom: 0.3rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: var(--text-muted);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.brand-footer { margin-bottom: 1rem; }

.footer-brand p { font-size: 0.86rem; max-width: 360px; }

.footer-legal { font-size: 0.76rem !important; color: #8fa49a; }

.footer-nav h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-300);
  margin-bottom: 0.9rem;
}

.footer-nav ul { list-style: none; padding: 0; margin: 0; }

.footer-nav li { margin-bottom: 0.5rem; }

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
}

.footer-nav a:hover { color: var(--yellow-300); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.76rem;
}

.footer-bottom p { margin: 0; }

/* ---------- Sticky Book Now ---------- */
.sticky-book {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem 0.4rem 0.4rem; /* Adjusted padding for the image */
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow-400), var(--yellow-500));
  color: var(--green-950);
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(4, 20, 13, 0.35);
  border: 1px solid rgba(255,255,255,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sticky-book:hover {
  transform: translateY(-2px);
  color: var(--green-950);
  box-shadow: 0 14px 38px rgba(4, 20, 13, 0.45);
}

/* New styles for the image icon */
.sticky-book-img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%; /* Makes the square image round to fit the pill button */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 950;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-gold-strong);
  background: var(--green-900);
  color: var(--yellow-300);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(4, 20, 13, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  background: var(--green-700);
  transform: translateY(-2px);
}

.back-to-top[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 860px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-900);
    border-bottom: 1px solid var(--border-gold);
    padding: 0.8rem 1.2rem 1.2rem;
    display: none;
  }

  .primary-nav.is-open { display: block; }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .primary-nav a {
    display: block;
    padding: 0.75rem 0.6rem;
  }

  .nav-toggle { display: flex; }

  .split,
  .split-reverse {
    grid-template-columns: 1fr;
  }

  .split-reverse .split-media,
  .split-reverse .split-content {
    order: initial;
  }

  .cta-band-inner { flex-direction: column; align-items: flex-start; }

  .contact-media { min-height: 340px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 84px; }

  .grid-3 { grid-template-columns: 1fr; }

  .trust-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; }

  .hero { min-height: 72vh; }

  .hero-actions .btn { width: 100%; }

  .sticky-book {
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.7rem 0.95rem;
    font-size: 0.78rem;
  }

  .back-to-top {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 42px;
    height: 42px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}