/* =====================================================
   RHB Precision Welding — Public Site Stylesheet (v3.0)
   Custom PHP + MySQL build
   ===================================================== */

/* =====================================================
   RHB PRECISION WELDING — v2 STYLESHEET (multi-page)
   ===================================================== */

:root {
  --indigo-900: #1a1370;
  --indigo-800: #221a8c;
  --indigo-700: #2d24a8;
  --indigo-600: #3b32c0;
  --indigo-50:  #f3f2fb;

  --ember:      #e85d1f;
  --ember-dark: #c44a14;

  --ink:        #0f1024;
  --ink-soft:   #2a2c3f;
  --slate:      #5a5d72;
  --steel:      #8a8d9f;
  --line:       #e3e4ee;
  --paper:      #f7f7fb;
  --white:      #ffffff;

  --maxw: 1200px;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(15, 16, 36, 0.06);
  --shadow:    0 12px 32px rgba(15, 16, 36, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 16, 36, 0.16);

  --font-display: "Barlow Condensed", "Oswald", "Impact", sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 0.4em 0;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
p  { margin: 0 0 1em 0; color: var(--ink-soft); }

.accent { color: var(--ember); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ember);
  margin: 0 0 1.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--ember);
}

.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ember);
  margin: 0 0 0.75rem 0;
}
.section-eyebrow.light { color: #ff8d4d; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ember);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(232, 93, 31, 0.35);
}
.btn-primary:hover {
  background: var(--ember-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 93, 31, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn-outline {
  background: transparent;
  color: var(--indigo-900);
  border: 1.5px solid var(--indigo-900);
}
.btn-outline:hover {
  background: var(--indigo-900);
  color: var(--white);
}

/* ---------- HEADER (shared) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-line-1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--indigo-900);
  letter-spacing: 0.05em;
}
.brand-line-2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate);
  margin-top: 3px;
  letter-spacing: 0.04em;
}

.primary-nav ul { display: flex; align-items: center; gap: 8px; }
.primary-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.primary-nav a:hover { color: var(--indigo-800); background: var(--indigo-50); }
.primary-nav a.is-current {
  color: var(--indigo-900);
  background: var(--indigo-50);
  font-weight: 600;
}
.primary-nav .nav-cta {
  background: var(--indigo-900);
  color: var(--white);
  padding: 10px 22px;
  margin-left: 8px;
}
.primary-nav .nav-cta:hover { background: var(--ember); color: var(--white); }
.primary-nav .nav-cta.is-current { background: var(--ember); color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO (homepage) ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 110px 0;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 93, 31, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(59, 50, 192, 0.35) 0%, transparent 60%),
    linear-gradient(135deg, var(--indigo-900) 0%, var(--ink) 100%);
}
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}
.hero-content { position: relative; max-width: 880px; }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; font-weight: 700; }
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 4rem; }
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stats span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

/* ---------- PAGE HEADER (for inner pages) ---------- */
.page-hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 70px 0;
  isolation: isolate;
}
.page-hero .hero-bg { /* reuse hero-bg */ }
.page-hero-content { position: relative; max-width: 880px; }
.page-hero .breadcrumbs {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
}
.page-hero .breadcrumbs a { color: var(--ember); }
.page-hero .breadcrumbs a:hover { color: var(--white); }
.page-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  line-height: 1.7;
  margin: 0;
}

/* ---------- SHARED SECTIONS ---------- */
.section { padding: 110px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section-head { max-width: 720px; margin-bottom: 4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-eyebrow { display: inline-block; }
.section-sub { font-size: 1.1rem; color: var(--slate); margin-top: 0.5rem; }

/* ---------- ABOUT TEASER (homepage) & ABOUT PAGE ---------- */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}
.about-media-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--indigo-900);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
}
.about-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.5rem; }
.about-pills li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--indigo-800);
}

/* ---------- VALUES (about page extra) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.value-card .value-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--indigo-50);
  color: var(--indigo-900);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.value-card .value-icon svg { width: 24px; height: 24px; }
.value-card h3 { color: var(--indigo-900); font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { font-size: 0.95rem; color: var(--slate); margin: 0; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--indigo-900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); background: var(--ember); }
.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ember);
  margin-bottom: 18px;
}
.service-card h3 { color: var(--indigo-900); margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; color: var(--slate); margin: 0 0 1rem 0; }
.service-card.span-2 { grid-column: span 2; }

/* service detail list on services page */
.service-detail ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.service-detail ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.5;
}
.service-detail ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px;
  height: 2px;
  background: var(--ember);
}

