/* =============================================================
   Rapid Solutions Appliance Repair - Shared Stylesheet
   Black & yellow palette with red accents · Oswald headings ·
   Open Sans body
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --color-primary:   #161616; /* Near-black - navbar, header bg */
  --color-secondary: #FFC400; /* Bolt yellow - CTA buttons, highlights */
  --color-accent:    #FFD84D; /* Light yellow - active links, accents on dark */
  --color-red:       #E02B20; /* Card red - icons, small accents */
  --color-light:     #FFF9EC; /* Warm off-white - text on dark bg */
  --color-white:     #ffffff;
  --color-dark-text: #1C1B17; /* Near-black for body text on light bg */

  /* Derived shades */
  --color-primary-darker: #0B0B0B;
  --color-secondary-dark: #E0AC00;
  --color-light-bg:       #FAF6EA; /* warm cream for large section fills */
  --placeholder-bg:       #EFE8D6;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(20, 18, 10, 0.10);
  --shadow-md: 0 8px 28px rgba(20, 18, 10, 0.16);
  --shadow-lg: 0 18px 50px rgba(20, 18, 10, 0.24);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-dark-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

.section { padding: 86px 0; }
.section--tight { padding: 56px 0; }
.section--warm { background: linear-gradient(180deg, var(--color-light-bg) 0%, #fdfbf4 100%); }

.text-center { text-align: center; }

/* Section headline accent underline */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--color-secondary) 0 70%, var(--color-red) 70% 100%);
  border-radius: 3px;
}
.text-center .section-title::after { margin-left: auto; margin-right: auto; }

/* ---------- Phone links ---------- */
.phone-link {
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition);
}
.phone-link:hover { color: var(--color-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  background: var(--color-secondary);
  color: var(--color-primary-darker);
}
.btn--primary:hover { background: var(--color-secondary-dark); }

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

.btn--dark {
  background: var(--color-primary);
  color: var(--color-light);
}
.btn--dark:hover { background: var(--color-primary-darker); }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.is-stuck { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }

/* Top bar */
.top-bar {
  background: var(--color-primary);
  color: var(--color-light);
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(255, 196, 0, 0.22);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.top-bar__tag { letter-spacing: 0.4px; }
.top-bar__phones { display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar__phone { display: inline-flex; align-items: center; gap: 8px; }
.top-bar__phone i { color: var(--color-secondary); }
.top-bar__phone .region {
  font-weight: 400;
  opacity: 0.8;
  font-size: 0.92em;
}

/* Main nav */
.main-nav {
  background: var(--color-primary-darker);
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand i { color: var(--color-secondary); }
/* The bolt is a wide, shallow mark (~3.9:1), so size it by width, not height. */
.brand .brand-mark { width: 92px; height: auto; display: block; flex: 0 0 auto; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-light);
  padding: 10px 16px;
  border-radius: 6px;
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active {
  color: var(--color-secondary);
}
.nav-links a.active::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 3px;
  background: var(--color-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(8, 8, 8, 0.94), rgba(26, 26, 26, 0.90)),
    repeating-linear-gradient(45deg, #101010 0, #101010 18px, #1d1d1d 18px, #1d1d1d 36px);
  color: var(--color-light);
  text-align: center;
  padding: 96px 0 104px;
  overflow: hidden;
}
.hero::before {
  /* soft radial glow */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 196, 0, 0.25), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  padding: 7px 18px;
  border: 1.5px solid var(--color-secondary);
  border-radius: 40px;
  color: var(--color-light);
  margin-bottom: 26px;
  animation: fadeUp 0.6s ease both;
}
.hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  margin-bottom: 12px;
  color: var(--color-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeUp 0.6s ease 0.08s both;
}
.hero__sub {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--color-light);
  animation: fadeUp 0.6s ease 0.16s both;
}

/* Dual phone numbers with region labels */
.hero__phones {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 18px 56px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease 0.24s both;
}
.hero__phone-group { text-align: center; }
.hero__phone-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 4px;
}
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--color-white);
  transition: color var(--transition), transform var(--transition);
}
.hero__phone i { color: var(--color-secondary); font-size: 0.8em; }
.hero__phone:hover { color: var(--color-accent); transform: scale(1.03); }

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease 0.32s both;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-light);
  animation: fadeUp 0.6s ease 0.4s both;
}
.hero__badge i { color: var(--color-secondary); }

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

