/*
Theme Name: b7studio
Theme URI: https://b7studio.co.uk
Author: b7studio — Bartosz Krawczyk
Author URI: https://b7studio.co.uk
Description: Custom theme for b7studio — web development, app development & graphic design studio based in Nottingham, UK.
Version: 1.0.0
License: Private
Text Domain: b7studio
Tags: custom, portfolio, agency, responsive
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colours — drawn from the b7studio butterfly logo */
  --orange:       #E8701A;
  --orange-light: #F0891F;
  --orange-pale:  #FFF4EC;
  --orange-mid:   #FDEBD6;
  --navy:         #1A2F6E;
  --navy-mid:     #243580;
  --navy-light:   #EEF1FA;
  --navy-pale:    #F5F7FD;

  /* Neutrals */
  --bg:           #FAFAF7;
  --bg2:          #F3F1EC;
  --bg3:          #ECEAE4;
  --white:        #FFFFFF;
  --text:         #18181B;
  --text-mid:     #3F3F46;
  --muted:        #71717A;
  --border:       #E4E2DA;
  --border-light: #EDEBE5;

  /* Typography */
  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --mono:   'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-y:    7rem;
  --container:    1200px;
  --gap:          2rem;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(26,47,110,0.06), 0 1px 2px rgba(26,47,110,0.04);
  --shadow-md:  0 4px 16px rgba(26,47,110,0.08), 0 2px 4px rgba(26,47,110,0.04);
  --shadow-lg:  0 16px 48px rgba(26,47,110,0.12), 0 4px 12px rgba(26,47,110,0.06);
  --shadow-orange: 0 8px 32px rgba(232,112,26,0.2);

  /* Radius */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  16px;
  --r-xl:  24px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg2); }
