/* ===================================================
   HOLLY SPRINGS HANDYMAN — MAIN STYLESHEET
   Design: Warm, professional, local service
   Fonts: DM Serif Display + DM Sans
   =================================================== */

:root {
  --color-rust:       #B84A1D;
  --color-rust-dark:  #8C3514;
  --color-rust-light: #F0E8E0;
  --color-warm:       #F7F3EE;
  --color-charcoal:   #2A2420;
  --color-gray:       #6B6460;
  --color-gray-light: #E8E2DC;
  --color-white:      #FFFFFF;
  --color-green:      #2D6A4F;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  24px;

  --shadow-sm: 0 1px 4px rgba(42,36,32,.08);
  --shadow-md: 0 4px 16px rgba(42,36,32,.10);
  --shadow-lg: 0 8px 32px rgba(42,36,32,.12);

  --max-w: 1160px;
  --header-h: 72px;
  --transition: 0.2s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* SECTION PADDING */
.section-pad { padding: 72px 0; }
.bg-warm { background: var(--color-warm); }

/* ==============================
   BUTTONS
============================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-rust); color: var(--color-white);
  padding: 12px 24px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 15px; transition: background var(--transition);
}
.btn-primary:hover { background: var(--color-rust-dark); }
.btn-primary.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--color-rust); color: var(--color-rust);
  padding: 11px 24px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 15px; transition: all var(--transition);
}
.btn-outline:hover { background: var(--color-rust); color: var(--color-white); }
.btn-outline.btn-lg { padding: 14px 32px; font-size: 16px; }

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-white); color: var(--color-rust);
  padding: 15px 32px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 16px; transition: all var(--transition);
}
.btn-white:hover { background: var(--color-rust-light); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,0.7); color: var(--color-white);
  padding: 13px 32px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 16px; transition: all var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* ==============================
   MOBILE CTA BAR
============================== */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--color-white); border-top: 1px solid var(--color-gray-light);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
.mobile-cta-bar a {
  display: flex; align-items: center; justify-content: center;
  flex: 1; padding: 14px 12px;
  font-weight: 600; font-size: 15px;
}
.btn-mobile-call { background: var(--color-rust); color: white; }
.btn-mobile-estimate { background: var(--color-charcoal); color: white; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 56px; }
  .featured-post-card { grid-template-columns: 1fr !important; }
  .featured-post-card img { height: 220px !important; }

  /* Prevent ANY horizontal overflow */
  html, body { overflow-x: hidden; max-width: 100vw; }
  * { box-sizing: border-box; }
  .container { padding: 0 16px; }

  /* Hero — tighter on mobile */
  .hero { padding: 36px 0 44px; min-height: auto; }
  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions a { width: 100%; text-align: center; justify-content: center; }
  .hero-trust { gap: 10px; font-size: 12px; }

  /* Intro stats */
  .intro-stats { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Gallery grid — single column on small phones */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-full-grid { grid-template-columns: 1fr; }

  /* CTA banner */
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; flex-direction: column; width: 100%; }
  .cta-actions a { width: 100%; text-align: center; justify-content: center; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Google reviews */
  .google-review-cards { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-wrap { padding: 0 4px; }

  /* Footer */
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 4px; }

  /* Form fields — no overflow */
  input, textarea, select {
    width: 100%;
    max-width: 100%;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
  .form-row { grid-template-columns: 1fr; }

  /* Contact layout */
  .contact-layout { padding: 32px 0; gap: 32px; }

  /* Service cards */
  .services-grid { grid-template-columns: 1fr; }

  /* Areas pills */
  .areas-grid { gap: 8px; }
  .area-pill { font-size: 13px; padding: 8px 16px; }

  /* Page hero */
  .page-hero { min-height: 220px; }
  .page-hero h1 { font-size: 1.6rem; }

  /* About page */
  .about-owner-img { height: 280px; }

  /* Blog cards */
  .blog-grid { grid-template-columns: 1fr !important; }

  /* Gallery filter buttons — wrap nicely */
  .gallery-filters { gap: 6px; }
  .filter-btn { font-size: 12px; padding: 7px 14px; }

  /* Stat cards */
  .stat-card { padding: 16px 12px; }
  .stat-number { font-size: 2rem; }
}

/* ==============================
   HEADER
============================== */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-light);
  height: var(--header-h);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 26px; color: var(--color-rust);
  line-height: 1;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.logo-text strong {
  font-family: var(--font-display); font-size: 17px;
  color: var(--color-charcoal); font-weight: 400;
}
.logo-text em {
  font-family: var(--font-body); font-size: 11px;
  color: var(--color-rust); font-style: normal;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.logo-white .logo-text strong,
.logo-white .logo-text em { color: var(--color-white); }
.logo-white .logo-icon { color: rgba(255,255,255,0.8); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--color-gray); border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-rust); background: var(--color-rust-light);
}

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.phone-link {
  font-weight: 600; font-size: 14px; color: var(--color-charcoal);
  white-space: nowrap;
}
.phone-link:hover { color: var(--color-rust); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--color-charcoal); border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.is-open {
    display: block; position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-light);
    box-shadow: var(--shadow-md);
    z-index: 800;
  }
  .main-nav.is-open ul { flex-direction: column; padding: 16px 24px 24px; gap: 2px; }
  .main-nav.is-open a { padding: 12px 16px; font-size: 16px; }
  .phone-link { display: none; }
  .hamburger { display: flex; }
  .header-cta .btn-primary { font-size: 13px; padding: 10px 16px; }
}
@media (max-width: 480px) {
  .header-cta .btn-primary { display: none; }
}

