/* ═══════════════════════════════════════════════════════════
   Just For Now — style.css
   Steampunk Cleaning Company
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --brass:          #b5813a;
  --brass-light:    #d4a85a;
  --brass-dark:     #7a5520;
  --copper:         #9c4a1a;
  --iron:           #2a2a2e;
  --iron-mid:       #3c3c42;
  --iron-light:     #55555d;
  --parchment:      #f0e6cc;
  --parchment-dark: #d4c49a;
  --glow:           0 0 18px rgba(181,129,58,0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Libre Baskerville', serif;
  background-color: var(--iron);
  color: var(--parchment);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'IM Fell English SC', serif;
  letter-spacing: 0.04em;
}

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

/* ─── Background Canvas ──────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── Steam Layer ────────────────────────────────────────── */
.steam-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.steam-puff {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,220,220,0.18) 0%, transparent 70%);
  animation: steamRise linear infinite;
  filter: blur(8px);
}

@keyframes steamRise {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  15%  { opacity: 1; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(-110vh) scale(3.5); opacity: 0; }
}

/* ─── Page Wrapper ───────────────────────────────────────── */
.page-wrapper { position: relative; z-index: 10; }

/* ─── GDPR Banner ────────────────────────────────────────── */
#gdpr-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1a1a1e 80%, #2e2010 100%);
  border-top: 2px solid var(--brass);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.7);
  transform: translateY(0);
  transition: transform 0.4s ease;
}

#gdpr-banner.hidden { transform: translateY(110%); }

#gdpr-banner p {
  font-size: 0.82rem;
  color: var(--parchment-dark);
  flex: 1;
  min-width: 220px;
  line-height: 1.6;
}

#gdpr-banner p a { color: var(--brass-light); text-decoration: underline; }

.gdpr-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-gdpr {
  font-family: 'IM Fell English SC', serif;
  font-size: 0.78rem;
  padding: 8px 20px;
  border: 1.5px solid var(--brass);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s;
  background: transparent;
  color: var(--parchment);
}

.btn-gdpr.accept { background: var(--brass); color: var(--iron); }
.btn-gdpr:hover  { filter: brightness(1.25); }

/* ─── HEADER ─────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: linear-gradient(180deg, rgba(12,9,4,0.98) 0%, rgba(20,15,8,0.97) 100%);
  border-bottom: 2px solid var(--brass-dark);
  box-shadow: 0 2px 30px rgba(0,0,0,0.7), var(--glow);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 28px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

/* CSS script wordmark — mimics the logo lettering */
.brand-script {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  line-height: 1;
  color: #f5e6b8;
  -webkit-text-stroke: 2.5px #c45a10;
  paint-order: stroke fill;
  text-shadow:
    3px  3px  0px #7a2e00,
    -1px -1px 0px #7a2e00,
     0px  0px 18px rgba(196, 90, 16, 0.45),
     0px  0px 40px rgba(181, 129, 58, 0.2);
  letter-spacing: 0.01em;
  transition: text-shadow 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.logo-wrap:hover .brand-script {
  color: #fff5d6;
  text-shadow:
    3px  3px  0px #7a2e00,
    -1px -1px 0px #7a2e00,
     0px  0px 28px rgba(212, 120, 30, 0.7),
     0px  0px 60px rgba(181, 129, 58, 0.4);
}

/* Nav */
nav { display: flex; align-items: center; gap: 8px; }

.nav-link {
  font-family: 'IM Fell English SC', serif;
  font-size: 0.88rem;
  padding: 8px 16px;
  color: var(--parchment-dark);
  border: 1px solid transparent;
  border-radius: 3px;
  transition: all 0.25s;
  cursor: pointer;
  background: none;
  letter-spacing: 0.05em;
}

.nav-link:hover {
  color: var(--brass-light);
  border-color: var(--brass-dark);
  background: rgba(181,129,58,0.08);
  text-shadow: 0 0 8px rgba(181,129,58,0.5);
}

.nav-cta {
  background: linear-gradient(135deg, var(--brass-dark), var(--brass));
  color: var(--iron) !important;
  border-color: var(--brass) !important;
  font-weight: bold;
}

.nav-cta:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
  box-shadow: var(--glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brass);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Shared Section Styles ──────────────────────────────── */
section { position: relative; overflow: hidden; }

.section-inner {
  max-width: 1200px;
  margin: auto;
  padding: 90px 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--brass-light);
  text-shadow: 0 0 20px rgba(181,129,58,0.4);
}

