/*
Theme Name: DRM 2025
Theme URI: https://dubborepairs.com.au
Author: Dubbo Repairs & Maintenance
Author URI: https://dubborepairs.com.au
Description: Custom theme for Dubbo Repairs & Maintenance — commercial contractor positioning.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: drm-2025
*/

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

:root {
  --yellow:    #F5C800;
  --yellow-dk: #D4A900;
  --black:     #111111;
  --dark:      #1A1A1A;
  --dark-2:    #222222;
  --mid:       #444444;
  --muted:     #777777;
  --border:    #E0E0E0;
  --light:     #F5F5F5;
  --white:     #FFFFFF;

  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-head: 'Inter', 'Segoe UI', Arial, sans-serif;

  --max-w: 1160px;
  --section-pad: 80px;
  --radius: 4px;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--mid); }
p:last-child { margin-bottom: 0; }

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; }
.section--dark { background: var(--dark); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: #AAAAAA; }
.section--black { background: var(--black); }
.section--light { background: var(--light); }
.section--yellow { background: var(--yellow); }
.section--yellow h2, .section--yellow h3, .section--yellow p { color: var(--black); }

/* ===========================
   BUTTONS
=========================== */
button.btn { font-family: inherit; font-size: inherit; appearance: none; -webkit-appearance: none; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn--primary:hover { background: var(--yellow-dk); border-color: var(--yellow-dk); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--black); }

.btn--outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline-dark:hover { background: var(--black); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}
.btn--ghost:hover { background: var(--yellow); color: var(--black); }

/* ===========================
   SECTION LABELS
=========================== */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.section--dark .section-label,
.section--black .section-label { color: var(--yellow); }
.section--yellow .section-label { color: var(--dark); }
.section--light .section-label { color: var(--dark); }

/* ===========================
   HEADER / NAV
=========================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo__mark {
  width: 40px;
  height: 40px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--black);
  border-radius: 2px;
  flex-shrink: 0;
}
.site-logo__text { line-height: 1.2; }
.site-logo__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.site-logo__sub {
  display: block;
  font-size: 0.68rem;
  color: var(--yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Logo image — square badge format (816×814), transparent PNG */
.site-logo__img {
  display: block;
  height: 62px;
  width: auto;
  object-fit: contain;
}
.site-logo__img--footer {
  height: 80px;
  width: auto;
  object-fit: contain;
}

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

#primary-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #CCCCCC;
  padding: 8px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s;
}
#primary-nav a:hover,
#primary-nav a.active { color: var(--white); background: rgba(255,255,255,0.06); }

.nav-cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--yellow-dk) !important; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 4px; }
.nav-item > a::after { content: '▾'; font-size: 0.7rem; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-2);
  border: 1px solid #333;
  border-top: 3px solid var(--yellow);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 240px;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  /* Bridge the 3px bottom border so hover doesn't break */
  margin-top: 0;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 18px !important;
  font-size: 0.82rem !important;
  border-radius: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.dropdown a:hover { background: rgba(255,255,255,0.06) !important; }

/* Hamburger */
#nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  padding: 6px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
}

/* ===========================
   HERO
=========================== */
#hero {
  background: var(--black);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 40px
  );
}

