/* =============================================
   SURFACE CO. — Premium Contemporary Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --blue:       #2563EB;
  --blue-dark:  #0F1F5C;
  --blue-light: #EFF6FF;
  --navy:       #0a1628;
  --slate:      #1e293b;
  --slate-mid:  #475569;
  --slate-soft: #94a3b8;
  --off-white:  #f8fafc;
  --white:      #ffffff;
  --green:      #16a34a;
  --border:     #e2e8f0;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  --font:       'Plus Jakarta Sans', sans-serif;
  --serif:      'Instrument Serif', serif;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--slate); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- LAYOUT ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--sm { padding: 56px 0; }
.section--lg { padding: 112px 0; }

/* ---- HEADER ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,.06);
  padding: 0 24px;
}
.header__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.header__logo img { height: 44px; width: auto; }
.header__logo--dark { display: none; }
.header__logo--light { display: block; }
.header.scrolled .header__logo--dark { display: block; }
.header.scrolled .header__logo--light { display: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  padding: 8px 14px; border-radius: 8px;
  color: rgba(255,255,255,.9);
  transition: color var(--transition), background var(--transition);
}
.nav a:hover { color: white; background: rgba(255,255,255,.15); }
.header.scrolled .nav a { color: var(--slate); }
.header.scrolled .nav a:hover { color: var(--blue); background: var(--blue-light); }

.nav__cta {
  background: var(--blue) !important;
  color: white !important;
  border-radius: 8px !important;
  padding: 9px 18px !important;
}
.nav__cta:hover { background: #1d4ed8 !important; }
.header.scrolled .nav__cta { color: white !important; }

.header__phone {
  font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,.95);
  display: flex; align-items: center; gap: 6px;
}
.header.scrolled .header__phone { color: var(--slate); }
.header__phone svg { width: 16px; height: 16px; }

/* Mobile nav toggle */
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: white; margin: 5px 0; border-radius: 2px; transition: var(--transition); }
.header.scrolled .nav__toggle span { background: var(--slate); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--navy); padding: 100px 24px 40px;
  flex-direction: column; gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 18px; font-weight: 600; color: white; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu .mobile-cta {
  margin-top: 16px; background: var(--blue); color: white;
  text-align: center; padding: 16px; border-radius: var(--radius); font-size: 17px; border: none;
}

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--navy);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-banner.png');
  background-size: cover; background-position: center;
  opacity: 0.45;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.55) 50%, rgba(37,99,235,.2) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  width: 100%; padding: 140px 24px 80px;
  max-width: 1200px; margin: 0 auto;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(37,99,235,.2); border: 1px solid rgba(37,99,235,.4);
  color: #93c5fd; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
}
.hero__badge::before { display: none; }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800; color: white; line-height: 1.1;
  letter-spacing: -.02em; margin-bottom: 24px; max-width: 820px;
}
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: #93c5fd; letter-spacing: .02em; padding: 0 3px; }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,.8);
  max-width: 600px; margin-bottom: 44px; line-height: 1.7;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  padding: 14px 28px; border-radius: 10px; border: none; cursor: pointer;
  transition: all var(--transition); white-space: nowrap; letter-spacing: .01em;
  text-decoration: none;
}
.btn--primary { background: var(--blue); color: white; box-shadow: 0 4px 16px rgba(37,99,235,.4); }
.btn--primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,.45); }
.btn--outline { background: rgba(255,255,255,.1); color: white; border: 1.5px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.btn--outline:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.btn--white { background: white; color: var(--blue); }
.btn--white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn--dark { background: var(--navy); color: white; }
.btn--dark:hover { background: var(--slate); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500;
}
.trust-item svg { width: 18px; height: 18px; color: #4ade80; flex-shrink: 0; }

/* ---- SECTION HEADERS ---- */
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-light);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  color: var(--slate); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 16px;
}
.section-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue); letter-spacing: .02em; padding: 0 2px; }
.section-sub { font-size: 1.05rem; color: var(--slate-mid); max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin: 0 auto; }

