/* ═══════════════════════════════════════════════════════════════
   AL FATEH — Marine & Industrial Services
   Theme CSS — v1.0.0
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --bg:          #0A1628;
  --bg-card:     #0D1929;
  --bg-secondary:#1A2840;
  --bg-muted:    #141F30;
  --fg:          #EAF2FF;
  --fg-muted:    #7A91AA;
  --primary:     #C8902A;
  --primary-fg:  #0A1628;
  --border:      #1E2D44;
  --gold-start:  #D4AF37;
  --gold-end:    #AA7C11;
  --font-sans:   'Manrope', sans-serif;
  --font-display:'Outfit', sans-serif;
  --radius:      3px;
  --max-w:       1280px;
  --nav-h:       80px;
}

/* ── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--fg-muted); }

/* ── Utility ────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-pad { padding: 6rem 0; }

.text-primary   { color: var(--primary); }
.text-muted     { color: var(--fg-muted); }

.text-gold-gradient {
  background: linear-gradient(to right, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: none;
}
.fade-in-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── Industrial Grid Background ───────────────────────────────── */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
#site-header.scrolled {
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(234,242,255,0.8);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 0 15px rgba(200,144,42,0.3);
}
.nav-cta:hover { background: #d4982e; transform: translateY(-2px); }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg);
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--primary); }
#mobile-menu .nav-cta { width: 100%; text-align: center; padding: 1rem; font-size: 1rem; margin-top: 0.5rem; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: radial-gradient(circle at top right, hsl(216, 40%, 15%), hsl(216, 45%, 8%));
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute;
  top: 25%; left: 25%;
  width: 500px; height: 500px;
  background: rgba(200,144,42,0.08);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: 25%; right: 25%;
  width: 600px; height: 600px;
  background: rgba(30,58,138,0.15);
  filter: blur(150px);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(200,144,42,0.3);
  background: rgba(200,144,42,0.05);
  border-radius: var(--radius);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}
.hero-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 900;
  margin-bottom: 2rem;
  max-width: 900px;
}
.hero-title .line-1 { display: block; color: var(--fg); }
.hero-title .line-2 { display: block; color: rgba(234,242,255,0.7); }
.hero-title .line-3 {
  display: block;
  background: linear-gradient(to right, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(200,144,42,0.2);
  transition: box-shadow 0.3s;
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(200,144,42,0.4); }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateY(100%);
  transition: transform 0.3s;
}
.btn-primary:hover::after { transform: translateY(0); }
.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--bg-secondary);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(30,40,64,0.8); border-color: rgba(200,144,42,0.4); }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 0.2s;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}
.hero-scroll:hover { color: var(--primary); }
.hero-scroll svg {
  width: 20px; height: 20px;
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
#about {
  padding: 6rem 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(30,45,68,0.5);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
}
.about-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.about-divider {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin-top: 0.5rem;
}
.about-text p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--fg-muted);
}
.about-text p:first-child {
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(234,242,255,0.9);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
#services {
  padding: 6rem 0;
  background: rgba(13,25,41,0.4);
}
#services.bg-grid {
  background-color: rgba(13,25,41,0.4);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.service-card:hover {
  border-color: rgba(200,144,42,0.5);
  background: rgba(26,40,64,0.5);
}
.service-card-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-bottom-left-radius: var(--radius);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover .service-icon {
  border-color: rgba(200,144,42,0.5);
  transform: scale(1.08);
}
.service-icon svg {
  width: 28px; height: 28px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
}
.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
  color: var(--fg);
  transition: color 0.2s;
}
.service-card:hover .service-title { color: var(--primary); }
.service-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}
.service-hover-glow {
  position: absolute;
  inset: 0;
  background: rgba(200,144,42,0.04);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  border-radius: var(--radius);
}
.service-card:hover .service-hover-glow { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════════════════════════ */
#projects { padding: 6rem 0; background: var(--bg); }

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  cursor: pointer;
}
.project-img-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.project-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.4);
  z-index: 1;
  transition: background 0.5s;
}
.project-card:hover .project-img-overlay { background: rgba(10,22,40,0.2); }
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: grayscale(30%);
}
.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.project-cat-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  background: rgba(10,22,40,0.8);
  border: 1px solid rgba(30,45,68,0.5);
  border-radius: var(--radius);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.project-body {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.3s;
}
.project-card:hover .project-body { border-color: rgba(200,144,42,0.3); }
.project-title {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 0.4rem;
  color: var(--fg);
}
.project-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.project-card:hover .project-arrow {
  background: var(--primary);
  border-color: var(--primary);
}
.project-arrow svg {
  width: 18px; height: 18px;
  stroke: var(--fg);
  fill: none;
  transition: stroke 0.2s;
}
.project-card:hover .project-arrow svg { stroke: var(--primary-fg); }