/* =============================================================
   GENERIC TWO-COLUMN BLOCK
   ============================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__text h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--color-primary);
  margin-bottom: 22px;
}

/* Image placeholders */
.img-ph {
  background: var(--placeholder-bg);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-primary);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 24px;
  min-height: 240px;
  border: 2px dashed rgba(28, 27, 23, 0.30);
  box-shadow: var(--shadow-sm);
}
.img-ph i { font-size: 2rem; opacity: 0.65; color: var(--color-red); }
.img-ph.square { aspect-ratio: 1 / 1; min-height: 0; }
.img-ph.banner { min-height: 200px; width: 100%; margin-bottom: 28px; }
.img-ph small { font-family: var(--font-body); font-weight: 400; opacity: 0.75; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; max-width: 100%; }

/* =============================================================
   SECTION IMAGES
   ============================================================= */
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center bottom;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}

.banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

/* =============================================================
   SCHEDULE SERVICE FORM
   ============================================================= */
.schedule {
  background: linear-gradient(160deg, #2a2a2a, var(--color-primary-darker));
  color: var(--color-light);
  border-top: 6px solid var(--color-secondary);
}
.schedule .section-title { color: var(--color-light); }
.schedule .section-title::after { background: linear-gradient(90deg, var(--color-secondary) 0 70%, var(--color-red) 70% 100%); }
.form-wrap {
  max-width: 720px;
  margin: 28px auto 0;
  background: var(--color-light-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 38px;
  border-top: 6px solid var(--color-secondary);
}
.service-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
/* Paired fields sit two-up and only stack on small phones */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; }
/* Honeypot spam trap - hidden from real users, never remove */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--color-dark-text);
  transition: color var(--transition);
}
.field label .req { color: var(--color-red); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark-text);
  padding: 12px 14px;
  border: 1.5px solid #e0d7bf;
  border-radius: 8px;
  background: #fdfbf3;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-secondary-dark);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.28);
}
.field textarea { resize: vertical; min-height: 110px; }

/* Error state */
.field.error input,
.field.error select,
.field.error textarea {
  border-color: #c0392b;
  background: #fdf3f2;
}
.field.error label { color: #c0392b; }
.field.shake { animation: shake 0.4s; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

/* Simple fine-print consent note (no checkbox) */
.form-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #6d6552;
  margin: 0;
}
.form-note a { color: var(--color-red); text-decoration: underline; font-weight: 600; }

.submit-row { grid-column: 1 / -1; }
.submit-row .btn { width: 100%; justify-content: center; font-size: 1.15rem; padding: 17px; }
.submit-row .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
  background: #e9f7ec;
  border: 2px solid #57b368;
  border-radius: var(--radius);
  max-width: 720px;
  margin: 28px auto 0;
  animation: fadeUp 0.5s ease both;
}
.form-success.show { display: block; }
.form-success i { font-size: 3rem; color: #3a9d4f; margin-bottom: 14px; }
.form-success h3 { color: var(--color-primary); font-size: 1.6rem; }
.form-success p { color: var(--color-dark-text); margin-bottom: 0; }

/* =============================================================
   APPLIANCES WE SERVICE
   ============================================================= */
.appliances { background: linear-gradient(180deg, #fdfbf4 0%, var(--color-light-bg) 100%); }
.appliance-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 36px;
}
.appliance-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--color-secondary);
}
.appliance-card h3 {
  color: var(--color-primary);
  font-size: 1.35rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.appliance-card h3 i { color: var(--color-red); }
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.tag-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--color-light-bg);
  color: var(--color-dark-text);
  padding: 7px 13px;
  border-radius: 30px;
  border: 1px solid #e0d7bf;
}
.tag-list li i { color: var(--color-red); font-size: 0.8em; }

/* =============================================================
   HOURS & DISCOUNTS
   ============================================================= */
.info-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 36px;
}
.info-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--color-secondary);
}
.info-card h3 {
  color: var(--color-primary);
  font-size: 1.35rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-card h3 i { color: var(--color-red); }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 2px;
  border-bottom: 1px dashed #e0d7bf;
  font-size: 0.96rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { font-weight: 600; }
.hours-list .closed { color: var(--color-red); font-weight: 700; }

.discount-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.discount-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 1rem;
}
.discount-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 8px 10px;
  background: var(--color-secondary);
  color: var(--color-primary-darker);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 8px;
}
.discount-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: #6d6552;
}

/* =============================================================
   REVIEWS
   ============================================================= */