.section-title p {
  margin-top: 10px;
  color: var(--parchment-dark);
  font-style: italic;
  font-size: 1rem;
}

.brass-divider {
  display: block;
  margin: 18px auto;
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  position: relative;
}

.brass-divider::before,
.brass-divider::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brass);
  font-size: 0.7rem;
}

.brass-divider::before { left: -12px; }
.brass-divider::after  { right: -12px; }

.rivet-border {
  border: 2px solid var(--brass-dark);
  border-radius: 4px;
  position: relative;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.3), 0 0 0 1px rgba(181,129,58,0.15);
}

.rivet-border::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(181,129,58,0.2);
  border-radius: 2px;
  pointer-events: none;
}

/* ─── HERO ───────────────────────────────────────────────── */
#home {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(120,60,10,0.3) 0%, transparent 70%),
    linear-gradient(180deg, rgba(10,8,5,0.6) 0%, rgba(20,16,10,0.4) 100%);
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--brass);
  border: 1px solid var(--brass-dark);
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 28px;
  text-transform: uppercase;
  font-family: 'Libre Baskerville', serif;
  animation: fadeSlideUp 0.8s ease both;
}

/* Hero brand (large) */
.hero-brand {
  font-size: clamp(3rem, 10vw, 6.5rem);
  display: block;
}

/* Flanking gears */
.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: fadeSlideUp 0.9s ease 0.1s both;
}

.hero-title-text { margin: 0; }

.hero-gear-left,
.hero-gear-right {
  width: clamp(50px, 8vw, 90px);
  height: clamp(50px, 8vw, 90px);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(181,129,58,0.3));
}

.hero-gear-left  { animation: spinSlow 18s linear infinite; }
.hero-gear-right { animation: spinSlow 14s linear infinite reverse; }

/* Ornate SVG rule */
.hero-rule {
  max-width: 500px;
  margin: 10px auto 20px;
  opacity: 0.7;
  animation: fadeSlideUp 1s ease 0.25s both;
}
.hero-rule svg { width: 100%; }

/* Pipe strip at top of hero */
/* Pipe dividers between sections */
.section-pipe-divider {
  width: 100%;
  line-height: 0;
  opacity: 0.5;
  position: relative;
  z-index: 11;
}
.section-pipe-divider svg { width: 100%; display: block; }

/* Pressure gauges */
.hero-gauge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 50px;
  opacity: 0.75;
  animation: fadeSlideUp 1s ease 0.5s both;
}

.gauge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.gauge-svg {
  width: clamp(70px, 10vw, 110px);
  height: clamp(70px, 10vw, 110px);
  filter: drop-shadow(0 0 6px rgba(181,129,58,0.25));
}

.gauge-label {
  font-family: 'IM Fell English SC', serif;
  font-size: 0.6rem;
  color: var(--brass-dark);
  letter-spacing: 0.1em;
}

.gauge-needle   { transform-origin: 60px 60px; transform: rotate(-135deg); }
.gauge-needle-2 { transform-origin: 60px 60px; transform: rotate(-135deg); }

/* Applied by JS after the climb completes */
.gauge-needle.oscillate {
  animation: needleHigh 5s ease-in-out infinite;
}
.gauge-needle-2.oscillate {
  animation: needleHigh 7s ease-in-out infinite reverse;
}

@keyframes needleHigh {
  0%   { transform: rotate(86deg);  }
  30%  { transform: rotate(118deg); }
  60%  { transform: rotate(98deg);  }
  80%  { transform: rotate(128deg); }
  100% { transform: rotate(86deg);  }
}

.hero-pipe-elbow {
  width: clamp(100px, 16vw, 220px);
  opacity: 0.7;
  align-self: center;
}
.hero-pipe-elbow svg { width: 100%; display: block; }

/* ─── Rivet corners on cards ─────────────────────────── */
.rivet-tl, .rivet-tr, .rivet-bl, .rivet-br {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d4a85a, #7a5520);
  box-shadow: 0 0 3px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.15);
  z-index: 2;
}
.rivet-tl { top: 8px;    left: 8px;    }
.rivet-tr { top: 8px;    right: 8px;   }
.rivet-bl { bottom: 8px; left: 8px;    }
.rivet-br { bottom: 8px; right: 8px;   }