/* ==============================
   HERO
============================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--color-charcoal);
  padding: 100px 0 90px;
  min-height: 580px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../photos/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,18,12,.82) 0%, rgba(42,36,32,.70) 60%, rgba(42,36,32,.55) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 740px;
}
.hero-badge {
  display: inline-block; background: var(--color-rust);
  color: white; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--color-white); margin-bottom: 20px;
  line-height: 1.15;
}
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.80);
  margin-bottom: 36px; max-width: 560px; line-height: 1.6;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px;
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.65);
}

/* ==============================
   SECTION HEADERS
============================== */
.section-header {
  text-align: center; max-width: 640px; margin: 0 auto 48px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 12px; color: var(--color-charcoal);
}
.section-header p {
  font-size: 17px; color: var(--color-gray);
}
.section-cta { text-align: center; margin-top: 40px; }

/* ==============================
   INTRO STRIP
============================== */
.intro-strip {
  padding: 64px 0; background: var(--color-warm);
}
.intro-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.intro-text h2 {
  font-size: 2rem; margin-bottom: 16px;
}
.intro-text p {
  color: var(--color-gray); font-size: 16px;
  line-height: 1.7; margin-bottom: 20px;
}
.link-arrow {
  color: var(--color-rust); font-weight: 600; font-size: 15px;
}
.link-arrow:hover { text-decoration: underline; }
.intro-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.stat-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  padding: 24px 20px; text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gray-light);
}
.stat-number {
  display: block; font-family: var(--font-display);
  font-size: 2.4rem; color: var(--color-rust);
  line-height: 1; margin-bottom: 6px;
}
.stat-label {
  font-size: 13px; color: var(--color-gray); font-weight: 500;
}
@media (max-width: 780px) {
  .intro-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ==============================
   SERVICES GRID
============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  display: block; background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-rust-light);
  transform: translateY(-2px);
}
.service-icon {
  font-size: 22px; color: var(--color-rust);
  margin-bottom: 14px;
}
.service-card h3 {
  font-family: var(--font-display); font-size: 1.1rem;
  margin-bottom: 8px; color: var(--color-charcoal);
}
.service-card p {
  font-size: 14px; color: var(--color-gray);
  line-height: 1.55; margin-bottom: 14px;
}
.card-link {
  font-size: 13px; font-weight: 600; color: var(--color-rust);
}

/* ==============================
   WHY CHOOSE US
============================== */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  padding: 28px 24px; border: 1px solid var(--color-gray-light);
}
.why-icon {
  font-size: 26px; margin-bottom: 12px; display: block;
  color: var(--color-rust);
}
.why-card h3 {
  font-family: var(--font-display); font-size: 1.1rem;
  margin-bottom: 8px;
}
.why-card p { font-size: 14px; color: var(--color-gray); line-height: 1.6; }

