﻿:root {
  --background: #30362d;
  --foreground: #fff4e3;
  --muted: #dfd2bf;
  --green: #7ecb82;
  --metal: #f5ddb0;
  --panel: rgba(74, 81, 67, 0.82);
  --cursor-gun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42'%3E%3Ccircle cx='18' cy='18' r='15' fill='none' stroke='%23dcc59e' stroke-width='3'/%3E%3Ccircle cx='18' cy='18' r='8' fill='none' stroke='%235ea965' stroke-width='2'/%3E%3Ccircle cx='18' cy='18' r='3' fill='%23c62020'/%3E%3Cpath d='M18 0v9M18 27v15M0 18h9M27 18h15' stroke='%23fff1cc' stroke-width='2'/%3E%3C/svg%3E") 18 18, crosshair;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(126, 203, 130, 0.46), transparent 30rem),
    radial-gradient(circle at 18% 8%, rgba(245, 221, 176, 0.38), transparent 25rem),
    linear-gradient(135deg, #2b332a, #4a5343 48%, #30362d);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  cursor: var(--cursor-gun);
}

a, button, input, select { font: inherit; }
button, a, select, input { cursor: var(--cursor-gun); }
.hidden { display: none !important; }
button, a { transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
button:hover, a:hover { transform: translateY(-2px); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(199, 176, 143, 0.16);
  background: rgba(33, 37, 30, 0.86);
  backdrop-filter: blur(18px);
}

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foreground);
  border: 0;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.brand-button img, footer img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(199, 176, 143, 0.45);
}

.nav-links { display: flex; gap: clamp(0.7rem, 2vw, 1.4rem); flex-wrap: wrap; }
.nav-links a, footer a { color: var(--muted); text-decoration: none; }

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  padding: clamp(2rem, 6vw, 6rem);
  overflow: hidden;
}

.hero::before, .section::before, .services::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: url("/dark-star-logo.jpeg") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  filter: grayscale(0.2);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(92deg, transparent 0 17%, rgba(199, 176, 143, 0.16) 17.2% 17.5%, transparent 17.8% 100%),
    repeating-linear-gradient(90deg, rgba(199, 176, 143, 0.08) 0 1px, transparent 1px 90px);
  transform: perspective(800px) rotateX(62deg);
  transform-origin: bottom;
  opacity: 0.6;
}

.hero-image-panel {
  position: relative;
  z-index: 2;
  min-height: min(760px, calc(100vh - 150px));
  display: grid;
  align-items: center;
  padding: clamp(2rem, 6vw, 6rem);
  overflow: hidden;
  contain: paint;
  border: 1px solid rgba(220, 197, 158, 0.32);
  background:
    linear-gradient(90deg, rgba(34,38,31,0.88), rgba(42,47,38,0.62) 48%, rgba(42,47,38,0.18)),
    radial-gradient(circle at 72% 48%, rgba(240,216,173,0.32), transparent 22rem),
    linear-gradient(135deg, rgba(66,72,58,0.95), rgba(36,42,34,0.78));
  box-shadow: 0 42px 100px rgba(0,0,0,0.28), inset 0 0 80px rgba(240,216,173,0.12);
}

.hero-image-panel .logo-stage {
  position: absolute;
  right: clamp(-7rem, -7vw, -2rem);
  top: 50%;
  width: min(72vw, 760px);
  opacity: 0.34;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 3; max-width: 780px; text-shadow: 0 2px 26px rgba(0,0,0,0.56); }
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--metal);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  line-height: 1;
  font-weight: 700;
}
h1 { max-width: 780px; font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 5vw, 4.4rem); }
.hero-title {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
  row-gap: 0.04em;
}
.hero-title span {
  white-space: nowrap;
}

