/* ============================================================
   ARVANI SDN. BHD. — Main Stylesheet
   Industrial · Premium · Trustworthy · Engineered
   Mobile-first, semantic, no framework dependencies
   ============================================================ */


/* ── 1. CSS Custom Properties ────────────────────────────────── */
:root {
  /* Brand palette */
  --navy:       #111111;
  --navy-mid:   #1C1C1C;
  --navy-light: #272727;
  --gold:       #C9A227;
  --gold-dark:  #A8841A;
  --ink:        #0D0D0D;
  --slate:      #6B7280;
  --bg:         #F5F5F3;
  --line:       #E4E4E0;
  --white:      #FFFFFF;

  /* Typography */
  --font-head: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  2rem;
  --text-4xl:  2.75rem;
  --text-5xl:  3.75rem;

  /* Spacing */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;

  /* Layout */
  --container: 1200px;
  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 8px;

  /* Motion */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --dur:           220ms;
  --dur-slow:      600ms;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow:    0 4px 14px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.18), 0 4px 8px rgba(0,0,0,0.10);
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

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


/* ── 3. Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: inherit;
}

h1 { font-size: clamp(2.5rem, 6.5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); }

p { max-width: 68ch; }


/* ── 4. Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s6);
}

@media (min-width: 768px)  { .container { padding-inline: var(--s8);  } }
@media (min-width: 1280px) { .container { padding-inline: var(--s10); } }


/* ── 5. Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition:
    background var(--dur) var(--ease),
    color      var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform  var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn:active { transform: translateY(1px); }

.btn-lg {
  padding: 0.875rem 1.875rem;
  font-size: var(--text-base);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 22px rgba(201,162,39,0.50);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.48);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.78);
}


/* ── 6. Scroll reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity   var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
  transition-delay: var(--delay, 0s);
}

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

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


/* ── 7. Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  height: 80px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--navy);
}

.logo-img {
  height: 150px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-img-footer {
  height: 60px;
  /* If your logo is dark/black and hard to see on the dark footer,
     uncomment the line below to render it in white:
  filter: brightness(0) invert(1); */
}

/* Nav — hidden on mobile, visible on desktop */
.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--s6);
}

.main-nav a {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate);
  transition: color var(--dur) var(--ease);
  padding-block: var(--s2);
}

.main-nav a:hover { color: var(--navy); }

.mobile-cta { display: none; }
.header-cta { display: none; }

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease);
}

.menu-toggle:hover { background: var(--line); }

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition:
    transform var(--dur) var(--ease),
    opacity   var(--dur) var(--ease),
    width     var(--dur) var(--ease);
}

.menu-toggle span:nth-child(1) { width: 22px; }
.menu-toggle span:nth-child(2) { width: 16px; }
.menu-toggle span:nth-child(3) { width: 22px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 22px;
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 22px;
}

/* Mobile nav open state */
.main-nav.is-open {
  display: block;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: var(--s2) var(--s6) var(--s6);
}

.main-nav.is-open ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.main-nav.is-open li {
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.main-nav.is-open li:last-child { border-bottom: none; }

.main-nav.is-open a {
  display: block;
  padding: 0.875rem 0;
  font-size: var(--text-base);
  color: var(--ink);
}

.main-nav.is-open .mobile-cta {
  display: flex;
  margin-top: var(--s4);
  width: 100%;
  justify-content: center;
}

/* Desktop nav */
@media (min-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
  }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }

  /* Override open-state mobile styles */
  .main-nav.is-open {
    position: static;
    display: flex;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .main-nav.is-open ul {
    flex-direction: row;
    align-items: center;
    gap: var(--s6);
  }
  .main-nav.is-open li {
    width: auto;
    border: none;
  }
  .main-nav.is-open a {
    display: inline;
    padding-block: var(--s2);
    font-size: var(--text-sm);
    color: var(--slate);
  }
  .main-nav.is-open .mobile-cta { display: none; }
}


/* ── 8. Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy);
  background-image: url('../assets/rig.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.38) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--s20);
  max-width: 780px;
}

.hero-kicker {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s5);
  max-width: none;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  line-height: 1.0;
  margin-bottom: var(--s6);
  letter-spacing: -0.034em;
}

.hero-subhead {
  font-size: clamp(var(--text-base), 2.2vw, var(--text-lg));
  color: rgba(255,255,255,0.72);
  line-height: 1.72;
  margin-bottom: var(--s8);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s8);
}

.hero-trust {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.025em;
  max-width: none;
}


/* ── 9. Logistics / Reach Band ───────────────────────────────── */
.logistics-band {
  background: var(--ink);
  color: var(--white);
  padding-block: var(--s16);
  text-align: center;
}