/* Footer brand */
.footer-logo-link { text-decoration: none; }
.footer-brand {
  font-size: 1.4rem;
  text-shadow: 2px 2px 0 #7a2e00, 0 0 12px rgba(181,129,58,0.4);
}

.hero-tagline {
  margin-top: 10px;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--parchment-dark);
  font-style: italic;
  animation: fadeSlideUp 1s ease 0.2s both;
}

.hero-ctas {
  margin-top: 48px;
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 1s ease 0.35s both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  font-family: 'IM Fell English SC', serif;
  font-size: 1.2rem;
  padding: 20px 52px;
  background: linear-gradient(135deg, var(--brass-dark) 0%, var(--brass) 50%, var(--brass-dark) 100%);
  background-size: 200% 100%;
  color: var(--iron);
  border: 2px solid var(--brass-light);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.35s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  letter-spacing: 0.1em;
  min-width: 220px;
  text-align: center;
}

.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 8px 36px rgba(181,129,58,0.55), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.btn-secondary {
  font-family: 'IM Fell English SC', serif;
  font-size: 1.2rem;
  padding: 20px 52px;
  background: transparent;
  color: var(--parchment);
  border: 2px solid var(--iron-light);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.1em;
  min-width: 220px;
  text-align: center;
}

.btn-secondary:hover {
  border-color: var(--brass);
  color: var(--brass-light);
  box-shadow: 0 0 18px rgba(181,129,58,0.25);
  transform: translateY(-3px);
}

.scroll-hint {
  margin-top: 60px;
  animation: fadeSlideUp 1s ease 0.5s both, bounce 2s ease 1.5s infinite;
  color: var(--brass-dark);
  font-size: 1.4rem;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ─── SERVICES ───────────────────────────────────────────── */
#services {
  background: linear-gradient(180deg, rgba(18,14,8,0.9) 0%, rgba(24,20,12,0.95) 100%);
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(181,129,58,0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(181,129,58,0.04) 40px);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.service-card {
  background: linear-gradient(145deg, rgba(42,36,22,0.9), rgba(30,26,16,0.95));
  border: 1px solid var(--brass-dark);
  border-radius: 6px;
  padding: 32px 20px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(181,129,58,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--brass);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), var(--glow);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--brass-dark), var(--brass));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: all 0.35s;
}

.service-card:hover .service-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 6px 24px rgba(181,129,58,0.4);
}

.service-icon svg { width: 30px; height: 30px; fill: var(--iron); }

.service-name {
  font-family: 'IM Fell English SC', serif;
  font-size: 0.92rem;
  color: var(--parchment);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.service-desc {
  font-size: 0.75rem;
  color: var(--iron-light);
  margin-top: 8px;
  line-height: 1.5;
  font-style: italic;
}

/* ─── PRICING ────────────────────────────────────────────── */
#pricing {
  background: linear-gradient(180deg, rgba(14,12,8,0.97) 0%, rgba(20,16,10,0.97) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
  align-items: stretch;
}

.price-card {
  background: linear-gradient(160deg, rgba(38,32,18,0.95), rgba(26,22,14,0.98));
  border: 1px solid var(--brass-dark);
  border-radius: 6px;
  padding: 42px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--brass);
  background: linear-gradient(160deg, rgba(60,44,16,0.95), rgba(40,30,10,0.98));
  box-shadow: var(--glow), 0 8px 40px rgba(0,0,0,0.5);
  transform: scale(1.04);
}

.price-card:hover { transform: translateY(-6px); }
.price-card.featured:hover { transform: scale(1.04) translateY(-6px); }

.price-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brass-dark), var(--brass));
  color: var(--iron);
  font-family: 'IM Fell English SC', serif;
  font-size: 0.72rem;
  padding: 5px 18px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.price-tier {
  font-family: 'IM Fell English SC', serif;
  font-size: 1.3rem;
  color: var(--brass-light);
  margin-bottom: 6px;
}

.price-amount {
  font-size: 3.2rem;
  font-family: 'IM Fell English SC', serif;
  color: var(--parchment);
  line-height: 1;
  margin: 16px 0 4px;
}

.price-amount sup { font-size: 1.4rem; vertical-align: super; }
.price-period { font-size: 0.78rem; color: var(--iron-light); font-style: italic; }

.price-features {
  list-style: none;
  margin: 28px 0;
  text-align: left;
  flex: 1;
}

