/* ============================================
   LEVEL UP CONCRETE & LANDSCAPE
   Light premium design — SLC, Utah
   ============================================ */

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

:root {
  --primary: #6DB7E1;        /* Brand blue */
  --primary-dark: #2B5672;   /* Dark blue */
  --primary-deeper: #1a3a52; /* Deepest blue */
  --accent: #6DB7E1;         /* Brand blue accent */
  --accent-hover: #5aa8d4;
  --bg: #ffffff;             /* White background */
  --bg-soft: #f7f9fc;        /* Soft gray-blue tint */
  --bg-card: #ffffff;
  --border: #e4e9f0;         /* Light border */
  --border-hover: #6DB7E1;
  --text: #1a1a2e;           /* Dark text */
  --text-muted: #5a6474;     /* Muted text */
  --text-light: #8494a7;
  --white: #ffffff;
  --dark: #0f1923;
  --gold: #d4a853;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

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

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: var(--font); font-weight: 700; line-height: 1.2; color: var(--primary-deeper); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-top: 16px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(109,183,225,0.35);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255,255,255,0.1);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
}
.btn-white:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  color: var(--primary-dark);
}

.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  isolation: isolate;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}

.nav-logo img { height: 100px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 12px 28px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

.nav-phone {
  color: var(--primary-dark) !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  border: 2px solid var(--primary) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm) !important;
}
.nav-phone:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary-dark); margin: 6px 0; transition: var(--transition); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,82,0.88) 0%, rgba(43,86,114,0.75) 40%, rgba(109,183,225,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

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

.hero-text {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-icon {
  width: 44px;
  height: 44px;
  background: rgba(109,183,225,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* --- Services Grid --- */
.services { padding: 100px 0; }

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-subtitle { margin: 16px auto 0; }

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-body { padding: 28px; }
.service-card-body h3 { margin-bottom: 12px; }

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.service-card-link:hover { gap: 10px; color: var(--accent-hover); }

/* --- Process Section --- */
.process {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-step {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.process-step-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 24px;
}

.process-step h3 { margin-bottom: 12px; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Gallery --- */
.gallery { padding: 100px 0; }

.gallery-header {
  text-align: center;
  margin-bottom: 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: #f5a623;
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name { font-weight: 600; color: var(--primary-deeper); }
.testimonial-location { font-size: 0.85rem; color: var(--text-light); }

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
}

.cta-section h2 { margin-bottom: 16px; color: var(--white); }
.cta-section p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .section-label { color: rgba(255,255,255,0.6); }

/* --- Estimate Form --- */
.estimate-section { padding: 100px 0; }

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

.estimate-info h2 { margin-bottom: 16px; }

.estimate-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.estimate-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.estimate-contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(109,183,225,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.estimate-contact-label { font-size: 0.85rem; color: var(--text-light); }
.estimate-contact-value { font-weight: 600; color: var(--primary-dark); font-size: 1.05rem; }

.estimate-form {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109,183,225,0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(109,183,225,0.35);
}

/* --- Footer --- */
.footer {
  background: var(--primary-deeper);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 72px; width: auto; filter: brightness(0) invert(1); }

.footer-brand p {
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* --- Service Areas --- */
.service-areas { padding: 64px 0; }

.areas-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.area-tag {
  padding: 8px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Sticky Mobile CTA Bar --- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 12px 16px;
}

.mobile-cta-bar-inner {
  display: flex;
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.mobile-cta-bar .btn {
  flex: 1;
  justify-content: center;
  text-align: center;
  padding: 14px 12px;
  font-size: 0.95rem;
}

.mobile-cta-bar .btn-call {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.mobile-cta-bar .btn-estimate {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

/* --- FAQ Section --- */
.faq {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item.open {
  border-left-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-deeper);
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  gap: 20px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-question::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(109,183,225,0.1);
  border-radius: 50%;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-question::after {
  content: '\2212';
  background: var(--primary);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* --- Blog Hero --- */
.blog-hero {
  padding: 160px 0 60px;
  text-align: center;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.blog-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  max-width: 700px;
  margin: 0 auto;
}

/* --- Blog Listing --- */
.blog-listing { padding: 80px 0; }

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.blog-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.blog-card-img {
  width: 200px;
  min-height: 160px;
  flex-shrink: 0;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  background: var(--primary);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  width: fit-content;
}

.blog-card-body h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-date {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* --- Blog Post --- */
.blog-post-header {
  padding: 140px 0 40px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.blog-post-header .container {
  max-width: 760px;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs span {
  margin: 0 8px;
  color: var(--text-light);
}

.blog-post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
  line-height: 1.3;
}

.blog-post-meta {
  font-size: 0.9rem;
  color: var(--text-light);
}

.blog-post-meta strong {
  color: var(--text-muted);
}

/* Blog post hero image */
.blog-post-hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.blog-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 400px;
}

/* Blog article body */
.blog-post {
  padding: 60px 0 80px;
}

.blog-post .container {
  max-width: 760px;
}

.blog-post h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 16px;
}

.blog-post h3 {
  font-size: 1.2rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-post p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 20px;
}

.blog-post ul, .blog-post ol {
  margin: 0 0 24px 24px;
  color: var(--text);
  line-height: 1.85;
  font-size: 1.05rem;
}

.blog-post li {
  margin-bottom: 8px;
}

.blog-post a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(109,183,225,0.3);
  text-underline-offset: 3px;
}

.blog-post a:hover {
  text-decoration-color: var(--primary);
}

.blog-post strong {
  font-weight: 600;
  color: var(--text);
}

.blog-post blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
  font-style: italic;
}

/* Blog tables */
.blog-post table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.blog-post table th {
  background: var(--primary-dark);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.blog-post table th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.blog-post table th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.blog-post table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.blog-post table tr:nth-child(even) {
  background: var(--bg-soft);
}

.blog-post table tr:hover {
  background: rgba(109,183,225,0.06);
}

/* Blog CTA box */
.blog-cta {
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius);
  text-align: center;
}

.blog-cta h2 {
  color: var(--white);
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.blog-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-size: 1rem;
}

.blog-cta .btn {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
}

.blog-cta .btn:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Active nav link */
.nav-links a.active {
  color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-inner { height: 80px; }
  .nav-logo img { height: 60px; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 12px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open li { width: 100%; }

  .nav-links.open a {
    display: block;
    padding: 14px 20px;
    font-size: 1.05rem;
    text-align: center;
    border-radius: var(--radius-sm);
  }

  .nav-links.open .nav-cta {
    margin-top: 4px;
  }

  .nav-links.open .nav-phone {
    text-align: center;
  }

  .hero { padding-top: 80px; min-height: auto; }
  .hero-content { padding: 48px 16px 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-text { font-size: 1.05rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat-number { font-size: 1.5rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  /* All buttons centered on mobile */
  .btn {
    justify-content: center;
    text-align: center;
  }

  .services, .gallery, .testimonials, .process { padding: 64px 0; }

  .process-steps { grid-template-columns: 1fr; }
  .estimate-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .trust-items { gap: 16px; }
  .trust-item { font-size: 0.85rem; }

  .cta-section { padding: 64px 0; }
  .cta-section .btn { width: 100%; justify-content: center; text-align: center; }

  .estimate-form { padding: 24px; }

  .service-areas { padding: 48px 0; }

  .footer { padding: 48px 0 24px; }
  .footer-brand img { height: 48px; }

  /* Blog responsive */
  .blog-hero { padding: 110px 0 40px; }
  .blog-card { flex-direction: column; }
  .blog-card-img { width: 100%; min-height: 140px; max-height: 180px; }
  .blog-post-header { padding: 110px 0 32px; }
  .blog-post { padding: 40px 0 60px; }
  .blog-post table { font-size: 0.85rem; }
  .blog-post table th, .blog-post table td { padding: 10px 12px; }
  .blog-cta { padding: 32px 24px; }

  /* Sticky mobile CTA bar */
  .mobile-cta-bar { display: block; }

  /* Add bottom padding so content isn't hidden behind sticky bar */
  .footer { padding-bottom: 80px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { justify-content: center; }
  .hero-stat-number { font-size: 1.3rem; }

  .estimate-form { padding: 20px; }

  h2 { font-size: 1.6rem; }

  .faq-question { font-size: 0.9rem; padding: 20px 24px; }
  .faq-item.open .faq-answer { padding: 20px 24px 24px; }
  .faq { padding: 64px 0; }

  .blog-post h2 { font-size: 1.3rem; }
  .blog-post p { font-size: 0.95rem; }
  .blog-card-body h2 { font-size: 1.1rem; }

  /* Table horizontal scroll on small screens */
  .blog-post .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