.band-heading {
  font-family: var(--font-head);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s10);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
  margin-bottom: var(--s8);
}

@media (min-width: 460px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
}

.stat-icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
}
.stat-icon svg { width: 100%; height: 100%; }

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-4xl));
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.46);
  letter-spacing: 0.03em;
}

.band-support {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.36);
  line-height: 1.65;
  max-width: 52ch;
  margin-inline: auto;
}


/* ── 10. About / Advantage ───────────────────────────────────── */
.about-section {
  padding-block: var(--s20) var(--s24);
  background: var(--bg);
}

.section-header { margin-bottom: var(--s10); }

.section-header h2 { color: var(--navy); }

.section-intro {
  font-size: var(--text-lg);
  color: var(--slate);
  margin-top: var(--s3);
  max-width: 56ch;
  line-height: 1.65;
}

/* Two-column layout: text left, cards right */
.about-layout {
  display: grid;
  gap: var(--s12);
}

@media (min-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--s16);
    align-items: start;
  }
}

.about-body p {
  font-size: var(--text-lg);
  color: var(--slate);
  line-height: 1.76;
  margin-bottom: var(--s4);
}

.pull-quote {
  border-left: 3px solid var(--gold);
  padding-left: var(--s6);
  margin-top: var(--s8);
}

.pull-quote p {
  font-family: var(--font-head);
  font-size: clamp(var(--text-xl), 2.6vw, var(--text-2xl));
  font-weight: 600;
  color: var(--navy);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

/* Benefit cards — 2×2 grid */
.benefit-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

@media (min-width: 480px) {
  .benefit-cards { grid-template-columns: repeat(2, 1fr); }
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s6);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--dur) var(--ease),
    transform  var(--dur) var(--ease);
}

.benefit-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin-bottom: var(--s4);
}
.benefit-icon svg { width: 100%; height: 100%; }

.benefit-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--s2);
  letter-spacing: -0.01em;
}

.benefit-card p {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.6;
}


/* ── 11. Operations ──────────────────────────────────────────── */
.operations-section {
  padding-block: var(--s20) var(--s24);
  background: var(--navy);
  color: var(--white);
}

.operations-section .section-header h2 { color: var(--white); }
.operations-section .section-intro      { color: rgba(255,255,255,0.58); }

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
  margin-bottom: var(--s10);
}

@media (min-width: 480px)  { .capabilities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .capabilities-grid { grid-template-columns: repeat(4, 1fr); } }

.capability-item {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--s6);
  background: rgba(255,255,255,0.04);
  transition:
    background    var(--dur) var(--ease),
    border-color  var(--dur) var(--ease);
}

.capability-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,162,39,0.38);
}

.capability-icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin-bottom: var(--s4);
}
.capability-icon svg { width: 100%; height: 100%; }

.capability-item h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--s2);
}

.capability-item p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.52);
  line-height: 1.6;
}

/* Terminal location note */
.terminal-note {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: var(--s8);
}

.terminal-note-inner {
  display: inline-flex;
  align-items: center;
  gap: var(--s4);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,162,39,0.22);
  border-radius: var(--radius);
  padding: var(--s4) var(--s6);
}

.terminal-icon {
  width: 26px;
  height: auto;
  color: var(--gold);
  flex-shrink: 0;
}

.terminal-note-inner strong {
  display: block;
  font-family: var(--font-head);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.terminal-note-inner span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.42);
}


/* ── 12. Products & Packaging ────────────────────────────────── */
.products-section {
  padding-block: var(--s20) var(--s24);
  background: var(--bg);
}

.products-section .section-header h2 { color: var(--navy); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

@media (min-width: 480px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s6) var(--s6) var(--s8);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow   var(--dur) var(--ease),
    transform    var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(201,162,39,0.5);
}

.product-icon {
  width: 38px;
  height: 38px;
  color: var(--navy);
  opacity: 0.65;
  margin-bottom: var(--s4);
}
.product-icon svg { width: 100%; height: 100%; }

.product-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--s2);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s2);
}

.product-spec {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--slate);
  background: var(--line);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0;
}

.product-card p {
  font-size: var(--text-sm);
  color: var(--slate);
  line-height: 1.6;
}


