/* ============================================================
   LEXPOINT ADVOCATES LLP — style.css
   Mobile-first · Premium Legal Aesthetic · Production Quality
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:        #0D1B2A;
  --navy-mid:    #162235;
  --navy-light:  #1E3050;
  --gold:        #B8902A;
  --gold-light:  #D4AA4A;
  --gold-pale:   #F5EDD6;
  --white:       #FFFFFF;
  --off-white:   #F8F7F4;
  --charcoal:    #2C2C2C;
  --grey-700:    #4A4A4A;
  --grey-400:    #9A9A9A;
  --grey-200:    #E8E6E1;
  --grey-100:    #F2F1EE;
  --error:       #C0392B;
  --success:     #1D6A4D;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;

  --shadow-sm:   0 2px 8px rgba(13,27,42,.06);
  --shadow-md:   0 8px 32px rgba(13,27,42,.12);
  --shadow-lg:   0 20px 60px rgba(13,27,42,.18);

  --transition:  0.3s cubic-bezier(.4,0,.2,1);
  --nav-h:       72px;

  /* Dark mode colours (toggled via .dark class on body) */
  --bg:          var(--off-white);
  --surface:     var(--white);
  --text:        var(--charcoal);
  --text-light:  var(--grey-700);
  --border:      var(--grey-200);
}

body.dark {
  --bg:          #0A1420;
  --surface:     #111E2D;
  --text:        #E8E4DC;
  --text-light:  #9BA8B4;
  --border:      #1E3050;
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  transition: background var(--transition), color var(--transition);
}

img, video, svg, iframe { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }
select, input, textarea { font: inherit; }
p { max-width: 68ch; }

/* ── UTILITY ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.section { padding-block: clamp(4rem, 8vw, 7rem); }

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}
body.dark .section-title { color: var(--text); }

.section-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 55ch;
}

.section-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header .section-lead { margin-inline: auto; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 2rem;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  min-height: 52px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(184,144,42,.25);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(184,144,42,.35); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.45);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
body.dark .btn-outline { color: var(--text); border-color: var(--text); }
body.dark .btn-outline:hover { background: var(--text); color: var(--navy); }

.btn-full { width: 100%; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  max-width: 1280px;
  margin-inline: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.logo-text em { display: block; font-style: italic; font-weight: 400; font-size: .85rem; opacity: .8; }

.navbar.scrolled .logo-text { color: var(--text); }
.navbar.scrolled .logo-text em { opacity: .7; }

/* Nav links */
.nav-links {
  display: none;
  gap: .25rem;
  align-items: center;
}

.nav-link {
  padding: .5rem .9rem;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.08); }

.navbar.scrolled .nav-link { color: var(--text-light); }
.navbar.scrolled .nav-link:hover { color: var(--text); background: var(--grey-100); }
body.dark.navbar .nav-link { color: var(--text-light); }

.nav-link.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: .5rem 1.25rem;
  font-weight: 600;
}
.nav-link.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }

/* Dark mode toggle */
.dark-mode-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1rem;
  transition: all var(--transition);
}
.dark-mode-toggle:hover { background: rgba(255,255,255,.22); }
.navbar.scrolled .dark-mode-toggle { background: var(--grey-100); color: var(--text); }
body.dark .dark-mode-toggle { background: var(--navy-light); color: var(--gold); }

.icon-moon { display: none; }
body.dark .icon-sun  { display: none; }
body.dark .icon-moon { display: block; }

/* Hamburger */
.hamburger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.navbar.scrolled .hamburger span { background: var(--text); }

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(13,27,42,.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

@media (max-width: 899px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 88vw);
    height: 100dvh;
    background: var(--surface);
    padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
    z-index: 999;
    transition: right var(--transition);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }

  .nav-link { color: var(--text) !important; font-size: .95rem; padding: .85rem 1rem; }
  .nav-link:hover { background: var(--grey-100); }
  body.dark .nav-link:hover { background: var(--navy-light); }

  .nav-link.nav-cta { background: var(--gold); color: var(--navy) !important; text-align: center; margin-top: 1rem; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1A2E48 100%);
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(184,144,42,.08) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(30,48,80,.6) 0%, transparent 60%);
}

.hero-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,144,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,144,42,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: calc(var(--nav-h) + 3rem) clamp(1rem, 5vw, 2.5rem) 4rem;
  margin-inline: auto;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) { .hero-content { text-align: left; } }

.hero-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 56ch;
}
@media (min-width: 768px) { .hero-subtitle { margin-inline: 0; } }
@media (max-width: 767px) { .hero-subtitle { margin-inline: auto; } }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) { .hero-actions { justify-content: flex-start; } }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(184,144,42,.2);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) { .hero-stats { justify-content: flex-start; } }

.stat { text-align: center; }

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-plus { font-size: 1.4rem; color: var(--gold-light); font-weight: 700; }

.stat-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: .3rem;
}

.stat-divider {
  width: 1px; height: 3rem;
  background: rgba(184,144,42,.3);
}
@media (max-width: 479px) { .stat-divider { display: none; } }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.4);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50%      { opacity: 1;  transform: scaleY(1.15); }
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.1fr; }
}

.image-frame {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
}

.image-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-light));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}

.scales-icon { font-size: 6rem; opacity: .3; }

.image-badge {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.badge-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.badge-text {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8;
}

.about-content { padding-bottom: 1.5rem; }
.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.55;
}
body.dark .about-lead { color: var(--text); }

