/* ============================================================
   RIF GENERAL TRADING — rifgeneraltrading.com
   Premium corporate stylesheet
   ============================================================ */

:root {
  /* Palette */
  --navy-950: #081120;
  --navy-900: #0B1828;
  --navy-800: #0E1F33;
  --navy-700: #14263D;
  --navy-600: #1C3450;
  --charcoal: #2A2F36;
  --slate: #5B6573;
  --paper: #F7F5F0;
  --paper-deep: #EFECE4;
  --white: #FFFFFF;
  --gold: #C2A35D;
  --gold-bright: #D8BC78;
  --gold-deep: #A98B45;
  --line: rgba(14, 31, 51, 0.12);
  --line-dark: rgba(255, 255, 255, 0.1);
  --text-on-dark: #C7D1DD;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;

  /* Rhythm */
  --section-pad: clamp(5rem, 10vw, 9rem);
  --container: 1240px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--gold); color: var(--navy-950); }

/* ---------- Grain overlay ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utilities ---------- */
.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}
.dark .eyebrow, .on-dark .eyebrow { color: var(--gold-bright); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  margin-top: 1.1rem;
}
.dark .section-title, .on-dark .section-title { color: var(--white); }
.section-title em {
  font-style: italic;
  color: var(--gold-deep);
}
.dark .section-title em, .on-dark .section-title em { color: var(--gold-bright); }

.lead {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 38rem;
}
.dark .lead, .on-dark .lead { color: var(--text-on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease-out);
  position: relative;
}
.btn .arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-950);
}
.btn-gold:hover { background: var(--gold-bright); }

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn-outline-dark {
  border: 1px solid var(--navy-800);
  color: var(--navy-800);
}
.btn-outline-dark:hover { background: var(--navy-800); color: var(--white); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal[data-delay="5"] { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.55rem;
  gap: 1rem;
}
.topbar a:hover { color: var(--gold-bright); }
.topbar .coords { color: rgba(255, 255, 255, 0.35); }
.topbar-contacts { display: flex; gap: 1.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 40px rgba(8, 17, 32, 0.08); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.brand img { height: 52px; width: auto; }
.brand-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy-900);
  line-height: 1.5;
  border-left: 1px solid var(--line);
  padding-left: 0.8rem;
}
.brand-text span { display: block; color: var(--gold-deep); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding-block: 0.4rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--navy-900); }

.nav-cta { margin-left: 0.6rem; padding: 0.75rem 1.6rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  transition: all 0.3s var(--ease-out);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .topbar .coords { display: none; }
  .brand-text { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--navy-950);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
    z-index: 90;
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--white); font-size: 1rem; }
  .nav-links a.active { color: var(--gold-bright); }
  .nav-toggle { position: relative; z-index: 95; }
  .nav-toggle.open span { background: var(--white); }
}

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(120% 90% at 80% 0%, var(--navy-600) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 70%);
  color: var(--white);
  overflow: hidden;
}
.hero-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}
.hero-watermark {
  position: absolute;
  right: -2rem;
  bottom: -4rem;
  font-family: var(--font-display);
  font-size: clamp(10rem, 24vw, 22rem);
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  letter-spacing: -0.02em;
  user-select: none;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding-block: clamp(5rem, 12vh, 9rem);
  max-width: 60rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-block: 1.6rem 1.8rem;
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero p {
  max-width: 36rem;
  font-size: 1.06rem;
  color: var(--text-on-dark);
  margin-bottom: 2.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-meta {
  position: absolute;
  bottom: 2.2rem;
  left: 0;
  right: 0;
}
.hero-meta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 2.4rem;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Hero load-in stagger */
.hero .stagger {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 1s var(--ease-out) forwards;
}
.hero .stagger:nth-child(1) { animation-delay: 0.15s; }
.hero .stagger:nth-child(2) { animation-delay: 0.3s; }
.hero .stagger:nth-child(3) { animation-delay: 0.5s; }
.hero .stagger:nth-child(4) { animation-delay: 0.68s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy-950);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid rgba(194, 163, 93, 0.25);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
}
.marquee span::after { content: "◆"; font-size: 0.5rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding-block: var(--section-pad); }

/* ---------- Overview (Home) ---------- */
.overview .container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.overview-copy p { margin-top: 1.4rem; color: var(--slate); font-size: 1.05rem; }
.overview-figure { position: relative; }
.overview-figure img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  filter: saturate(0.85);
}
.overview-figure::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--gold);
  z-index: -1;
}
.figure-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--navy-950);
  color: var(--white);
  padding: 1.3rem 1.6rem;
  max-width: 16rem;
}
.figure-caption strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  display: block;
  color: var(--gold-bright);
}
.figure-caption small {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.pillars {
  margin-top: 2.6rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillars li {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  color: var(--navy-800);
}
.pillars li::before {
  content: attr(data-i);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1.05rem;
  min-width: 2rem;
}

@media (max-width: 880px) {
  .overview .container { grid-template-columns: 1fr; }
  .overview-figure { margin-right: 1.4rem; }
}

/* ---------- Why choose us ---------- */
.why { background: var(--navy-900); position: relative; overflow: hidden; }
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 90px 90px;
}
.why .container { position: relative; }
.why-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.why-card {
  background: var(--navy-900);
  padding: 2.4rem 2rem;
  transition: background 0.4s var(--ease-out);
  position: relative;
}
.why-card:hover { background: var(--navy-800); }
.why-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 2.6rem;
}
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.7rem;
}
.why-card p { font-size: 0.92rem; color: var(--text-on-dark); opacity: 0.85; }
.why-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.why-card:hover::after { transform: scaleX(1); }

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