.reviews {
  background: linear-gradient(180deg, #2a2a2a 0%, var(--color-primary) 50%, var(--color-primary-darker) 100%);
  color: var(--color-light);
}
.yelp-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 22px auto 40px;
}
.yelp-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: #d32323;
  background: var(--color-white);
  padding: 4px 16px;
  border-radius: 8px;
  letter-spacing: -1px;
}
.yelp-stars { font-size: 1.15rem; font-weight: 600; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.yelp-stars .stars { color: var(--color-secondary); letter-spacing: 2px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.review-card {
  background: var(--color-light);
  color: var(--color-dark-text);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.review-card .stars { color: #f4b400; font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 18px; }
.review-card .quote { font-size: 0.98rem; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.review-card .quote::before { content: "\201C"; }
.review-card .quote::after  { content: "\201D"; }
.review-card .reviewer {
  font-family: var(--font-head);
  color: var(--color-primary);
}

.review-card .reviewer span {
  display: block;
}

.review-card .reviewer-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-card .reviewer-location {
  font-weight: 400;
  color: var(--color-dark-text);
}

.review-card .reviewer-date {
  font-weight: 400;
  font-size: 0.85em;
  opacity: 0.7;
  color: var(--color-dark-text);
}

/* =============================================================
   PAGE BANNER (interior pages)
   ============================================================= */
.page-banner {
  background:
    linear-gradient(135deg, rgba(8, 8, 8, 0.94), rgba(26, 26, 26, 0.90)),
    repeating-linear-gradient(45deg, #101010 0, #101010 18px, #1d1d1d 18px, #1d1d1d 36px);
  color: var(--color-light);
  text-align: center;
  padding: 72px 0 60px;
}
.page-banner h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  color: var(--color-white);
  margin-bottom: 14px;
}
.breadcrumb {
  font-size: 0.95rem;
  color: var(--color-light);
}
.breadcrumb a { color: var(--color-secondary); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-white); }
.breadcrumb span { opacity: 0.7; margin: 0 8px; }

/* =============================================================
   CTA BANNER
   ============================================================= */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-darker) 100%);
  color: var(--color-light);
  text-align: center;
  padding: 70px 0;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 196, 0, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-light);
  margin-bottom: 18px;
}
.cta-banner__phones {
  display: flex;
  justify-content: center;
  gap: 14px 48px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.cta-banner__phone-group { text-align: center; }
.cta-banner__phone-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 2px;
}
.cta-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  color: var(--color-white);
}
.cta-banner__phone i { color: var(--color-secondary); font-size: 0.85em; }
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
   OUR WORK / PORTFOLIO
   ============================================================= */
.work { background: linear-gradient(180deg, #fdfbf4 0%, var(--color-light-bg) 100%); }

.work-intro {
  max-width: 760px;
  margin: 0 auto 10px;
  text-align: center;
  color: var(--color-dark-text);
}

/* A single repair project block - sharp, technical card */
.work-project {
  position: relative;
  background: var(--color-white);
  border: 1px solid rgba(28, 27, 23, 0.16);
  border-left: 5px solid var(--color-secondary);
  box-shadow: 8px 8px 0 rgba(28, 27, 23, 0.10);
  padding: 36px 38px 40px;
  margin-top: 44px;
}
/* Clipped corner accent, top-right */
.work-project::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 26px solid var(--color-red);
  border-left: 26px solid transparent;
}
.work-project__head { max-width: 820px; margin-bottom: 26px; }
.work-project__head h3 {
  color: var(--color-primary);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  margin-bottom: 14px;
}
.work-project__head h3::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--color-secondary) 0 50%, var(--color-red) 50% 100%);
}
.work-project__head p { margin-bottom: 0; }

/* Before / After pairs */
.ba-grid { display: grid; gap: 26px; }
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ba-item { margin: 0; }
.ba-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(28, 27, 23, 0.14);
  box-shadow: 5px 5px 0 rgba(28, 27, 23, 0.08);
  display: block;
}
/* Free-form gallery (no before/after order) */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.work-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(28, 27, 23, 0.14);
  box-shadow: 5px 5px 0 rgba(28, 27, 23, 0.08);
  display: block;
}