/* ==============================
   AREAS
============================== */
.areas-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.area-pill {
  display: inline-block;
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-light);
  border-radius: 100px; padding: 10px 22px;
  font-size: 14px; font-weight: 500;
  color: var(--color-charcoal);
  transition: all var(--transition);
}
.area-pill:hover {
  background: var(--color-rust); color: white; border-color: var(--color-rust);
}
.area-pill--more {
  background: var(--color-rust-light); border-color: var(--color-rust);
  color: var(--color-rust); font-weight: 600;
}

/* ==============================
   GALLERY PREVIEW
============================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-gray-light);
  background: var(--color-white);
  transition: box-shadow var(--transition);
}
.gallery-card:hover { box-shadow: var(--shadow-md); }
.gallery-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--color-gray-light) 0%, #d0c8c0 100%);
  position: relative;
}
.gallery-img-placeholder::after {
  content: '📷';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; opacity: 0.4;
}
.gallery-caption { padding: 14px 16px; }
.gallery-tag {
  display: inline-block; background: var(--color-rust-light);
  color: var(--color-rust); font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.gallery-caption p { font-size: 14px; color: var(--color-gray); }

/* ==============================
   TESTIMONIALS
============================== */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--color-warm); border-radius: var(--radius-lg);
  padding: 28px 24px; border: 1px solid var(--color-gray-light);
}
.review-stars { font-size: 18px; color: #D4780A; margin-bottom: 14px; }
.review-card > p {
  font-size: 15px; line-height: 1.65;
  color: var(--color-charcoal); margin-bottom: 18px;
  font-style: italic;
}
.review-author strong { display: block; font-size: 14px; font-weight: 600; }
.review-author span { font-size: 13px; color: var(--color-gray); }
.review-cta { text-align: center; margin-top: 36px; font-size: 16px; color: var(--color-gray); }
.review-cta a { color: var(--color-rust); font-weight: 600; }
.review-cta a:hover { text-decoration: underline; }

/* ==============================
   CTA BANNER
============================== */
.cta-banner {
  background: var(--color-rust); padding: 64px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-text h2 {
  font-size: 2rem; color: white; margin-bottom: 8px;
}
.cta-text p { font-size: 17px; color: rgba(255,255,255,0.82); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ==============================
   FAQ
============================== */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-wrap h2 {
  font-size: 2rem; margin-bottom: 36px; text-align: center;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--color-warm); border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-light); overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; font-weight: 600; font-size: 15px;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--color-charcoal);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--color-rust); font-size: 22px; font-weight: 400;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 22px 18px; font-size: 15px;
  line-height: 1.65; color: var(--color-gray);
}
.faq-item a { color: var(--color-rust); font-weight: 600; }

/* ==============================
   BREADCRUMB
============================== */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-gray-light);
  background: var(--color-warm);
}
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 13px; color: var(--color-gray); list-style: none;
}
.breadcrumb li + li::before {
  content: '›'; margin-right: 6px; opacity: 0.5;
}
.breadcrumb a { color: var(--color-rust); }
.breadcrumb a:hover { text-decoration: underline; }

/* ==============================
   PAGE HERO (inner pages)
============================== */
.page-hero {
  background: var(--color-charcoal); padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184,74,29,.25) 0%, transparent 65%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: white; margin-bottom: 14px;
}
.page-hero p {
  font-size: 17px; color: rgba(255,255,255,0.75);
  max-width: 560px;
}

/* ==============================
   SERVICE PAGE LAYOUT
============================== */
.service-page-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 48px; align-items: start;
  padding: 56px 0;
}
.service-content h2 {
  font-size: 1.7rem; margin: 32px 0 12px; color: var(--color-charcoal);
}
.service-content h2:first-child { margin-top: 0; }
.service-content p {
  font-size: 16px; line-height: 1.7; color: var(--color-gray);
  margin-bottom: 16px;
}
.service-content ul {
  list-style: disc; padding-left: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.service-content li {
  font-size: 15px; color: var(--color-gray); line-height: 1.5;
}
.service-content .check-list { list-style: none; padding: 0; }
.service-content .check-list li {
  padding-left: 24px; position: relative;
}
.service-content .check-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--color-green); font-weight: 700;
}