/* ---- SERVICES GRID ---- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: all var(--transition); cursor: pointer;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.service-card:hover {
  border-color: var(--blue); box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card__icon {
  width: 52px; height: 52px; background: var(--blue-light);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: background var(--transition);
}
.service-card:hover .service-card__icon { background: var(--blue); }
.service-card__icon svg { width: 26px; height: 26px; color: var(--blue); transition: color var(--transition); }
.service-card:hover .service-card__icon svg { color: white; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.service-card p { font-size: .92rem; color: var(--slate-mid); line-height: 1.65; flex: 1; }
.service-card__link {
  margin-top: 20px; font-size: .88rem; font-weight: 700;
  color: var(--blue); display: flex; align-items: center; gap: 6px;
}
.service-card__link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ---- BEFORE/AFTER GALLERY ---- */
.before-after-section { background: var(--off-white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item--wide { grid-column: span 2; aspect-ratio: 16/9; }

/* ---- WHY CHOOSE ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: white; border-radius: var(--radius-lg); padding: 32px;
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.why-card__icon {
  width: 48px; height: 48px; background: var(--blue-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-card__icon svg { width: 24px; height: 24px; color: var(--blue); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.why-card p { font-size: .9rem; color: var(--slate-mid); line-height: 1.65; }

/* ---- AREAS SECTION ---- */
.areas-section { background: white; }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px; }
.area-tag {
  background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
  font-size: .88rem; font-weight: 600; color: var(--slate-mid);
  text-align: center; transition: all var(--transition); text-decoration: none;
  display: block;
}
.area-tag:hover { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }
.area-tag--active { background: var(--off-white); border-color: var(--border); color: var(--slate-mid); }

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1d4ed8 60%, var(--blue) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
  color: white; letter-spacing: -.02em; margin-bottom: 16px;
  position: relative;
}
.cta-band p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 36px; position: relative; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--off-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: white; border-radius: var(--radius-lg); padding: 32px;
  border: 1.5px solid var(--border); box-shadow: var(--shadow);
}
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; color: #f59e0b; fill: #f59e0b; }
.testimonial-card p { font-size: .93rem; color: var(--slate-mid); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-card__author { font-size: .88rem; font-weight: 700; color: var(--slate); }
.testimonial-card__location { font-size: .82rem; color: var(--slate-soft); }

/* ---- FOOTER ---- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand img { height: 40px; margin-bottom: 16px; }
.footer__brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
.footer__col h4 { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: white; margin-bottom: 16px; }
.footer__col a { display: block; font-size: .88rem; color: rgba(255,255,255,.6); padding: 5px 0; transition: color var(--transition); }
.footer__col a:hover { color: white; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 16px; }
.footer__bottom p { font-size: .82rem; }
.footer__contact a { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 8px; transition: color var(--transition); }
.footer__contact a:hover { color: white; }
.footer__contact svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ---- BREADCRUMB ---- */
.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 14px 0; }
.breadcrumb__inner { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--slate-mid); }
.breadcrumb__inner a { color: var(--blue); font-weight: 500; }
.breadcrumb__inner a:hover { text-decoration: underline; }
.breadcrumb__inner svg { width: 14px; height: 14px; color: var(--slate-soft); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  padding: 140px 0 72px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,.25) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: white; letter-spacing: -.02em; margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 600px; line-height: 1.7; }
.page-hero .breadcrumb-inline { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.page-hero .breadcrumb-inline a { color: rgba(255,255,255,.7); }

/* ---- SERVICE PAGE ---- */
.service-content { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
.service-sidebar {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; position: sticky; top: 100px;
  box-shadow: var(--shadow);
}
.service-sidebar h3 { font-size: 1.1rem; font-weight: 700; color: var(--slate); margin-bottom: 20px; }
.service-sidebar .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.service-sidebar__phone { text-align: center; font-size: .9rem; color: var(--slate-mid); margin-top: 16px; }
.service-sidebar__phone strong { color: var(--slate); font-size: 1.2rem; display: block; }
.method-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue);
  font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; margin-bottom: 20px;
}
.checklist { margin: 20px 0; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .92rem; color: var(--slate-mid); }
.checklist li:last-child { border: none; }
.checklist li svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.prose h2 { font-size: 1.6rem; font-weight: 700; color: var(--slate); margin: 40px 0 16px; letter-spacing: -.01em; }
.prose h3 { font-size: 1.2rem; font-weight: 700; color: var(--slate); margin: 28px 0 12px; }
.prose p { color: var(--slate-mid); line-height: 1.8; margin-bottom: 16px; font-size: .97rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  font-size: 1rem; font-weight: 600; color: var(--slate);
  padding: 20px 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  list-style: none; gap: 16px;
}
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--blue); flex-shrink: 0; font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item__body { padding: 0 0 20px; color: var(--slate-mid); font-size: .93rem; line-height: 1.75; }