/* ---------- Global reach ---------- */
.reach { background: var(--paper-deep); position: relative; overflow: hidden; }
.reach .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.reach-copy p { margin-top: 1.4rem; color: var(--slate); font-size: 1.05rem; }
.region-chips {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.region-chips li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(14, 31, 51, 0.25);
  color: var(--navy-800);
  transition: all 0.3s var(--ease-out);
}
.region-chips li:hover {
  background: var(--navy-900);
  color: var(--gold-bright);
  border-color: var(--navy-900);
}
.reach-map { position: relative; }
.reach-map svg { width: 100%; height: auto; }

@media (max-width: 880px) { .reach .container { grid-template-columns: 1fr; } }

/* ---------- Partnership statement ---------- */
.partnership { text-align: center; }
.partnership .eyebrow { justify-content: center; }
.partnership .eyebrow::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}
.partnership blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.3;
  color: var(--navy-900);
  max-width: 52rem;
  margin: 2rem auto 0;
}
.partnership blockquote em { font-style: italic; color: var(--gold-deep); }
.partnership p {
  max-width: 40rem;
  margin: 1.8rem auto 0;
  color: var(--slate);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(100% 140% at 50% 0%, var(--navy-700) 0%, var(--navy-950) 70%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(70rem, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
}
.cta-band h2 em { font-style: italic; color: var(--gold-bright); }
.cta-band p { color: var(--text-on-dark); max-width: 34rem; margin: 1.4rem auto 2.4rem; }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero {
  background:
    radial-gradient(110% 100% at 75% 0%, var(--navy-600) 0%, transparent 55%),
    linear-gradient(165deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.1;
  margin-top: 1.4rem;
  max-width: 46rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold-bright); }
.page-hero .crumb {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2rem;
}
.page-hero .crumb a:hover { color: var(--gold-bright); }

/* ---------- Editorial prose ---------- */
.prose-section .container {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.prose-aside { position: sticky; top: 7rem; align-self: start; }
.prose-aside .marker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-deep);
}
.prose-aside h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  color: var(--navy-900);
  margin-top: 0.8rem;
}
.prose p {
  color: var(--slate);
  font-size: 1.07rem;
  margin-bottom: 1.6rem;
}
.prose p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 0.8;
  float: left;
  padding: 0.45rem 0.8rem 0 0;
  color: var(--navy-900);
}
.prose strong { color: var(--navy-800); }

@media (max-width: 880px) {
  .prose-section .container { grid-template-columns: 1fr; }
  .prose-aside { position: static; }
}

/* ---------- Values strip ---------- */
.values { background: var(--navy-900); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.value h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}
.value h3::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.value p { color: var(--text-on-dark); font-size: 0.95rem; margin-top: 0.8rem; }

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

/* ---------- Objectives (Our Goal) ---------- */
.objectives-list { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.objective {
  display: grid;
  grid-template-columns: 5rem 1fr 2fr;
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: 2.2rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background 0.3s ease;
}
.objective:hover { background: rgba(194, 163, 93, 0.05); }
.objective .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-deep);
}
.objective h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--navy-900);
  line-height: 1.2;
}
.objective p { color: var(--slate); font-size: 0.98rem; }

@media (max-width: 760px) {
  .objective { grid-template-columns: 3rem 1fr; }
  .objective p { grid-column: 2; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section .container {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.contact-info h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--navy-900);
  margin-top: 0.9rem;
  line-height: 1.15;
}
.contact-info > p { color: var(--slate); margin-top: 1.3rem; }

.info-rows { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.info-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.info-row dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 0.25rem;
}
.info-row dd { color: var(--navy-800); font-weight: 500; line-height: 1.55; }
.info-row dd a:hover { color: var(--gold-deep); }

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: 0 30px 80px rgba(8, 17, 32, 0.07);
  position: relative;
}
.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-900), var(--gold) 55%, var(--gold-bright));
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.field input,
.field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy-900);
  transition: border-color 0.3s ease, background 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 9rem; }
.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.form-note { font-size: 0.8rem; color: var(--slate); }
.form-status {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--gold-deep);
  font-weight: 500;
  display: none;
}
.form-status.show { display: block; }

@media (max-width: 880px) {
  .contact-section .container { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-950);
  color: var(--text-on-dark);
  padding-top: clamp(4rem, 8vw, 6rem);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: 3.5rem;
}
.footer-brand img {
  height: 56px;
  background: var(--white);
  padding: 6px;
  border-radius: 4px;
}
.footer-brand p {
  margin-top: 1.4rem;
  font-size: 0.95rem;
  max-width: 24rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
}
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.4rem;
}
.footer-col ul li { margin-bottom: 0.8rem; font-size: 0.92rem; }
.footer-col a { transition: color 0.25s ease; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col address { font-style: normal; font-size: 0.92rem; line-height: 1.8; }

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-dark);
  margin-top: 1.6rem;
  transition: all 0.3s var(--ease-out);
}
.linkedin-link:hover { border-color: var(--gold); background: rgba(194, 163, 93, 0.1); }
.linkedin-link svg { width: 1rem; height: 1rem; fill: var(--text-on-dark); }
.linkedin-link:hover svg { fill: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.4rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

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