/* ---------- PROJECTS ---------- */
.projects { background: var(--paper); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-img img { transform: scale(1.05); }
.project-meta { padding: 22px 24px 24px; }
.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ember);
  margin-bottom: 8px;
}
.project-meta h3 { color: var(--indigo-900); font-size: 1.15rem; margin: 0; line-height: 1.3; }

/* ---------- MISSION (home + standalone optional) ---------- */
.mission {
  background: linear-gradient(135deg, var(--indigo-900) 0%, var(--ink) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.mission::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232, 93, 31, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.mission h2 { color: var(--white); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 60px; }
.mission-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 40px 36px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.mission-card:hover { border-color: var(--ember); background: rgba(255,255,255,0.06); }
.mission-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--ember);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.mission-icon svg { width: 28px; height: 28px; }
.mission-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 14px; }
.mission-card p { color: rgba(255,255,255,0.78); font-size: 1rem; margin: 0; }
.mission-card strong { color: var(--white); font-weight: 600; }

.mission-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 460px;
  box-shadow: var(--shadow-lg);
}
.mission-image img { width: 100%; height: 460px; object-fit: cover; filter: brightness(0.85); }
.mission-image-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 36px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ---------- CTA BAR (cross-page link) ---------- */
.cta-bar {
  background: var(--paper);
  padding: 90px 0;
  border-top: 1px solid var(--line);
}
.cta-bar.dark {
  background: var(--ink);
  color: var(--white);
  border-top: none;
}
.cta-bar.dark h2 { color: var(--white); }
.cta-bar.dark p { color: rgba(255,255,255,0.7); }
.cta-bar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-bar-text { flex: 1 1 480px; max-width: 700px; }
.cta-bar-text p { margin: 0; font-size: 1.05rem; }
.cta-bar h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0.5rem; }
.cta-bar-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- HOME SECTION TEASERS ---------- */
.teaser { padding: 100px 0; }
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.teaser-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.teaser-card:hover {
  border-color: var(--indigo-700);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.teaser-card .teaser-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--indigo-50);
  color: var(--indigo-900);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.teaser-card .teaser-icon svg { width: 24px; height: 24px; }
.teaser-card h3 { color: var(--indigo-900); font-size: 1.25rem; margin-bottom: 10px; }
.teaser-card p { font-size: 0.95rem; color: var(--slate); flex: 1; margin-bottom: 18px; }
.teaser-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.teaser-link::after { content: "→"; transition: transform 0.25s ease; }
.teaser-card:hover .teaser-link::after { transform: translateX(4px); }

/* ---------- CONTACT ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 20px; margin-top: 2rem; }
.contact-list li { display: flex; align-items: center; gap: 18px; }
.contact-icon {
  width: 52px; height: 52px;
  background: var(--indigo-50);
  color: var(--indigo-900);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ember);
  margin-bottom: 2px;
}
.contact-list a { color: var(--indigo-900); font-weight: 500; font-size: 1.05rem; }
.contact-list a:hover { color: var(--ember); }
.contact-text { color: var(--indigo-900); font-weight: 500; font-size: 1.05rem; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form h3 { color: var(--indigo-900); margin-bottom: 24px; }
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--indigo-700);
  box-shadow: 0 0 0 3px rgba(45, 36, 168, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { width: 100%; margin-top: 8px; }

/* ---------- FOOTER (shared) ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 70px 0 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 50px; }
.footer-brand img { height: 38px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 380px; font-size: 0.95rem; color: rgba(255,255,255,0.6); }
.footer-links h4 { color: var(--white); margin-bottom: 18px; font-size: 0.85rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links li { color: rgba(255,255,255,0.65); font-size: 0.93rem; }
.footer-links a:hover { color: var(--ember); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 78px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .primary-nav.is-open { max-height: 500px; }
  .primary-nav ul { flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; }
  .primary-nav a { padding: 14px 16px; }
  .primary-nav .nav-cta { margin: 8px 0 0 0; text-align: center; }
  .about-grid, .contact-wrap, .mission-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media img { min-height: 360px; }
  .services-grid, .projects-grid, .teaser-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.span-2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
  .cta-bar-wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .hero { padding: 80px 0 70px 0; }
  .page-hero { padding: 70px 0 50px 0; }
  .hero-stats { gap: 28px; }
  .hero-stats strong { font-size: 1.5rem; }
  .services-grid, .projects-grid, .teaser-grid, .values-grid { grid-template-columns: 1fr; }
  .service-card.span-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .contact-form { padding: 28px 22px; }
  .mission-card { padding: 30px 24px; }
  .brand-line-2 { display: none; }
  .cta-bar { padding: 60px 0; }
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