.service-sidebar {
  position: sticky; top: calc(var(--header-h) + 24px);
}
.sidebar-cta {
  background: var(--color-rust); border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: center;
  color: white; margin-bottom: 20px;
}
.sidebar-cta h3 {
  font-size: 1.3rem; color: white; margin-bottom: 10px;
}
.sidebar-cta p { font-size: 14px; opacity: 0.85; margin-bottom: 20px; }
.sidebar-cta .btn-white { width: 100%; justify-content: center; margin-bottom: 10px; }
.sidebar-cta .sidebar-phone {
  font-size: 1.1rem; font-weight: 700; color: white;
}
.sidebar-cta .sidebar-phone:hover { text-decoration: underline; }
.sidebar-related {
  background: var(--color-warm); border-radius: var(--radius-lg);
  padding: 24px; border: 1px solid var(--color-gray-light);
}
.sidebar-related h4 {
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-body); font-weight: 700;
  color: var(--color-gray); margin-bottom: 14px;
}
.sidebar-related ul { display: flex; flex-direction: column; gap: 8px; }
.sidebar-related li a {
  font-size: 14px; color: var(--color-rust); font-weight: 500;
}
.sidebar-related li a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .service-page-layout {
    grid-template-columns: 1fr; gap: 32px;
  }
  .service-sidebar { position: static; }
}

/* ==============================
   CITY PAGE LAYOUT
============================== */
.city-intro {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 48px; align-items: start;
  padding: 56px 0 32px;
}
@media (max-width: 760px) {
  .city-intro { grid-template-columns: 1fr; }
}

/* ==============================
   ABOUT PAGE
============================== */
.about-hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 0; align-items: start; }
.about-owner-img {
  border-radius: var(--radius-xl); height: 420px;
  overflow: hidden;
}
.about-owner-text h2 { font-size: 2rem; margin-bottom: 6px; }
.about-owner-text .owner-title {
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; color: var(--color-rust); margin-bottom: 20px;
}
.about-owner-text p {
  font-size: 16px; line-height: 1.7; color: var(--color-gray); margin-bottom: 14px;
}
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px;
}
.value-card {
  background: var(--color-white); border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-lg); padding: 24px 20px;
}
.value-card .value-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--color-gray); line-height: 1.6; }
@media (max-width: 780px) {
  .about-hero-content { grid-template-columns: 1fr; }
  .about-owner-img { height: 260px; }
}

/* ==============================
   BLOG
============================== */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px;
}
.blog-card {
  background: var(--color-white); border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--color-rust-light), var(--color-gray-light));
}
.blog-card-body { padding: 20px; }
.blog-tag {
  display: inline-block; background: var(--color-rust-light);
  color: var(--color-rust); font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 1.05rem; margin-bottom: 8px; line-height: 1.35;
}
.blog-card h3 a { color: var(--color-charcoal); }
.blog-card h3 a:hover { color: var(--color-rust); }
.blog-card p { font-size: 14px; color: var(--color-gray); line-height: 1.55; margin-bottom: 14px; }
.blog-meta { font-size: 12px; color: var(--color-gray); }