/* ── 13. Market ──────────────────────────────────────────────── */
.market-section {
  padding-block: var(--s16) var(--s20);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-inner { max-width: 680px; }

.market-inner h2 {
  color: var(--navy);
  margin-bottom: var(--s5);
}

.market-inner p {
  font-size: var(--text-lg);
  color: var(--slate);
  line-height: 1.76;
}


/* ── 14. CTA Band ────────────────────────────────────────────── */
.cta-band {
  padding-block: var(--s20) var(--s24);
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s6);
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-4xl));
  line-height: 1.14;
  max-width: 16ch;
}

.cta-inner p {
  color: rgba(255,255,255,0.56);
  font-size: var(--text-lg);
  max-width: 44ch;
  text-align: center;
  margin-inline: auto;
}


/* ── 15. Contact ─────────────────────────────────────────────── */
.contact-section {
  padding-block: var(--s20) var(--s24);
  background: var(--bg);
}

.contact-layout {
  display: grid;
  gap: var(--s12);
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 2fr;
    gap: var(--s16);
    align-items: start;
  }
}

.contact-info h2 {
  color: var(--navy);
  margin-bottom: var(--s3);
}

.contact-info > p {
  font-size: var(--text-lg);
  color: var(--slate);
  margin-bottom: var(--s8);
  line-height: 1.65;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.contact-link,
.contact-address {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--text-sm);
}

.contact-link {
  color: var(--navy);
  font-weight: 500;
  transition: color var(--dur) var(--ease);
}

.contact-link:hover { color: var(--gold-dark); }

.contact-address { color: var(--slate); }

.contact-link svg,
.contact-address svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
}

/* Form card */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s8);
  box-shadow: var(--shadow);
}

.contact-form { position: relative; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

@media (min-width: 480px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  margin-bottom: var(--s4);
}

.form-group-full { grid-column: 1 / -1; }

label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
}

label span { color: var(--gold-dark); margin-left: 1px; }

input,
textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition:
    border-color var(--dur) var(--ease),
    box-shadow   var(--dur) var(--ease);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder { color: #B2BAC0; }

input:focus,
textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.10);
  background: var(--white);
}

input.error,
textarea.error { border-color: #D85450; }

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

.field-error {
  font-size: var(--text-xs);
  color: #C0392B;
  min-height: 1em;
  line-height: 1.4;
}

.form-footer {
  padding-top: var(--s5);
}

/* Submit button loading state */
#submit-btn .btn-loading { display: none; }
#submit-btn.loading .btn-text { display: none; }
#submit-btn.loading .btn-loading { display: inline; }
#submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* Success / error messages */
.form-success,
.form-error {
  display: none;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s4) var(--s5);
  border-radius: var(--radius);
  margin-top: var(--s5);
}

.form-success.visible,
.form-error.visible { display: flex; }

.form-success {
  background: #F0FAF4;
  border: 1px solid #27AE60;
  color: #1B5E36;
}

.form-success svg {
  width: 20px;
  height: 20px;
  color: #27AE60;
  flex-shrink: 0;
  margin-top: 1px;
}

.form-success p,
.form-error p {
  font-size: var(--text-sm);
  max-width: none;
}

.form-error {
  background: #FFF2F2;
  border: 1px solid #FCA5A5;
  color: #7F1D1D;
}

.form-error a {
  color: var(--navy);
  text-decoration: underline;
}


/* ── 16. Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-top: var(--s12);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
  padding-bottom: var(--s12);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    gap: var(--s12);
    align-items: start;
  }
}

.logo-footer .logo-wordmark { color: var(--white); }
.logo-footer .logo-mark     { color: var(--gold);  }

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.32);
  margin-top: var(--s2);
  letter-spacing: 0.02em;
  max-width: none;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s6);
}

@media (min-width: 768px) {
  .footer-nav ul {
    flex-direction: column;
    gap: var(--s2);
  }
}

.footer-nav a {
  font-family: var(--font-head);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.46);
  transition: color var(--dur) var(--ease);
}

.footer-nav a:hover { color: var(--white); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.footer-contact a,
.footer-contact span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.46);
  transition: color var(--dur) var(--ease);
}

.footer-contact a:hover { color: var(--white); }

.footer-legal {
  padding-block: var(--s4) var(--s5);
  background: rgba(0,0,0,0.22);
}

.footer-legal p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.24);
  max-width: none;
  line-height: 1.6;
}

.reg-placeholder {
  opacity: 0.7;
  font-style: italic;
}