.about-body { color: var(--text-light); margin-bottom: 1.75rem; }

.about-pillars { margin-bottom: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.about-pillars li { display: flex; align-items: flex-start; gap: .7rem; color: var(--text-light); font-size: .9rem; }
.pillar-icon { color: var(--gold); font-size: .7rem; margin-top: .35rem; flex-shrink: 0; }

/* ── PRACTICE AREAS ──────────────────────────────────────── */
.practice {
  background: var(--navy);
}
.practice .section-eyebrow { color: var(--gold); }
.practice .section-title { color: var(--white); }
.practice .section-lead { color: rgba(255,255,255,.6); }

.practice-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .practice-grid { grid-template-columns: repeat(4, 1fr); } }

.practice-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,144,42,.15);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
}
.practice-card:hover {
  background: rgba(184,144,42,.08);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}

.practice-icon { font-size: 2rem; margin-bottom: 1rem; }

.practice-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .6rem;
  line-height: 1.3;
}

.practice-desc { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 1.25rem; }

.practice-link {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold);
  transition: gap var(--transition);
}
.practice-link:hover { color: var(--gold-light); letter-spacing: .1em; }

/* ── TEAM ────────────────────────────────────────────────── */
.team { background: var(--surface); }
body.dark .team { background: var(--surface); }

.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }

.team-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }

.team-photo {
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}

.photo-placeholder {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  opacity: .6;
}

.team-info { padding: 1.5rem; }

.team-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .25rem;
}
body.dark .team-name { color: var(--text); }

.team-role {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .85rem;
}

.team-bio { font-size: .85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; }

.team-quals { display: flex; flex-direction: column; gap: .3rem; }
.team-quals span { font-size: .75rem; color: var(--grey-400); }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials {
  background: var(--gold-pale);
}
body.dark .testimonials { background: var(--navy-mid); }
.testimonials .section-title { color: var(--navy); }
body.dark .testimonials .section-title { color: var(--text); }

.testimonial-slider { position: relative; overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 2.5rem clamp(1rem, 4vw, 3rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(184,144,42,.2);
  box-shadow: var(--shadow-sm);
}
body.dark .testimonial-slide { background: var(--surface); border-color: var(--border); }

.testimonial-stars { font-size: 1.1rem; color: var(--gold); margin-bottom: 1rem; }

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
}
body.dark .testimonial-quote { color: var(--text); }

.testimonial-author { display: flex; align-items: center; gap: 1rem; }

.author-avatar {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--gold-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: .95rem;
}

.author-info strong { display: block; font-size: .95rem; color: var(--navy); }
body.dark .author-info strong { color: var(--text); }
.author-info span { font-size: .8rem; color: var(--grey-400); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1.4rem;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
body.dark .slider-btn { background: var(--surface); color: var(--text); border-color: var(--border); }
.slider-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: scale(1.08); }

.slider-dots { display: flex; gap: .5rem; align-items: center; }

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grey-200);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 0;
}
.dot.active { background: var(--gold); transform: scale(1.3); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { background: var(--bg); }

.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--gold); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition);
  min-height: 52px;
}
.faq-question:hover { background: var(--grey-100); }
body.dark .faq-question:hover { background: var(--navy-light); }

.faq-icon {
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}
.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact { background: var(--navy); }
.contact .section-eyebrow { color: var(--gold); }
.contact .section-title { color: var(--white); }

.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }

.contact-lead { color: rgba(255,255,255,.65); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; }

.contact-icon { font-size: 1.2rem; margin-top: .1rem; flex-shrink: 0; }

.contact-item strong {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .2rem;
}
.contact-item span { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.55; }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 500px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: .4rem; }

.form-group label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .875rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  min-height: 44px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,144,42,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: var(--error); }

.form-error { font-size: .78rem; color: var(--error); min-height: 1em; }

.form-success {
  background: rgba(29,106,77,.12);
  border: 1px solid var(--success);
  color: var(--success);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: .9rem;
  text-align: center;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: #080F18; color: rgba(255,255,255,.7); }

.footer-top { padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid rgba(255,255,255,.08); }

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

.footer .logo-text { color: var(--white); }

.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.45); margin-block: .85rem; line-height: 1.6; }

.footer-social { display: flex; gap: .5rem; }

.social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  font-weight: 700;
  transition: all var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold-light); }

.footer-contact p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: .6rem; }
.footer-contact a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold-light); }

.footer-reg {
  margin-top: 1rem;
  padding: .6rem .8rem;
  background: rgba(184,144,42,.1);
  border: 1px solid rgba(184,144,42,.2);
  border-radius: var(--radius-sm);
  font-size: .72rem;
  color: rgba(184,144,42,.8);
  letter-spacing: .05em;
}

.footer-bottom {
  padding-block: 1.5rem;
  text-align: center;
}
.footer-legal { font-size: .8rem; color: rgba(255,255,255,.35); margin-bottom: .4rem; }
.footer-legal a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-legal a:hover { color: var(--gold); }
.footer-disclaimer { font-size: .72rem; color: rgba(255,255,255,.22); max-width: 70ch; margin-inline: auto; line-height: 1.5; }

/* ── SCROLL TO TOP ───────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 1.5rem;
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all var(--transition);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-line { animation: none; }
  * { transition-duration: .01ms !important; }
}
