/* ========================================
   Floor & Bath Design — Main Stylesheet
   Dark, elegant, premium renovation aesthetic
   ======================================== */

/* --- Design Tokens --- */
:root {
  --color-primary: #000000;
  --color-accent: #ff212b;
  --color-dark: #1a1a1a;
  --color-gray-dark: #424242;
  --color-gray: #939393;
  --color-gray-light: #e8e8e8;
  --color-bg: #ffffff;
  --color-text: #333333;
  --color-text-light: #cccccc;

  --font-body: 'Fira Sans Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1200px;
  --container-narrow: 800px;
  --gap: 2rem;
  --radius: 4px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #cc1a22; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }

p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-accent:hover { background: #cc1a22; border-color: #cc1a22; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.btn-white:hover { background: var(--color-gray-light); border-color: var(--color-gray-light); color: var(--color-primary); }

/* ========================================
   HEADER
   ======================================== */
.site-header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Top Bar */
.header-topbar {
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 1.5rem;
}
.topbar-contact a {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}
.topbar-contact a:hover { color: var(--color-accent); }
.topbar-sep { color: rgba(255,255,255,0.3); margin: 0 0.5rem; }
.topbar-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.topbar-social a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.topbar-social a:hover { color: var(--color-accent); }
.topbar-social svg { vertical-align: middle; }
@media (max-width: 768px) {
  .topbar-contact { font-size: 0.75rem; }
  .topbar-social { display: none; }
  .topbar-sep { margin: 0 0.25rem; }
  .topbar-inner { flex-direction: column; padding: 0.4rem 1rem; gap: 0.35rem; }
  .topbar-left { width: 100%; text-align: center; }
  .topbar-cta { width: 100%; margin-top: 0; font-size: 0.75rem; padding: 0.5rem; }
}

.header-social {
  display: flex;
  gap: 0.75rem;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  transition: all var(--transition);
  border-radius: 4px;
}

.header-social a:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo img { height: 60px; width: auto; }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--color-accent); }
.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: var(--radius);
  margin-left: 0.5rem;
}
.nav-cta:hover { background: #cc1a22 !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Mobile header */
@media (max-width: 768px) {
  .header-social { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary);
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    padding: 1rem;
  }
  .main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-cta { margin-left: 0; text-align: center; margin-top: 0.5rem; }
  .logo img { height: 44px; }
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 500px;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
}
.hero-overlay .container { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  color: #fff;
  font-size: 3.25rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.hero-cta { text-align: center; }

.page-header {
  background: var(--color-primary);
  padding: 2.5rem 0;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 0.25rem; }
.breadcrumb {
  margin-bottom: 0;
  font-size: 0.85rem;
}
.breadcrumb a { color: var(--color-gray); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

@media (max-width: 768px) {
  .hero { min-height: 350px; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
}

/* ========================================
   PAGE CONTENT
   ======================================== */
.page-content {
  padding: 4rem 0;
}
.page-content h2 { margin-top: 2rem; }
.page-content h3 { margin-top: 1.5rem; }

/* ========================================
   HOME SECTIONS
   ======================================== */
.home-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all var(--transition);
  border-top: 4px solid var(--color-accent);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.service-card .icon,
.service-card .service-icon {
  font-size: 3rem;
  margin-bottom: 2.5rem;
}
.service-card img.service-icon {
  width: 90px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.service-card {
  color: var(--color-text);
  text-decoration: none;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--color-gray-dark);
}
.home-section.dark {
  background: var(--color-dark);
  color: #fff;
}
.home-section.dark h2 { color: #fff; }
.home-section.dark p,
.home-section.dark .section-header p { color: #fff; }
.home-section.dark .team-card p,
.home-section.dark .team-card h3 { color: var(--color-primary); }
.home-section.dark .highlight-card h3 { color: var(--color-primary); }
.home-section.dark .highlight-card p { color: var(--color-gray-dark); }
.home-section.gray {
  background: #f5f5f5;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-header h2 { font-size: 2.25rem; }
.section-header p { color: var(--color-gray); }

/* ========================================
   PORTFOLIO GRID
   ======================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--color-dark);
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.portfolio-card:hover img {
  transform: scale(1.05);
  opacity: 0.7;
}
.portfolio-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}
.portfolio-card:hover .portfolio-card-overlay {
  transform: translateY(0);
  opacity: 1;
}
.portfolio-card-overlay h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.portfolio-card-overlay .cat {
  color: var(--color-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Portfolio filter tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: 2px solid var(--color-gray-light);
  border-radius: 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-text);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.portfolio-category-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

@media (max-width: 992px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ========================================
   PORTFOLIO DETAIL / GALLERY
   ======================================== */
.portfolio-layout {
  margin-top: 3rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.portfolio-content { margin-bottom: 3rem; }
.portfolio-content h2, .portfolio-content h3 { margin-top: 1.5rem; }

.portfolio-cta {
  text-align: center;
  padding: 3rem;
  background: #f5f5f5;
  border-radius: var(--radius);
  margin-bottom: 3rem;
}
.portfolio-cta h3 { margin-bottom: 0.5rem; }
.portfolio-cta p { color: var(--color-gray); margin-bottom: 1.5rem; }

.portfolio-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-light);
  margin-bottom: 2rem;
}
.portfolio-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9rem;
}
.portfolio-nav a:hover { color: var(--color-accent); }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   BLOG
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; }
.blog-card-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.blog-card-body h3 a { color: var(--color-primary); }
.blog-card-body h3 a:hover { color: var(--color-accent); }
.blog-card-body time { color: var(--color-gray); font-size: 0.85rem; }

.blog-article { padding: 3rem 0; }
.post-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.post-content h2 { margin-top: 2rem; font-size: 1.75rem; }
.post-content h3 { margin-top: 1.5rem; font-size: 1.35rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { margin-bottom: 1.25rem; }

/* Blog post inline tables */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0 2.25rem;
  font-size: 0.95rem;
  background: var(--white, #fff);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.post-content thead {
  background: var(--charcoal, #1a1a2e);
  color: var(--white, #fff);
}
.post-content th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.post-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e8e2d9;
  color: var(--body-text, #333);
  vertical-align: top;
  line-height: 1.5;
}
.post-content tbody tr:last-child td {
  border-bottom: none;
}
.post-content tbody tr:nth-child(even) {
  background: #faf7f4;
}
.post-content tbody tr:hover {
  background: #f5ede4;
}
/* Bold cells (e.g. **Total** rows) */
.post-content td strong,
.post-content th strong {
  font-weight: 700;
}
/* Totals/highlight row — first column bold = summary row */
.post-content tbody tr:last-child td {
  font-weight: 600;
  background: #f0e8de;
  border-top: 2px solid var(--gold, #c5a47e);
}
@media (max-width: 700px) {
  .post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.875rem;
    border-radius: 6px;
  }
  .post-content th,
  .post-content td {
    padding: 0.6rem 0.8rem;
    white-space: nowrap;
  }
}
.post-date { color: var(--color-gray); font-size: 0.9rem; }
.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-light);
}

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

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.testimonial-card {
  padding: 2rem;
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius);
  background: #fff;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--color-text);
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary);
}
.testimonial-stars {
  color: #f4b400;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}
.review-source {
  font-weight: 400;
  font-size: 0.8rem;
  color: #888;
  margin-left: 0.4rem;
}

/* Reviews summary bar */
.reviews-summary {
  display: flex;
  gap: 2rem;
  margin: 2rem 0 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.reviews-summary-item {
  text-align: center;
  padding: 2rem 2.5rem;
  border: 1px solid var(--color-gray-light, #e5e0d8);
  border-radius: 8px;
  background: #fff;
  min-width: 200px;
}
.reviews-rating-big {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary, #1a1a2e);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.reviews-summary-item .reviews-stars {
  font-size: 1.4rem;
  color: #f4b400;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}
.reviews-source {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.reviews-count {
  font-size: 0.85rem;
  color: #777;
}

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

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.contact-card {
  padding: 2rem;
  background: #f5f5f5;
  border-radius: var(--radius);
  text-align: center;
  transition: box-shadow var(--transition);
}
.contact-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.contact-card-icon {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 1rem;
}
.contact-card h3 { margin-bottom: 0.75rem; font-size: 1.5rem; }
.contact-card p { color: var(--color-gray); margin-bottom: 1.25rem; font-size: 0.95rem; }
.map-container { width: 100%; height: 400px; border-radius: var(--radius); overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

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

/* ========================================
   TEAM
   ======================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.team-card h3 { margin-bottom: 0.25rem; font-size: 1.2rem; }

/* Homepage highlights (Why FBD) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}
.highlight-card {
  background: #fff;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.highlight-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; color: var(--color-primary); }
.highlight-card p { font-size: 0.95rem; color: var(--color-gray-dark); line-height: 1.6; }
.highlight-icon {
  width: 90px;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
}
@media (max-width: 768px) {
  .highlights-grid { grid-template-columns: 1fr; }
}
.team-card .role { color: var(--color-accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; font-weight: 600; }
.team-card p { font-size: 0.95rem; color: var(--color-gray-dark); line-height: 1.6; }
.team-card img {
  border-radius: 50%;
  width: 160px;
  height: 160px;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.team-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--color-gray-light);
  margin: 0 auto 1rem;
}

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

/* ========================================
   ABOUT PAGE TWO-COLUMN LAYOUT
   ======================================== */
.about-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.about-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-photo {
  margin-bottom: 2rem;
}
@media (min-width: 993px) {
  .team-photo { margin-bottom: 4rem; }
}

.team-photo img {
  border-radius: var(--radius);
  height: auto;
  display: block;
  margin: 0 auto;
}

.houzz-badge-section {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 1rem;
}

.houzz-badge-section p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.houzz-badge img {
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

.showroom-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showroom-details {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: var(--radius);
}

.showroom-details h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.showroom-details p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.showroom-cta {
  background: var(--color-dark);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.showroom-cta p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .about-two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-card {
    padding: 1.5rem 1rem;
  }
  
  .team-card img {
    width: 140px;
    height: 140px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* ========================================
   PRODUCT CATEGORIES
   ======================================== */
.product-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.product-card {
  padding: 40px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 0 10px 6px rgba(0, 0, 0, .13);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.product-card:hover {
  transform: translateY(-2px);
}
.product-card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.25rem;
}
.product-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}
.product-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-card ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.product-card ul li:last-child {
  margin-bottom: 0;
}
.product-card ul li a {
  color: var(--color-gray-dark);
  text-decoration: none;
  transition: color var(--transition);
}
.product-card ul li a:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .product-categories {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .product-card {
    max-width: 400px;
    width: 100%;
  }
}

/* ========================================
   PROCESS STEPS
   ======================================== */
.process-steps {
  margin: 3rem 0;
}
.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}
.step-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
  flex-shrink: 0;
  min-width: 80px;
}
.step-content {
  flex: 1;
}
.step-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  margin-top: 0;
  color: var(--color-primary);
  line-height: 1.2;
}
.step-content p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.process-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}
.process-images img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* Process page — intro two-column */
.process-intro-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2rem 0 3.5rem;
}
.process-intro-video {
  height: 568px;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}
.process-intro-text h2 {
  margin-top: 0;
}
@media (max-width: 768px) {
  .process-intro-grid {
    grid-template-columns: 1fr;
  }
  .process-intro-video {
    height: 420px;
  }
}

/* Process page — stage sections */
.process-stage {
  border-top: 3px solid var(--color-accent, #c9a96e);
  padding-top: 2.5rem;
  margin-bottom: 3.5rem;
}
.process-stage-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}
.process-stage-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent, #c9a96e);
  line-height: 1;
  min-width: 2.5rem;
}
.process-stage h2 {
  margin: 0 0 1rem;
}

/* Accordion FAQ */
.faq-accordion {
  margin-top: 2rem;
  border-top: 1px solid #e0dbd4;
}
.faq-item {
  border-bottom: 1px solid #e0dbd4;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 2rem 1rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: var(--color-text, #333);
  font-family: inherit;
  line-height: 1.4;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-accent, #c9a96e);
  transition: transform 0.2s;
}
.faq-question[aria-expanded="true"]::after {
  content: '−';
}
.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
}
.faq-answer.open {
  display: block;
}

@media (max-width: 630px) {
  .process-images {
    grid-template-columns: 1fr;
  }
  .process-step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .step-number {
    min-width: auto;
    font-size: 3.5rem;
  }
  .step-content p {
    text-align: left;
  }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--color-dark);
  color: var(--color-text-light);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-service-areas {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
}
.footer-service-areas h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.service-area-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.85rem;
}
.service-area-links a {
  color: var(--color-text-light);
}
.service-area-links a:hover {
  color: var(--color-accent);
}
.service-area-links .sep {
  color: rgba(255,255,255,0.3);
  margin: 0 0.25rem;
}

.footer-houzz-row {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-houzz-row .footer-accolade {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.houzz-badges-inline {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.houzz-badges-inline img {
  max-height: 80px;
  width: auto;
  flex: 0 0 auto;
}
.topbar-phone {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
}
.topbar-cta {
  display: block;
  background: var(--color-accent, #ff212b);
  color: #fff !important;
  text-align: center;
  padding: 0.65rem 1.5rem;
  margin-top: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.topbar-cta:hover {
  background: #d41920;
  color: #fff !important;
}
.topbar-left { flex: 1; }
.footer-logo { margin-bottom: 1rem; height: 36px; width: auto; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col a { color: var(--color-text-light); }
.footer-col a:hover { color: var(--color-accent); }
.footer-col p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-accolade { color: #fff; font-weight: 600; margin-top: 0.5rem; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.9rem; }
.social-links { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.social-links a { font-size: 0.9rem; }
.footer-serving p { font-size: 0.85rem; color: var(--color-gray); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: var(--color-gray);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--color-gray); }
.footer-legal a:hover { color: var(--color-accent); }

@media (max-width: 992px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 630px) {
  .houzz-badges-inline { max-width: 280px; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 450px) {
  .houzz-badges-inline { max-width: 180px; }
}

/* ============================================
   SERVICE & LOCATION PAGE STYLES (Core 30)
   Added: 2026-02-10
   ============================================ */

/* Breadcrumb */
.breadcrumb {
  background: #000;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  border-bottom: none;
  margin-bottom: 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}
.breadcrumb li::after {
  content: "»";
  margin-left: 0.5rem;
  color: rgba(255,255,255,0.4);
}
.breadcrumb li:last-child::after {
  content: none;
}
.breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--accent, #c5a47e);
  text-decoration: underline;
}

/* Service Content wrapper */
.service-content {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

/* Service Grid (main + sidebar) */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.service-grid--full {
  grid-template-columns: 1fr;
}
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Area hub grid (Durham Region page) */
.area-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2.5rem;
}
.area-hub-card {
  display: block;
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.area-hub-card:hover {
  border-color: var(--accent, #c5a47e);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.area-hub-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.area-hub-card h3 {
  margin: 1rem 1.25rem 0.5rem;
  font-size: 1.15rem;
}
.area-hub-card h3 a {
  color: var(--dark, #1a1a2e);
  text-decoration: none;
}
.area-hub-card h3 a:hover {
  color: var(--accent, #c5a47e);
}
.area-hub-card p {
  margin: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* Area page images */
.area-hero-img {
  margin-bottom: 1.5rem;
}
.area-hero-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.area-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.area-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.area-feature-img {
  margin: 1.5rem 0;
}
.area-feature-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
@media (max-width: 600px) {
  .area-gallery {
    grid-template-columns: 1fr;
  }
  .area-hub-grid {
    grid-template-columns: 1fr;
  }
}

/* Service Main Content */
.service-main h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--dark, #1a1a2e);
}
.service-main h3 {
  margin-top: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.service-main p {
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.service-main ul, .service-main ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.service-main li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Inline CTA */
.service-cta-inline {
  margin: 3rem 0;
  padding: 2.5rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
  color: #fff;
  border-radius: 8px;
  text-align: center;
}
.service-cta-inline h3 {
  color: var(--accent, #c5a47e);
  margin-top: 0;
  font-size: 1.5rem;
}
.service-cta-inline p {
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.cta-buttons .btn {
  min-width: 180px;
}
.btn-outline {
  border: 2px solid var(--accent, #c5a47e);
  color: var(--accent, #c5a47e);
  background: transparent;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: var(--accent, #c5a47e);
  color: #fff;
}

/* FAQ Section */
.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #eee;
}
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark, #1a1a2e);
  padding: 0.5rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent, #c5a47e);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-answer {
  padding: 0.5rem 0 1rem;
  color: #555;
  line-height: 1.7;
}

/* Sidebar */
.service-sidebar {
  position: sticky;
  top: 2rem;
}
.sidebar-cta {
  background: var(--dark, #1a1a2e);
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1.5rem;
}
.sidebar-cta h3 {
  color: var(--accent, #c5a47e);
  margin-top: 0;
}
.sidebar-cta p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}
.sidebar-phone {
  display: block;
  margin-top: 0.75rem;
  color: var(--accent, #c5a47e);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}
.sidebar-phone:hover {
  text-decoration: underline;
}
.sidebar-related, .sidebar-areas {
  background: #f8f8f8;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.sidebar-related h4, .sidebar-areas h4 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--dark, #1a1a2e);
  border-bottom: 2px solid var(--accent, #c5a47e);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.sidebar-related ul, .sidebar-areas ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-related li, .sidebar-areas li {
  margin-bottom: 0.5rem;
}
.sidebar-related a, .sidebar-areas a {
  color: var(--dark, #1a1a2e);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.sidebar-related a:hover, .sidebar-areas a:hover {
  color: var(--accent, #c5a47e);
}
.sidebar-trust {
  text-align: center;
  padding: 1rem;
}
.sidebar-trust .houzz-badges-inline {
  max-width: 240px;
  margin: 0 auto;
}
.sidebar-trust .houzz-badges-inline img {
  max-height: 70px;
}

/* Local Services Grid (location pages) */
.services-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.service-card-compact {
  display: block;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.service-card-compact:hover {
  border-color: var(--accent, #c5a47e);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.service-card-compact h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--dark, #1a1a2e);
}
.service-card-compact p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .service-cta-inline {
    padding: 1.5rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .cta-buttons .btn {
    width: 100%;
  }
}

/* ========================================
   PORTFOLIO (PHP template styles)
   ======================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius, 4px);
  aspect-ratio: 4/3;
  background: var(--color-dark, #1a1a2e);
}
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.portfolio-card:hover img {
  transform: scale(1.05);
  opacity: 0.7;
}
.portfolio-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}
.portfolio-card:hover .portfolio-card-overlay { transform: translateY(0); opacity: 1; }
.portfolio-card-overlay h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.25rem; font-weight: 600; }
.portfolio-card-overlay .cat { color: var(--accent, #c5a47e); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }

.filter-tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-tab { padding: 0.5rem 1.5rem; background: transparent; border: 2px solid #e5e5e5; border-radius: 2rem; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s; }
.filter-tab:hover, .filter-tab.active { background: var(--dark, #1a1a2e); border-color: var(--dark, #1a1a2e); color: #fff; }
.portfolio-category-badge { display: inline-block; background: none; color: var(--accent, #c5a47e); padding: 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 1.5rem; }

@media (max-width: 992px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-layout { margin-top: 3rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 3rem; }
.gallery-item { overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

.portfolio-content { margin-bottom: 3rem; }
.portfolio-content h2, .portfolio-content h3 { margin-top: 1.5rem; }

.portfolio-cta { text-align: center; padding: 3rem; background: #f5f5f5; border-radius: 4px; margin-bottom: 3rem; }
.portfolio-cta h3 { margin-bottom: 0.5rem; }
.portfolio-cta p { color: #888; margin-bottom: 1.5rem; }

.portfolio-nav { display: flex; justify-content: space-between; padding-top: 2rem; border-top: 1px solid #e5e5e5; margin-bottom: 2rem; }
.portfolio-nav a { color: var(--dark, #1a1a2e); font-weight: 500; font-size: 0.9rem; text-decoration: none; }
.portfolio-nav a:hover { color: var(--accent, #c5a47e); }

@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Portfolio detail — float layout (image left, text wraps) */
.portfolio-body-content {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}
.portfolio-body-content::after {
  content: "";
  display: table;
  clear: both;
}
.portfolio-featured-float {
  float: left;
  width: 55%;
  margin: 0 2rem 1.5rem 0;
}
.portfolio-featured-float img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.portfolio-body-content p,
.portfolio-body-content h2,
.portfolio-body-content h3,
.portfolio-body-content h4,
.portfolio-body-content ul {
  margin-bottom: 1rem;
}
.portfolio-body-content p {
  font-size: 1.05rem;
  line-height: 1.75;
}
@media (max-width: 768px) {
  .portfolio-featured-float {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem 0;
  }
}

/* =============================
   Tables — Service Pages
   ============================= */
.service-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.service-main thead {
  background: var(--charcoal, #1a1a2e);
  color: var(--white, #fff);
}
.service-main th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.service-main td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e8e8e8;
  color: var(--body-text, #333);
  vertical-align: top;
}
.service-main tbody tr:last-child td {
  border-bottom: none;
}
.service-main tbody tr:nth-child(even) {
  background: #f8f8fa;
}
.service-main tbody tr:hover {
  background: #f0f0f5;
}
@media (max-width: 768px) {
  .service-main table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .service-main th,
  .service-main td {
    padding: 0.6rem 0.75rem;
    white-space: nowrap;
  }
}

/* =============================
   Featured Projects Grid — Service Pages
   ============================= */
.featured-projects {
  margin: 2rem 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white, #fff);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-card h3 {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  margin: 0;
  font-weight: 600;
}
@media (max-width: 600px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
.text-center {
  text-align: center;
}