.hero p:not(.eyebrow), .section > p, .booking p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  font-family: "Trebuchet MS", Arial, sans-serif;
}
.accreditation-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(360px, 1.35fr);
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 6rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(245,221,176,0.12), transparent 34%),
    linear-gradient(180deg, rgba(42,49,42,0.76), rgba(27,31,28,0.86));
  border-top: 1px solid rgba(245,221,176,0.18);
  border-bottom: 1px solid rgba(245,221,176,0.14);
}
.accreditation-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(126,203,130,0.16), transparent 18rem),
    radial-gradient(circle at 16% 76%, rgba(245,221,176,0.12), transparent 17rem);
  pointer-events: none;
}
.accreditation-intro,
.accreditation-showcase {
  position: relative;
  z-index: 1;
}
.accreditation-intro h2 {
  max-width: 680px;
}
.accreditation-intro p:not(.eyebrow) {
  max-width: 620px;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.accreditation-showcase {
  display: grid;
  gap: 1.5rem;
}
.about-copy {
  display: grid;
  gap: 1rem;
}
.about-copy article {
  border-left: 3px solid rgba(245,221,176,0.55);
  border-radius: 18px;
  padding: 1rem 1rem 1rem 1.2rem;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 18px rgba(220,197,158,0.08);
}
.about-copy .licence-support-card {
  border-left-color: rgba(126,203,130,0.72);
  background:
    radial-gradient(circle at 10% 0%, rgba(126,203,130,0.18), transparent 12rem),
    rgba(255,255,255,0.075);
}
.about-copy h3,
.enroll-banner h3 {
  margin: 0 0 0.55rem;
  color: var(--metal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}
.about-copy p { margin: 0; color: var(--muted); line-height: 1.65; }

.hero-badges { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-badges span, .badge-button {
  border: 1px solid rgba(199, 176, 143, 0.28);
  color: var(--metal);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.55rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}
.badge-button {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 18px rgba(220,197,158,0.12);
}
.badge-button::after {
  content: none;
}

.actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.primary, .secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(199, 176, 143, 0.38);
  color: var(--foreground);
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.primary { background: linear-gradient(135deg, #7a6545, #d2bd94 48%, #536f47); color: #070806; font-weight: 800; }
.secondary { background: rgba(255, 255, 255, 0.1); }

.logo-stage {
  position: relative;
  width: min(84vw, 680px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(199, 176, 143, 0.15);
  background:
    radial-gradient(circle, rgba(220, 197, 158, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(0,0,0,0.16));
  box-shadow: inset 0 0 70px rgba(0,0,0,0.24), 0 38px 90px rgba(0,0,0,0.28);
}

.hero-image-panel .animated-logo {
  width: min(70%, 520px);
  opacity: 0.92;
}

.target-halo {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(199, 176, 143, 0.45);
  box-shadow:
    inset 0 0 0 52px rgba(49, 95, 53, 0.055),
    inset 0 0 0 104px rgba(199, 176, 143, 0.045),
    0 0 80px rgba(49, 95, 53, 0.22);
  animation: target-pulse 3.8s ease-in-out infinite;
}

.sight {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(199,176,143,0.82), transparent);
  opacity: 0.65;
}
.sight.horizontal { width: 78%; height: 2px; }
.sight.vertical { width: 2px; height: 78%; background: linear-gradient(180deg, transparent, rgba(199,176,143,0.82), transparent); }

.range-lanes {
  position: absolute;
  inset: 58% 7% -14%;
  transform: perspective(620px) rotateX(64deg);
  background:
    repeating-linear-gradient(90deg, transparent 0 76px, rgba(199,176,143,0.2) 77px 79px),
    linear-gradient(rgba(49,95,53,0.08), transparent);
}

.animated-logo {
  width: min(74%, 500px);
  max-height: 74%;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(236, 218, 180, 0.48);
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(0.35rem, 1.2vw, 0.85rem);
  box-shadow: 0 0 42px rgba(220, 197, 158, 0.42), 0 0 120px rgba(79, 132, 83, 0.32);
  animation: logo-orbit 5.2s ease-in-out infinite;
}

.round {
  position: absolute;
  width: 90px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5a3c24, #d8bd82 42%, #2f2519 74%, #1b160f);
  box-shadow: 0 0 22px rgba(216,189,130,0.24);
  transform-origin: center;
}
.round::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 2px;
  border-left: 26px solid #806040;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.round-one { left: 7%; top: 26%; transform: rotate(-18deg); animation: round-pass 4.8s ease-in-out infinite; }
.round-two { right: 10%; top: 62%; transform: rotate(16deg) scale(0.82); animation: round-pass 5.6s ease-in-out infinite reverse; }
.round-three { left: 18%; bottom: 15%; transform: rotate(8deg) scale(0.64); opacity: 0.7; }

.muzzle-flash {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,216,168,0.76), rgba(49,95,53,0.18) 34%, transparent 70%);
  animation: flash 3.6s steps(1) infinite;
}
.smoke {
  position: absolute;
  width: 50%;
  height: 22%;
  border-radius: 50%;
  background: rgba(196, 196, 196, 0.09);
  filter: blur(34px);
  animation: smoke-drift 8s ease-in-out infinite alternate;
}
.smoke-one { left: -8%; bottom: 9%; }
.smoke-two { right: -12%; top: 18%; animation-delay: -3s; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #151714;
  overflow: hidden;
  animation: intro-exit 5.2s ease forwards;
}
.intro.hidden { display: none; }
.video-intro {
  background: #11140f;
  animation: none;
}
.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) contrast(1.08) saturate(1.06);
}
.video-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(0,0,0,0.22) 70%),
    linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0.42));
  pointer-events: none;
}
.intro-logo-stage { width: min(88vw, 780px); animation: intro-logo-camera 5.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.intro-copy {
  position: absolute;
  z-index: 2;
  bottom: 8vh;
  text-align: center;
  animation: reveal-copy 5.2s ease forwards;
}
.intro-copy p { margin: 0; color: var(--metal); text-transform: uppercase; letter-spacing: 0.16em; }

.section, .services, .booking {
  position: relative;
  display: grid;
  gap: 2rem;
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 6vw, 6rem);
}
.category-section {
  position: relative;
  overflow: hidden;
  contain: paint;
  display: grid;
  gap: 2rem;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(245,221,176,0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(126,203,130,0.08));
}
.category-section::before,
.security-section::before,
.booking::before {
  content: "";
  position: absolute;
  inset: 1rem;
  pointer-events: none;
  opacity: 0.24;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(245,221,176,0.3) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(126,203,130,0.25) 50%, transparent 50.2%);
  mask-image: radial-gradient(circle, #000 0 26%, transparent 27%);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.category-card {
  border: 1px solid rgba(245,221,176,0.32);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(126,203,130,0.22), transparent 16rem),
    rgba(255,255,255,0.08);
  color: var(--foreground);
  padding: clamp(1.2rem, 3vw, 2rem);
  text-align: left;
  box-shadow: 0 18px 44px rgba(0,0,0,0.18);
  backdrop-filter: blur(16px);
}
.category-card span {
  display: block;
  color: var(--metal);
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  margin-bottom: 0.8rem;
}
.category-card small {
  color: var(--muted);
  line-height: 1.6;
}
.security-section {
  background:
    radial-gradient(circle at 84% 10%, rgba(245,221,176,0.24), transparent 18rem),
    radial-gradient(circle at 18% 84%, rgba(88,112,138,0.28), transparent 20rem),
    linear-gradient(135deg, rgba(57,68,57,0.86), rgba(33,39,36,0.92));
}
.service-clips {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.clip-icon {
  width: 82px;
  height: 82px;
  border: 1px solid rgba(245,221,176,0.28);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(245,221,176,0.16), rgba(126,203,130,0.08)),
    rgba(255,255,255,0.08);
  position: relative;
  display: inline-grid;
  place-items: center;
  box-shadow: inset 0 0 24px rgba(245,221,176,0.08), 0 16px 34px rgba(0,0,0,0.22);
  overflow: hidden;
}
.clip-icon::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0;
  padding: 0.35rem 0.25rem;
  color: rgba(255,244,227,0.78);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.24);
}
.modern-icon::before {
  content: "";
  width: 34px;
  height: 34px;
  border: 3px solid var(--metal);
  filter: drop-shadow(0 0 8px rgba(245,221,176,0.26));
}
.shield-icon::before {
  clip-path: polygon(50% 0, 92% 16%, 80% 76%, 50% 100%, 20% 76%, 8% 16%);
  background: linear-gradient(145deg, var(--metal), var(--green));
  border: 0;
}
.camera-icon::before {
  width: 30px;
  height: 20px;
  border: 3px solid var(--metal);
  border-radius: 6px;
}
.camera-icon::after {
  content: attr(data-label);
}
.camera-icon > span,
.patrol-icon > span { display: none; }
.camera-icon::before {
  box-shadow: 18px -10px 0 -12px var(--green);
}
.camera-icon::after {
  padding-top: 0.35rem;
}
.camera-icon {
  background:
    radial-gradient(circle at 50% 42%, rgba(126,203,130,0.3) 0 10%, transparent 10.5%),
    linear-gradient(145deg, rgba(245,221,176,0.16), rgba(88,112,138,0.16)),
    rgba(255,255,255,0.08);
}
.patrol-icon::before {
  width: 34px;
  height: 34px;
  border: 3px solid var(--metal);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(126,203,130,0.25);
}
.patrol-icon::after {
  content: attr(data-label);
}
.camera-icon::before,
.patrol-icon::before {
  position: relative;
  z-index: 1;
}
.camera-icon::after,
.patrol-icon::after,
.shield-icon::after {
  position: absolute;
  inset: auto 0 0;
}
.camera-icon::before {
  background: transparent;
}
.patrol-icon::before {
  background:
    linear-gradient(90deg, transparent 45%, var(--green) 46% 54%, transparent 55%),
    linear-gradient(0deg, transparent 45%, var(--green) 46% 54%, transparent 55%);
}
/*
  Modern security icon detail: the old flat shapes are replaced with layered,
  metallic UI-style symbols built from CSS so they scale cleanly.
*/
.camera-icon::after,
.patrol-icon::after {
  position: absolute;
}
.security-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.security-card { min-height: 250px; }
.security-card,
.security-card.active,
.security-card::before,
.security-card::after {
  animation: none !important;
}
.security-card::before,
.security-card::after {
  content: none !important;
}
.services {
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 42%, rgba(220,197,158,0.22), transparent 18rem),
    radial-gradient(circle at 78% 55%, rgba(126,203,130,0.24), transparent 20rem),
    radial-gradient(circle at 56% 0%, rgba(123,55,41,0.2), transparent 18rem),
    linear-gradient(135deg, rgba(58,51,42,0.82), rgba(35,41,33,0.9));
}
.accreditation-band,
.enroll-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  border: 1px solid rgba(245,221,176,0.32);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 50%, rgba(126,203,130,0.2), transparent 12rem),
    rgba(255,255,255,0.08);
  padding: 1rem;
  box-shadow: inset 0 0 24px rgba(220,197,158,0.1);
}
.accreditation-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.accreditation-badge {
  flex: 0 0 clamp(150px, 24vw, 260px);
  width: clamp(150px, 24vw, 260px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,0.42)) drop-shadow(0 0 18px rgba(245,221,176,0.18));
  animation: badge-spin-pause 7.5s cubic-bezier(0.42, 0, 0.22, 1) infinite;
  transform-origin: center;
}
.enroll-banner {
  margin-top: 0.5rem;
  background:
    linear-gradient(90deg, rgba(245,221,176,0.18), rgba(126,203,130,0.18)),
    rgba(0,0,0,0.18);
}
.enroll-banner .eyebrow { margin-bottom: 0.35rem; }
.enroll-banner h3 { color: var(--foreground); font-size: 1.25rem; }
.category-section#gallery {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(88,112,138,0.24), transparent 18rem),
    radial-gradient(circle at 82% 80%, rgba(245,221,176,0.14), transparent 18rem),
    linear-gradient(135deg, rgba(47,54,55,0.9), rgba(35,41,33,0.86));
}
.category-section#k9 {
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 75%, rgba(126,203,130,0.24), transparent 18rem),
    radial-gradient(circle at 86% 18%, rgba(98,80,55,0.28), transparent 18rem),
    linear-gradient(135deg, rgba(38,48,40,0.92), rgba(51,43,35,0.86));
}
.k9-section-art {
  position: absolute;
  right: clamp(-8rem, -8vw, -2rem);
  bottom: -5rem;
  width: min(760px, 74vw);
  max-height: 94%;
  object-fit: contain;
  opacity: 0.32;
  mix-blend-mode: screen;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,0.38)) saturate(1.08) brightness(1.08);
  pointer-events: none;
  z-index: 0;
}
.category-section#k9 > *:not(.k9-section-art) {
  position: relative;
  z-index: 1;
}
.booking {
  overflow: hidden;
  contain: paint;
  background:
    radial-gradient(circle at 84% 24%, rgba(245,221,176,0.18), transparent 18rem),
    radial-gradient(circle at 18% 72%, rgba(88,112,138,0.18), transparent 20rem),
    linear-gradient(135deg, rgba(50,56,47,0.92), rgba(31,35,32,0.92));
}
.gallery-art,
.section-target-art,
.footer-art {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
  z-index: 0;
  mix-blend-mode: screen;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,0.38)) saturate(1.08) brightness(1.1);
}
.category-section#gallery > *:not(.gallery-art),
.security-section > *:not(.section-target-art),
.booking > *:not(.section-target-art),
.site-footer > *:not(.footer-art) {
  position: relative;
  z-index: 1;
}
.gallery-art-one {
  right: clamp(-9rem, -8vw, -3rem);
  top: clamp(0.4rem, 3vw, 2rem);
  width: min(430px, 42vw);
  opacity: 0.2;
  transform: rotate(7deg);
}
.gallery-art-two {
  left: clamp(-10rem, -9vw, -4rem);
  bottom: -7rem;
  width: min(520px, 52vw);
  opacity: 0.14;
  transform: rotate(-8deg);
}
.security-target-art {
  right: clamp(-10rem, -9vw, -4rem);
  bottom: -6rem;
  width: min(460px, 46vw);
  opacity: 0.13;
  transform: rotate(-6deg);
}
.booking-target-art {
  left: clamp(-9rem, -8vw, -3rem);
  bottom: -6rem;
  width: min(410px, 42vw);
  opacity: 0.12;
  transform: rotate(8deg);
}
.services::after {
  content: "";
  position: absolute;
  inset: 1.2rem clamp(0.8rem, 4vw, 4rem);
  z-index: 0;
  pointer-events: none;
  opacity: 0.78;
  background:
    radial-gradient(circle at 16% 50%, transparent 0 3.2rem, rgba(220,197,158,0.5) 3.25rem 3.38rem, transparent 3.45rem 5.7rem, rgba(220,197,158,0.34) 5.75rem 5.88rem, transparent 5.95rem 8.1rem, rgba(110,202,116,0.38) 8.15rem 8.28rem, transparent 8.35rem),
    radial-gradient(circle at 50% 48%, transparent 0 2.4rem, rgba(220,197,158,0.42) 2.45rem 2.56rem, transparent 2.62rem 4.6rem, rgba(110,202,116,0.3) 4.65rem 4.78rem, transparent 4.84rem 6.6rem, rgba(220,197,158,0.24) 6.65rem 6.78rem, transparent 6.84rem),
    radial-gradient(circle at 84% 50%, transparent 0 3rem, rgba(220,197,158,0.46) 3.05rem 3.18rem, transparent 3.25rem 5.35rem, rgba(110,202,116,0.32) 5.4rem 5.52rem, transparent 5.58rem 7.8rem, rgba(220,197,158,0.2) 7.85rem 7.98rem, transparent 8.05rem),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.2), transparent 60%);
  animation: none;
}
.services > * {
  position: relative;
  z-index: 1;
}
.section, .booking { grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr); align-items: start; }
.carousel-shell { display: none; }
.carousel-rail { display: none; }
.service-grid {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  contain: paint;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 0.45rem 0 1rem;
  scrollbar-color: var(--metal) rgba(255,255,255,0.12);
}
.service-card, .booking-panel {
  position: relative;
  border: 1px solid transparent;
  border-radius: 24px;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(135deg, rgba(240,216,173,0.55), rgba(106,165,110,0.38)) border-box;
  backdrop-filter: blur(16px);
  animation: none;
}
.service-card::before {
  content: none;
}
.service-card::after {
  content: none;
}
.service-card {
  flex: 0 0 clamp(260px, 29vw, 390px);
  min-height: 130px;
  padding: 1.8rem 1.4rem;
  color: var(--foreground);
  text-align: center;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 18px 44px rgba(0,0,0,0.24);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.service-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(1.08) contrast(1.02) saturate(1.2);
  pointer-events: none;
}
.service-card.active .service-video-bg {
  opacity: 1;
}
.service-card.active { background: linear-gradient(135deg, rgba(79, 132, 83, 0.36), rgba(43, 45, 39, 0.52)) padding-box, linear-gradient(135deg, #dcc59e, #6dca74) border-box; }
.service-card.business-purpose-card {
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(90deg, #dcc59e, #6dca74, #fff1cc, #dcc59e) border-box;
  animation: none;
  box-shadow: 0 22px 54px rgba(0,0,0,0.3), 0 0 18px rgba(220,197,158,0.14);
}
.service-card span { display: block; color: #fff1cc; text-transform: uppercase; font-weight: 900; font-size: 1.02rem; letter-spacing: 0.07em; position: relative; z-index: 2; text-shadow: 0 2px 14px rgba(0,0,0,0.9); background: rgba(12,14,12,0.58); padding: 0.55rem 0.7rem; border: 1px solid rgba(220,197,158,0.28); border-radius: 14px; }
.service-card small { color: var(--muted); line-height: 1.55; }
.cart-status {
  position: relative;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  margin-top: 0.8rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(126,203,130,0.34);
  border-radius: 999px;
  color: #fff4df;
  background: rgba(22,26,20,0.58);
  font-size: 0.68rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.booking-panel { display: grid; gap: 1rem; padding: 1rem; }
label { display: grid; gap: 0.45rem; color: var(--metal); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
input, select, textarea { min-height: 46px; border: 1px solid rgba(240, 216, 173, 0.45); border-radius: 14px; background: #34392f; color: var(--foreground); padding: 0.7rem; }
textarea { min-height: 118px; resize: vertical; line-height: 1.5; }
.cart-summary,
.banking-card {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(245,221,176,0.26);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 10%, rgba(126,203,130,0.14), transparent 12rem),
    rgba(255,255,255,0.07);
  box-shadow: inset 0 0 24px rgba(220,197,158,0.08);
}
.cart-summary h3 {
  margin: 0;
  color: var(--metal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(245,221,176,0.14);
}
.cart-line span { color: var(--foreground); font-weight: 800; }
.cart-line button {
  border: 1px solid rgba(245,221,176,0.26);
  border-radius: 999px;
  color: var(--metal);
  background: rgba(0,0,0,0.18);
  padding: 0.38rem 0.6rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.checkout-note {
  color: var(--muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
}
.banking-card {
  grid-template-columns: minmax(120px, 0.6fr) 1fr;
}
.banking-card span {
  color: var(--metal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}
.banking-card strong {
  color: var(--foreground);
}
.gallery-panel {
  overflow: auto;
  max-height: min(860px, calc(100svh - 2rem));
  overscroll-behavior: contain;
}
.gallery-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.2rem 0;
}
.gallery-option {
  border: 1px solid rgba(245,221,176,0.28);
  border-radius: 999px;
  color: var(--foreground);
  background:
    radial-gradient(circle at 85% 18%, rgba(126,203,130,0.16), transparent 10rem),
    rgba(255,255,255,0.07);
  padding: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gallery-option.active {
  border-color: rgba(245,221,176,0.7);
  background:
    linear-gradient(135deg, rgba(126,203,130,0.26), rgba(245,221,176,0.12)),
    rgba(255,255,255,0.08);
}
.gallery-coming-soon {
  display: grid;
  place-items: center;
  gap: 0.8rem;
  min-height: 260px;
  padding: 1.5rem;
  border: 1px solid rgba(245,221,176,0.24);
  border-radius: 26px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(245,221,176,0.14), transparent 16rem),
    rgba(0,0,0,0.16);
}
.gallery-coming-soon .coming-soon-logo {
  width: min(210px, 58vw);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.76;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.42));
}
.coin-flip {
  width: min(250px, 58vw);
  aspect-ratio: 1;
  perspective: 1100px;
  filter: drop-shadow(0 22px 38px rgba(0,0,0,0.46));
  transform-style: preserve-3d;
}
.coin-flip.hidden,
.coming-soon-logo.hidden {
  display: none;
}
.coin-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform;
  animation: coin-left-right-flip 5.8s cubic-bezier(0.42, 0, 0.18, 1) infinite;
}
.coin-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
}
.coin-front {
  transform: rotateY(0deg) translateZ(1px);
}
.coin-back {
  transform: rotateY(180deg) translateZ(1px);
}
.gallery-coming-soon strong {
  color: var(--metal);
  font-size: clamp(1.5rem, 5vw, 2.6rem);
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gallery-coming-soon span {
  color: var(--muted);
  max-width: 520px;
  line-height: 1.55;
}
.payment-panel .secondary,
.detail-panel .secondary {
  display: inline-flex;
  margin-left: 0.75rem;
}
.site-footer {
  position: relative;
  overflow: hidden;
  contain: paint;
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 0.9fr)) minmax(260px, 1.25fr);
  gap: 2rem;
  align-items: start;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 6vw, 6rem);
  border-top: 1px solid rgba(245, 221, 176, 0.2);
  background:
    radial-gradient(circle at 8% 20%, rgba(126,203,130,0.16), transparent 18rem),
    linear-gradient(135deg, rgba(43,51,42,0.96), rgba(65,73,59,0.95));
  color: var(--muted);
}
.footer-art-one {
  right: -6rem;
  top: -5rem;
  width: min(360px, 34vw);
  opacity: 0.12;
  transform: rotate(9deg);
}
.footer-art-two {
  left: -8rem;
  bottom: -8rem;
  width: min(430px, 40vw);
  opacity: 0.1;
  transform: rotate(-7deg);
}
.footer-brand img { width: 70px; height: 70px; object-fit: cover; border: 1px solid rgba(245,221,176,0.4); }
.footer-brand span {
  display: block;
  color: var(--foreground);
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.8rem 0;
  font-size: 1.2rem;
}
.footer-brand p { max-width: 360px; line-height: 1.6; }
.footer-registrations {
  color: var(--metal) !important;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.footer-column { display: grid; gap: 0.55rem; }
.footer-column h3 {
  margin: 0 0 0.4rem;
  color: var(--metal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}
.footer-column a, .site-footer a { color: var(--muted); text-decoration: none; }
.footer-column a:hover, .site-footer a:hover { color: var(--foreground); }
.footer-accreditations {
  display: grid;
  gap: 1.15rem;
}
.footer-accreditations h3 {
  margin: 0 0 0.2rem;
  color: var(--metal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
}
.footer-accreditations p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.footer-accreditations strong {
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-size: 0.82rem;
}
.accreditation-logo-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 1.15rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.accreditation-logo-card img {
  width: 220px;
  max-height: 170px;
  object-fit: contain;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.accreditation-logo-card strong {
  display: block;
  color: var(--foreground);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}
.accreditation-logo-card span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}
.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(245,221,176,0.16);
  font-size: 0.82rem;
  line-height: 1.6;
}
.toast {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 130;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(220,197,158,0.6);
  background: rgba(49, 54, 44, 0.94);
  color: var(--foreground);
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  transition: opacity 220ms ease, transform 220ms ease;
  border-radius: 999px;
  max-width: min(680px, calc(100vw - 2rem));
  line-height: 1.35;
}
.toast.show { opacity: 1; transform: translateY(0); }
.detail-window {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(22, 26, 21, 0.62);
  backdrop-filter: blur(14px);
}
.detail-window.hidden { display: none; }
.detail-panel {
  position: relative;
  width: min(760px, 94vw);
  border: 1px solid rgba(245,221,176,0.26);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(61, 68, 55, 0.97), rgba(38, 44, 36, 0.95));
  animation: none;
  box-shadow: 0 36px 90px rgba(0,0,0,0.48);
  padding: clamp(1.3rem, 4vw, 3rem);
  overflow: auto;
}
.detail-panel h2 { font-size: clamp(1.9rem, 5vw, 3.5rem); }
.detail-panel p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.detail-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border: 1px solid rgba(220,197,158,0.45);
  background: rgba(0,0,0,0.22);
  color: var(--foreground);
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.detail-meta {
  display: grid;
  gap: 0.35rem;
  margin: 1.4rem 0;
  padding: 1rem;
  border-left: 3px solid var(--metal);
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
}
.detail-meta span {
  color: var(--metal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}
.detail-meta strong { color: var(--foreground); font-weight: 600; }
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
}
.course-only-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.2rem;
}
.rounded-action {
  border-radius: 999px;
  padding-inline: 1.35rem;
}
.security-only-actions .primary,
.security-only-actions .secondary {
  border-radius: 999px;
}
.quote-window {
  z-index: 120;
}
.quote-panel {
  width: min(820px, 94vw);
  max-height: 92vh;
  overflow: auto;
}
.quote-brand {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-right: 4rem;
}
.quote-brand img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(245,221,176,0.36);
  background: rgba(0,0,0,0.28);
}
.quote-brand h2 {
  margin: 0;
  line-height: 1;
}
.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(245,221,176,0.24);
  border-radius: 24px;
  background: rgba(255,255,255,0.055);
}
.quote-form label:last-of-type,
.quote-form button {
  grid-column: 1 / -1;
}
.whatsapp-action {
  border-color: rgba(126,203,130,0.55);
  background: rgba(75, 128, 73, 0.18);
}
.game-panel { max-height: 92vh; overflow: auto; }
.score-meter {
  height: 14px;
  border: 1px solid rgba(220,197,158,0.45);
  background: rgba(0,0,0,0.24);
  margin: 1rem 0 0.4rem;
  overflow: hidden;
}
.score-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8fb36d, #dcc59e);
  box-shadow: 0 0 22px rgba(110,202,116,0.45);
  transition: width 260ms ease;
}
.score-copy {
  margin-top: 0;
  color: var(--metal) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem !important;
}
.game-target {
  width: min(220px, 48vw);
  aspect-ratio: 1;
  margin: 1rem auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, #dcc59e 0 8%, transparent 8.5% 18%, rgba(110,202,116,0.55) 18.5% 19.5%, transparent 20% 36%, rgba(220,197,158,0.5) 36.5% 37.5%, transparent 38% 58%, rgba(220,197,158,0.32) 58.5% 59.5%, transparent 60%),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(220,197,158,0.45);
  display: grid;
  place-items: center;
  animation: target-pulse 2.8s ease-in-out infinite;
}
.game-target span {
  width: 2px;
  height: 82%;
  background: linear-gradient(transparent, var(--metal), transparent);
  box-shadow: 0 0 0 999px transparent;
}
.scenario {
  color: var(--foreground) !important;
  font-size: 1.2rem !important;
}
.answer-grid {
  display: grid;
  gap: 0.75rem;
}
.answer-btn {
  border: 1px solid rgba(220,197,158,0.34);
  background: rgba(0,0,0,0.22);
  color: var(--foreground);
  padding: 0.9rem 1rem;
  text-align: left;
  border-radius: 18px;
}
.answer-btn.correct {
  border-color: rgba(110,202,116,0.9);
  background: rgba(79,132,83,0.42);
}
.answer-btn.wrong {
  border-color: rgba(220,120,96,0.9);
  background: rgba(112,45,35,0.45);
}
.feedback-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(220,197,158,0.28);
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
}
.feedback-panel strong {
  color: var(--metal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ai-guide-button {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 115;
  display: grid;
  place-items: center;
  width: 96px;
  min-height: 96px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--foreground);
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.34));
  overflow: visible;
  animation: guide-float-smooth 6s ease-in-out infinite;
  transition: transform 320ms ease, filter 320ms ease;
}
.ai-guide-button:hover { transform: translateY(-4px) scale(1.03); }
.ai-guide-button video {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  filter: contrast(1.08) brightness(1.08);
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
  transform: none;
}
.ai-speech-bubble {
  position: absolute;
  right: min(72px, calc(100vw - 280px));
  bottom: 74px;
  width: min(190px, 54vw);
  padding: 0.58rem 0.72rem;
  border: 0;
  border-radius: 14px 14px 4px 14px;
  color: #202318;
  background: linear-gradient(145deg, #fff4df, #e1c99d);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.22;
  animation: bubble-breathe 5.2s ease-in-out infinite;
  z-index: 2;
}
.ai-speech-bubble::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 10px;
  width: 14px;
  height: 14px;
  background: #e1c99d;
  transform: rotate(-45deg);
}
.ai-panel {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: 6.8rem;
  z-index: 114;
  width: min(420px, calc(100vw - 2rem));
  max-height: min(680px, calc(100vh - 8rem));
  display: none;
  grid-template-rows: auto minmax(140px, 1fr) auto auto auto;
  gap: 0.9rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(220,197,158,0.38);
  border-radius: 28px;
  color: var(--foreground);
  background:
    radial-gradient(circle at 20% 0%, rgba(220,197,158,0.16), transparent 34%),
    linear-gradient(145deg, rgba(53,59,49,0.97), rgba(20,22,18,0.98));
  box-shadow: 0 28px 70px rgba(0,0,0,0.55);
}
.ai-panel.open {
  display: grid;
}
.ai-panel-head {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.8rem;
  align-items: center;
}
.ai-panel-head video {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  object-fit: cover;
  border: 0;
  box-shadow: 0 10px 22px rgba(0,0,0,0.34);
  filter: contrast(1.08) brightness(1.06);
}
.ai-panel-head h2 {
  margin: 0;
  font-size: 1.25rem;
}
.ai-panel-head button,
.ai-chips button,
.ai-input-row button {
  border: 1px solid rgba(220,197,158,0.36);
  color: var(--foreground);
  background: rgba(255,255,255,0.07);
}
.ai-messages {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow-y: auto;
  padding-right: 0.2rem;
}
.ai-message {
  max-width: 92%;
  margin: 0;
  padding: 0.78rem 0.85rem;
  border-radius: 14px;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
}
.ai-message.bot {
  align-self: flex-start;
  border: 1px solid rgba(220,197,158,0.24);
  background: rgba(0,0,0,0.2);
}
.ai-message.user {
  align-self: flex-end;
  border: 1px solid rgba(110,202,116,0.28);
  background: rgba(79,132,83,0.24);
}
.ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.ai-chips button {
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
}
.ai-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}
.ai-input-row input {
  width: 100%;
  border: 1px solid rgba(220,197,158,0.28);
  border-radius: 999px;
  padding: 0.82rem 0.95rem;
  color: var(--foreground);
  background: rgba(0,0,0,0.25);
}
.ai-input-row button {
  border-radius: 999px;
  padding: 0 1rem;
  font-weight: 800;
}
.ai-disclaimer {
  margin: 0;
  color: rgba(245,239,226,0.68) !important;
  font-size: 0.72rem !important;
}

