/* ============================================
   ThirdLaw Intelligence — Master Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colours */
  --bg-primary: #0A0F1E;
  --bg-secondary: #0E1428;
  --bg-card: #111832;
  --bg-card-hover: #151D3A;
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-dark: #A8893D;
  --blue: #1E90FF;
  --blue-light: #4DA6FF;
  --text-primary: #E8E6E1;
  --text-secondary: #9B9EA7;
  --text-muted: #6B6F7B;
  --border-subtle: rgba(201, 168, 76, 0.15);
  --border-card: rgba(201, 168, 76, 0.1);
  --white: #FFFFFF;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 120px;
  --section-pad-mobile: 64px;
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1em;
}

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

.text-gold {
  color: var(--gold);
}

.text-blue {
  color: var(--blue);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--section-pad) 0;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  background: rgba(10, 15, 30, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--gold);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

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

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

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

/* Mobile nav */
@media (max-width: 768px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__links a {
    font-size: 1rem;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg-primary);
}

.btn--primary:hover {
  background: var(--gold-light);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(232, 230, 225, 0.25);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn--small {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn--arrow::after {
  content: '→';
  transition: transform var(--transition-base);
}

.btn--arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Geometric pattern overlay */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(30, 144, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 40%);
}

/* Noise texture */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* Grid lines */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Decorative elements */
.hero__decor {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  z-index: 0;
  opacity: 0.08;
}

.hero__decor svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .hero__decor {
    display: none;
  }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 640px;
  font-size: 1.05rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-left: auto;
  margin-right: auto;
}

/* Subtle top label */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ============================================
   HOW IT WORKS (Steps)
   ============================================ */
.steps {
  background: var(--bg-secondary);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 40px 32px;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.step-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.step-card__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  margin-bottom: 16px;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.95rem;
}

/* Connector lines between steps */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -17px;
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .steps__grid {
    grid-template-columns: 1fr;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }
}

/* ============================================
   WHO THIS IS FOR (Sectors)
   ============================================ */
.sectors__intro {
  max-width: 700px;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

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

.sector-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-base);
}

.sector-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.1);
}

.sector-tag__icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .sectors__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .sectors__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer__location {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__nav {
  display: flex;
  gap: 28px;
  justify-self: center;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.footer__contact {
  justify-self: end;
  text-align: right;
}

.footer__contact a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer__divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-self: center;
    justify-content: center;
  }

  .footer__contact {
    justify-self: center;
    text-align: center;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(30, 144, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(201, 168, 76, 0.03) 0%, transparent 40%);
  z-index: 0;
}

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

.page-hero h1 {
  max-width: 700px;
}

.page-hero__attribution {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

.about-body {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Leadership cards */
.leadership__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.leader-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 36px 32px;
}

.leader-card h3 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.leader-card p {
  font-size: 0.95rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .leadership__grid {
    grid-template-columns: 1fr;
  }
}

/* Credibility badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  color: var(--gold);
  opacity: 0.8;
}

/* Values */
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  transition: border-color var(--transition-base);
}

.value-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.value-card h3 {
  color: var(--gold);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.925rem;
}

@media (max-width: 768px) {
  .values__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 48px 40px;
  margin-bottom: 32px;
  transition: border-color var(--transition-base);
}

.service-card:hover {
  border-color: rgba(201, 168, 76, 0.2);
}

.service-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 20px;
}

.service-card p {
  font-size: 0.975rem;
  margin-bottom: 16px;
  max-width: 680px;
}

.service-card .btn {
  margin-top: 12px;
}

/* Retainer tiers */
.retainer-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 28px 0;
}

.retainer-tier {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 28px 24px;
}

.retainer-tier h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.retainer-tier p {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .retainer-tiers {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 32px 24px;
  }
}

/* Report mock-up */
.report-mockup {
  background: linear-gradient(145deg, #0E1428 0%, #111832 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 40px 36px;
  max-width: 380px;
  margin-top: 28px;
  position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.report-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--blue));
  border-radius: 8px 8px 0 0;
}

.report-mockup__logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.report-mockup__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.report-mockup__subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.report-mockup__sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-mockup__section {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  opacity: 0.8;
}

/* Service card layout with report */
.service-card--with-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .service-card--with-preview {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   INDUSTRIES PAGE — Accordions
   ============================================ */
.accordion {
  border: 1px solid var(--border-card);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color var(--transition-base);
}

.accordion:hover {
  border-color: rgba(201, 168, 76, 0.2);
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.accordion__header:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.accordion__header-left h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.accordion__hook {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.accordion__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition-base);
}

.accordion.open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}

.accordion__body-inner {
  padding: 0 32px 32px;
}

.accordion__context {
  font-size: 0.925rem;
  line-height: 1.75;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
}

.accordion__context strong {
  color: var(--text-primary);
}

.use-case {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.use-case:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
  padding-bottom: 0;
}

.use-case h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.use-case__detail {
  margin-bottom: 12px;
  font-size: 0.925rem;
}

.use-case__detail strong {
  color: var(--text-primary);
  font-weight: 600;
}

.accordion__cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 600px) {
  .accordion__header {
    padding: 20px 20px;
  }

  .accordion__body-inner {
    padding: 0 20px 24px;
  }
}

/* ============================================
   CONTACT PAGE — Forms
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.form-intro {
  font-size: 0.975rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 500px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form__label .required {
  color: var(--gold);
  margin-left: 2px;
}

.form__input,
.form__select,
.form__textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  width: 100%;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-muted);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6F7B' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form__select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__submit {
  margin-top: 8px;
  align-self: flex-start;
}

/* Success state */
.form-success {
  display: none;
  padding: 40px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 12px;
}

.form-success.visible {
  display: block;
}

.form-success__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.form-success h3 {
  color: var(--gold);
  margin-bottom: 12px;
}

/* Contact sidebar */
.contact-sidebar {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
}

.contact-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--gold);
}

.contact-sidebar__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-sidebar__item:last-child {
  margin-bottom: 0;
}

.contact-sidebar__icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   UTILITIES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Mobile spacing */
@media (max-width: 768px) {
  section {
    padding: var(--section-pad-mobile) 0;
  }

  .page-hero {
    padding: 120px 0 60px;
  }
}