/* ═══════════════════════════════════════════════════════════════
   WHY US
   ═══════════════════════════════════════════════════════════════ */
#why-us {
  padding: 6rem 0;
  background: rgba(13,25,41,0.5);
  border-top: 1px solid rgba(30,45,68,0.5);
  border-bottom: 1px solid rgba(30,45,68,0.5);
  position: relative;
  overflow: hidden;
}
.why-bg-graphic {
  position: absolute;
  right: -16rem;
  top: 0;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}
.why-bg-graphic svg {
  width: 700px; height: 700px;
  stroke: currentColor;
  fill: none;
  color: var(--fg);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.why-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.why-intro {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  line-height: 1.75;
}
.why-points { display: flex; flex-direction: column; gap: 1.5rem; }
.why-point { display: flex; gap: 1rem; }
.why-point-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}
.why-point-icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 2; }
.why-point-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--fg);
}
.why-point-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }

/* Abstract steel framing panel */
.why-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  height: 500px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  position: relative;
}
.why-panel-inner {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(30,45,68,0.5);
  position: relative;
  padding: 1rem;
}
.steel-v1,.steel-v2,.steel-v3 {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.steel-v1 { left: 20%; opacity: 0.6; }
.steel-v2 { left: 50%; width: 2px; background: rgba(200,144,42,0.25); }
.steel-v3 { left: 80%; opacity: 0.6; }
.steel-h1 {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
  top: 30%; opacity: 0.6;
}
.steel-h2 {
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: rgba(200,144,42,0.15);
  top: 60%;
}
.steel-plate-1 {
  position: absolute;
  width: 16px; height: 16px;
  background: var(--primary);
  border-radius: 2px;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
}
.steel-plate-2 {
  position: absolute;
  width: 22px; height: 22px;
  background: var(--border);
  border: 1px solid var(--primary);
  border-radius: 2px;
  top: 60%; left: 50%;
  transform: translate(-50%, -50%);
}
.steel-label {
  position: absolute;
  bottom: 2rem; right: 2rem;
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: rgba(30,45,68,0.5);
}

/* ═══════════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════════ */
#cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0A1628 0%, #0D1929 50%, #0A1628 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: rgba(200,144,42,0.06);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}
.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 1rem;
  position: relative;
}
.cta-subtitle {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
#contact { padding: 6rem 0; background: var(--bg); }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
}
.contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 40px; height: 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 20px; height: 20px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.75;
}
.contact-info-label {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--fg);
}
.contact-info-value {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.contact-info-value a {
  display: block;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.contact-info-value a:hover { color: var(--primary); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(234,242,255,0.7);
}
.form-input,
.form-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(122,145,170,0.5); }
.form-textarea { resize: none; min-height: 140px; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.form-submit:hover { background: #d4982e; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-error { font-size: 0.8125rem; color: #f87171; margin-top: 0.25rem; }
.form-success {
  padding: 1rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: var(--radius);
  color: #4ade80;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
#site-footer {
  background: #050B14;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 240px;
}
.footer-col-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--primary); }
.footer-link svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.footer-address svg {
  width: 16px; height: 16px;
  stroke: var(--fg-muted);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}
address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--fg-muted); }

/* ═══════════════════════════════════════════════════════════════
   PAGE / SINGLE / ARCHIVE / 404
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background: radial-gradient(circle at top right, hsl(216, 40%, 15%), hsl(216, 45%, 8%));
  border-bottom: 1px solid var(--border);
}
.page-hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
.page-hero-breadcrumb {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}
.page-hero-breadcrumb a { color: var(--primary); }

.page-content { padding: 5rem 0; }
.page-content .entry-content { max-width: 780px; }
.page-content .entry-content p { margin-bottom: 1.25rem; color: var(--fg-muted); line-height: 1.8; }
.page-content .entry-content h2 {
  font-size: 1.75rem; font-weight: 800;
  margin: 2rem 0 1rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 5rem 0;
}
.archive-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}
.archive-card:hover { border-color: rgba(200,144,42,0.4); }
.archive-card-img { height: 200px; overflow: hidden; }
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.archive-card:hover .archive-card-img img { transform: scale(1.05); }
.archive-card-body { padding: 1.5rem; }
.archive-card-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--fg); }
.archive-card-excerpt { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }

.error-404-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 4rem) 1.5rem 4rem;
}
.error-404-code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(to right, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.error-404-msg { font-size: 1.25rem; color: var(--fg-muted); margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-panel { display: none; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .archive-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1.5rem; }
}