.price-features li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(181,129,58,0.12);
  font-size: 0.85rem;
  color: var(--parchment-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li::before { content: '⚙'; color: var(--brass); font-size: 0.9rem; }

.price-cta {
  margin-top: auto;
  display: block;
  font-family: 'IM Fell English SC', serif;
  padding: 13px 28px;
  border: 1.5px solid var(--brass-dark);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
  background: transparent;
  color: var(--brass-light);
  letter-spacing: 0.05em;
}

.price-card.featured .price-cta {
  background: linear-gradient(135deg, var(--brass-dark), var(--brass));
  color: var(--iron);
  border-color: var(--brass);
}

.price-cta:hover { filter: brightness(1.2); transform: translateY(-2px); box-shadow: var(--glow); }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
#testimonials {
  background: linear-gradient(180deg, rgba(20,16,10,0.97) 0%, rgba(16,13,8,0.98) 100%);
  position: relative;
}

#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(181,129,58,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(156,74,26,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(36,30,18,0.9), rgba(26,22,14,0.95));
  border: 1px solid rgba(181,129,58,0.25);
  border-radius: 6px;
  padding: 34px 28px;
  position: relative;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: var(--brass-dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.quote-mark {
  font-size: 4rem;
  line-height: 0.6;
  color: var(--brass-dark);
  font-family: 'IM Fell English', serif;
  margin-bottom: 16px;
  display: block;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--parchment-dark);
  font-style: italic;
  margin-bottom: 22px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brass-dark), var(--brass));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IM Fell English SC', serif;
  color: var(--iron);
  font-size: 1rem;
  font-weight: bold;
  flex-shrink: 0;
  border: 2px solid var(--brass-dark);
}

.author-info strong {
  display: block;
  font-family: 'IM Fell English SC', serif;
  font-size: 0.9rem;
  color: var(--parchment);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--iron-light);
  font-style: italic;
}

.stars {
  color: var(--brass);
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 14px;
}

/* ─── CONTACT ────────────────────────────────────────────── */
#contact {
  background: linear-gradient(180deg, rgba(16,13,8,0.98) 0%, rgba(10,8,5,1) 100%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-top: 50px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  color: var(--brass-light);
  margin-bottom: 18px;
}

.contact-info p {
  font-size: 0.88rem;
  color: var(--parchment-dark);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--parchment-dark);
}

.contact-detail a {
  color: var(--parchment-dark);
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--brass-light); }

.contact-detail .icon-wrap {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--brass-dark), var(--brass));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail .icon-wrap svg { width: 16px; height: 16px; fill: var(--iron); }

/* Form */
.contact-form {
  background: linear-gradient(145deg, rgba(38,32,18,0.8), rgba(26,22,14,0.9));
  border: 1px solid var(--brass-dark);
  border-radius: 6px;
  padding: 42px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: 'IM Fell English SC', serif;
  font-size: 0.8rem;
  color: var(--brass);
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(10,8,5,0.7);
  border: 1px solid var(--iron-mid);
  border-radius: 3px;
  color: var(--parchment);
  font-family: 'Libre Baskerville', serif;
  font-size: 0.88rem;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brass-dark);
  box-shadow: 0 0 0 3px rgba(181,129,58,0.12);
}

.form-group select option { background: #1a1a1e; }
.form-group textarea { resize: vertical; min-height: 120px; }

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.consent-check input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--brass);
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.consent-check label {
  font-size: 0.75rem;
  color: var(--iron-light);
  line-height: 1.5;
}

.consent-check label a { color: var(--brass); text-decoration: underline; }

.form-submit {
  width: 100%;
  font-family: 'IM Fell English SC', serif;
  font-size: 1.05rem;
  padding: 15px;
  background: linear-gradient(135deg, var(--brass-dark) 0%, var(--brass) 50%, var(--brass-dark) 100%);
  background-size: 200% 100%;
  color: var(--iron);
  border: 1px solid var(--brass-light);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.35s;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.form-submit:hover {
  background-position: 100% 0;
  box-shadow: 0 6px 30px rgba(181,129,58,0.4);
  transform: translateY(-2px);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-msg {
  display: none;
  text-align: center;
  padding: 14px;
  border-radius: 3px;
  font-size: 0.88rem;
  margin-top: 16px;
  font-style: italic;
}

.form-msg.success {
  display: block;
  background: rgba(50,100,50,0.3);
  border: 1px solid #4a8a4a;
  color: #a8d8a8;
}

.form-msg.error {
  display: block;
  background: rgba(100,30,30,0.3);
  border: 1px solid #8a4a4a;
  color: #d8a8a8;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: rgba(8,6,3,1);
  border-top: 2px solid var(--brass-dark);
  padding: 30px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 4px rgba(181,129,58,0.3));
  opacity: 0.85;
}

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-links a {
  font-size: 0.78rem;
  color: var(--iron-light);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--brass); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--iron-light);
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(181,129,58,0.1);
  text-align: center;
}