/* ==============================
   GALLERY PAGE
============================== */
.gallery-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 100px;
  border: 1.5px solid var(--color-gray-light);
  font-size: 14px; font-weight: 500; color: var(--color-charcoal);
  background: var(--color-white);
  cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-rust); color: white; border-color: var(--color-rust);
}
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.gallery-full-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-gray-light);
  background: var(--color-white);
}
.gallery-full-img {
  height: 220px;
  background: linear-gradient(135deg, var(--color-gray-light) 0%, #c8c0b8 100%);
  position: relative;
}
.gallery-full-img::after {
  content: '📷'; font-size: 28px; opacity: 0.35;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.gallery-full-body { padding: 16px; }
.gallery-full-body h3 { font-size: 1rem; margin-bottom: 5px; }
.gallery-full-body p { font-size: 13px; color: var(--color-gray); }

/* ==============================
   CONTACT FORM
============================== */
.contact-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: 56px;
  padding: 64px 0;
}
.contact-form-wrap h2 { font-size: 1.9rem; margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 16px; color: var(--color-gray); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--color-gray-light);
  border-radius: var(--radius-md); font-family: inherit; font-size: 15px;
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--color-rust);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--color-warm); border-radius: var(--radius-xl);
  padding: 32px 28px; border: 1px solid var(--color-gray-light);
  align-self: start; position: sticky; top: calc(var(--header-h) + 24px);
}
.contact-info-card h3 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px;
}
.contact-detail-icon {
  font-size: 20px; color: var(--color-rust); flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-detail span, .contact-detail a {
  font-size: 15px; color: var(--color-gray);
}
.contact-detail a { color: var(--color-rust); font-weight: 600; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
}

/* ==============================
   FOOTER
============================== */
.site-footer {
  background: var(--color-charcoal); color: rgba(255,255,255,0.70);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.65; margin-bottom: 12px; max-width: 280px; }
.footer-hours { font-size: 13px; margin-bottom: 12px; }
.footer-phone {
  display: inline-block; font-size: 1.1rem; font-weight: 700;
  color: var(--color-rust); transition: color var(--transition);
}
.footer-phone:hover { color: white; }
.footer-links h4 {
  font-family: var(--font-body); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; color: var(--color-rust);
  margin-bottom: 14px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links li a {
  font-size: 14px; color: rgba(255,255,255,0.60);
  transition: color var(--transition);
}
.footer-links li a:hover { color: white; }
.footer-contact h4 {
  font-family: var(--font-body); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; color: var(--color-rust);
  margin-bottom: 14px;
}
.footer-contact p {
  font-size: 14px; color: rgba(255,255,255,0.60);
  line-height: 1.8; margin-bottom: 12px;
}
.footer-contact a { color: rgba(255,255,255,0.75); transition: color var(--transition); }
.footer-contact a:hover { color: white; }
.footer-contact strong { color: rgba(255,255,255,0.85); }
.footer-trust {
  display: flex; flex-direction: column; gap: 8px; margin-top: 20px;
}
.trust-badge {
  font-size: 12px; color: rgba(255,255,255,0.50);
  font-weight: 500;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==============================
   INTERNAL CTA BLOCK (reusable)
============================== */
.inline-cta {
  background: var(--color-rust-light); border-radius: var(--radius-lg);
  padding: 32px 28px; margin: 40px 0;
  border: 1px solid rgba(184,74,29,0.20);
}
.inline-cta h3 { font-size: 1.3rem; margin-bottom: 8px; }
.inline-cta p { font-size: 15px; color: var(--color-gray); margin-bottom: 18px; }
.inline-cta .cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==============================
   PROCESS STEPS
============================== */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px; counter-reset: steps;
}
.process-step {
  text-align: center; padding: 28px 20px;
  background: var(--color-white); border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-light);
  counter-increment: steps;
}
.process-step::before {
  content: counter(steps);
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-rust); color: white;
  font-size: 18px; font-weight: 700; margin: 0 auto 16px;
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--color-gray); line-height: 1.5; }

/* ==============================
   UTILITY
============================== */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==============================
   PHOTO HERO — Real Project Photos
============================== */
.photo-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.photo-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photo-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20,14,10,0.88) 0%,
    rgba(20,14,10,0.55) 45%,
    rgba(20,14,10,0.15) 100%
  );
}
.photo-hero-content {
  position: relative;
  z-index: 2;
  padding: 56px 0 52px;
  width: 100%;
}
.photo-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-rust);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.photo-hero-content h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.photo-hero-content p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.photo-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.photo-hero-ctas .btn-hero-primary {
  background: var(--color-rust);
  color: white;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(184,74,29,0.4);
}
.photo-hero-ctas .btn-hero-primary:hover {
  background: #a03c14;
  transform: translateY(-1px);
}
.photo-hero-ctas .btn-hero-outline {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
}
.photo-hero-ctas .btn-hero-outline:hover {
  background: rgba(255,255,255,0.22);
  border-color: white;
}

/* Photo strip — multiple project photos on service pages */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 2.5rem 0;
  border-radius: 6px;
  overflow: hidden;
}
.photo-strip-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-strip-item:hover img {
  transform: scale(1.04);
}
.photo-strip-item.large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
@media (max-width: 640px) {
  .photo-hero { min-height: 420px; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip-item.large { grid-column: span 2; }
}

/* ==============================
   LOGO IMAGE
============================== */
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 48px; width: auto; display: block; }
.site-header .logo-img { filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3)); }