.hero-inner { position: relative; z-index: 1; max-width: 820px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,200,0,0.12);
  border: 1px solid rgba(245,200,0,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.hero-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-badge__dot {
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

#hero h1 { color: var(--white); margin-bottom: 24px; }
#hero h1 span { color: var(--yellow); }

.hero-sub {
  font-size: 1.1rem;
  color: #AAAAAA;
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid #2A2A2A;
  padding-top: 32px;
}
.hero-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid #2A2A2A;
  padding-top: 16px;
}
.hero-trust__item:last-child { border-right: none; }
.hero-trust__icon {
  color: var(--yellow);
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-trust__text {
  font-size: 0.78rem;
  color: #888;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ===========================
   CLIENTS STRIP
=========================== */
#clients-strip {
  background: var(--yellow);
  padding: 0;
}
.clients-strip-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.clients-strip__label {
  background: var(--black);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.clients-strip__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.clients-strip__item {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--black);
  padding: 16px 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 1px solid rgba(0,0,0,0.15);
}

/* ===========================
   WHO WE WORK WITH
=========================== */
.client-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }

.client-card {
  background: var(--white);
  padding: 36px 28px;
  transition: background 0.18s;
}
.client-card:hover { background: var(--light); }

.client-card__icon {
  width: 48px; height: 48px;
  background: var(--yellow);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.client-card h3 { margin-bottom: 10px; font-size: 1rem; }
.client-card p { font-size: 0.875rem; line-height: 1.6; }
.client-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
}

/* ===========================
   SERVICES
=========================== */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1rem; max-width: 600px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.service-card {
  background: var(--dark-2);
  border: 1px solid #2D2D2D;
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}
.service-card:hover { border-color: var(--yellow); transform: translateY(-2px); }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.service-card h3 { color: var(--white); margin-bottom: 12px; font-size: 1.05rem; }
.service-card p { font-size: 0.875rem; color: #999; line-height: 1.65; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
}
.service-card__link::after { content: '→'; transition: transform 0.15s; }
.service-card:hover .service-card__link::after { transform: translateX(4px); }

/* ===========================
   PROCESS
=========================== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; position: relative; }

.process-step {
  padding: 40px 32px;
  border-right: 1px solid #2A2A2A;
  position: relative;
}
.process-step:last-child { border-right: none; }

.process-step__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.process-step__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.process-step h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.process-step p { font-size: 0.85rem; color: #888; line-height: 1.65; }

/* ===========================
   WHY CHOOSE US
=========================== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }

.why-item { display: flex; gap: 18px; }
.why-item__icon {
  width: 42px; height: 42px;
  background: var(--yellow);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item__body h3 { font-size: 1rem; margin-bottom: 8px; }
.why-item__body p { font-size: 0.875rem; }

/* ===========================
   CAPABILITIES
=========================== */
.capabilities-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.capability-item {
  background: var(--white);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.capability-item__dot {
  width: 8px; height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.capability-item__body { line-height: 1.4; }
.capability-item__title { font-weight: 700; font-size: 0.9rem; color: var(--black); }
.capability-item__sub { font-size: 0.8rem; color: var(--muted); }

/* ===========================
   CTA BANNER
=========================== */
#cta-banner {
  background: var(--yellow);
  padding: 64px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner-inner h2 { color: var(--black); margin-bottom: 8px; }
.cta-banner-inner p { color: #444; max-width: 540px; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ===========================
   EMERGENCY STRIP
=========================== */
.emergency-strip {
  background: var(--black);
  border-top: 3px solid #CC0000;
  padding: 14px 0;
}
.emergency-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.emergency-strip__label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.emergency-strip__icon {
  background: #CC0000;
  color: white;
  width: 28px; height: 28px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.emergency-strip__text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
}
.emergency-strip__phone {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.04em;
}

/* ===========================
   CONTACT SECTION
=========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { color: var(--white); margin-bottom: 16px; }
.contact-info p { color: #AAA; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-detail__icon {
  width: 36px; height: 36px;
  background: var(--yellow);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.contact-detail__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-detail__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.contact-detail__value a { color: var(--white); }
.contact-detail__value a:hover { color: var(--yellow); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: #1E1E1E; }

.form-submit .btn { width: 100%; justify-content: center; display: flex; }

.form-note {
  font-size: 0.78rem;
  color: #555;
  text-align: center;
}

/* ===========================
   FOOTER
=========================== */
#site-footer { background: #0D0D0D; border-top: 1px solid #222; padding: 56px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #222;
}

.footer-brand p { font-size: 0.85rem; color: #666; margin-top: 16px; max-width: 280px; }

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: #666;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: #444; margin: 0; }
.footer-bottom a { color: #555; }
.footer-bottom a:hover { color: var(--white); }
.footer-abns { font-size: 0.75rem; color: #333; }

/* ===========================
   PAGE HERO (inner pages)
=========================== */
.page-hero {
  background: var(--black);
  padding: 72px 0 60px;
  border-bottom: 3px solid var(--yellow);
}
.page-hero__breadcrumb {
  font-size: 0.75rem;
  color: #555;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.page-hero__breadcrumb a { color: #555; }
.page-hero__breadcrumb a:hover { color: var(--yellow); }
.page-hero__breadcrumb span { color: var(--yellow); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: #AAA; max-width: 640px; font-size: 1rem; }

/* ===========================
   SERVICE PAGE CONTENT
=========================== */
.service-content { max-width: 780px; }
.service-content h2 { margin: 48px 0 16px; font-size: 1.35rem; }
.service-content h2:first-child { margin-top: 0; }
.service-content p { font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.service-content ul { margin: 16px 0 24px 0; display: flex; flex-direction: column; gap: 8px; }
.service-content ul li {
  font-size: 0.9rem;
  color: var(--mid);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--yellow);
  border-radius: 50%;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: 90px;
}
.service-sidebar__box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.service-sidebar__box h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.service-sidebar__box .btn { width: 100%; text-align: center; display: block; margin-bottom: 10px; padding-left: 16px; padding-right: 16px; white-space: normal; line-height: 1.3; }
.service-sidebar__box .btn:last-child { margin-bottom: 0; }

.step-list { display: flex; flex-direction: column; gap: 16px; }
.step-item { display: flex; gap: 14px; align-items: flex-start; }
.step-item__num {
  width: 28px; height: 28px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}
.step-item__text { font-size: 0.85rem; color: var(--mid); padding-top: 4px; line-height: 1.5; }

/* Case studies */
.case-study {
  background: var(--light);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 24px;
  margin: 32px 0;
}
.case-study__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.case-study h3 { font-size: 1rem; margin-bottom: 12px; }
.case-study p { font-size: 0.875rem; }

/* ===========================
   ABOUT PAGE
=========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  background: var(--dark);
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-photo__placeholder {
  font-size: 0.82rem;
  color: #444;
  text-align: center;
  padding: 24px;
}

.value-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.value-item { display: flex; gap: 14px; }
.value-item__mark {
  width: 20px; height: 20px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 0.6rem;
  font-weight: 900;
  color: var(--black);
}

/* ===========================
   SERVICE AREAS
=========================== */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.area-group h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tag {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark);
}

/* ===========================
   HOW WE WORK PAGE
=========================== */
.hww-steps { display: flex; flex-direction: column; }
.hww-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.hww-step:last-child { border-bottom: none; }
.hww-step__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--yellow);
  opacity: 0.2;
  line-height: 1;
  text-align: center;
}
.hww-step h2 { margin-bottom: 16px; font-size: 1.4rem; }
.hww-step p, .hww-step ul { font-size: 0.95rem; }

/* ===========================
   ACCORDION (FAQ)
=========================== */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
}
.accordion-toggle:hover { background: var(--light); }
.accordion-toggle::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.accordion-item.open .accordion-toggle::after { content: '−'; }
.accordion-body { display: none; padding: 0 24px 20px; }
.accordion-item.open .accordion-body { display: block; }
.accordion-body p { font-size: 0.9rem; }

/* ===========================
   UTILITY
=========================== */
.text-yellow { color: var(--yellow); }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  :root { --section-pad: 56px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .hww-step { grid-template-columns: 1fr; gap: 8px; }
  .hww-step__num { font-size: 2rem; opacity: 0.15; }
}

@media (max-width: 768px) {
  #primary-nav { display: none; }
  #primary-nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 80px; left: 0; right: 0; background: var(--dark-2); border-top: 1px solid #333; padding: 16px; gap: 4px; }
  #site-header { position: relative; }
  #nav-toggle { display: block; }

  .dropdown { position: static; display: none; border: none; padding: 0 0 0 16px; }
  .nav-item:hover .dropdown { display: none; }
  .nav-item.open .dropdown { display: block; }

  .capabilities-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }
  .clients-strip-inner { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-trust { flex-direction: column; }
  .hero-trust__item { border-right: none; border-bottom: 1px solid #2A2A2A; padding-bottom: 16px; margin-right: 0; }
  .hero-trust__item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  :root { --section-pad: 44px; }
  #hero { padding: 64px 0 52px; }
  .page-hero { padding: 48px 0 40px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid #2A2A2A; }
  .process-step:last-child { border-bottom: none; }
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-item {
  padding: 28px 24px;
  background: var(--light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 0 4px 4px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.testimonial-item__body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--dark);
  font-style: italic;
}

.testimonial-item__attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-item__role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.testimonial-item__loc {
  font-size: 0.78rem;
  color: #888;
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ===========================
   PROJECT GALLERY
=========================== */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.project-gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark-2);
}

.project-gallery__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.project-gallery__item:hover .project-gallery__img {
  transform: scale(1.04);
}

/* ===========================
   BEFORE / AFTER PHOTOS
=========================== */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.before-after-pair {
  display: contents;
}

.before-after-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark-2);
}

.before-after-item__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.before-after-item__label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.before-after-item__label--after {
  background: var(--yellow);
  color: var(--dark-1, #111);
}

.before-after-caption {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin-top: -4px;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .project-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .before-after-grid { grid-template-columns: 1fr; }
  .before-after-caption { grid-column: 1; }
}

@media (max-width: 380px) {
  .project-gallery { grid-template-columns: 1fr; }
}

/* ===========================
   FORM TABS
=========================== */
.form-tabs {
  display: flex;
  gap: 3px;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 4px;
}

.form-tab {
  flex: 1;
  padding: 10px 14px;
  background: none;
  border: none;
  color: #999;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
  line-height: 1.3;
}

.form-tab.active {
  background: var(--yellow);
  color: var(--black);
}

.form-tab-panel { display: none; }
.form-tab-panel.active { display: block; }

/* ===========================
   FILE UPLOAD
=========================== */
.file-upload-area {
  position: relative;
  border: 2px dashed #444;
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
  background: rgba(255,255,255,0.03);
}

.file-upload-area:hover,
.file-upload-area.drag-over { border-color: var(--yellow); }

.file-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.file-upload-label {
  font-size: 0.85rem;
  color: #888;
  pointer-events: none;
  line-height: 1.5;
}

.file-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.file-list li {
  font-size: 0.8rem;
  color: #ddd;
  background: rgba(255,255,255,0.06);
  border: 1px solid #333;
  border-radius: var(--radius);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-list li::before { content: '📎'; }

/* ===========================
   EMERGENCY MESSAGE
=========================== */
.emergency-msg {
  margin-top: 10px;
  padding: 12px 16px;
  background: #7f1d1d;
  border: 1px solid #991b1b;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: #fecaca;
  line-height: 1.5;
}

/* ===========================
   BEFORE / AFTER SLIDER
=========================== */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.ba-before-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ba-after {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-after img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(255,255,255,0.85);
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-handle__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ba-label {
  position: absolute;
  top: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 4;
  pointer-events: none;
}

.ba-label--before {
  left: 12px;
  background: rgba(0,0,0,0.65);
  color: #fff;
}

.ba-label--after {
  right: 12px;
  background: var(--yellow);
  color: var(--black);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: col-resize;
  z-index: 5;
  margin: 0;
}

.ba-caption {
  font-size: 0.8rem;
  color: #777;
  margin-top: 10px;
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .ba-grid { grid-template-columns: 1fr; }
  .form-tab { font-size: 0.72rem; padding: 8px 10px; }
}