@keyframes logo-orbit {
  0%, 100% { transform: scale(1) rotateY(0deg); filter: brightness(0.95); }
  45% { transform: scale(1.04) rotateY(-10deg); filter: brightness(1.16); }
  70% { transform: scale(0.98) rotateY(8deg); }
}
@keyframes target-pulse { 50% { transform: scale(1.06); opacity: 0.82; } }
@keyframes round-pass { 50% { translate: 32px -12px; filter: brightness(1.28); } }
@keyframes flash { 0%, 82%, 100% { opacity: 0; transform: scale(0.35); } 83% { opacity: 1; transform: scale(1); } }
@keyframes smoke-drift { to { transform: translateX(8%) translateY(-12%); } }
@property --spin-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes border-spin { to { --spin-angle: 360deg; } }
@keyframes bullet-border-run { to { background-position: 54px 0; } }
@keyframes cartridge-run { to { background-position: 82px 0, -82px 100%; } }
@keyframes business-course-glow {
  0%, 100% { box-shadow: 0 18px 44px rgba(0,0,0,0.24), 0 0 0 rgba(220,197,158,0); }
  50% { box-shadow: 0 22px 54px rgba(0,0,0,0.3), 0 0 28px rgba(220,197,158,0.22); }
}
@keyframes target-card-drift {
  0% { transform: scale(1); filter: brightness(0.92); }
  100% { transform: scale(1.04); filter: brightness(1.14); }
}
@keyframes rail-scan { 0% { background-position: -40vw 0; } 100% { background-position: 40vw 0; } }
@keyframes target-practice-sweep {
  0% { transform: translateX(-1.5%) scale(1); filter: brightness(0.92); }
  50% { transform: translateX(1.2%) scale(1.025); filter: brightness(1.15); }
  100% { transform: translateX(0.3%) scale(1.01); filter: brightness(1); }
}
@keyframes intro-logo-camera {
  0% { transform: scale(0.72) rotateY(-18deg); opacity: 0; }
  18%, 78% { transform: scale(1) rotateY(0deg); opacity: 1; }
  100% { transform: scale(1.18) rotateY(14deg); opacity: 0; }
}
@keyframes reveal-copy {
  0%, 36% { transform: translateY(24px); opacity: 0; }
  52%, 88% { transform: translateY(0); opacity: 1; }
  100% { opacity: 0; }
}
@keyframes intro-exit {
  0%, 92% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes badge-spin-pause {
  0% { transform: rotate(0deg) scale(1); }
  34% { transform: rotate(360deg) scale(1.04); }
  46%, 100% { transform: rotate(360deg) scale(1); }
}
@keyframes guide-float-smooth {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes bubble-breathe {
  0%, 100% { transform: translateY(0); opacity: 0.94; }
  50% { transform: translateY(-3px); opacity: 1; }
}
@keyframes coin-left-right-flip {
  0%, 20% { transform: rotateY(0deg); }
  45%, 62% { transform: rotateY(180deg); }
  88%, 100% { transform: rotateY(360deg); }
}

@media (max-width: 980px) {
  .hero, .section, .booking { grid-template-columns: 1fr; }
  .accreditation-section {
    grid-template-columns: 1fr;
    padding: clamp(2.6rem, 8vw, 4rem) clamp(1rem, 5vw, 2rem);
  }
  .accreditation-showcase {
    max-width: 760px;
  }
  .hero {
    min-height: auto;
    padding: clamp(0.9rem, 4vw, 1.4rem);
  }
  .hero-image-panel {
    min-height: min(680px, calc(100svh - 112px));
    padding: clamp(1.4rem, 5vw, 2.5rem);
  }
  .hero-image-panel .logo-stage {
    right: 50%;
    width: min(86vw, 560px);
    opacity: 0.18;
    transform: translate(50%, -50%);
  }
  .service-card { flex-basis: min(78vw, 360px); }
  .category-grid, .security-grid, .site-footer { grid-template-columns: 1fr; }
  .footer-accreditations { max-width: 100%; }
  .accreditation-logo-card { grid-template-columns: 180px minmax(0, 1fr); }
  .accreditation-logo-card img { width: 180px; max-height: 140px; }
  .accreditation-band, .enroll-banner { align-items: flex-start; flex-direction: column; }
  .accreditation-badge {
    align-self: center;
    width: min(240px, 72vw);
    flex-basis: auto;
  }
  .k9-section-art {
    right: -12rem;
    bottom: -2rem;
    width: min(680px, 115vw);
    opacity: 0.24;
  }
  .gallery-art-one {
    right: -10rem;
    width: min(520px, 76vw);
    opacity: 0.14;
  }
  .gallery-art-two {
    left: -13rem;
    width: min(560px, 82vw);
    opacity: 0.1;
  }
  .security-target-art,
  .booking-target-art {
    width: min(520px, 78vw);
    opacity: 0.09;
  }
  .footer-art-one,
  .footer-art-two {
    width: min(420px, 78vw);
    opacity: 0.08;
  }
}
@media (max-width: 640px) {
  .topbar { align-items: flex-start; flex-direction: column; padding: 0.75rem 0.85rem; gap: 0.7rem; }
  .brand-button { max-width: 100%; gap: 0.55rem; font-size: 0.7rem; letter-spacing: 0.08em; }
  .brand-button img { width: 34px; height: 34px; flex: 0 0 34px; }
  .nav-links {
    width: 100%;
    max-width: 100%;
    gap: 0.55rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex: 0 0 auto; font-size: 0.72rem; white-space: nowrap; }
  .hero { padding: 0.55rem; }
  .accreditation-section {
    padding: 2.4rem 0.9rem;
    gap: 1.4rem;
  }
  .accreditation-intro h2 {
    font-size: clamp(1.75rem, 10vw, 2.6rem);
  }
  .hero::after { opacity: 0.4; }
  .hero-image-panel {
    min-height: calc(100svh - 138px);
    padding: 1rem;
    align-items: center;
    border-radius: 20px;
  }
  .hero-image-panel .logo-stage { width: 82vw; max-width: none; right: 50%; opacity: 0.16; transform: translate(50%, -50%); }
  .hero-content { max-width: 100%; padding-bottom: 4.8rem; }
  .hero-title {
    display: grid;
    gap: 0.05em;
    font-size: clamp(1.45rem, 8vw, 2.42rem);
    line-height: 1.04;
    overflow-wrap: normal;
    word-break: keep-all;
    letter-spacing: 0.025em;
  }
  .hero-title span { white-space: nowrap; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.1em; margin-bottom: 0.55rem; }
  .hero p:not(.eyebrow), .section > p, .booking p { font-size: 0.86rem; line-height: 1.42; }
  .hero-actions { gap: 0.6rem; }
  .hero-actions .primary, .hero-actions .secondary { width: 100%; justify-content: center; padding: 0.72rem 0.8rem; font-size: 0.78rem; }
  .hero-badges { gap: 0.45rem; }
  .hero-badges span, .badge-button { font-size: 0.64rem; padding: 0.46rem 0.55rem; }
  .service-grid {
    width: calc(100vw - 1.7rem);
    max-width: calc(100vw - 1.7rem);
    margin-inline: 0;
    overscroll-behavior-x: contain;
  }
  .service-card { flex: 0 0 min(78vw, 310px); }
  .section, .services, .booking, .category-section { padding: 3rem 0.85rem; gap: 1.35rem; }
  .accreditation-logo-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .accreditation-logo-card img {
    width: min(280px, 86vw);
    max-height: 190px;
  }
  .category-grid { gap: 0.85rem; }
  .category-card { padding: 1rem; }
  .category-card span { font-size: clamp(1.05rem, 6vw, 1.55rem); line-height: 1.12; }
  .cart-line { align-items: flex-start; flex-direction: column; }
  .banking-card { grid-template-columns: 1fr; }
  .gallery-option-grid { grid-template-columns: 1fr; }
  .gallery-panel {
    width: calc(100vw - 1.2rem);
    max-height: calc(100svh - 1rem);
    padding: 1rem;
  }
  .gallery-panel h2 {
    font-size: clamp(1.45rem, 8vw, 2.1rem);
    line-height: 1.05;
  }
  .gallery-option {
    padding: 0.72rem;
    font-size: 0.78rem;
  }
  .gallery-coming-soon {
    min-height: 0;
    padding: 1rem;
    gap: 0.55rem;
  }
  .coin-flip,
  .gallery-coming-soon .coming-soon-logo {
    width: min(190px, 54vw);
  }
  .gallery-coming-soon strong {
    font-size: clamp(1.25rem, 7vw, 1.75rem);
  }
  .gallery-coming-soon span {
    font-size: 0.82rem;
    line-height: 1.35;
  }
  .payment-panel .secondary,
  .detail-panel .secondary { margin-left: 0; margin-top: 0.65rem; }
  .category-card, .service-card, .booking-panel, .detail-panel, .ai-panel { border-radius: 24px; }
  .quote-actions { display: grid; grid-template-columns: 1fr; }
  .course-only-actions { display: grid; grid-template-columns: 1fr; }
  .quote-brand { grid-template-columns: 64px minmax(0, 1fr); gap: 0.75rem; padding-right: 2.6rem; }
  .quote-brand img { width: 64px; height: 64px; }
  .quote-brand h2 { font-size: 1.35rem; }
  .quote-panel { width: 94vw; padding: 1.1rem; }
  .quote-form { grid-template-columns: 1fr; max-height: 58vh; overflow: auto; padding: 0.8rem; }
  .clip-icon { width: 72px; height: 72px; }
  .accreditation-band { text-align: center; align-items: center; }
  .accreditation-badge { width: min(210px, 74vw); }
  .intro-copy p { max-width: 300px; font-size: 0.72rem; }
  .ai-guide-button {
    right: max(0.65rem, env(safe-area-inset-right));
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    width: 68px;
    min-height: 68px;
    z-index: 150;
  }
  .ai-guide-button video {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-position: center center;
    clip-path: circle(50% at 50% 50%);
    transform: none;
  }
  .ai-speech-bubble {
    right: 54px;
    bottom: 50px;
    width: min(152px, calc(100vw - 112px));
    max-width: calc(100vw - 112px);
    padding: 0.42rem 0.5rem;
    font-size: 0.62rem;
    line-height: 1.18;
  }
  .ai-panel {
    left: 0.65rem;
    right: 0.65rem;
    bottom: calc(4.9rem + env(safe-area-inset-bottom));
    width: auto;
    max-height: min(620px, calc(100svh - 6.2rem));
    padding: 0.85rem;
    grid-template-rows: auto minmax(120px, 1fr) auto auto auto;
  }
  .ai-panel-head {
    grid-template-columns: 58px 1fr auto;
  }
  .ai-panel-head video {
    width: 58px;
    height: 58px;
  }
  .k9-section-art {
    right: -7rem;
    bottom: 0;
    width: 108vw;
    opacity: 0.18;
  }
  .gallery-art,
  .section-target-art,
  .footer-art {
    opacity: 0.08;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,0.28)) saturate(1.04) brightness(1.08);
  }
  .gallery-art-one {
    right: -7rem;
    top: 1rem;
    width: 78vw;
  }
  .gallery-art-two {
    display: none;
  }
  .security-target-art {
    right: -6rem;
    bottom: -2rem;
    width: 76vw;
  }
  .booking-target-art {
    left: -6rem;
    bottom: -1rem;
    width: 74vw;
  }
  .footer-art-one {
    right: -6rem;
    top: -3rem;
    width: 72vw;
  }
  .footer-art-two {
    left: -7rem;
    bottom: -5rem;
    width: 76vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .intro { display: none; }
  .accreditation-badge { animation: none; }
  .ai-guide-button, .ai-speech-bubble { animation: none; }
  .coin-flip-inner { animation: none; }
}


.why-dark-star,
.advisor-panel,
.knowledge-panel,
.start-panel,
.risk-panel {
  position: relative;
}
.why-dark-star {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 6rem);
  background: linear-gradient(135deg, rgba(245,221,176,0.1), rgba(53,67,51,0.72)), rgba(33,38,35,0.92);
  border-top: 1px solid rgba(245,221,176,0.16);
  border-bottom: 1px solid rgba(245,221,176,0.12);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}