/* ==============================
   HERO — real construction photo background
============================== */
.hero {
  background: var(--color-charcoal);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('/assets/photos/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  opacity: 1;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,12,6,0.78) 0%, rgba(42,28,20,0.65) 55%, rgba(20,12,6,0.55) 100%);
}

/* ==============================
   SERVICE CARD WITH PHOTO
============================== */
.service-card-photo { padding: 0 !important; overflow: hidden; }
.service-card-img-wrap {
  position: relative;
  width: 100%; height: 180px; overflow: hidden;
}
.service-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card-photo:hover .service-card-img-wrap img { transform: scale(1.05); }
.service-card-overlay-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--color-rust); color: white;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 2px;
}
.service-card-photo h3,
.service-card-photo p,
.service-card-photo .card-link {
  padding-left: 20px; padding-right: 20px;
}
.service-card-photo h3 { padding-top: 18px; }
.service-card-photo .card-link { padding-bottom: 18px; display: block; }

/* ==============================
   COMMERCIAL & RESIDENTIAL BADGE
============================== */
.comm-res-badge {
  display: inline-flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px; padding: 6px 20px 6px 8px;
  margin-bottom: 18px;
}
.comm-res-badge span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
}
.comm-res-badge span + span { border-left: 1px solid rgba(255,255,255,0.25); padding-left: 18px; }
.comm-res-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-rust); flex-shrink: 0; }
@media (max-width: 768px) {
  .comm-res-badge {
    display: inline-flex;
    width: auto;
    margin-left: 0;
    gap: 10px;
    padding: 5px 14px 5px 8px;
    font-size: 10px;
  }
  .comm-res-badge span { font-size: 10px; letter-spacing: 0.06em; }
  .comm-res-badge span + span { padding-left: 10px; }
}

