/* ============================================================
   styles.css
   Version: 1.0.0
   Author: A&F Metal Products Inc.
   Contributors: K1ngw1ng, Centra Labs OSI (github.com/K1ngw1ng)
   Description: Main stylesheet for A&F Metal Products Inc. website.
   Copyright: (c) 2026 A&F Metal Products Inc. All rights reserved.
   Fonts: IBM Plex Serif, IBM Plex Mono, IBM Plex Sans Condensed (from Google Fonts)
   Last Updated: March 3, 2026
   “All art is propaganda; on the other hand, not all propaganda is art.” - George Orwell, 1984
   ============================================================ */

:root {
  /* === Catppuccin Macchiato Palette === */
  --ctp-rosewater: #f2d5cf;
  --ctp-flamingo:  #eebebe;
  --ctp-pink:      #f4b8e4;
  --ctp-mauve:     #c6a0f6;
  --ctp-red:       #ed8796;
  --ctp-maroon:    #ee99a0;
  --ctp-peach:     #f5a97f;
  --ctp-yellow:    #eed49f;
  --ctp-green:     #a6da95;
  --ctp-teal:      #8bd5ca;
  --ctp-sky:       #91d7e3;
  --ctp-sapphire:  #7dc4e4;
  --ctp-blue:      #8aadf4;
  --ctp-lavender:  #b7bdf8;
  --ctp-text:      #cad3f5;
  --ctp-subtext1:  #b8c0e0;
  --ctp-subtext0:  #a5adcb;
  --ctp-overlay2:  #939ab7;
  --ctp-overlay1:  #8087a2;
  --ctp-overlay0:  #6e738d;
  --ctp-surface2:  #5b6078;
  --ctp-surface1:  #494d64;
  --ctp-surface0:  #363a4f;
  --ctp-base:      #24273a;
  --ctp-mantle:    #1e2030;
  --ctp-crust:     #181926;

  /* === Semantic Design Tokens === */
  --bg:            var(--ctp-base);
  --bg-alt:        var(--ctp-mantle);
  --bg-raised:     var(--ctp-surface0);
  --bg-card:       var(--ctp-surface0);
  --border:        var(--ctp-surface1);
  --border-subtle: var(--ctp-surface0);

  --text-primary:  var(--ctp-text);
  --text-secondary:var(--ctp-subtext1);
  --text-muted:    var(--ctp-overlay1);

  --accent:        var(--ctp-blue);
  --accent-warm:   var(--ctp-sapphire);
  --accent-bright: var(--ctp-lavender);
  --accent-blue:   var(--ctp-blue);

  /* === Typography Scale === */
  --font-display:  'IBM Plex Serif', Georgia, serif;
  --font-body:     'IBM Plex Serif', Georgia, serif;
  --font-mono:     'IBM Plex Mono', 'Courier New', monospace;
  --font-cond:     'IBM Plex Sans Condensed', Arial Narrow, sans-serif;

  /* === Spacing === */
  --section-pad: 7rem 6rem;
  --section-pad-sm: 4rem 2rem;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

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

/* ============================================================
   OVERLAYS
   ============================================================ */
.grain-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
  opacity: 0.04;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 10s steps(8) infinite;
}

@keyframes grain {
  0%,100% { transform: translate(0,0); }
  12.5%   { transform: translate(-4%,-8%); }
  25%     { transform: translate(-10%,4%); }
  37.5%   { transform: translate(6%,-20%); }
  50%     { transform: translate(-3%,18%); }
  62.5%   { transform: translate(-12%,8%); }
  75%     { transform: translate(12%,2%); }
  87.5%   { transform: translate(2%,12%); }
}

.blueprint-grid {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(var(--ctp-blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--ctp-blue) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0;
  background: rgba(30, 32, 48, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 1.1rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  display: flex; align-items: center;
  text-decoration: none;
}

.nav-logo {
  height: 48px;
  width: auto;
  display: block;
  /* If logo is dark, make it visible on dark nav: */
  /* filter: brightness(0) invert(1); */
}

.nav-links {
  list-style: none;
  display: flex; align-items: center; gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s;
  padding: 0.3rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.6rem 1.4rem !important;
  background: var(--accent) !important;
  color: var(--ctp-crust) !important;
  border-radius: 3px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-warm) !important; color: var(--ctp-base) !important; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 8rem 3rem 5rem;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}

.shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  opacity: 0.06;
}