.why-grid span,
.ownership-steps article,
.course-detail-grid article,
.risk-grid button,
.knowledge-tabs button,
.advisor-form fieldset {
  border: 1px solid rgba(245,221,176,0.2);
  border-radius: 22px;
  background: rgba(255,255,255,0.065);
  box-shadow: inset 0 0 18px rgba(220,197,158,0.07);
}
.why-grid span {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 1rem;
  color: var(--foreground);
  font-weight: 800;
}
.community-line {
  max-width: 900px;
  margin: 1.6rem 0 0;
  color: var(--metal);
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 900;
}
.start-here-button {
  font-size: 1rem;
  padding-inline: 1.6rem;
  box-shadow: 0 0 28px rgba(245,221,176,0.24);
}
.advisor-form,
.ownership-steps,
.course-detail-grid {
  display: grid;
  gap: 1rem;
}
.advisor-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  padding: 1rem;
}
.advisor-form legend,
.course-detail-grid h3,
.knowledge-answer h3,
.ownership-steps strong {
  width: 100%;
  color: var(--metal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 900;
}
.advisor-form label {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--foreground);
}
.recommended-path {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(126,203,130,0.14), rgba(245,221,176,0.1));
  border: 1px solid rgba(126,203,130,0.35);
}
.recommended-path h3 {
  margin: 0 0 0.6rem;
  color: var(--foreground);
  font-size: clamp(1.45rem, 4vw, 2.2rem);
}
.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 1rem;
}
.knowledge-tabs {
  display: grid;
  gap: 0.55rem;
  max-height: 58vh;
  overflow: auto;
}
.knowledge-tabs button,
.risk-grid button {
  color: var(--foreground);
  text-align: center;
  padding: 1.1rem;
  cursor: pointer;
}
.knowledge-tabs button.active,
.risk-grid button.active {
  border-color: rgba(126,203,130,0.65);
  background: rgba(126,203,130,0.16);
}
.knowledge-answer {
  padding: 1rem;
  border-radius: 24px;
  background: rgba(0,0,0,0.18);
}
.knowledge-answer p,
.course-detail-grid p,
.ownership-steps span {
  color: var(--muted);
  line-height: 1.55;
}
.knowledge-answer small {
  display: block;
  margin-top: 1rem;
  color: rgba(245,239,226,0.66);
}
.course-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0;
}
.course-detail-grid article {
  padding: 1rem;
}
.course-detail-grid h3 {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
}
.course-detail-grid p {
  margin: 0;
  font-size: 0.92rem;
}
.ownership-steps article {
  padding: 1rem;
}
.ownership-steps article + article::before {
  content: none;
  display: none;
  width: max-content;
  margin: -1.45rem auto 0.65rem;
  color: var(--metal);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.risk-button { width: max-content; margin-bottom: 1.1rem; }
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.risk-grid button {
  aspect-ratio: 1;
  min-width: 150px;
  min-height: 150px;
  display: grid;
  place-items: center;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.16;
  font-weight: 900;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 32% 24%, rgba(245,221,176,0.24), transparent 34%),
    linear-gradient(145deg, rgba(72,82,66,0.96), rgba(30,35,29,0.98));
  box-shadow:
    0 18px 34px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.11),
    inset 0 -16px 28px rgba(0,0,0,0.24);
}
.risk-grid button.active {
  color: #fff7e6;
  border-color: rgba(126,203,130,0.82);
  background:
    radial-gradient(circle at 30% 24%, rgba(245,221,176,0.28), transparent 34%),
    linear-gradient(145deg, rgba(85,129,78,0.98), rgba(34,47,34,0.98));
  box-shadow:
    0 22px 42px rgba(0,0,0,0.44),
    0 0 26px rgba(126,203,130,0.28),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.ai-guide-button {
  width: clamp(116px, 12vw, 160px);
}
.ai-speech-bubble {
  font-weight: 900;
}
@media (max-width: 980px) {
  .why-grid,
  .course-detail-grid,
  .knowledge-layout,
  .risk-grid { grid-template-columns: 1fr; }
  .knowledge-tabs { max-height: 260px; }
}
@media (max-width: 640px) {
  .why-dark-star { padding: 2.5rem 0.9rem; }
  .why-grid span { min-height: auto; }
  .advisor-form fieldset { display: grid; }
  .detail-panel { max-height: 88svh; overflow: auto; }
}

button,
a.primary,
a.secondary,
.nav-links a,
.badge-button,
.brand-button,
.category-card,
.service-card,
.gallery-option,
.answer-btn,
.risk-grid button,
.knowledge-tabs button,
.cart-line button,
.ai-chips button,
.ai-input-row button,
.detail-close {
  border-radius: 999px !important;
}

.site-footer {
  grid-template-columns: minmax(280px, 1.35fr) repeat(4, minmax(170px, 1fr));
  gap: clamp(2rem, 4vw, 3.8rem);
  padding: clamp(3rem, 6vw, 5.4rem) clamp(1.2rem, 6vw, 7rem);
}
.footer-brand p {
  max-width: 420px;
  line-height: 1.78;
  margin: 0.65rem 0;
}
.footer-column {
  gap: 0.85rem;
  align-content: start;
}
.footer-column a,
.site-footer a {
  line-height: 1.45;
}
.footer-accreditations {
  gap: 1.35rem;
  align-content: start;
}
.footer-accreditations p {
  line-height: 1.62;
}

.detail-panel {
  max-height: min(86svh, 860px);
  padding-top: clamp(3.6rem, 7vw, 4.5rem);
  scrollbar-gutter: stable both-edges;
}
.quote-panel,
.advisor-panel,
.knowledge-panel,
.start-panel,
.risk-panel {
  width: min(920px, 94vw);
}
.detail-close {
  position: sticky !important;
  z-index: 20;
  float: right;
  top: 0.35rem;
  margin: calc(clamp(-3.6rem, -7vw, -4.5rem) + 0.35rem) 0 0.9rem auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 !important;
  background: rgba(10,12,10,0.9);
  letter-spacing: 0;
  font-size: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.42), 0 0 0 1px rgba(245,221,176,0.14);
}