/* ---- STAT STRIP ---- */
.stats-strip { background: var(--blue); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat__number { font-size: 2.4rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 6px; }
.stat__label { font-size: .88rem; color: rgba(255,255,255,.75); font-weight: 500; }

/* ---- PROCESS STEPS ---- */
.process-steps { counter-reset: step; display: grid; gap: 24px; }
.process-step { display: flex; gap: 24px; align-items: flex-start; padding: 28px; background: white; border-radius: var(--radius-lg); border: 1.5px solid var(--border); }
.process-step__num { 
  width: 44px; height: 44px; background: var(--blue); color: white;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; flex-shrink: 0;
  counter-increment: step;
}
.process-step h3 { font-size: 1rem; font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.process-step p { font-size: .9rem; color: var(--slate-mid); line-height: 1.6; }

/* ---- LOCATION CARD ---- */
.location-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.location-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; text-decoration: none;
  transition: all var(--transition); display: block;
}
.location-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.location-card__icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.location-card__icon svg { width: 22px; height: 22px; color: var(--blue); }
.location-card h3 { font-size: 1rem; font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.location-card p { font-size: .86rem; color: var(--slate-mid); line-height: 1.6; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-content { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .location-cards { grid-template-columns: repeat(2, 1fr); }
  /* Blog/FAQ two-column layout */
  .prose + aside { position: static; }
}

@media (max-width: 768px) {
  .header__inner { height: 68px; }
  .nav { display: none; }
  .nav__toggle { display: flex; flex-direction: column; justify-content: center; }
  .header__phone { display: none; }

  /* Hero */
  .hero h1 { font-size: 2rem; }
  .hero__content { padding: 120px 20px 60px; }
  .hero__badge { font-size: 11px; padding: 5px 12px; }

  /* Grids */
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .location-cards { grid-template-columns: 1fr; }

  /* CTAs */
  .cta-band__actions { flex-direction: column; align-items: center; }
  .cta-band__actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Spacing */
  .section { padding: 48px 0; }
  .section--lg { padding: 64px 0; }
  .section--sm { padding: 40px 0; }
  .stats-strip { padding: 32px 0; }
  .stat__number { font-size: 1.8rem; }

  /* Page hero */
  .page-hero { padding: 100px 0 40px; }
  .page-hero h1 { font-size: 1.8rem; }

  /* Blog/FAQ/Contact pages stack below 768 */
  .article-layout, .contact-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Section headers */
  .section-title { font-size: 1.6rem; }
  .section-header { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  /* Hero */
  .hero h1 { font-size: 1.75rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__trust { gap: 12px; }

  /* Buttons */
  .btn { padding: 12px 20px; font-size: 14px; }

  /* Stats */
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* Cards */
  .service-card { padding: 24px 20px; }
  .why-card { padding: 24px; }
  .testimonial-card { padding: 24px; }

  /* Quote estimator steps */
  .step-label { display: none; }
  .step-num { width: 28px; height: 28px; font-size: .75rem; }
  .step-progress { gap: 0; }

  /* Blog sidebar below article on mobile */
  aside[style*="position:sticky"] { position: static !important; }

  /* Containers */
  .container { padding: 0 16px; }

  /* Section title */
  .section-title { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.6rem; }

  /* Footer cols stack nicely */
  .footer__grid { gap: 24px; }
}

/* Tablet specific (iPad portrait 768-1024) */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .page-hero { padding: 120px 0 56px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .section-title { font-size: 2.2rem; }
  .article-layout { gap: 32px !important; }
}

/* Article and contact two-col responsive */
@media (max-width: 900px) {
  .article-layout {
    display: flex !important;
    flex-direction: column !important;
  }
  .article-layout aside { position: static !important; }
  .contact-layout {
    display: flex !important;
    flex-direction: column !important;
  }
}


/* ---- TOUCH & MOBILE UX ---- */
/* Ensure tap targets are large enough */
.nav a, .footer__col a, .area-tag, .faq-item summary { min-height: 44px; display: flex; align-items: center; }
.footer__col a { min-height: 36px; }
.faq-item summary { min-height: 52px; }

/* Prevent text overflow on small screens */
.section-title, .hero h1, .page-hero h1 { overflow-wrap: break-word; word-wrap: break-word; }

/* Smooth scrolling for anchor links */
html { scroll-padding-top: 80px; }

/* Better tap highlight */
a, button { -webkit-tap-highlight-color: rgba(37,99,235,.15); }

/* Prevent horizontal overflow */
body { overflow-x: hidden; }
.container { overflow-x: clip; }

/* Mobile: full-width buttons in service sidebar */
@media (max-width: 768px) {
  .service-sidebar .btn { width: 100%; justify-content: center; }
  .service-sidebar { padding: 24px; }
  .quote-result { padding: 24px; }
  .quote-range { font-size: 2.2rem; }
  .service-opt { padding: 12px 8px; }
  .service-opt span { font-size: .78rem; }
  .step-progress { padding: 0 8px; }
  .radio-group { grid-template-columns: 1fr 1fr !important; }
  .hero__badge { font-size: 10px; letter-spacing: .03em; }
}

/* ---- LIGHTBOX TRIGGER STYLES ---- */
img[data-lightbox] {
  cursor: zoom-in !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
img[data-lightbox]:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
/* Gallery items */
.gallery-item { cursor: zoom-in; overflow: hidden; }
.gallery-item img { transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* Before-after grid */
.before-after-section img[data-lightbox]:hover { transform: scale(1.02); }

/* Blog article images */
article.prose img[data-lightbox]:hover { transform: scale(1.01); }