.shape-1 {
  width: 700px; height: 700px;
  background: var(--ctp-blue);
  top: -200px; right: -200px;
}
.shape-2 {
  width: 500px; height: 500px;
  background: var(--ctp-yellow);
  bottom: -150px; left: -100px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: var(--ctp-peach);
  top: 40%; left: 40%;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  text-align: center;
}

.hero-badge-row {
  display: flex; align-items: center; gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease backwards;
}

.hero-rule {
  flex: 1; max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border));
}
.hero-rule:last-child {
  background: linear-gradient(90deg, var(--border), transparent);
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-headline {
  display: flex; flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.15s backwards;
}

.hero-logo {
  height: clamp(100px, 22vw, 200px);
  width: auto;
  display: block;
  margin: 0 auto 0.5rem;
  /* Uncomment if logo needs to be lightened for dark background: */
  /* filter: brightness(0) invert(1); */
}

.headline-sub {
  font-family: var(--font-cond);
  font-size: clamp(1rem, 3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

.hero-tagline em {
  color: var(--accent-warm);
  font-style: italic;
}

.hero-divider {
  margin: 1.5rem auto 2rem;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.divider-ornament {
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 12px;
}

.hero-ctas {
  display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-footer-row {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  animation: fadeInUp 0.8s ease 0.65s backwards;
}

.hero-stat {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-stat-divider {
  color: var(--border);
  font-size: 0.6rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeInUp 1s ease 1s backwards;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: 3px;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--ctp-crust);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(138, 173, 244, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; }

/* ============================================================
   SECTION SHARED ELEMENTS
   ============================================================ */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-header { margin-bottom: 4rem; }
.section-header .section-label { margin-bottom: 0.8rem; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}

.section-sub {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section-pad);
  position: relative;
  z-index: 1;
}

.strip-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 6rem;
  align-items: start;
}

.strip-image-col {
  position: relative;
}

.strip-img-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-raised);
  /* Corner accent marks */
}

.strip-img-frame::before,
.strip-img-frame::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--accent);
  z-index: 2;
  pointer-events: none;
}
.strip-img-frame::before {
  top: 8px; left: 8px;
  border-right: none; border-bottom: none;
}
.strip-img-frame::after {
  bottom: 8px; right: 8px;
  border-left: none; border-top: none;
}

.strip-shop-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: sepia(10%) contrast(95%) brightness(90%);
  transition: filter 0.4s ease;
}

.strip-img-frame:hover .strip-shop-img {
  filter: sepia(0%) contrast(100%) brightness(95%);
}

.strip-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.strip-heading em {
  font-style: italic;
  color: var(--accent-warm);
}

.strip-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  max-width: 680px;
}

.strip-tags {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-top: 2rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  background: var(--bg-raised);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  padding: var(--section-pad);
  position: relative; z-index: 1;
}

.services-inner {
  max-width: 1300px; margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border-subtle);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  padding: 2.8rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  transition: background 0.25s ease;
}

.service-card:hover {
  background: var(--bg-card);
}

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 2.8rem 3rem;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.service-icon {
  width: 44px; height: 44px;
  color: var(--accent);
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.service-card:hover .service-icon { opacity: 1; color: var(--accent-warm); }

.service-icon svg { width: 100%; height: 100%; }

.service-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-content-wide { flex: 1; }
.service-card--wide .service-icon { width: 52px; height: 52px; margin-top: 0.4rem; flex-shrink: 0; }
.service-card--wide .service-name { font-size: 1.5rem; }
.service-card--wide .service-desc { font-size: 1rem; max-width: 680px; }

/* ============================================================
   HERITAGE BANNER
   ============================================================ */
.heritage-banner {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section-pad);
  position: relative; overflow: hidden; z-index: 1;
}

.heritage-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 6rem;
  align-items: center;
}

.heritage-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.heritage-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.3rem;
  line-height: 1.8;
}

.heritage-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
  margin: 2.5rem 0;
  max-width: 300px;
}