.security-grid {
  align-items: center;
  justify-items: center;
  gap: clamp(1.4rem, 3vw, 2.2rem);
}
.security-card {
  width: min(100%, 330px);
  min-height: 0;
  aspect-ratio: 1;
  border-radius: 50% !important;
  display: grid;
  place-items: center;
  align-content: center;
  justify-content: center;
  gap: 0.65rem;
  padding: clamp(2rem, 3vw, 2.45rem) !important;
  text-align: center;
  overflow: hidden;
  white-space: normal;
  box-shadow:
    0 24px 48px rgba(0,0,0,0.4),
    0 0 22px rgba(245,221,176,0.12),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -18px 30px rgba(0,0,0,0.24);
}
.security-card span,
.security-card small {
  position: relative;
  z-index: 1;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.security-card span {
  font-size: clamp(1.05rem, 1.8vw, 1.42rem);
  line-height: 1.08;
}
.security-card small {
  display: block;
  font-size: clamp(0.68rem, 0.95vw, 0.82rem);
  line-height: 1.28;
}
.security-card[data-extra="security-armed"] {
  width: min(100%, 360px);
  padding: clamp(2.15rem, 3vw, 2.75rem) !important;
}
.security-card[data-extra="security-armed"] small {
  font-size: clamp(0.62rem, 0.82vw, 0.76rem);
  line-height: 1.22;
}
.detail-close::before {
  content: "X";
  font-size: 1rem;
  font-weight: 900;
}
.advisor-panel .advisor-form,
.knowledge-panel .knowledge-layout,
.start-panel .ownership-steps,
.risk-panel .risk-grid {
  margin-top: 1rem;
}
.start-panel .ownership-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.start-panel .primary.whatsapp-action {
  margin-top: 1rem;
}
.start-here-button {
  animation: start-here-glow 2.4s ease-in-out infinite;
  border: 1px solid rgba(245,221,176,0.78);
}
@keyframes start-here-glow {
  0%, 100% {
    box-shadow: 0 0 16px rgba(245,221,176,0.18), 0 0 0 rgba(126,203,130,0);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 38px rgba(245,221,176,0.52), 0 0 24px rgba(126,203,130,0.28);
    filter: brightness(1.18);
  }
}

@media (max-width: 980px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.4rem;
  }
  .footer-brand,
  .footer-accreditations {
    grid-column: 1 / -1;
  }
  .start-panel .ownership-steps {
    grid-template-columns: 1fr;
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  .security-card,
  .security-card[data-extra="security-armed"] {
    width: min(360px, 86vw);
  }
}
@media (max-width: 640px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.55rem;
  }
  .detail-window {
    padding: 0.75rem;
    align-items: start;
  }
  .detail-panel,
  .quote-panel,
  .advisor-panel,
  .knowledge-panel,
  .start-panel,
  .risk-panel {
    width: 100%;
    max-height: calc(100svh - 1.5rem);
    padding: 3.8rem 0.95rem 1rem;
  }
  .detail-close {
    top: 0.2rem;
    width: 42px;
    height: 42px;
    margin-top: -3.35rem;
  }
  .security-card,
  .security-card[data-extra="security-armed"] {
    width: min(340px, 92vw);
    padding: 2rem !important;
  }
  .security-card span {
    font-size: clamp(1rem, 5.2vw, 1.28rem);
  }
  .security-card small,
  .security-card[data-extra="security-armed"] small {
    font-size: clamp(0.6rem, 3.05vw, 0.72rem);
    line-height: 1.18;
  }
}