/* Empty portfolio placeholder */
.work-empty {
  margin-top: 44px;
  text-align: center;
  background: var(--color-white);
  border: 2px dashed rgba(28, 27, 23, 0.25);
  border-radius: var(--radius);
  padding: 70px 24px;
}
.work-empty i { font-size: 2.6rem; color: var(--color-secondary-dark); margin-bottom: 16px; display: block; }
.work-empty h3 { color: var(--color-primary); font-size: 1.5rem; }
.work-empty p { max-width: 520px; margin: 0 auto; color: #6d6552; }

/* Pagination controls (built by main.js - 3 projects per page) */
.work-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}
.work-pagination button {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 2px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-primary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.work-pagination button:hover:not(:disabled):not(.is-current) {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.work-pagination button.is-current {
  background: var(--color-primary);
  color: var(--color-secondary);
  cursor: default;
}
.work-pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

@media (max-width: 760px) {
  .work-project { padding: 26px 22px 30px; }
  .ba-pair { grid-template-columns: 1fr; gap: 16px; }
  .work-gallery { grid-template-columns: 1fr; }
}

/* =============================================================
   "SEE OUR WORK" PROMO BAND (home + appliance pages)
   ============================================================= */
.work-promo {
  background:
    linear-gradient(135deg, rgba(8, 8, 8, 0.94), rgba(26, 26, 26, 0.92)),
    repeating-linear-gradient(45deg, #101010 0, #101010 18px, #1d1d1d 18px, #1d1d1d 36px);
  color: var(--color-light);
  text-align: center;
  padding: 66px 0;
  border-top: 4px solid var(--color-secondary);
  border-bottom: 4px solid var(--color-secondary);
}
.work-promo__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 7px 18px;
  border: 1.5px solid var(--color-secondary);
  border-radius: 40px;
  margin-bottom: 22px;
}
.work-promo h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-white);
  margin-bottom: 14px;
}
.work-promo p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--color-light);
}

/* =============================================================
   PRIVACY POLICY
   ============================================================= */
.policy { background: var(--color-light-bg); }
.policy-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 46px 50px;
  max-width: 880px;
  margin: 0 auto;
}
.policy-card h1 { color: var(--color-primary); font-size: clamp(2rem, 5vw, 2.8rem); }
.policy-updated { color: var(--color-red); font-weight: 600; margin-bottom: 30px; }
.policy-card h2 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-top: 34px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-light-bg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-card h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: var(--color-secondary);
  color: var(--color-primary-darker);
  border-radius: 50%;
  font-size: 0.95rem;
  flex: 0 0 auto;
}
.policy-card a { color: var(--color-red); font-weight: 600; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--color-primary); color: var(--color-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 52px 0;
}
.footer-col h4 {
  color: var(--color-secondary);
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-weight: 600; transition: color var(--transition); }
.footer-nav a:hover { color: var(--color-secondary); }

.footer-brand {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-light);
  text-transform: uppercase;
  line-height: 1.15;
}
.footer-brand .brand-mark { display: block; width: 132px; height: auto; margin: 0 auto 10px; }
.footer-brand .footer-tag {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
  margin-top: 6px;
}

.footer-phone-col { text-align: right; }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-light);
  transition: color var(--transition);
  margin-bottom: 6px;
}
.footer-phone:hover { color: var(--color-secondary); }
.footer-phone i { color: var(--color-secondary); }
.footer-phone-col .region {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 2px;
}
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 10px;
  transition: color var(--transition);
}
.footer-email:hover { color: var(--color-secondary); }
.footer-email i { color: var(--color-secondary); }

.footer-bottom {
  background: var(--color-primary-darker);
  text-align: center;
  font-size: 0.88rem;
  padding: 18px 0;
  color: var(--color-light);
}
.footer-bottom a { color: var(--color-secondary); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--color-white); }
.footer-bottom .sep { opacity: 0.5; margin: 0 8px; }

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split__media { order: 0; }
  .appliance-cols { grid-template-columns: 1fr; gap: 24px; }
  .info-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .footer-phone-col { text-align: center; }
  .footer-nav a { display: inline-block; }
  .reviews-grid { grid-template-columns: 1fr; gap: 16px; max-width: 640px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
  .top-bar__tag { display: none; }
  .top-bar .container { justify-content: center; }
  .top-bar__phones { justify-content: center; gap: 14px; }
  .top-bar__phone .region { display: none; }

  .hamburger { display: block; flex: 0 0 auto; }
  .main-nav .container { position: relative; }
  .brand { font-size: 1.05rem; line-height: 1.25; flex: 1 1 auto; min-width: 0; padding-right: 8px; }
  .brand .brand-mark { width: 68px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-primary-darker);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav-links.is-open { max-height: 320px; }
  .nav-links li { border-top: 1px solid rgba(255, 249, 236, 0.12); }
  .nav-links a { display: block; padding: 16px 24px; }
  .nav-links a::after { display: none; }

  .banner-img { height: 260px; }
  .form-wrap { padding: 24px; }
  .policy-card { padding: 30px 22px; }
  .section { padding: 60px 0; }
  .hero { padding: 70px 0 78px; }
}

@media (max-width: 520px) {
  /* Stack the paired name/city-zip fields on small phones */
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero__phone { font-size: 1.6rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
