:root {
  --black: #080e0a;
  --deep-green: #0d1a10;
  --green: #14291a;
  --emerald: #2d5c3e;
  --gold: #c9a227;
  --gold-light: #e8c45a;
  --gold-dark: #7a620e;
  --charcoal: #252b26;
  --off-white: #f0ead8;
  --muted: #9cad9e;
  --line: rgba(201, 162, 39, .18);
  --panel: rgba(13, 26, 16, .78);
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  font-family: Raleway, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 48% at 12% 8%, rgba(45, 92, 62, .38), transparent 60%),
    radial-gradient(ellipse 65% 50% at 90% 28%, rgba(184, 115, 51, .16), transparent 56%),
    linear-gradient(128deg, rgba(201, 162, 39, .07), transparent 32%, rgba(45, 92, 62, .16) 68%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600'%3E%3Cg fill='none' stroke='%23c9a227' stroke-width='0.7' opacity='0.34'%3E%3Cpath d='M-20 80 Q120 60 200 120 Q320 200 380 160 Q460 110 560 180 Q640 240 720 200 Q800 160 920 220'/%3E%3Cpath d='M-20 250 Q120 210 230 280 Q340 360 450 300 Q560 240 690 320 Q790 380 920 330'/%3E%3Cpath d='M60 -20 Q80 110 55 220 Q35 340 110 430 Q170 500 145 620'/%3E%3Cpath d='M590 -20 Q645 120 620 245 Q595 360 668 450 Q735 525 705 620'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 14, 10, .88);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 46px;
  height: 46px;
  animation: logo-spin 15s linear infinite;
}

@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.brand-name {
  font-family: Cinzel, Georgia, serif;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid transparent;
  color: rgba(240, 234, 216, .78);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: var(--line);
  color: var(--gold-light);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(201, 162, 39, .34);
  background: rgba(13, 26, 16, .72);
}

.language-switch button {
  min-width: 44px;
  height: 38px;
  border: 0;
  background: transparent;
  color: rgba(240, 234, 216, .62);
  cursor: pointer;
  font-family: Raleway, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.language-switch button.active {
  background: rgba(201, 162, 39, .16);
  color: var(--gold-light);
}

.language-switch span {
  width: 1px;
  height: 18px;
  background: rgba(201, 162, 39, .28);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  align-items: center;
  gap: 54px;
  padding: 72px 0 38px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Cinzel, Georgia, serif;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .98;
  letter-spacing: .06em;
  color: var(--gold);
}

h2 {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: .08em;
}

h3 {
  color: var(--gold-light);
  font-size: 16px;
  letter-spacing: .16em;
}

.lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(240, 234, 216, .82);
  font-size: clamp(17px, 2vw, 21px);
}

.quote {
  margin: 24px 0 0;
  color: rgba(240, 234, 216, .75);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-style: italic;
  line-height: 1.25;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #10140e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.button.secondary {
  background: transparent;
  color: var(--gold-light);
}

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

.visual-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(8, 14, 10, .18), rgba(8, 14, 10, .86)),
    radial-gradient(circle at 42% 24%, rgba(232, 196, 90, .18), transparent 19%),
    linear-gradient(145deg, #213821, #071009 74%);
  box-shadow: var(--shadow);
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(201, 162, 39, .22);
  z-index: 3;
  pointer-events: none;
}

.visual-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: .68;
  z-index: 0;
}

.movement-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, transparent 26%, rgba(201, 162, 39, .28) 26.2%, transparent 27%),
    linear-gradient(115deg, transparent 46%, rgba(240, 234, 216, .08) 46.2%, transparent 47%),
    linear-gradient(115deg, transparent 64%, rgba(201, 162, 39, .2) 64.2%, transparent 65%);
}

.visual-copy {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 4;
}

.visual-copy strong {
  display: block;
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-size: 26px;
  letter-spacing: .14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.visual-copy span {
  display: block;
  max-width: 300px;
  margin-top: 12px;
  color: rgba(240, 234, 216, .72);
}

.section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head p {
  color: rgba(240, 234, 216, .76);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.card,
.form-card,
.price-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 26, 16, .88), rgba(8, 14, 10, .74));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
  transition: transform .24s cubic-bezier(.22, 1, .36, 1),
              border-color .24s ease,
              box-shadow .24s ease;
}

.card {
  padding: 28px;
}

.card-number {
  color: rgba(201, 162, 39, .28);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 56px;
  line-height: .8;
}

.card p,
.price-card p,
.small-muted {
  color: rgba(240, 234, 216, .72);
}

.program-hero {
  padding: 82px 0 52px;
}

.program-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.price-card {
  padding: 28px;
}

.price-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.price {
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-size: 34px;
  line-height: 1;
  white-space: nowrap;
}

.price small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: Raleway, Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
}

.feature-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.feature-list li {
  padding: 12px 0;
  border-top: 1px solid rgba(201, 162, 39, .12);
  color: rgba(240, 234, 216, .78);
}

.feature-list li::before {
  content: "+";
  margin-right: 12px;
  color: var(--gold);
}

.rate-table {
  overflow: hidden;
  border: 1px solid var(--line);
}

.rate-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 20px;
  border-top: 1px solid rgba(201, 162, 39, .12);
  background: rgba(8, 14, 10, .36);
}

.rate-row:first-child {
  border-top: 0;
}

.rate-row strong {
  color: var(--off-white);
}

.rate-row span {
  color: var(--gold-light);
  font-weight: 600;
}

.form-card {
  padding: 30px;
}