body.notice-active .ai-guide-button {
  bottom: calc(clamp(1rem, 3vw, 2rem) + 6.5rem) !important;
}
body.notice-active .ai-panel {
  bottom: 13rem !important;
}

.risk-grid button {
  font-size: clamp(0.95rem, 1.25vw, 1.12rem) !important;
  letter-spacing: 0.035em;
  line-height: 1.18;
}

.security-card,
.security-card[data-extra="security-armed"] {
  width: min(100%, 430px);
  min-height: 260px;
  aspect-ratio: 1.55 / 1;
  border-radius: 999px !important;
  padding: clamp(2rem, 3vw, 2.6rem) clamp(2.4rem, 4vw, 3.25rem) !important;
  box-shadow:
    0 26px 58px rgba(0,0,0,0.46),
    0 0 32px rgba(220,197,158,0.16),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -18px 34px rgba(0,0,0,0.22);
}
.security-card span {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.08;
}
.security-card small,
.security-card[data-extra="security-armed"] small {
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  line-height: 1.34;
}
.risk-grid button {
  aspect-ratio: 1.72 / 1;
  min-width: 0;
  min-height: 118px;
  border-radius: 999px !important;
  padding: 1rem 1.3rem;
  box-shadow:
    0 20px 42px rgba(0,0,0,0.4),
    0 0 24px rgba(220,197,158,0.13),
    inset 0 1px 0 rgba(255,255,255,0.13);
}
.risk-panel {
  width: min(760px, 94vw);
}
.risk-panel .risk-grid {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 0.72rem;
}
.risk-panel .risk-grid button {
  aspect-ratio: auto;
  min-height: 72px;
  padding: 0.8rem 1rem;
  font-size: clamp(0.86rem, 1vw, 0.98rem) !important;
  line-height: 1.12;
  box-shadow:
    0 14px 28px rgba(0,0,0,0.34),
    0 0 16px rgba(220,197,158,0.1),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.services .service-card {
  overflow: hidden;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    filter 260ms ease;
  animation: course-card-breathe 7s ease-in-out infinite;
  box-shadow:
    0 20px 46px rgba(0,0,0,0.34),
    0 0 18px rgba(220,197,158,0.1),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.services .service-card:nth-child(2n) {
  animation-delay: -1.4s;
}
.services .service-card:nth-child(3n) {
  animation-delay: -2.6s;
}
.services .service-card:hover,
.services .service-card:focus-visible,
.services .service-card.active {
  transform: translateY(-6px);
  border-color: rgba(245,221,176,0.58);
  filter: brightness(1.06);
  box-shadow:
    0 28px 62px rgba(0,0,0,0.44),
    0 0 28px rgba(220,197,158,0.22),
    0 0 18px rgba(126,203,130,0.18),
    inset 0 1px 0 rgba(255,255,255,0.14);
}
.services .service-card .service-video-bg {
  transition: opacity 420ms ease, transform 7s ease;
}
.services .service-card:hover .service-video-bg,
.services .service-card:focus-visible .service-video-bg,
.services .service-card.active .service-video-bg {
  opacity: 1;
  transform: scale(1.06);
}
.course-detail-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245,221,176,0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(245,221,176,0.13), transparent 9rem),
    linear-gradient(145deg, rgba(255,255,255,0.09), rgba(27,32,25,0.34));
  box-shadow:
    0 16px 34px rgba(0,0,0,0.35),
    0 0 0 1px rgba(220,197,158,0.08),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.course-detail-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 24px rgba(220,197,158,0.11);
}
.course-detail-grid h3 {
  color: #f5ddb0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.course-detail-grid p {
  color: rgba(245,239,226,0.82);
}