.section--navy { background: var(--navy); }
.section--orange { background: var(--orange); }
.section--white { background: var(--white); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}
.label--navy { color: var(--navy); }
.label--navy::before { background: var(--navy); }
.label--white { color: rgba(255,255,255,0.7); }
.label--white::before { background: rgba(255,255,255,0.7); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

.text-muted { color: var(--muted); }
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.italic { font-style: italic; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: var(--r-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 12px 36px rgba(232,112,26,0.28); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: white; }

/* Arrow icon */
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .logo-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.nav-logo-text .logo-tag {
  font-family: var(--serif);
  font-size: 0.68rem;
  font-style: italic;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--navy); background: var(--navy-light); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 50%, rgba(232,112,26,0.06) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(26,47,110,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,47,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,47,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange-pale);
  border: 1px solid rgba(232,112,26,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--orange);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 1.8rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight {
  position: relative;
  color: var(--orange);
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat-val {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo-display {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-logo-display img {
  width: 340px;
  max-width: 100%;
  filter: drop-shadow(0 24px 60px rgba(232,112,26,0.18));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-orbit {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(232,112,26,0.2);
  animation: spin 30s linear infinite;
}
.hero-orbit-2 {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(26,47,110,0.12);
  animation: spin 20s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  top: 50%; left: 0;
  transform: translate(-50%, -50%);
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.marquee-section {
  background: var(--navy);
  padding: 1rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.marquee-item span {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 2rem;
}
.marquee-item .sep {
  color: var(--orange);
  font-size: 1rem;
  padding: 0;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ============================================================
   SERVICES
   ============================================================ */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.services-header-right {
  max-width: 40ch;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card--featured { border-color: rgba(232,112,26,0.25); background: var(--orange-pale); }
.service-card--featured::before { transform: scaleX(1); }

.service-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--navy-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.service-card--featured .service-icon { background: rgba(232,112,26,0.15); color: var(--orange); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 0.85rem; font-size: 1.35rem; }
.service-card > p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; font-weight: 300; margin-bottom: 1.5rem; }
.service-features { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
.service-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.service-feature::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: var(--r-sm);
  text-transform: uppercase;
  background: var(--bg);
}
.tag--orange { border-color: rgba(232,112,26,0.3); color: var(--orange); background: var(--orange-pale); }
.tag--navy { border-color: rgba(26,47,110,0.2); color: var(--navy); background: var(--navy-pale); }

/* ============================================================
   PROJECTS / WORK
   ============================================================ */
.projects-section { background: var(--bg2); }
.projects-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  background: var(--bg3);
  padding: 0.25rem;
  border-radius: var(--r-md);
  width: fit-content;
}
.proj-tab {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.proj-tab.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }

/* Project cards — detailed */
.project-detail-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.project-detail-card.reverse { direction: rtl; }
.project-detail-card.reverse > * { direction: ltr; }
.project-card-visual {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.project-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(232,112,26,0.15), transparent 60%);
}
.proj-visual-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.proj-screen {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  backdrop-filter: blur(4px);
}
.proj-screen .s-title { color: var(--white); font-weight: 600; margin-bottom: 0.5rem; font-size: 0.78rem; }
.proj-screen .s-ok { color: #4ade80; }
.proj-screen .s-warn { color: #f59e0b; }
.proj-screen .s-err { color: #f87171; }
.proj-screen .s-accent { color: var(--orange); }
.proj-badge-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.proj-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.proj-badge--live { background: rgba(74,222,128,0.15); border-color: rgba(74,222,128,0.3); color: #4ade80; }

.project-card-content { padding: 3rem 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.proj-type {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.project-card-content h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.75rem; }
.project-card-content .proj-client {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.project-card-content > p { color: var(--muted); line-height: 1.7; font-weight: 300; margin-bottom: 1.5rem; }
.proj-features-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.proj-feat {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.proj-feat-icon {
  width: 24px; height: 24px;
  background: var(--orange-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 1px;
}
.proj-stat-row {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.proj-stat-val { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); font-weight: 700; line-height: 1; }
.proj-stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; font-weight: 500; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.process-step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
}
.process-step-n {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(232,112,26,0.2);
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h4 { color: var(--white); font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.process-step p { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.65; font-weight: 300; }
.process-connector {
  display: none;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--orange); padding: 3.5rem 0; }
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  divide: 1;
}
.stat-item { text-align: center; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.25); }
.stat-val {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.75); font-weight: 500; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { color: var(--muted); line-height: 1.75; font-weight: 300; margin-bottom: 1rem; }
.tech-stack-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}
.tech-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tech-pill {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border);
  color: var(--text-mid);
  border-radius: var(--r-sm);
  background: var(--white);
}

.about-card {
  background: var(--navy);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-card-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.about-card-dot { width: 10px; height: 10px; border-radius: 50%; }
.about-card-body { padding: 2rem; }
.about-code {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 2;
}
.c-kw  { color: #c792ea; }
.c-fn  { color: #82aaff; }
.c-str { color: var(--orange); }
.c-num { color: #f78c6c; }
.c-cm  { color: rgba(255,255,255,0.25); }
.c-key { color: #b2ccd6; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info > p { color: var(--muted); line-height: 1.7; margin-bottom: 2.5rem; font-weight: 300; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail-item { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-detail-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  font-weight: 600;
}
.contact-detail-val { font-size: 1rem; font-weight: 500; color: var(--text); }
.contact-detail-val a { transition: color 0.2s; }
.contact-detail-val a:hover { color: var(--orange); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-mid); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,112,26,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.01em;
}
.form-submit:hover { background: var(--navy-mid); transform: translateY(-1px); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #111520;
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-brand .footer-logo-text {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.footer-brand .footer-logo-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--orange);
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 28ch; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.8rem; font-family: var(--mono); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--orange); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-y: 5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .project-detail-card { grid-template-columns: 1fr; }
  .project-detail-card .project-card-visual { min-height: 280px; }
  .project-detail-card.reverse { direction: ltr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  :root { --section-y: 4rem; }
  .container { padding: 0 1.25rem; }
  nav .nav-menu { display: none; }
  nav .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }
  nav .nav-menu.open a { padding: 0.75rem 1rem; display: block; }
  .nav-hamburger { display: flex; }
  .nav-right .btn { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .stat-item + .stat-item { border-left: none; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