form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(201, 162, 39, .28);
  border-radius: 0;
  background: rgba(8, 14, 10, .64);
  color: var(--off-white);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(232, 196, 90, .34);
  outline-offset: 2px;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.contact-item {
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(13, 26, 16, .66);
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.contact-item strong {
  color: var(--gold-light);
  font-weight: 500;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: rgba(240, 234, 216, .6);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}

.footer-contact-links {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 14px;
}

.footer-contact-links a {
  color: rgba(240, 234, 216, .72);
  font-size: 13px;
  letter-spacing: .02em;
  transition: color .18s;
}

.footer-contact-links a:hover {
  color: var(--gold-light);
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  width: 100%;
  justify-content: flex-end;
}

.footer-nav-links a {
  color: rgba(240, 234, 216, .44);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .18s;
}

.footer-nav-links a:hover {
  color: var(--gold-light);
}

.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 16px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  align-self: center;
  opacity: .72;
  animation: logo-spin 15s linear infinite;
  flex-shrink: 0;
}

.footer-brand-text {
  display: grid;
  gap: 4px;
  align-content: center;
}

.footer-brand span {
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-brand small {
  color: rgba(240, 234, 216, .58);
  font-size: 12px;
  letter-spacing: .04em;
}

.notice {
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(201, 162, 39, .07);
  color: rgba(240, 234, 216, .78);
}

.policy-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-list li {
  border: 1px solid var(--line);
  background: rgba(13, 26, 16, .62);
  padding: 22px;
}

.policy-list strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 6px;
}

/* ─── Keyframes ──────────────────────────────────────────────────────────── */

@keyframes th-fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes th-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes th-fade-left {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes th-shimmer {
  0%   { background-position: -700px 0; }
  100% { background-position: 700px 0; }
}

/* ─── Scroll-animate base state (JS adds this class) ────────────────────── */

.th-animate {
  opacity: 0;
  will-change: transform, opacity;
}

/* Visible state – applied by IntersectionObserver */
.th-animate.th-visible {
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(.22, 1, .36, 1);
  animation-duration: .68s;
}

.th-animate.th-visible.anim-up   { animation-name: th-fade-up; }
.th-animate.th-visible.anim-in   { animation-name: th-fade-in; animation-duration: .9s; }
.th-animate.th-visible.anim-left { animation-name: th-fade-left; }

/* ─── Card hover ─────────────────────────────────────────────────────────── */

.card:hover,
.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, .36);
  box-shadow: 0 32px 72px rgba(0, 0, 0, .38), 0 0 0 1px rgba(201, 162, 39, .1);
}

/* ─── Nav link hover underline ───────────────────────────────────────────── */

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 13px;
  right: 13px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* ─── Button hover lift ──────────────────────────────────────────────────── */

.button {
  transition: transform .2s cubic-bezier(.22, 1, .36, 1),
              box-shadow .2s ease,
              background-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, .22);
}

.button.secondary:hover {
  box-shadow: 0 8px 24px rgba(201, 162, 39, .12);
}

/* ─── Contact-item hover ─────────────────────────────────────────────────── */

.contact-item {
  transition: border-color .22s ease, background .22s ease;
}

.contact-item:hover {
  border-color: rgba(201, 162, 39, .36);
  background: rgba(13, 26, 16, .88);
}

/* ─── Photo placeholder shimmer ─────────────────────────────────────────── */

.photo-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    105deg,
    transparent 28%,
    rgba(201, 162, 39, .07) 50%,
    transparent 72%
  );
  background-size: 700px 100%;
  animation: th-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

/* ─── Rate-row hover ─────────────────────────────────────────────────────── */

.rate-row {
  transition: background .2s ease, border-color .2s ease;
}

.rate-row:hover {
  background: rgba(13, 26, 16, .62);
  border-color: rgba(201, 162, 39, .2);
}

/* ─── Policy-list item hover ─────────────────────────────────────────────── */

.policy-list li {
  transition: border-color .22s ease, background .22s ease;
}

.policy-list li:hover {
  border-color: rgba(201, 162, 39, .28);
  background: rgba(13, 26, 16, .84);
}

/* ─── Reduced motion ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .th-animate        { opacity: 1 !important; }
  .th-animate.th-visible { animation: none !important; }
  .photo-block::after { animation: none; }
  .brand img { animation: none; }
  .footer-logo { animation: none; }
  .card, .price-card, .contact-item, .button, .rate-row, .policy-list li {
    transition: none;
  }
}

/* ─── Carousel ──────────────────────────────────────────────── */

.car-img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 0 !important;
  transform: none !important;
  transition: opacity .92s ease !important;
}

.car-img.is-active                { opacity: 1 !important; }
.visual-panel .car-img.is-active  { opacity: .68 !important; }

/* em inside headings = gold accent word */
h2 em { font-style: normal; color: var(--gold); }

.car-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 6;
}

.car-dot {
  width: 5px;
  height: 5px;
  background: rgba(201, 162, 39, .26);
  cursor: pointer;
  transition: background .22s ease;
  flex-shrink: 0;
}

.car-dot.is-active { background: var(--gold); }

/* ─── Results Strip ─────────────────────────────────────────── */

.results-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.result-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
}

.result-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.result-cell:hover img {
  transform: scale(1.04);
}

/* gold sheen on hover */
.result-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(201,162,39,.12) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.result-cell:hover::after { opacity: 1; }

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .language-switch {
    align-self: flex-end;
  }

  .hero,
  .program-layout,
  .grid.three,
  .grid.two,
  .contact-strip,
  .results-strip {
    grid-template-columns: 1fr;
  }

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

  .visual-panel {
    min-height: 390px;
  }

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

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

  .footer-right {
    align-items: flex-start;
  }

  .footer-nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 12px;
  }

  .nav-links a {
    padding: 0 10px;
    font-size: 11px;
  }

  .section {
    padding: 64px 0;
  }

  .price-top,
  .rate-row {
    grid-template-columns: 1fr;
    display: grid;
  }
}