.advisor-panel,
.knowledge-panel,
.game-panel {
  border-color: rgba(245,221,176,0.34);
  background:
    radial-gradient(circle at 12% 0%, rgba(245,221,176,0.16), transparent 16rem),
    radial-gradient(circle at 90% 18%, rgba(126,203,130,0.14), transparent 18rem),
    linear-gradient(145deg, rgba(58,65,52,0.98), rgba(29,35,28,0.98));
  box-shadow:
    0 34px 90px rgba(0,0,0,0.58),
    0 0 0 1px rgba(220,197,158,0.1),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.advisor-panel::before,
.knowledge-panel::before,
.game-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(245,221,176,0.12), transparent 28%, rgba(126,203,130,0.08));
  opacity: 0.82;
}
.advisor-panel > *,
.knowledge-panel > *,
.game-panel > * {
  position: relative;
  z-index: 1;
}
.advisor-form fieldset,
.recommended-path,
.knowledge-answer,
.knowledge-tabs button,
.answer-btn,
.feedback-panel,
.score-meter {
  border: 1px solid rgba(245,221,176,0.28);
  background:
    radial-gradient(circle at 16% 0%, rgba(245,221,176,0.12), transparent 9rem),
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(20,24,20,0.3));
  box-shadow:
    0 16px 34px rgba(0,0,0,0.34),
    0 0 0 1px rgba(220,197,158,0.07),
    inset 0 1px 0 rgba(255,255,255,0.11);
}
.advisor-form fieldset {
  align-items: center;
}
.advisor-form label,
.knowledge-tabs button,
.answer-btn,
.badge-button {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.advisor-form label {
  border: 1px solid rgba(245,221,176,0.2);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: rgba(0,0,0,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.recommended-path {
  border-color: rgba(126,203,130,0.36);
}
.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.12fr);
  gap: 1rem;
}
.knowledge-tabs button {
  text-align: left;
  line-height: 1.25;
}
.knowledge-tabs button.active {
  box-shadow:
    0 18px 40px rgba(0,0,0,0.38),
    0 0 24px rgba(126,203,130,0.2),
    inset 0 1px 0 rgba(255,255,255,0.14);
}
.knowledge-answer {
  min-height: 260px;
}
.game-target {
  box-shadow:
    0 22px 48px rgba(0,0,0,0.42),
    0 0 28px rgba(220,197,158,0.16),
    inset 0 0 26px rgba(0,0,0,0.28);
}
.answer-btn {
  line-height: 1.28;
}
@keyframes course-card-breathe {
  0%, 100% {
    box-shadow:
      0 20px 46px rgba(0,0,0,0.34),
      0 0 14px rgba(220,197,158,0.08),
      inset 0 1px 0 rgba(255,255,255,0.08);
  }
  50% {
    box-shadow:
      0 24px 54px rgba(0,0,0,0.4),
      0 0 24px rgba(220,197,158,0.16),
      inset 0 1px 0 rgba(255,255,255,0.12);
  }
}

@media (max-width: 640px) {
  body.notice-active .toast {
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    max-width: none;
  }
  body.notice-active .ai-guide-button {
    bottom: calc(max(0.75rem, env(safe-area-inset-bottom)) + 7.8rem) !important;
  }
  body.notice-active .ai-panel {
    bottom: calc(12rem + env(safe-area-inset-bottom)) !important;
  }
  .risk-grid button {
    font-size: clamp(0.9rem, 4.2vw, 1.05rem) !important;
    line-height: 1.16;
  }
  .security-card,
  .security-card[data-extra="security-armed"] {
    width: min(430px, 94vw);
    min-height: 230px;
    aspect-ratio: 1.45 / 1;
    padding: 1.75rem 2rem !important;
  }
  .security-card span {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }
  .security-card small,
  .security-card[data-extra="security-armed"] small {
    font-size: clamp(0.76rem, 3.45vw, 0.9rem);
    line-height: 1.28;
  }
  .risk-grid button {
    aspect-ratio: auto;
    min-height: 86px;
    padding: 0.9rem 1.15rem;
  }
  .risk-panel .risk-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .risk-panel .risk-grid button {
    min-height: 58px;
    padding: 0.68rem 0.95rem;
    font-size: clamp(0.82rem, 3.7vw, 0.98rem) !important;
  }
  .services .service-card:hover,
  .services .service-card:focus-visible,
  .services .service-card.active {
    transform: translateY(-3px);
  }
  .course-detail-grid article {
    padding: 0.95rem;
  }
  .advisor-panel,
  .knowledge-panel,
  .game-panel {
    width: 100%;
  }
  .knowledge-layout {
    grid-template-columns: 1fr;
  }
  .knowledge-tabs {
    max-height: 220px;
  }
  .knowledge-tabs button,
  .answer-btn,
  .advisor-form label,
  .badge-button {
    line-height: 1.2;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
  .advisor-form fieldset {
    gap: 0.5rem;
    padding: 0.85rem;
  }
  .advisor-form label {
    width: 100%;
    justify-content: flex-start;
  }
  .game-target {
    width: min(190px, 62vw);
  }
  .scenario {
    font-size: clamp(1rem, 4.4vw, 1.12rem) !important;
    line-height: 1.36;
  }
}

.service-grid {
  perspective: 1200px;
  scroll-behavior: smooth;
}
.category-grid,
.security-grid,
.gallery-option-grid,
.answer-grid,
.course-detail-grid,
.why-grid {
  perspective: 1100px;
}
.service-card,
.category-card,
.gallery-option,
.course-detail-grid article,
.knowledge-tabs button,
.answer-btn,
.why-grid span,
.booking-panel,
.detail-panel {
  position: relative;
  transform-style: preserve-3d;
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease,
    filter 260ms ease,
    background 260ms ease;
}
.service-card::after,
.category-card::after,
.gallery-option::after,
.course-detail-grid article::after,
.knowledge-tabs button::after,
.answer-btn::after,
.why-grid span::after,
.booking-panel::after,
.detail-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(circle at var(--spark-x, 50%) var(--spark-y, 50%), rgba(126,255,136,0.38), transparent 8rem),
    linear-gradient(90deg, transparent, rgba(126,255,136,0.18), transparent);
  box-shadow:
    inset 0 0 0 1px rgba(126,255,136,0.58),
    0 0 28px rgba(126,255,136,0.3),
    0 0 52px rgba(126,255,136,0.14);
  transition: opacity 220ms ease;
}
.service-card:hover,
.service-card:focus-visible,
.service-card.tilt-active,
.category-card:hover,
.category-card:focus-visible,
.category-card.tilt-active,
.gallery-option:hover,
.gallery-option:focus-visible,
.gallery-option.tilt-active,
.course-detail-grid article:hover,
.course-detail-grid article.tilt-active,
.knowledge-tabs button:hover,
.knowledge-tabs button:focus-visible,
.knowledge-tabs button.tilt-active,
.answer-btn:hover,
.answer-btn:focus-visible,
.answer-btn.tilt-active,
.why-grid span:hover,
.booking-panel:hover,
.detail-panel:hover {
  border-color: rgba(126,255,136,0.78) !important;
  filter: brightness(1.08) saturate(1.08);
  transform: translateY(-7px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(16px);
  box-shadow:
    0 30px 72px rgba(0,0,0,0.46),
    0 0 0 1px rgba(126,255,136,0.42),
    0 0 32px rgba(126,255,136,0.28),
    0 0 72px rgba(126,255,136,0.12),
    inset 0 1px 0 rgba(255,255,255,0.16) !important;
}
.service-card:hover::after,
.service-card:focus-visible::after,
.service-card.tilt-active::after,
.category-card:hover::after,
.category-card:focus-visible::after,
.category-card.tilt-active::after,
.gallery-option:hover::after,
.gallery-option:focus-visible::after,
.gallery-option.tilt-active::after,
.course-detail-grid article:hover::after,
.course-detail-grid article.tilt-active::after,
.knowledge-tabs button:hover::after,
.knowledge-tabs button:focus-visible::after,
.knowledge-tabs button.tilt-active::after,
.answer-btn:hover::after,
.answer-btn:focus-visible::after,
.answer-btn.tilt-active::after,
.why-grid span:hover::after,
.booking-panel:hover::after,
.detail-panel:hover::after {
  opacity: 1;
  animation: neon-electric-sweep 1.2s linear infinite;
}
.primary,
.secondary,
.badge-button,
.brand-button,
.cart-line button,
.ai-chips button,
.ai-input-row button,
.detail-close {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    filter 180ms ease;
}
.primary::after,
.secondary::after,
.badge-button::after,
.brand-button::after,
.cart-line button::after,
.ai-chips button::after,
.ai-input-row button::after,
.detail-close::after {
  content: "";
  position: absolute;
  inset: -40% -25%;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(126,255,136,0.32), transparent 56%);
  transform: translateX(-38%);
  transition: opacity 180ms ease, transform 420ms ease;
}
.primary:hover,
.primary:focus-visible,
.secondary:hover,
.secondary:focus-visible,
.badge-button:hover,
.badge-button:focus-visible,
.brand-button:hover,
.brand-button:focus-visible,
.cart-line button:hover,
.cart-line button:focus-visible,
.ai-chips button:hover,
.ai-chips button:focus-visible,
.ai-input-row button:hover,
.ai-input-row button:focus-visible,
.detail-close:hover,
.detail-close:focus-visible {
  border-color: rgba(126,255,136,0.72) !important;
  filter: brightness(1.12);
  transform: translateY(-3px) scale(1.025);
  box-shadow:
    0 16px 34px rgba(0,0,0,0.34),
    0 0 20px rgba(126,255,136,0.28),
    0 0 42px rgba(126,255,136,0.12);
}
.primary:hover::after,
.primary:focus-visible::after,
.secondary:hover::after,
.secondary:focus-visible::after,
.badge-button:hover::after,
.badge-button:focus-visible::after,
.brand-button:hover::after,
.brand-button:focus-visible::after,
.cart-line button:hover::after,
.cart-line button:focus-visible::after,
.ai-chips button:hover::after,
.ai-chips button:focus-visible::after,
.ai-input-row button:hover::after,
.ai-input-row button:focus-visible::after,
.detail-close:hover::after,
.detail-close:focus-visible::after {
  opacity: 1;
  transform: translateX(38%);
}
.service-grid::before,
.service-grid::after {
  content: "";
  position: sticky;
  top: 0;
  z-index: 4;
  flex: 0 0 1px;
  width: 1px;
  pointer-events: none;
}
.service-grid::before {
  left: 0;
  box-shadow: 28px 0 42px 28px rgba(30,37,29,0.82);
}
.service-grid::after {
  right: 0;
  box-shadow: -28px 0 42px 28px rgba(30,37,29,0.82);
}
@keyframes neon-electric-sweep {
  0%, 100% { filter: hue-rotate(0deg) brightness(1); }
  40% { filter: hue-rotate(10deg) brightness(1.18); }
  55% { filter: hue-rotate(-8deg) brightness(0.94); }
}
@media (hover: none) {
  .service-card:active,
  .category-card:active,
  .gallery-option:active,
  .answer-btn:active,
  .primary:active,
  .secondary:active,
  .badge-button:active {
    transform: scale(0.985);
    border-color: rgba(126,255,136,0.7) !important;
    box-shadow: 0 0 24px rgba(126,255,136,0.22) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .category-card,
  .gallery-option,
  .course-detail-grid article,
  .knowledge-tabs button,
  .answer-btn,
  .why-grid span,
  .booking-panel,
  .detail-panel {
    transform: none !important;
  }
}

/* Dark Star polish overrides for CRM/POPIA forms and top security icons. */
.service-clips {
  align-items: center;
}
.clip-icon {
  width: 104px;
  height: 104px;
  border-radius: 26px;
  border-color: rgba(245,221,176,0.42);
  background:
    radial-gradient(circle at 50% 26%, rgba(245,221,176,0.2), transparent 34%),
    linear-gradient(145deg, rgba(111,124,102,0.72), rgba(54,63,55,0.92)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    inset 0 -34px 0 rgba(0,0,0,0.22),
    0 18px 42px rgba(0,0,0,0.34);
}
.clip-icon::after,
.camera-icon::after,
.patrol-icon::after,
.shield-icon::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0;
  padding: 0.42rem 0.25rem;
  color: rgba(255,241,213,0.92);
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.28));
}
.modern-icon::before {
  content: "";
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(126,203,130,0.22));
}
.shield-icon::before {
  width: 48px;
  height: 58px;
  border: 0;
  clip-path: polygon(50% 0, 88% 14%, 78% 72%, 50% 100%, 22% 72%, 12% 14%);
  background: linear-gradient(145deg, rgba(255,235,188,0.98), rgba(126,203,130,0.78) 64%, rgba(54,98,63,0.95));
}
.camera-icon::before {
  width: 56px;
  height: 38px;
  border: 4px solid rgba(255,226,179,0.94);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(126,203,130,0.95) 0 9px, transparent 10px),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(0,0,0,0.16));
  box-shadow:
    22px -13px 0 -16px rgba(126,203,130,0.98),
    0 0 18px rgba(245,221,176,0.16);
}
.patrol-icon::before {
  width: 58px;
  height: 58px;
  border: 4px solid rgba(255,226,179,0.94);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(126,203,130,0.86) 0 9px, transparent 10px),
    linear-gradient(90deg, transparent 43%, rgba(126,203,130,0.8) 44% 56%, transparent 57%),
    linear-gradient(0deg, transparent 43%, rgba(126,203,130,0.8) 44% 56%, transparent 57%),
    radial-gradient(circle, transparent 0 26px, rgba(255,226,179,0.9) 27px 29px, transparent 30px);
  box-shadow: inset 0 0 0 10px rgba(126,203,130,0.18), 0 0 18px rgba(245,221,176,0.18);
}
.consent-line {
  display: flex !important;
  align-items: flex-start;
  gap: 0.72rem;
  grid-column: 1 / -1;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(245,221,176,0.22);
  background: rgba(255,255,255,0.06);
  color: rgba(255,244,227,0.86);
  font-weight: 700;
  line-height: 1.45;
}
.consent-line input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  accent-color: var(--green);
}
.consent-line a {
  color: var(--metal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.email-action {
  border-radius: 999px;
}
.booking-panel .email-action {
  width: 100%;
}
.legal-notice-panel {
  grid-column: 1 / -1;
  border-radius: 24px;
  border: 1px solid rgba(245,221,176,0.22);
  background: rgba(255,255,255,0.055);
  padding: 1rem;
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}
.legal-notice-panel h3 {
  margin: 0 0 0.45rem;
  color: var(--metal);
}
.legal-notice-panel p {
  margin: 0;
  color: rgba(255,244,227,0.78);
}
@media (max-width: 640px) {
  .clip-icon {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }
  .clip-icon::after,
  .camera-icon::after,
  .patrol-icon::after,
  .shield-icon::after {
    font-size: 0.6rem;
  }
}

/* Keep Firearms Training details visible inside the popup without page-style scrolling. */
.course-fit-panel {
  width: min(1180px, calc(100vw - 2rem)) !important;
  max-height: min(92svh, 860px) !important;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: clamp(0.55rem, 1.2vw, 0.9rem);
  padding: clamp(1rem, 2vw, 1.55rem) !important;
  overflow: hidden !important;
}
.course-fit-panel .detail-close {
  top: 0.75rem;
  right: 0.75rem;
}
.course-fit-panel .eyebrow {
  margin: 0;
  padding-right: 5rem;
}
.course-fit-panel h2 {
  max-width: calc(100% - 5rem);
  margin: 0;
  font-size: clamp(1.55rem, 3.1vw, 2.55rem) !important;
  line-height: 0.96;
}
.course-fit-panel > p {
  margin: 0;
  color: rgba(255,244,227,0.78) !important;
  font-size: clamp(0.82rem, 1vw, 0.95rem) !important;
  line-height: 1.38 !important;
}
.course-fit-panel .detail-meta {
  margin: 0;
  padding: 0.68rem 0.85rem;
  border-radius: 18px;
}
.course-fit-panel .detail-meta strong {
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  line-height: 1.32;
}
.course-fit-panel .course-detail-grid {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1vw, 0.75rem);
  margin: 0;
  align-content: start;
}
.course-fit-panel .course-detail-grid article {
  min-height: 0;
  padding: clamp(0.62rem, 1vw, 0.82rem) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 24px rgba(0,0,0,0.24), inset 0 0 0 1px rgba(245,221,176,0.12) !important;
}
.course-fit-panel .course-detail-grid article::before,
.course-fit-panel .course-detail-grid article::after {
  opacity: 0 !important;
}
.course-fit-panel .course-detail-grid h3 {
  margin: 0 0 0.28rem;
  font-size: clamp(0.66rem, 0.8vw, 0.78rem) !important;
  line-height: 1.1;
}
.course-fit-panel .course-detail-grid p {
  margin: 0;
  font-size: clamp(0.72rem, 0.86vw, 0.84rem) !important;
  line-height: 1.3 !important;
  color: rgba(255,244,227,0.76) !important;
}
.course-fit-panel .course-only-actions {
  margin: 0;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(245,221,176,0.14);
}
.course-fit-panel .course-only-actions .primary,
.course-fit-panel .course-only-actions .secondary {
  min-height: 40px;
  padding: 0.62rem 1.1rem;
  border-radius: 999px;
}
@media (max-width: 900px) {
  .course-fit-panel {
    max-height: 94svh !important;
  }
  .course-fit-panel .course-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: auto;
    padding-right: 0.15rem;
  }
}
@media (max-width: 560px) {
  .detail-window {
    padding: 0.45rem;
  }
  .course-fit-panel {
    width: calc(100vw - 0.9rem) !important;
    max-height: calc(100svh - 0.9rem) !important;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    gap: 0.45rem;
    padding: 0.78rem !important;
    border-radius: 22px !important;
  }
  .course-fit-panel h2 {
    max-width: calc(100% - 4.4rem);
    font-size: clamp(1.24rem, 7vw, 1.72rem) !important;
  }
  .course-fit-panel > p {
    font-size: 0.76rem !important;
    line-height: 1.26 !important;
  }
  .course-fit-panel .detail-meta {
    padding: 0.55rem 0.65rem;
  }
  .course-fit-panel .detail-meta span {
    font-size: 0.58rem;
  }
  .course-fit-panel .detail-meta strong {
    font-size: 0.72rem;
  }
  .course-fit-panel .course-detail-grid {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }
  .course-fit-panel .course-detail-grid article {
    padding: 0.52rem 0.62rem !important;
  }
  .course-fit-panel .course-detail-grid h3 {
    font-size: 0.62rem !important;
  }
  .course-fit-panel .course-detail-grid p {
    font-size: 0.69rem !important;
    line-height: 1.24 !important;
  }
  .course-fit-panel .course-only-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
}