/* ==============================
   GOOGLE REVIEWS EMBED SECTION
============================== */
.reviews-section { padding: 64px 0; background: var(--color-warm); }
.google-reviews-widget {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  text-align: center;
}
.google-rating-summary {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.google-rating-big {
  font-size: 4rem; font-weight: 800; color: var(--color-charcoal);
  line-height: 1; font-family: var(--font-display);
}
.google-rating-stars { color: #F9AB00; font-size: 1.8rem; letter-spacing: 2px; }
.google-rating-count { font-size: 14px; color: var(--color-gray); margin-top: 4px; }
.google-logo { display: flex; align-items: center; gap: 6px; font-size: 1.1rem; font-weight: 700; }
.google-logo-g { font-size: 1.5rem; }
.google-review-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; text-align: left; }
.google-review-card {
  background: var(--color-warm); border-radius: 8px; padding: 20px;
  border: 1px solid rgba(0,0,0,0.06);
}
.grc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.grc-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: white; flex-shrink: 0;
}
.grc-name { font-weight: 600; font-size: 0.95rem; color: var(--color-charcoal); }
.grc-stars { color: #F9AB00; font-size: 0.85rem; }
.grc-text { font-size: 0.88rem; color: var(--color-gray); line-height: 1.6; }
.grc-date { font-size: 0.78rem; color: #aaa; margin-top: 8px; }
.reviews-cta-row { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ==============================
   TEAM SECTION
============================== */
.team-section { padding: 64px 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.team-card {
  background: white; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.11); }
.team-card-img {
  height: 220px; background: var(--color-charcoal);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card-body { padding: 20px; }
.team-card-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card-body .role { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-rust); margin-bottom: 10px; }
.team-card-body p { font-size: 0.88rem; color: var(--color-gray); line-height: 1.6; }

/* ==============================
   LOGO SIZING — header vs footer
============================== */
.site-header .logo-img {
  height: 44px;
  width: auto;
}
.site-footer .logo .logo-img {
  height: 36px;
  width: auto;
  opacity: 0.9;
}
/* Remove old logo-icon span if it still appears */
.logo-icon { display: none; }

/* ==============================
   COMMERCIAL/RESIDENTIAL STRIP on service pages
============================== */
.comm-res-strip {
  background: var(--color-rust);
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   BUTTON CONTRAST FIXES
   Ensure buttons are always visible against their background
   ============================================================ */

/* Sidebar CTA — rust background, needs white button */
.sidebar-cta a.btn-primary,
.sidebar-cta a[class*="btn-primary"] {
  background: #ffffff !important;
  color: var(--color-rust) !important;
  border: none !important;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.sidebar-cta a.btn-primary:hover,
.sidebar-cta a[class*="btn-primary"]:hover {
  background: var(--color-warm) !important;
  color: var(--color-rust-dark) !important;
}

/* Ensure btn-white always has clear contrast */
.btn-white {
  background: #ffffff;
  color: var(--color-rust);
  border: 2px solid transparent;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-white:hover {
  background: var(--color-rust-light);
  color: var(--color-rust-dark);
}

/* CTA section (rust/dark bg) — outline button needs to be visible */
.cta-section .btn-outline-white {
  border: 2px solid rgba(255,255,255,0.7);
  color: white;
  background: transparent;
}
.cta-section .btn-outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.12);
}

/* Inline CTA blocks — ensure buttons are distinguishable */
.inline-cta {
  background: var(--color-warm);
  border-left: 4px solid var(--color-rust);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.inline-cta p { margin: 0; font-weight: 500; flex: 1 1 200px; }
.inline-cta .btn-primary { background: var(--color-rust); color: white; }
.inline-cta .btn-outline {
  border: 2px solid var(--color-rust);
  color: var(--color-rust);
  background: transparent;
}
.inline-cta .btn-outline:hover {
  background: var(--color-rust);
  color: white;
}

/* ==============================
   CTA SECTION — service pages bottom banner
============================== */
.cta-section {
  background: var(--color-rust);
  padding: 72px 0;
}
.cta-section .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: white;
  margin-bottom: 8px;
  line-height: 1.2;
  flex: 1 1 300px;
}
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
  flex: 1 1 300px;
}
.cta-section .cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cta-section .btn-white {
  background: white;
  color: var(--color-rust);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s;
  border: 2px solid white;
}
.cta-section .btn-white:hover {
  background: var(--color-rust-light);
  color: var(--color-rust-dark);
}
.cta-section .btn-outline-white {
  background: transparent;
  color: white;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.65);
  transition: background 0.2s, border-color 0.2s;
}
.cta-section .btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

@media (max-width: 700px) {
  .cta-section { padding: 40px 0; }
  .cta-section .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .cta-section h2 { font-size: 1.5rem; flex: none; }
  .cta-section p { flex: none; }
  .cta-section .cta-buttons {
    justify-content: center;
    width: 100%;
  }
  .cta-section .btn-white,
  .cta-section .btn-outline-white {
    width: 100%;
    justify-content: center;
  }
}

/* ==============================
   SIDEBAR ESTIMATE BUTTON — clean white on rust
============================== */
.sidebar-estimate-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--color-rust);
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  letter-spacing: 0.01em;
}
.sidebar-estimate-btn:hover {
  background: var(--color-rust-light);
  color: var(--color-rust-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==============================
   SERVICE ICON — SVG trade icons
============================== */
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-rust-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 6px;
}
.service-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

/* ==============================
   BEFORE / AFTER GALLERY CARD
============================== */
.gallery-card-before-after .gallery-img-placeholder,
.before-after-wrap {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  position: relative;
}
.before-half,
.after-half {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.before-half img,
.after-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-card-before-after:hover .before-half img,
.gallery-card-before-after:hover .after-half img {
  transform: scale(1.04);
}
/* Divider line between before/after */
.before-after-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: white;
  z-index: 2;
  transform: translateX(-50%);
}
.before-after-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  z-index: 3;
}
.after-label {
  left: auto;
  right: 10px;
  background: var(--color-rust);
}

/* ==============================
   BEFORE/AFTER CARD — layout fix
============================== */
.gallery-card-before-after {
  display: flex;
  flex-direction: column;
}
.gallery-card-before-after .before-after-wrap {
  height: 200px;
  flex-shrink: 0;
}
/* Remove the camera emoji pseudo-element on before/after cards */
.gallery-card-before-after .gallery-img-placeholder::after {
  display: none;
}
.before-half,
.after-half {
  height: 200px;
}

/* ==============================
   HOMEPAGE GALLERY CARDS — taller image area for portrait photos
============================== */
.gallery-card .gallery-img-placeholder {
  height: 240px;
}
.gallery-card .gallery-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