/* ─── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid      { grid-template-columns: 1fr; }
  .price-card.featured { transform: scale(1); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-wrap      { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  nav {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 80px 0 auto;
    background: rgba(10,7,3,0.99);
    border-bottom: 2px solid var(--brass-dark);
    padding: 20px;
    gap: 6px;
    z-index: 400;
  }
  nav.open         { display: flex; }
  .nav-link        { width: 100%; text-align: center; padding: 12px; }
  .hamburger       { display: flex; }
  .form-row        { grid-template-columns: 1fr; }
  .section-inner   { padding: 60px 20px; }
  .contact-form    { padding: 28px 20px; }
  .footer-inner    { flex-direction: column; text-align: center; }
  .footer-links    { justify-content: center; }
  .hero-gear-left, .hero-gear-right { display: none; }
  .hero-pipe-elbow { display: none; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas     { flex-direction: column; align-items: center; gap: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   ADDITIONAL STEAMPUNK ELEMENTS
   ═══════════════════════════════════════════════════════════ */

/* ─── Scrolling Ticker Strip ─────────────────────────────── */
.ticker-strip {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #0e0b05, #1a1208, #0e0b05);
  border-top: 2px solid var(--brass-dark);
  border-bottom: 2px solid var(--brass-dark);
  padding: 14px 0;
  position: relative;
  z-index: 11;
}

.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-strip::before {
  left: 0;
  background: linear-gradient(90deg, #0e0b05, transparent);
}
.ticker-strip::after {
  right: 0;
  background: linear-gradient(-90deg, #0e0b05, transparent);
}

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-family: 'IM Fell English SC', serif;
  font-size: 0.95rem;
  color: var(--brass);
  letter-spacing: 0.2em;
  padding: 0 40px;
  flex-shrink: 0;
}

.ticker-track span:nth-child(even) {
  color: var(--brass-dark);
}

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

  50%       { opacity: 0.4; transform: scale(0.85); }
}

/* ─── Rivet Corner Ornaments ─────────────────────────────── */
.rivet-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d4a85a, #7a5520);
  border: 1px solid #55443a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
  z-index: 2;
}

.rc-tl { top: 9px;  left: 9px;  }
.rc-tr { top: 9px;  right: 9px; }
.rc-bl { bottom: 9px; left: 9px;  }
.rc-br { bottom: 9px; right: 9px; }

  50%       { transform: rotate(3deg) scale(1.04); }
}

/* ─── Enhanced section pipe divider ─────────────────────── */
.section-pipe-divider {
  opacity: 0.65;
}

/* ─── Blueprint grid enhancement on services ─────────────── */
#services::before {
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 34px, rgba(181,129,58,0.06) 35px),
    repeating-linear-gradient(90deg, transparent, transparent 34px, rgba(181,129,58,0.06) 35px),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(181,129,58,0.04) 0%, transparent 70%);
}

/* ─── Section heading ornament ───────────────────────────── */
.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::before,
.section-title h2::after {
  content: '⚙';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6em;
  color: var(--brass-dark);
  opacity: 0.6;
  animation: spinSlow 10s linear infinite;
}

.section-title h2::before { right: calc(100% + 10px); }
.section-title h2::after  { left:  calc(100% + 10px); animation-direction: reverse; }

/* ─── Testimonial card stamp ─────────────────────────────── */
.testimonial-card {
  position: relative;
}

/* ─── Footer brand script sizing ────────────────────────── */
.footer-brand {
  font-size: 1.3rem;
}

/* ─── Responsive additions ───────────────────────────────── */
@media (max-width: 700px) {
  .ticker-track { animation-duration: 25s; }
  .section-title h2::before,
  .section-title h2::after { display: none; }
  .wax-seal { width: 44px; height: 44px; top: -20px; }
}