.heritage-quote {
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

.heritage-quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.heritage-quote cite {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* Big Emblem */
.heritage-emblem-col {
  display: flex; align-items: center; justify-content: center;
}

.big-emblem {
  position: relative;
  width: 300px; height: 300px;
  display: flex; align-items: center; justify-content: center;
}

.big-emblem-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: slowSpin 40s linear infinite;
}

.ring-1 { animation-duration: 40s; }
.ring-2 { inset: 20px; border-style: dashed; animation-duration: 60s; animation-direction: reverse; border-color: var(--ctp-surface2); }
.ring-3 { inset: 40px; animation-duration: 80s; border-color: var(--ctp-surface1); }

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.big-emblem-center {
  position: relative; z-index: 1;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}

.big-emblem-af {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -4px;
}

.big-emblem-af span { color: var(--accent-warm); }

.big-emblem-line {
  width: 60px; height: 1px;
  background: var(--border);
  margin: 0.3rem auto;
}

.big-emblem-label {
  font-family: var(--font-cond);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.big-emblem-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   CAPABILITIES TICKER
   ============================================================ */
.capabilities-ticker {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative; z-index: 1;
}

.ticker-track {
  display: flex; align-items: center; gap: 2rem;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker-track span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.tick-dot {
  color: var(--accent) !important;
  font-size: 0.5rem !important;
  letter-spacing: 0 !important;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   WHY US
   ============================================================ */
.whyus-section {
  padding: var(--section-pad);
  position: relative; z-index: 1;
}

.whyus-inner { max-width: 1300px; margin: 0 auto; }

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border-subtle);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.why-card {
  background: var(--bg);
  padding: 3.5rem 3rem;
  transition: background 0.2s;
  position: relative;
}
.why-card:hover { background: var(--bg-card); }

.why-icon {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.why-card p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: var(--section-pad);
  position: relative; z-index: 1;
}

.contact-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.contact-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
}

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

.contact-detail { display: flex; flex-direction: column; gap: 0.2rem; }

.detail-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.detail-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-primary);
  transition: color 0.2s;
}
a.detail-value:hover { color: var(--accent); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.3rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

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

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e738d' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option { background: var(--bg-raised); color: var(--text-primary); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(138, 173, 244, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

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

.form-note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: center;
  margin-top: -0.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ctp-crust);
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}

.footer-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 5rem 3rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-logo {
  height: 70px;
  width: auto;
  display: block;
  margin-bottom: 0.8rem;
  /* filter: brightness(0) invert(1); */
}

.footer-est {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.footer-links-col {
  display: flex; flex-direction: column; gap: 0.8rem;
}

.footer-links-col h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.footer-links-col a,
.footer-links-col span {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
  line-height: 1.4;
}

.footer-links-col a:hover { color: var(--text-primary); }

.footer-bottom {
  max-width: 1300px; margin: 0 auto;
  padding: 2rem 3rem;
  border-top: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

.footer-ornament {
  font-size: 0.5rem;
  color: var(--accent);
  letter-spacing: 6px;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger children in grids */
.services-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.24s; }
.services-grid .reveal:nth-child(7) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(8) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(9) { transition-delay: 0.24s; }
.services-grid .reveal:nth-child(10){ transition-delay: 0.12s; }

.whyus-grid .reveal:nth-child(2)  { transition-delay: 0.1s; }
.whyus-grid .reveal:nth-child(3)  { transition-delay: 0.05s; }
.whyus-grid .reveal:nth-child(4)  { transition-delay: 0.15s; }

/* ============================================================
   SHARED ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --section-pad: 5rem 3rem; }

  .nav-inner { padding: 1rem 2rem; }

  .strip-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .strip-shop-img { height: 300px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .heritage-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .heritage-emblem-col { order: -1; }
  .big-emblem { width: 220px; height: 220px; }
  .big-emblem-af { font-size: 3rem; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root { --section-pad: 4rem 1.5rem; }

  .nav-inner { padding: 1rem 1.5rem; }

  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { flex-direction: column; }
  .service-card--wide .service-icon { width: 44px; height: 44px; }

  .whyus-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 2rem;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column; text-align: center;
    padding: 1.5rem;
  }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-footer-row { gap: 1.2rem; }
}

@media (max-width: 480px) {
  .headline-amp { font-size: 5rem; letter-spacing: -3px; }
  .hero-footer-row { flex-direction: column; gap: 1.2rem; }
  .hero-stat-divider { display: none; }
}
/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--ctp-surface1);
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--ctp-overlay1);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  text-transform: uppercase;
}

.lang-btn.active {
  background: var(--ctp-blue);
  color: var(--ctp-crust);
}

.lang-btn:not(.active):hover {
  color: var(--ctp-text);
  background: var(--ctp-surface0);
}

.lang-divider {
  width: 1px;
  height: 20px;
  background: var(--ctp-surface1);
  flex-shrink: 0;
}

/* ensure nav-inner accommodates the extra widget */
.nav-inner { gap: 1.5rem; }