/* ==========================================================================
   Prestige OFM — Design System
   Dark · Premium · Modern — luxury gold on charcoal
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — matches the Prestige OFM gold/charcoal logo */
  --bg: #0d0d0d;
  --bg-2: #141414;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(212, 175, 55, 0.16);
  --border-strong: rgba(212, 175, 55, 0.38);
  --text: #f5f1e8;
  --muted: #a6a093;
  --gold: #d4af37;
  --bronze: #8c6d2f;
  --gold-light: #e5c158;
  --sage: #8fae8f;
  --gradient: linear-gradient(135deg, #8c6d2f, #d4af37, #e5c158);

  /* Type */
  --font-serif: Georgia, "Palatino Linotype", "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;

  /* Shape & effects */
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --glow: 0 6px 24px rgba(212, 175, 55, 0.28);
  --glow-strong: 0 10px 34px rgba(212, 175, 55, 0.42);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 26px rgba(212, 175, 55, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container: 1140px;
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #2b2b28 var(--bg);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul[class],
ol[class] {
  list-style: none;
}

a {
  color: inherit;
}

/* Content links that carry no component class — :where() keeps specificity
   at (0,0,1) so every component rule (.breadcrumbs a, .form a, …) overrides it */
main :where(a:not([class])) {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.25s var(--ease);
}

main :where(a:not([class])):hover {
  text-decoration-color: var(--gold-light);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--gold);
  color: #0d0d0d;
  text-shadow: none;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #2b2b28;
  border-radius: 999px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bronze);
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--text);
  margin-bottom: 0.6em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}

h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Display headings + kicker carry the serif luxury voice */
.kicker {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.section-head .kicker {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.9rem;
}

.section-head p {
  color: var(--muted);
  margin-top: 0.75rem;
}

.section-head .lead {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn-primary {
  background: var(--gradient);
  color: #14100a;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: var(--surface);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-lg {
  padding: 0.95rem 2.1rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   6. Pills & badges
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   7. Cards (glass)
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
  background: var(--surface-hover);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   8. Stats
   -------------------------------------------------------------------------- */
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   9. Steps
   -------------------------------------------------------------------------- */
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #14100a;
  font-weight: 750;
  font-size: 1.05rem;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  margin-bottom: 1.1rem;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   10. Quotes / testimonials
   -------------------------------------------------------------------------- */
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote blockquote {
  font-style: italic;
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--text);
}

.quote blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 0.6;
  margin-bottom: 0.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.quote-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
}

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient);
  color: #14100a;
  font-weight: 750;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.quote-name {
  font-weight: 650;
  line-height: 1.3;
}

.quote-role {
  color: var(--muted);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   11. FAQ (details / summary)
   -------------------------------------------------------------------------- */
details.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

details.faq + details.faq {
  margin-top: 0.75rem;
}

details.faq:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

details.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

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

details.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

details.faq[open] summary::after {
  transform: rotate(45deg);
}

details.faq[open] {
  border-color: var(--border-strong);
}

.faq-body {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.form ::placeholder {
  color: rgba(166, 160, 147, 0.55);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface-hover);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form .btn {
  justify-self: start;
}

/* --------------------------------------------------------------------------
   13. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(212, 175, 55, 0.4);
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs [aria-current="page"] {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   14. Blog post cards
   -------------------------------------------------------------------------- */
.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.post-card .tag {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.post-card h2,
.post-card h3 {
  transition: color 0.25s var(--ease);
}

.post-card:hover h3 {
  color: var(--gold-light);
}

.post-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.post-card time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.25rem);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    radial-gradient(560px 280px at 50% -20%, rgba(212, 175, 55, 0.16), transparent 70%),
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--gradient) border-box;
}

.cta-band h2 {
  margin-bottom: 0.5em;
}

.cta-band p {
  color: var(--muted);
  max-width: 56ch;
  margin-inline: auto;
}

.cta-band .btn {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   16. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(5rem, 12vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background-image:
    radial-gradient(620px 420px at 88% -12%, rgba(212, 175, 55, 0.13), transparent 62%),
    radial-gradient(520px 380px at -4% 112%, rgba(140, 109, 47, 0.12), transparent 62%),
    linear-gradient(rgba(212, 175, 55, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  margin-bottom: 1.4rem;
}

.hero-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.9);
}

.hero h1 {
  max-width: 20ch;
  margin-inline: auto;
}

.hero .lead {
  margin-inline: auto;
  margin-top: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

/* --------------------------------------------------------------------------
   17. Checklist
   -------------------------------------------------------------------------- */
.checklist {
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-left: 1.95rem;
  color: var(--muted);
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.14em;
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: rgba(143, 174, 143, 0.14);
  border: 1px solid rgba(143, 174, 143, 0.3);
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   18. Header
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.7rem 1.2rem;
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  font-weight: 650;
  text-decoration: none;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(13, 13, 13, 0.88);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo {
  height: 54px;
  width: auto;
  border-radius: 0.6rem;
  outline: 1px solid rgba(212, 175, 55, 0.35);
  outline-offset: -1px;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.12);
  transition: box-shadow 0.3s ease;
}

.site-logo:hover {
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.25);
}

/* --- Navigation: mobile-first (dropdown panel), desktop from 861px --- */
.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem;
  background: rgba(20, 20, 20, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
}

.nav-open .nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-link {
  position: relative;
  padding: 0.65rem 0.15rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 550;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.25s var(--ease);
}

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

.nav-link[aria-current="page"] {
  color: var(--gold-light);
}

.nav .btn {
  margin-top: 0.9rem;
}

/* Burger — visible below 861px only, three lines → X */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease);
}

.burger:hover {
  border-color: var(--border-strong);
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .burger span:nth-child(2) {
  opacity: 0;
}

.nav-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 861px) {
  .burger {
    display: none;
  }

  .nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.9rem;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-link {
    padding: 0.35rem 0;
    font-size: 0.95rem;
    border-bottom: 0;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }

  .nav-link:hover::after,
  .nav-link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav .btn {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem 2rem;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 1.1rem;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.footer-location {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

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

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

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.footer-social a:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: var(--surface);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   20. Reveal animation
   JS adds .js to <html> first, so content stays visible without JavaScript.
   -------------------------------------------------------------------------- */
.reveal {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   21. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   22. Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-h: 70px;
  }

  .site-logo {
    height: 42px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .hero {
    text-align: left;
  }

  .hero h1,
  .hero .lead {
    margin-inline: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-head {
    text-align: left;
  }

  .card,
  .step,
  .quote {
    padding: 1.4rem;
  }

  .footer-bottom {
    text-align: center;
  }
}

.form-success,
.form-error {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.form-success {
  background: rgba(143, 174, 143, 0.1);
  border: 1px solid rgba(143, 174, 143, 0.45);
  color: #c9dfc9;
}

.form-error {
  background: rgba(220, 100, 100, 0.1);
  border: 1px solid rgba(220, 100, 100, 0.45);
  color: #f0c0c0;
}


.site-footer h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero .lead-h2 {
  font-family: Georgia, "Palatino Linotype", "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
