/* H&B Construction Services - Clone styles */
:root {
  --color-primary: #008BC4;
  --color-primary-light: #00a0e0;
  --color-accent: #254997;
  --color-text: #2d3748;
  --color-text-muted: #718096;
  --color-bg: #f7fafc;
  --color-white: #fff;
  --font-heading: 'Myriad Pro', 'Myriad', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Myriad Pro', 'Myriad', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
  --top-bar-height: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-primary); outline-offset: 2px;
}
input[type="checkbox"]:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.5rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border-radius: 0 0 4px 0;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Top bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  min-height: var(--top-bar-height);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}
.top-bar .promo {
  color: #fff;
  font-weight: 700;
}
.top-bar .top-phone {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.top-bar .top-phone:hover { text-decoration: none; opacity: 0.9; }
.top-bar .consult-cta {
  color: #fff;
  font-style: italic;
  font-weight: 600;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 0 1.25rem;
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 0.75rem 1rem;
}
.logo:hover { text-decoration: none; }
.header .logo img {
  display: block;
  max-height: 96px;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
}

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}
.nav > ul > li > a:hover { color: var(--color-primary); text-decoration: none; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.5rem 0;
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  list-style: none;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text);
}
.dropdown a:hover { background: var(--color-bg); color: var(--color-primary); text-decoration: none; }

.header .phone-btn {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.header .phone-btn:hover { text-decoration: none; background: rgba(0,139,196,0.08); }
.mobile-nav-phone { display: none; }
.mobile-nav-phone a {
  font-weight: 700;
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .header {
    min-height: 62px;
    padding: 0 0.75rem;
  }
  .logo {
    padding: 0.35rem 0.4rem;
  }
  .header .logo img {
    max-height: 56px;
  }
  .nav-toggle {
    display: flex;
    margin-left: auto;
    order: 3;
  }
  .header .header-phone {
    display: none;
  }
  .nav { display: none; }
  .nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 1rem; }
  .nav.open ul { flex-direction: column; align-items: stretch; }
  .nav.open .dropdown { display: none; }
  .nav.open .has-dropdown > a { font-weight: 700; }
  .nav.open .mobile-nav-phone { display: block; margin-top: 0.25rem; }
  .nav.open .mobile-nav-phone a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(85vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--color-white);
  overflow: hidden;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-lcp-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-primary);
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  transform: scale(1.015);
  will-change: opacity;
}
.hero-slide-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide-active {
  opacity: 1;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0,139,196,0.75) 0%, rgba(0,107,148,0.7) 50%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  margin: 0 0 2rem;
  opacity: 0.95;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 1px rgba(0,0,0,0.15);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.hero-phone:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}

/* Hero motion */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes heroDrift {
  0% { transform: scale(1.01) translate3d(0, 0, 0); }
  100% { transform: scale(1.055) translate3d(-1%, -0.7%, 0); }
}
.home-hero .hero-content,
.home-hero .hero-quick-panel,
.gallery-hero .container,
.blog-hero .container,
.contact-page-hero .container,
.resi-service-hero .container,
.svc-service-hero .container {
  animation: heroFadeUp 0.8s cubic-bezier(0.21, 0.9, 0.24, 1) both;
}
.home-hero .hero-quick-panel { animation-delay: 120ms; }
.gallery-hero .container,
.blog-hero .container,
.contact-page-hero .container,
.resi-service-hero .container,
.svc-service-hero .container { animation-delay: 70ms; }

.gallery-hero-bg,
.blog-hero-bg,
.contact-page-hero-bg,
.resi-hero-bg,
.svc-hero-bg {
  animation: heroDrift 14s ease-in-out infinite alternate;
  transform-origin: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s ease, box-shadow 0.2s ease;
  line-height: 1.25;
  box-sizing: border-box;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 16px rgba(23, 52, 92, 0.2);
}
.btn-primary:hover {
  background: #1e3d7a;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(23, 52, 92, 0.26);
}

/* Trust badges */
.trust-badges {
  padding: 3rem 0;
  background: var(--color-white);
}
.trust-badges .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.trust-badges .badge {
  padding: 1.5rem;
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg);
  border-radius: 0 8px 8px 0;
}
.trust-badges .badge h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary);
}
.trust-badges .badge p { margin: 0; font-size: 0.95rem; color: #334155; }

/* Why Choose Us */
.why-choose {
  padding: 3rem 0;
  background: var(--color-bg);
}
.why-choose h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0 0 1rem;
  color: var(--color-primary);
}
.why-choose .lead { margin: 0 0 1.5rem; max-width: 70ch; }
.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.why-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.why-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.why-choose .phone-btn,
.contact-form-section .phone-btn,
.footer-info .phone-btn {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.why-choose .phone-btn:hover,
.contact-form-section .phone-btn:hover,
.footer-info .phone-btn:hover { text-decoration: none; background: rgba(0,139,196,0.08); }
.why-choose .cta-phone {
  display: inline-block;
  font-size: 1.25rem;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

/* Gallery / Carousel */
.gallery-section { padding: 2rem 0; background: var(--color-white); }
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--color-primary-light); border-radius: 4px; }
.carousel-slide {
  flex: 0 0 min(85%, 400px);
  scroll-snap-align: start;
  margin: 0;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
}
.carousel-slide figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--color-white);
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
}
.slide-placeholder {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
}
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--color-primary);
  z-index: 2;
  transition: background 0.2s;
}
.carousel-prev:hover, .carousel-next:hover { background: var(--color-bg); }
.carousel-prev:focus-visible, .carousel-next:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }

/* Gallery grid */
.gallery-section-grid {
  padding: 3rem 0;
  background: var(--color-bg);
}
.gallery-section-grid h1,
.gallery-section-grid h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--color-primary);
}
.gallery-intro {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
.gallery-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.gallery-item figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-white);
}

/* Intro section */
.intro-section {
  padding: 3rem 0;
  background: var(--color-bg);
}
.intro-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0 0 1rem;
  color: var(--color-primary);
}
.intro-section p { margin: 0 0 1rem; max-width: 72ch; }
.intro-section .service-body { margin-top: 1.5rem; }
.intro-section .service-body p { margin: 0 0 1rem; max-width: 72ch; }
.intro-section .service-body ul.service-bullets {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
  max-width: 72ch;
}
.intro-section .service-body ul.service-bullets li { margin-bottom: 0.5rem; }

/* Residential service page */
.resi-service-hero {
  position: relative;
  overflow: hidden;
  min-height: min(72vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
  color: #fff;
}
.resi-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/photos/hero/471158145_9314994375186425_7453933623612340822_n.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.resi-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(130deg, rgba(13, 79, 120, 0.78) 0%, rgba(0, 107, 148, 0.66) 50%, rgba(0, 0, 0, 0.5) 100%);
}
.resi-service-hero .container {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.resi-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.95;
}
.resi-service-hero h1 {
  margin: 0;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  font-family: var(--font-heading);
}
.resi-lead {
  margin: 1rem 0 0;
  max-width: 70ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}
.resi-hero-actions {
  margin-top: 1.65rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.resi-service-hero .phone-btn {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid rgba(255,255,255,0.58);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.resi-service-hero .phone-btn:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.9);
}

.resi-trust-badges {
  padding: 2.2rem 0;
  background: linear-gradient(180deg, #f4f9fe 0%, #ffffff 60%);
}
.resi-trust-badges .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.resi-trust-card {
  padding: 1.1rem 1.15rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d8e6f2;
  box-shadow: 0 8px 18px rgba(26, 58, 94, 0.08);
}
.resi-trust-card h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
}
.resi-trust-card p {
  margin: 0.45rem 0 0;
  font-size: 0.94rem;
  color: #334155;
}

.resi-service-main {
  padding: 3rem 0;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 48%);
}
.resi-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.6rem;
  align-items: start;
}
.resi-content h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-accent);
}
.resi-content > p {
  margin: 0.95rem 0 0;
  color: #4a5568;
  max-width: 72ch;
}
.resi-content .service-body {
  margin-top: 1.25rem;
  padding: 1.2rem 1.25rem;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #dbe7f2;
  box-shadow: 0 10px 24px rgba(30, 55, 90, 0.08);
}
.resi-content .service-body p {
  margin: 0 0 1rem;
  max-width: 72ch;
}
.resi-content .service-body p:last-child { margin-bottom: 0; }
.resi-content .service-body ul.service-bullets {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}
.resi-content .service-body ul.service-bullets li {
  margin-bottom: 0.55rem;
}
.resi-content h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.2rem;
  color: #1e3d7a;
}

.resi-sidebar {
  display: grid;
  gap: 1rem;
}
.resi-card {
  padding: 1.1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d9e6f2;
  box-shadow: 0 12px 26px rgba(18, 48, 83, 0.09);
}
.resi-card h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.15rem;
}
.resi-card p {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: #4a5568;
}
.resi-card ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1rem;
}
.resi-card li {
  margin-bottom: 0.45rem;
  font-size: 0.93rem;
}
.resi-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.resi-card-alt {
  background: #f5f9fd;
  border-style: dashed;
}
.resi-card .link-more {
  display: inline-block;
  margin-top: 0.55rem;
}

.resi-process {
  padding: 2.7rem 0;
  background: #edf5fb;
}
.resi-process h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
}
.resi-section-intro {
  margin: 0.75rem 0 1.3rem;
  max-width: 72ch;
  color: #4a5568;
}
.resi-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.resi-step {
  padding: 1.1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #cfe0ef;
}
.resi-step-num {
  margin: 0;
  font-size: 0.78rem;
  color: #1e3d7a;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
}
.resi-step h3 {
  margin: 0.42rem 0 0.45rem;
  color: var(--color-primary);
  font-size: 1.06rem;
}
.resi-step p {
  margin: 0;
  font-size: 0.95rem;
  color: #4a5568;
}

.resi-seo-block {
  padding: 2.55rem 0;
  background: #fff;
}
.resi-seo-block h2 {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}
.resi-seo-block p {
  margin: 0 0 1rem;
  max-width: 78ch;
  color: #4a5568;
}
.resi-seo-block p:last-child { margin-bottom: 0; }

.resi-faq {
  padding: 2.6rem 0 3rem;
  background: #f7fafc;
}
.resi-faq h2 {
  margin: 0 0 1rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
}
.resi-faq .faq-list { max-width: 860px; }
.resi-faq .faq-item {
  margin-bottom: 0.55rem;
  border: 1px solid #d7e3f0;
  border-radius: 8px;
  background: #fff;
  padding: 0 1rem;
}
.resi-faq .faq-item summary {
  min-height: 52px;
  font-size: 1rem;
}
.resi-faq .faq-item p {
  margin-top: 0;
  font-size: 0.95rem;
  color: #4a5568;
}

@media (max-width: 980px) {
  .resi-layout {
    grid-template-columns: 1fr;
  }
  .resi-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .resi-trust-badges .container,
  .resi-steps,
  .resi-sidebar {
    grid-template-columns: 1fr;
  }
  .resi-service-main {
    padding-top: 2.2rem;
  }
}

/* Generic service page (commercial, design, showroom) */
.svc-service-hero {
  position: relative;
  overflow: hidden;
  min-height: min(70vh, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
  color: #fff;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/photos/hero/493848022_10093538560665332_8479845590263244240_n.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.svc-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(130deg, rgba(24, 74, 111, 0.8) 0%, rgba(18, 92, 129, 0.66) 50%, rgba(0, 0, 0, 0.48) 100%);
}
.svc-service-hero .container {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.svc-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.95;
}
.svc-service-hero h1 {
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  font-family: var(--font-heading);
}
.svc-lead {
  margin: 1rem 0 0;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}
.svc-hero-actions {
  margin-top: 1.65rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.svc-service-hero .phone-btn {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid rgba(255,255,255,0.58);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.svc-service-hero .phone-btn:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.9);
}

.svc-trust-badges {
  padding: 2.2rem 0;
  background: linear-gradient(180deg, #f4f9fe 0%, #ffffff 60%);
}
.svc-trust-badges .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.svc-trust-card {
  padding: 1.1rem 1.15rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d8e6f2;
  box-shadow: 0 8px 18px rgba(26, 58, 94, 0.08);
}
.svc-trust-card h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
}
.svc-trust-card p {
  margin: 0.45rem 0 0;
  font-size: 0.94rem;
  color: #334155;
}

.svc-service-main {
  padding: 3rem 0;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 48%);
}
.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.6rem;
  align-items: start;
}
.svc-content h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-accent);
}
.svc-content > p {
  margin: 0.95rem 0 0;
  color: #4a5568;
  max-width: 72ch;
}
.svc-content .service-body {
  margin-top: 1.25rem;
  padding: 1.2rem 1.25rem;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #dbe7f2;
  box-shadow: 0 10px 24px rgba(30, 55, 90, 0.08);
}
.svc-content .service-body p {
  margin: 0 0 1rem;
  max-width: 72ch;
}
.svc-content .service-body p:last-child { margin-bottom: 0; }
.svc-content .service-body ul.service-bullets {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}
.svc-content .service-body ul.service-bullets li {
  margin-bottom: 0.55rem;
}
.svc-content h3 {
  margin: 1.35rem 0 0.5rem;
  font-size: 1.2rem;
  color: #1e3d7a;
}

.svc-sidebar {
  display: grid;
  gap: 1rem;
}
.svc-card {
  padding: 1.1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d9e6f2;
  box-shadow: 0 12px 26px rgba(18, 48, 83, 0.09);
}
.svc-card h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.15rem;
}
.svc-card p {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: #4a5568;
}
.svc-card ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1rem;
}
.svc-card li {
  margin-bottom: 0.45rem;
  font-size: 0.93rem;
}
.svc-card .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.svc-card-alt {
  background: #f5f9fd;
  border-style: dashed;
}
.svc-card .link-more {
  display: inline-block;
  margin-top: 0.55rem;
}

.svc-process {
  padding: 2.7rem 0;
  background: #edf5fb;
}
.svc-process h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
}
.svc-section-intro {
  margin: 0.75rem 0 1.3rem;
  max-width: 72ch;
  color: #4a5568;
}
.svc-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.svc-step {
  padding: 1.1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #cfe0ef;
}
.svc-step-num {
  margin: 0;
  font-size: 0.78rem;
  color: #1e3d7a;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
}
.svc-step h3 {
  margin: 0.42rem 0 0.45rem;
  color: var(--color-primary);
  font-size: 1.06rem;
}
.svc-step p {
  margin: 0;
  font-size: 0.95rem;
  color: #4a5568;
}

.svc-seo-block {
  padding: 2.55rem 0;
  background: #fff;
}
.svc-seo-block h2 {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}
.svc-seo-block p {
  margin: 0 0 1rem;
  max-width: 78ch;
  color: #4a5568;
}
.svc-seo-block p:last-child { margin-bottom: 0; }

.svc-faq {
  padding: 2.6rem 0 3rem;
  background: #f7fafc;
}
.svc-faq h2 {
  margin: 0 0 1rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
}
.svc-faq .faq-list { max-width: 860px; }
.svc-faq .faq-item {
  margin-bottom: 0.55rem;
  border: 1px solid #d7e3f0;
  border-radius: 8px;
  background: #fff;
  padding: 0 1rem;
}
.svc-faq .faq-item summary {
  min-height: 52px;
  font-size: 1rem;
}
.svc-faq .faq-item p {
  margin-top: 0;
  font-size: 0.95rem;
  color: #4a5568;
}

.category-service-nav {
  padding: 1.8rem 0 2.2rem;
  background: #eef6fc;
}
.category-service-nav h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
}
.category-service-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.7rem;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.category-service-link {
  display: flex;
  align-items: center;
  min-height: 100%;
  height: 100%;
  padding: 0.78rem 0.85rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d5e4f2;
  color: #1f4978;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.category-service-link:hover {
  text-decoration: none;
  background: #f7fbff;
  border-color: #b8d0e6;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .svc-layout {
    grid-template-columns: 1fr;
  }
  .svc-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .svc-trust-badges .container,
  .svc-steps,
  .svc-sidebar {
    grid-template-columns: 1fr;
  }
  .svc-service-main {
    padding-top: 2.2rem;
  }
}

/* Contact form */
.contact-form-section {
  padding: 3rem 0;
  background: var(--color-white);
}
.contact-form-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--color-primary);
}
.form-intro { margin: 0 0 1.5rem; color: var(--color-text-muted); }
.contact-form {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row label { display: block; font-weight: 600; margin-bottom: 0.25rem; font-size: 0.9rem; }
.form-row input, .form-row textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  box-sizing: border-box;
}
.form-row textarea { min-height: 120px; }
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 139, 196, 0.15);
}
.form-row input:focus:not(:focus-visible), .form-row textarea:focus:not(:focus-visible) {
  outline: none;
}
.form-row input:focus-visible, .form-row textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.checkbox-row label { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; cursor: pointer; min-height: 44px; }
.checkbox-row input[type="checkbox"] { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.form-message { padding: 1rem; border-radius: 4px; margin-top: 1rem; }
.form-success { background: #c6f6d5; color: #22543d; }
.form-error { background: #fed7d7; color: #742a2a; }
.hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Services grid */
.services-section {
  padding: 3rem 0;
  background: var(--color-bg);
}
.services-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
  color: var(--color-primary);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #dde8f2;
  box-shadow: 0 10px 18px rgba(20, 49, 80, 0.07);
  transition: box-shadow 0.2s, transform 0.18s ease;
}
.service-card:hover {
  box-shadow: 0 14px 26px rgba(20, 49, 80, 0.14);
  transform: translateY(-2px);
}
.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--color-primary);
}
.service-card p { margin: 0 0 0.75rem; font-size: 0.95rem; color: var(--color-text-muted); }
.service-card .link-more { margin-top: auto; }
.link-more {
  font-weight: 600;
  font-size: 0.9rem;
}
.link-more:hover { text-decoration: none; }

/* FAQ */
.faq-section {
  padding: 3rem 0;
  background: var(--color-white);
}
.faq-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
  color: var(--color-primary);
}
.faq-list { max-width: 700px; }
.faq-item {
  border-bottom: 1px solid #e2e8f0;
}
.faq-item summary {
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--color-primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Service area */
.service-area-section {
  padding: 2rem 0;
  background: var(--color-bg);
  text-align: center;
}
.service-area-lead { font-weight: 600; margin: 0 0 0.5rem; }
.service-area-sub { margin: 0 0 1rem; color: var(--color-text-muted); font-size: 0.95rem; }
.service-cities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}
.service-cities li { font-size: 0.95rem; }

/* Service area page */
.service-area-page-hero {
  position: relative;
  overflow: hidden;
  min-height: min(64vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 3.4rem 0;
}
.service-area-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/photos/gallery/custom-builds/493684763_10093538373998684_2219259559807264815_n.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.service-area-page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(140deg, rgba(12, 63, 98, 0.84) 0%, rgba(0, 120, 167, 0.64) 52%, rgba(0, 0, 0, 0.45) 100%);
}
.service-area-page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.service-area-page-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.3vw, 2.9rem);
}
.service-area-page-hero .section-kicker {
  color: rgba(223, 244, 255, 0.95);
  text-shadow: 0 1px 8px rgba(7, 28, 45, 0.45);
}
.service-area-page-lead {
  margin: 0.95rem auto 0;
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.94);
}
.service-area-page-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.service-area-page-main {
  padding: 2.5rem 0 3rem;
  background: #f4f8fc;
}
.service-area-page-intro,
.service-area-page-copy,
.service-area-page-cta {
  max-width: 920px;
  margin: 0 auto;
}
.service-area-page-intro h2,
.service-area-page-copy h2,
.service-area-page-cta h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
}
.service-area-page-intro p,
.service-area-page-copy p,
.service-area-page-cta p {
  margin: 0.85rem 0 0;
  color: #334155;
}

.service-area-grid {
  margin: 1.5rem auto 0;
  max-width: 1060px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.service-area-page-map {
  margin: 1.35rem auto 0;
  max-width: 1060px;
  padding: 0.8rem;
  border: 1px solid #d8e4f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(17, 56, 92, 0.08);
}
.service-area-page-map-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.service-area-page-map-frame {
  width: 100%;
  height: min(50vw, 400px);
  min-height: 250px;
  border: 0;
  border-radius: 10px;
  pointer-events: none;
}
.service-area-page-radius {
  position: absolute;
  left: 50.2%;
  top: 44.6%;
  width: clamp(182px, 21.8vw, 282px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px dashed rgba(0, 139, 196, 0.9);
  background: radial-gradient(circle, rgba(0, 139, 196, 0.2) 0%, rgba(0, 139, 196, 0.08) 58%, rgba(0, 139, 196, 0.02) 100%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.service-area-page-radius-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0f4f88;
  border: 2px solid #fff;
  box-shadow: 0 0 0 5px rgba(15, 79, 136, 0.2);
  transform: translate(-50%, -50%);
}
.service-area-page-map figcaption {
  margin-top: 0.55rem;
  color: #5b7087;
  font-size: 0.84rem;
  font-weight: 600;
}
.service-area-card {
  background: #fff;
  border: 1px solid #d8e4f1;
  border-radius: 12px;
  padding: 1rem;
}
.service-area-card h3 {
  margin: 0;
  color: #0f4f7d;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.service-area-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: #334155;
}
.service-area-card li { margin: 0.25rem 0; }

.service-area-page-copy {
  margin-top: 1.7rem;
}
.service-area-seo-faq {
  margin-top: 1.6rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.service-area-seo-faq h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}
.service-area-seo-faq details {
  margin-top: 0.65rem;
  background: #fff;
  border: 1px solid #d8e4f1;
  border-radius: 10px;
  padding: 0 0.9rem;
}
.service-area-seo-faq summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #1b3f63;
}
.service-area-seo-faq p {
  margin: 0 0 0.9rem;
  color: #334155;
}

.service-area-page-cta {
  margin-top: 1.8rem;
  background: #fff;
  border: 1px solid #d8e4f1;
  border-radius: 14px;
  padding: 1.2rem 1.1rem;
  text-align: center;
}
.service-area-page-cta .service-area-page-actions {
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .service-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-area-page-map-frame {
    min-height: 220px;
  }
}
@media (max-width: 720px) {
  .service-area-grid {
    grid-template-columns: 1fr;
  }
  .service-area-page-radius {
    width: clamp(132px, 33vw, 204px);
    left: 50.3%;
    top: 45.3%;
  }
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  background: var(--color-primary);
  color: var(--color-white);
}
.footer .phone-btn {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.footer .phone-btn:hover { text-decoration: none; background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.8); }
.footer { text-align: center; }
.footer a { color: var(--color-accent); }
.footer a:hover { text-decoration: none; opacity: 0.9; }
.footer-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.footer-cta { margin: 0 0 1.5rem; font-size: 1rem; }
.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.footer-info strong { display: block; margin-bottom: 0.25rem; }
.footer-info p { margin: 0; font-size: 0.95rem; opacity: 0.9; }
.footer-copy { margin: 0; font-size: 0.85rem; opacity: 0.8; }

/* Contact page layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 700px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* Blog */
.blog-index-section {
  padding: 2.5rem 0;
  background: var(--color-white);
}
.blog-index-section h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}
.blog-intro {
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 640px;
}
.blog-index-content { margin-top: 2rem; }
.blog-category {
  margin-bottom: 2rem;
}
.blog-category h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--color-primary);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}
.blog-post-list { list-style: none; padding: 0; margin: 0; }
.blog-post-list li { margin-bottom: 0.75rem; }
.blog-post-list a {
  font-weight: 600;
  text-decoration: none;
}
.blog-post-list a:hover { text-decoration: underline; }
.blog-post-list time {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 400;
}
.blog-post-list .post-meta { margin-top: 0.25rem; }

.blog-post {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}
.blog-post-header {
  margin-bottom: 2rem;
}
.blog-post-meta {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}
.blog-post-category {
  font-weight: 600;
  color: var(--color-primary);
}
.blog-post-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.25;
  margin: 0;
  color: var(--color-text);
}
.blog-post-body.prose {
  font-size: 1.05rem;
  line-height: 1.7;
}
.blog-post-body.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}
.blog-post-body.prose h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.blog-post-body.prose p { margin: 0 0 1rem; }
.blog-post-body.prose ul, .blog-post-body.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.blog-post-body.prose li { margin-bottom: 0.35rem; }
.blog-post-body.prose a { font-weight: 500; }
.blog-post-body.prose a:hover { text-decoration: underline; }

/* Gallery page */
.gallery-hero {
  position: relative;
  overflow: hidden;
  min-height: min(66vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 0;
  color: #fff;
}
.gallery-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/photos/gallery/custom-builds/475861501_9543850035634190_4687805253843194623_n.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(140deg, rgba(17, 71, 104, 0.8) 0%, rgba(0, 120, 167, 0.62) 52%, rgba(0, 0, 0, 0.42) 100%);
}
.gallery-hero .container {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.gallery-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
}
.gallery-hero .gallery-intro {
  margin: 0.9rem auto 0;
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.95);
}
.gallery-hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery-hero-actions .phone-btn {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid rgba(255,255,255,0.58);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.gallery-hero-actions .phone-btn:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.9);
}
.gallery-section-grid {
  padding: 2.4rem 0 2.8rem;
  background:
    radial-gradient(circle at 12% 4%, rgba(20, 115, 172, 0.11), transparent 34%),
    radial-gradient(circle at 92% 11%, rgba(35, 73, 151, 0.11), transparent 38%),
    linear-gradient(180deg, #f3f8fe 0%, #fff 46%);
}
.gallery-app-shell {
  border: 1px solid #d8e6f2;
  border-radius: 18px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 34px rgba(24, 52, 83, 0.12);
}
.gallery-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.gallery-tag {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.76rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f4978;
  background: #e9f2fb;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.gallery-tag:hover {
  transform: translateY(-1px);
}
.gallery-tag.active {
  color: #fff;
  background: #1f5fa8;
}
.gallery-category-block + .gallery-category-block {
  margin-top: 1.15rem;
}
.gallery-category-heading {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #1f4978;
}
.gallery-grid {
  display: block;
  column-count: 3;
  column-gap: 0.9rem;
}
.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 0.9rem;
  break-inside: avoid;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d8e5f1;
  background: #fff;
  box-shadow: 0 10px 22px rgba(25, 51, 80, 0.09);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(23, 51, 82, 0.18);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gallery-item-wide img {
  aspect-ratio: 16/9;
}
.gallery-item-tall img {
  aspect-ratio: 3/4;
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.85rem 0.9rem 0.9rem;
  background: linear-gradient(transparent, rgba(5, 25, 44, 0.78));
}
.gallery-item figcaption span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.gallery-item figcaption small {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}
.gallery-seo {
  padding: 2.4rem 0 2.8rem;
  background: #eef6fc;
}
.gallery-seo h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.7vw, 1.9rem);
  font-family: var(--font-heading);
  color: var(--color-accent);
}
.gallery-seo p {
  margin: 0 0 0.9rem;
  max-width: 80ch;
  color: #4a5568;
}
@media (max-width: 980px) {
  .gallery-grid {
    column-count: 2;
  }
}
@media (max-width: 680px) {
  .gallery-app-shell {
    padding: 0.78rem;
    border-radius: 14px;
  }
  .gallery-grid {
    column-count: 1;
  }
  .gallery-item img,
  .gallery-item-wide img,
  .gallery-item-tall img {
    aspect-ratio: 4/3;
  }
}

/* Blog pages */
.blog-hero {
  position: relative;
  overflow: hidden;
  min-height: min(60vh, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.2rem 0;
  color: #fff;
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/photos/hero/494739092_23879881824937772_4764924884080823964_n.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.blog-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(130deg, rgba(24, 71, 111, 0.83) 0%, rgba(0, 121, 168, 0.64) 52%, rgba(0, 0, 0, 0.4) 100%);
}
.blog-hero .container {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.blog-hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.3vw, 2.85rem);
}
.blog-hero .blog-intro {
  margin: 0.9rem auto 0;
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.95);
}
.blog-topic-row {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}
.blog-topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.blog-index-section {
  padding: 2.5rem 0 1.25rem;
  background: #f8fbff;
}
.blog-index-content {
  margin-top: 0;
}
.blog-category {
  margin-bottom: 1.7rem;
}
.blog-category h2 {
  margin: 0 0 0.95rem;
  font-size: 1.3rem;
  color: var(--color-accent);
  border: 0;
  padding-bottom: 0;
}
.blog-post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.9rem;
}
.blog-teaser {
  background: #fff;
  border: 1px solid #d8e5f1;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(25, 51, 80, 0.08);
  padding: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.blog-teaser:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(25, 51, 80, 0.14);
}
.blog-teaser .post-meta {
  margin: 0;
  font-size: 0.82rem;
  color: #6f7b8a;
}
.blog-teaser h3 {
  margin: 0.48rem 0 0.45rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.blog-teaser h3 a {
  color: #1f4978;
  text-decoration: none;
}
.blog-teaser h3 a:hover {
  text-decoration: underline;
}
.blog-teaser-description {
  margin: 0;
  font-size: 0.92rem;
  color: #4a5568;
}
.blog-teaser-link {
  margin: 0.6rem 0 0;
}
.blog-teaser-link a {
  font-size: 0.88rem;
  font-weight: 700;
}
.blog-cta {
  padding: 2.4rem 0 2.8rem;
  background: #eef6fc;
}
.blog-cta h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  color: var(--color-accent);
  font-family: var(--font-heading);
}
.blog-cta p {
  margin: 0.6rem 0 0;
  color: #4a5568;
}
.blog-cta-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.blog-cta .phone-btn,
.blog-post-actions .phone-btn {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}
.blog-cta .phone-btn:hover,
.blog-post-actions .phone-btn:hover {
  text-decoration: none;
  background: rgba(0,139,196,0.08);
}
.blog-post-wrap {
  padding: 2rem 0 2.8rem;
  background: #f8fbff;
}
.blog-post-breadcrumb {
  margin: 0 0 0.9rem;
}
.blog-post-breadcrumb a {
  font-weight: 600;
  font-size: 0.92rem;
}
.blog-post {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.3rem 1.25rem 1.45rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d8e5f1;
  box-shadow: 0 12px 24px rgba(24, 52, 83, 0.09);
}
.blog-post-subhead {
  margin: 0.5rem 0 0;
  color: #5f6b7b;
}
.blog-post-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e3edf6;
}
.blog-post-footer h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #1f4978;
}
.blog-post-footer p {
  margin: 0.45rem 0 0;
  color: #4a5568;
}
.blog-post-actions {
  margin-top: 0.95rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Contact page */
.contact-page-hero {
  position: relative;
  overflow: hidden;
  min-height: min(48vh, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.6rem 0;
  color: #fff;
}
.contact-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/photos/hero/525657193_24592970676962213_6352748099484666771_n.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.contact-page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(17, 71, 104, 0.81) 0%, rgba(0, 126, 176, 0.62) 52%, rgba(0, 0, 0, 0.4) 100%);
}
.contact-page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.contact-page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.95rem, 4.1vw, 2.65rem);
}
.contact-page-hero .form-intro {
  color: rgba(255, 255, 255, 0.95);
  margin: 0.75rem auto 0;
  max-width: 60ch;
}
.contact-hero-points {
  margin: 1rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}
.contact-hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.13);
}
.contact-page-main {
  padding-top: 2.35rem;
  background: #f8fbff;
}
.contact-form-wrap {
  padding: 1.25rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d5e4f2;
  box-shadow: 0 14px 30px rgba(26, 53, 83, 0.11);
}
.contact-form-wrap h2 {
  margin-top: 0;
  color: var(--color-accent);
}
.contact-form-wrap .contact-form {
  max-width: 100%;
}
.contact-sidebar {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.contact-info-card {
  padding: 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d5e4f2;
  box-shadow: 0 10px 20px rgba(24, 52, 83, 0.09);
}
.contact-info-card strong {
  color: var(--color-accent);
}
.contact-info-card p {
  margin: 0.35rem 0 0;
  color: #4a5568;
}
.contact-info-card p a {
  font-weight: 600;
}
.contact-highlight-card {
  background: linear-gradient(165deg, #1e4b78 0%, #0f7cac 100%);
  border-color: rgba(255,255,255,0.2);
}
.contact-highlight-card strong {
  color: #fff;
}
.contact-highlight-card ol {
  margin: 0.55rem 0 0;
  padding-left: 1rem;
}
.contact-highlight-card li {
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.94);
  font-size: 0.92rem;
}
.contact-sidebar .phone-btn {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  background: #fff;
}
.contact-sidebar .phone-btn:hover {
  text-decoration: none;
  background: rgba(0,139,196,0.08);
}
.contact-sidebar-actions {
  display: grid;
  gap: 0.6rem;
}
.contact-sidebar-actions .btn {
  text-align: center;
}

/* Footer professional */
.footer.footer-pro {
  padding: 2.9rem 0 1.25rem;
  text-align: left;
  background: linear-gradient(165deg, #102f49 0%, #123d61 48%, #1a5682 100%);
  color: #e7f1f9;
}
.footer-pro .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 1fr) minmax(220px, 1fr);
  gap: 1.2rem 1.6rem;
  align-items: start;
}
.footer-pro .footer-kicker {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(231, 241, 249, 0.9);
}
.footer-pro .footer-cta {
  margin: 0.55rem 0 0;
  max-width: 55ch;
  font-size: 0.97rem;
  color: rgba(231, 241, 249, 0.95);
}
.footer-pro .footer-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.footer-pro .footer-actions .btn-primary {
  background: #ffffff;
  color: #123d61;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.footer-pro .footer-actions .btn-primary:hover {
  background: #eaf4fc;
  color: #0f3453;
  border-color: #ffffff;
}
.footer-pro .footer-phone {
  margin: 0;
  font-size: 1.05rem;
  border-color: rgba(255,255,255,0.56);
  color: #fff;
}
.footer-pro .footer-links,
.footer-pro .footer-contact {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}
.footer-pro .footer-links strong,
.footer-pro .footer-contact strong {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  color: #fff;
}
.footer-pro .footer-links a,
.footer-pro .footer-contact a {
  color: #dceefe;
  text-decoration: none;
  font-size: 0.93rem;
}
.footer-pro .footer-links a:hover,
.footer-pro .footer-contact a:hover {
  text-decoration: underline;
  opacity: 1;
}
.footer-pro .footer-contact p {
  margin: 0;
  color: rgba(231, 241, 249, 0.93);
  font-size: 0.92rem;
  line-height: 1.55;
}
.footer-pro .footer-bottom {
  margin-top: 1.45rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 1rem;
}
.footer-pro .footer-copy {
  margin: 0;
  color: rgba(231, 241, 249, 0.84);
  font-size: 0.84rem;
}

@media (max-width: 760px) {
  .blog-post {
    padding: 1.1rem 0.9rem 1.2rem;
  }
  .blog-cta-actions,
  .blog-post-actions,
  .gallery-hero-actions {
    align-items: stretch;
  }
  .contact-hero-points {
    justify-content: flex-start;
  }
  .footer-pro .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-pro .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-projects .carousel-slide {
    flex-basis: min(96vw, 620px);
  }
  .home-projects .carousel-track {
    mask-image: none;
    -webkit-mask-image: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .home-projects .carousel-prev,
  .home-projects .carousel-next {
    width: 34px;
    height: 34px;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .home-projects .carousel-prev {
    left: 10px;
  }
  .home-projects .carousel-next {
    right: 10px;
  }
  .home-projects .carousel-prev::before,
  .home-projects .carousel-next::before {
    border-right-color: #1f5fa8;
    border-bottom-color: #1f5fa8;
    width: 12px;
    height: 12px;
  }
}

/* Homepage redesign */
.section-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0b78ab;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-family: var(--font-heading);
  color: var(--color-accent);
}
.section-head p {
  margin: 0.65rem 0 0;
  max-width: 70ch;
  color: #4a5568;
}

.home-hero {
  min-height: min(90vh, 680px);
  padding: 4.5rem 1.5rem;
}
.home-hero .hero-overlay {
  background: linear-gradient(135deg, rgba(7, 55, 82, 0.86) 0%, rgba(9, 116, 162, 0.72) 46%, rgba(0, 0, 0, 0.52) 100%);
}
.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1160px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 1.2rem;
  align-items: end;
}
.home-hero .hero-content {
  text-align: left;
  max-width: none;
}
.hero-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.home-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.15rem, 4.9vw, 3.45rem);
  line-height: 1.08;
}
.home-hero .hero-tagline {
  margin: 1rem 0 0;
  max-width: 62ch;
  font-size: 1.06rem;
  text-shadow: none;
}
.home-hero .hero-actions {
  margin-top: 1.3rem;
  justify-content: flex-start;
}
.hero-mini-note {
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero-quick-panel {
  padding: 1rem 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(3px);
  text-align: left;
}
.hero-quick-panel h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}
.hero-quick-panel ul {
  margin: 0.65rem 0 0.8rem;
  padding-left: 1rem;
}
.hero-quick-panel li {
  margin-bottom: 0.42rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.95);
}
.hero-quick-panel .link-more {
  color: #fff;
  font-weight: 700;
}

.home-trust {
  padding: 2.4rem 0;
  background: linear-gradient(180deg, #f4f9fe 0%, #ffffff 60%);
}
.home-trust .badge {
  border: 1px solid #d5e4f2;
  border-left: 0;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(19, 50, 82, 0.08);
  padding: 1.2rem 1.15rem;
}
.home-trust .badge h3 {
  color: var(--color-accent);
  margin-bottom: 0.55rem;
}

.home-story {
  padding: 2.9rem 0;
  background: #ffffff;
}
.home-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  gap: 1.2rem;
  align-items: start;
}
.home-story .why-list li {
  margin-bottom: 0.15rem;
}
.home-story-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.home-story-card {
  padding: 1rem 1.05rem;
  border: 1px solid #d7e6f3;
  border-radius: 10px;
  background: #f6fbff;
}
.home-story-card h3 {
  margin: 0;
  color: var(--color-primary);
}
.home-story-card p {
  margin: 0.55rem 0 0;
  color: #4a5568;
}
.home-story-phone a {
  font-weight: 700;
}

.home-projects {
  padding: 3.2rem 0 2.9rem;
  background: linear-gradient(180deg, #eaf4fc 0%, #f7fbff 70%, #f2f8fd 100%);
  border-bottom: 1px solid #d8e7f3;
}
.home-projects .section-head {
  margin-bottom: 1.1rem;
}
.home-projects .carousel {
  overflow: visible;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 16px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.home-projects .carousel-track {
  gap: 1.1rem;
  padding: 0.85rem clamp(1rem, 3.2vw, 3rem) 1rem;
  mask-image: linear-gradient(to right, transparent 0%, transparent 10%, rgba(0, 0, 0, 0.14) 14%, rgba(0, 0, 0, 0.34) 18%, rgba(0, 0, 0, 0.62) 23%, rgba(0, 0, 0, 0.86) 27%, #000 30%, #000 70%, rgba(0, 0, 0, 0.86) 73%, rgba(0, 0, 0, 0.62) 77%, rgba(0, 0, 0, 0.34) 82%, rgba(0, 0, 0, 0.14) 86%, transparent 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 10%, rgba(0, 0, 0, 0.14) 14%, rgba(0, 0, 0, 0.34) 18%, rgba(0, 0, 0, 0.62) 23%, rgba(0, 0, 0, 0.86) 27%, #000 30%, #000 70%, rgba(0, 0, 0, 0.86) 73%, rgba(0, 0, 0, 0.62) 77%, rgba(0, 0, 0, 0.34) 82%, rgba(0, 0, 0, 0.14) 86%, transparent 90%, transparent 100%);
}
.home-projects .carousel-slide {
  flex: 0 0 min(78vw, 980px);
  opacity: 1;
  transition: opacity 0.28s ease;
}
.home-projects .carousel-slide img {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}
.home-projects .carousel-slide figcaption {
  padding: 1rem 1.05rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.home-projects .carousel-slide figcaption strong {
  font-size: 0.98rem;
  font-weight: 700;
}
.home-projects .carousel-slide figcaption span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}
.home-projects .carousel-prev,
.home-projects .carousel-next {
  z-index: 6;
  width: 62px;
  height: 62px;
  background: #1f5fa8;
  border: 2px solid #1a4f8c;
  box-shadow: 0 14px 28px rgba(20, 45, 74, 0.34);
  color: transparent;
  font-size: 0;
  transition: background 0.2s ease;
}
.home-projects .carousel-prev:hover,
.home-projects .carousel-next:hover {
  background: #184e88;
}
.home-projects .carousel-prev::before,
.home-projects .carousel-next::before {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
}
.home-projects .carousel-prev::before {
  transform: translate(-42%, -50%) rotate(135deg);
}
.home-projects .carousel-next::before {
  transform: translate(-58%, -50%) rotate(-45deg);
}
.home-projects .carousel-prev {
  left: clamp(3.25rem, 6vw, 6.5rem);
}
.home-projects .carousel-next {
  right: clamp(3.25rem, 6vw, 6.5rem);
}
.projects-cta {
  margin: 1rem 0 0;
  text-align: center;
}
.projects-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.95rem;
  font-weight: 700;
}

.home-intro {
  padding: 3.1rem 0;
  background: #fff;
}
.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  gap: 1.2rem;
}
.home-intro h2 {
  margin: 0;
  color: var(--color-accent);
}
.home-intro p {
  max-width: 72ch;
}
.home-intro-points {
  padding: 1rem 1.05rem;
  border-radius: 10px;
  border: 1px solid #d6e5f2;
  background: #f6fbff;
}
.home-intro-points h3 {
  margin: 0;
  color: var(--color-primary);
}
.home-intro-points ul {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
}
.home-intro-points li {
  margin-bottom: 0.45rem;
}

.home-services {
  padding: 3rem 0;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 58%);
}
.home-services .section-head {
  margin-bottom: 1rem;
}
.home-services .service-card {
  border: 1px solid #d7e6f3;
  box-shadow: 0 10px 22px rgba(20, 51, 83, 0.08);
}
.home-services .service-card h3 {
  color: var(--color-accent);
}
.home-services .link-more {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-contact {
  padding: 3rem 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.09), transparent 40%),
    linear-gradient(145deg, #0e3655 0%, #12466c 55%, #105985 100%);
  color: #fff;
}
.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.2rem;
  align-items: stretch;
}
.home-contact .section-kicker {
  color: rgba(255, 255, 255, 0.92);
}
.home-contact-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
}
.home-contact-copy h2 {
  margin: 0;
  color: #fff;
}
.home-contact .form-intro {
  color: rgba(255, 255, 255, 0.9);
}
.home-contact-checklist {
  margin: 0.9rem 0 0;
  padding-left: 1rem;
}
.home-contact-checklist li {
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.95);
}
.home-contact-actions {
  margin: 1.35rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
}
.home-contact-actions .phone-btn {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid rgba(255,255,255,0.62);
  border-radius: 6px;
}
.home-contact-actions .phone-btn:hover {
  text-decoration: none;
  background: rgba(255,255,255,0.12);
}
.home-contact-actions .link-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.35rem;
  color: #fff;
  font-weight: 700;
}
.home-contact-note {
  margin-top: 0;
  padding-top: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.home-contact-note strong {
  color: #fff;
}
.home-contact .contact-form {
  background: #fff;
  color: var(--color-text);
  width: 100%;
  max-width: 100%;
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid #cddceb;
  box-shadow: 0 14px 28px rgba(9, 35, 56, 0.24);
  gap: 0.9rem;
  justify-self: stretch;
}
.home-contact .contact-form .form-row input,
.home-contact .contact-form .form-row textarea {
  min-height: 46px;
}
.home-contact .contact-form .form-row textarea {
  min-height: 150px;
}

.home-faq {
  padding: 3rem 0;
  background: #fff;
}
.home-faq h2 {
  color: var(--color-accent);
}
.home-faq .faq-list {
  max-width: 860px;
}
.home-faq .faq-item {
  border: 1px solid #dce8f3;
  border-radius: 8px;
  margin-bottom: 0.55rem;
  padding: 0 1rem;
}

.home-service-area {
  padding: 2.8rem 0 3.1rem;
  background: #eef6fc;
  text-align: left;
}
.home-service-area h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.home-service-area .service-area-sub {
  margin: 0.6rem 0 1rem;
  max-width: 70ch;
}
.home-service-area .service-cities {
  justify-content: flex-start;
  gap: 0.45rem;
}
.home-service-area .service-cities li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid #cfe0ef;
  background: #fff;
  font-size: 0.86rem;
}
.service-area-map {
  margin: 1.3rem 0 0;
  padding: 0.8rem;
  border: 1px solid #d4e4f1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(17, 56, 92, 0.08);
}
.home-service-map {
  width: 100%;
  height: min(54vw, 420px);
  min-height: 270px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  pointer-events: none;
}
.home-service-map-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.home-service-radius {
  display: block;
  position: absolute;
  left: 50.2%;
  top: 44.6%;
  width: clamp(182px, 22vw, 282px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px dashed rgba(0, 139, 196, 0.9);
  background: radial-gradient(circle, rgba(0, 139, 196, 0.2) 0%, rgba(0, 139, 196, 0.08) 58%, rgba(0, 139, 196, 0.02) 100%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
}
.home-service-radius-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0f4f88;
  border: 2px solid #fff;
  box-shadow: 0 0 0 5px rgba(15, 79, 136, 0.2);
  transform: translate(-50%, -50%);
}
.service-area-map-note {
  margin: 0.55rem 0 0;
  font-size: 0.84rem;
  color: #5b7087;
  font-weight: 600;
}

@media (max-width: 760px) {
  .service-area-map {
    padding: 0.55rem;
  }
  .home-service-map {
    min-height: 230px;
  }
  .home-service-radius {
    width: clamp(132px, 33vw, 204px);
    left: 50.3%;
    top: 45.3%;
  }
  .service-area-map-note {
    font-size: 0.78rem;
  }
}

/* Unified call button styling */
.header .phone-btn,
.hero-phone,
.why-choose .phone-btn,
.contact-form-section .phone-btn,
.footer-info .phone-btn,
.resi-service-hero .phone-btn,
.svc-service-hero .phone-btn,
.footer .phone-btn,
.gallery-hero-actions .phone-btn,
.blog-cta .phone-btn,
.blog-post-actions .phone-btn,
.contact-sidebar .phone-btn,
.home-contact-actions .phone-btn,
.service-area-page-actions .phone-btn,
.footer-pro .footer-phone,
.mobile-nav-phone a {
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem !important;
  line-height: 1;
  letter-spacing: 0.01em;
  gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid #1a4f8c !important;
  border-radius: 6px;
  background: #1f5fa8 !important;
  box-shadow: 0 10px 20px rgba(20, 47, 79, 0.24);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.header .phone-btn:hover,
.hero-phone:hover,
.why-choose .phone-btn:hover,
.contact-form-section .phone-btn:hover,
.footer-info .phone-btn:hover,
.resi-service-hero .phone-btn:hover,
.svc-service-hero .phone-btn:hover,
.footer .phone-btn:hover,
.gallery-hero-actions .phone-btn:hover,
.blog-cta .phone-btn:hover,
.blog-post-actions .phone-btn:hover,
.contact-sidebar .phone-btn:hover,
.home-contact-actions .phone-btn:hover,
.service-area-page-actions .phone-btn:hover,
.footer-pro .footer-phone:hover,
.mobile-nav-phone a:hover {
  text-decoration: none;
  background: #184e88 !important;
  border-color: #153f70 !important;
  box-shadow: 0 12px 24px rgba(20, 47, 79, 0.3);
}
.header .phone-btn::before,
.hero-phone::before,
.why-choose .phone-btn::before,
.contact-form-section .phone-btn::before,
.footer-info .phone-btn::before,
.resi-service-hero .phone-btn::before,
.svc-service-hero .phone-btn::before,
.footer .phone-btn::before,
.gallery-hero-actions .phone-btn::before,
.blog-cta .phone-btn::before,
.blog-post-actions .phone-btn::before,
.contact-sidebar .phone-btn::before,
.home-contact-actions .phone-btn::before,
.service-area-page-actions .phone-btn::before,
.footer-pro .footer-phone::before,
.mobile-nav-phone a::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.95 21q-3.35 0-6.55-1.45t-5.73-3.97Q5.15 13.05 3.7 9.85T2.25 3.3q0-.55.38-.93T3.55 2h3.9q.45 0 .8.3t.45.75l.62 3.35q.1.5-.03.9t-.45.7l-2.58 2.6q.62 1.15 1.43 2.23t1.77 2.03q.95.95 2.03 1.78t2.22 1.45L16.25 15q.3-.32.7-.45t.9-.03l3.35.62q.45.1.75.45t.3.8v3.9q0 .55-.38.93t-.92.38Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.95 21q-3.35 0-6.55-1.45t-5.73-3.97Q5.15 13.05 3.7 9.85T2.25 3.3q0-.55.38-.93T3.55 2h3.9q.45 0 .8.3t.45.75l.62 3.35q.1.5-.03.9t-.45.7l-2.58 2.6q.62 1.15 1.43 2.23t1.77 2.03q.95.95 2.03 1.78t2.22 1.45L16.25 15q.3-.32.7-.45t.9-.03l3.35.62q.45.1.75.45t.3.8v3.9q0 .55-.38.93t-.92.38Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* In two-button rows, keep non-call CTA visually distinct */
.hero-actions .btn-primary,
.resi-hero-actions .btn-primary,
.svc-hero-actions .btn-primary,
.gallery-hero-actions .btn-primary,
.blog-cta-actions .btn-primary,
.blog-post-actions .btn-primary,
.service-area-page-hero .service-area-page-actions .btn-primary,
.home-story-actions .btn-primary,
.footer-pro .footer-actions .btn-primary {
  background: #fff;
  color: #123d61;
  border: 2px solid #1f5fa8;
  box-shadow: none;
}
.hero-actions .btn-primary:hover,
.resi-hero-actions .btn-primary:hover,
.svc-hero-actions .btn-primary:hover,
.gallery-hero-actions .btn-primary:hover,
.blog-cta-actions .btn-primary:hover,
.blog-post-actions .btn-primary:hover,
.service-area-page-hero .service-area-page-actions .btn-primary:hover,
.home-story-actions .btn-primary:hover,
.footer-pro .footer-actions .btn-primary:hover {
  background: #eaf4fc;
  color: #0f3453;
  border-color: #184e88;
  box-shadow: none;
}

@media (max-width: 980px) {
  .hero-shell,
  .home-story-grid,
  .home-intro-grid,
  .home-contact-grid {
    grid-template-columns: 1fr;
  }
  .home-hero {
    min-height: min(88vh, 720px);
  }
  .home-hero .hero-content {
    text-align: center;
  }
  .home-hero .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  .home-hero .hero-actions {
    justify-content: center;
  }
  .hero-quick-panel {
    max-width: 560px;
    margin: 0 auto;
  }
  .home-form-grid {
    grid-template-columns: 1fr;
  }
  .home-contact .contact-form {
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .home-projects .carousel-prev,
  .home-projects .carousel-next {
    width: 48px;
    height: 48px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0;
    color: transparent !important;
    font-size: 0;
  }
  .home-projects .carousel-prev::before,
  .home-projects .carousel-next::before {
    display: block;
    border-right-color: #1f5fa8;
    border-bottom-color: #1f5fa8;
    width: 14px;
    height: 14px;
  }
  .home-projects .carousel-prev {
    left: 2px;
  }
.home-projects .carousel-next {
    right: 2px;
  }
}

@media (max-width: 900px) {
  .header .header-phone {
    display: none !important;
  }
}

/* Final button consistency: no borders + medium radius */
.btn,
.header .phone-btn,
.hero-phone,
.why-choose .phone-btn,
.contact-form-section .phone-btn,
.footer-info .phone-btn,
.resi-service-hero .phone-btn,
.svc-service-hero .phone-btn,
.footer .phone-btn,
.gallery-hero-actions .phone-btn,
.blog-cta .phone-btn,
.blog-post-actions .phone-btn,
.contact-sidebar .phone-btn,
.home-contact-actions .phone-btn,
.service-area-page-actions .phone-btn,
.footer-pro .footer-phone,
.mobile-nav-phone a,
.home-projects .carousel-prev,
.home-projects .carousel-next {
  border: 0 !important;
  border-radius: 10px !important;
}

/* Floating Messenger button */
.messenger-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 96;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.4rem 0.8rem 0.4rem 0.45rem;
  border-radius: 999px;
  background: #0866ff;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(8, 58, 140, 0.28);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.messenger-float-hi {
  position: absolute;
  right: 0.1rem;
  bottom: calc(100% + 1rem);
  width: min(300px, 80vw);
  padding: 0.72rem 0.86rem;
  border-radius: 16px;
  background: #fff;
  color: #17314f;
  font-size: 0.92rem;
  line-height: 1.35;
  box-shadow: 0 16px 34px rgba(5, 34, 84, 0.22);
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.92);
  transform-origin: bottom right;
  pointer-events: none;
  white-space: normal;
}
.messenger-float-hi strong {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: #0b3f93;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.24rem;
}
.messenger-float-hi span {
  display: block;
}
.messenger-float-hi::after {
  content: '';
  position: absolute;
  right: 1.05rem;
  bottom: -11px;
  width: 21px;
  height: 16px;
  background: #fff;
  border-radius: 0 0 16px 0;
  clip-path: path("M21 0 C16 3, 11 8, 8 16 C7 11, 4 5, 0 0 Z");
  transform: none;
}
.messenger-float-hi::before {
  content: '';
  position: absolute;
  right: 1.02rem;
  bottom: -13px;
  width: 19px;
  height: 9px;
  border-radius: 50%;
  background: rgba(5, 34, 84, 0.13);
  filter: blur(1.4px);
}
.messenger-wave {
  display: inline-block;
  transform-origin: 70% 70%;
}
.messenger-float.is-hi-visible .messenger-float-hi {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  animation: messengerHiIn 260ms ease-out;
}
.messenger-float.is-hi-visible .messenger-wave {
  animation: messengerWave 900ms ease-in-out 100ms 3;
}
.messenger-float:hover {
  text-decoration: none;
  background: #0555d8;
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(8, 58, 140, 0.36);
}
.messenger-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.messenger-float-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  position: relative;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.17);
}
.messenger-float-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.messenger-float-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.messenger-unread-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3040;
  border: 2px solid #0866ff;
  box-shadow: 0 0 0 0 rgba(255, 48, 64, 0.6);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}
.messenger-float.is-unread .messenger-unread-dot {
  opacity: 1;
  transform: scale(1);
  animation: messengerUnreadPulse 10s ease-out infinite;
}
@media (max-width: 760px) {
  .messenger-float {
    right: max(0.55rem, env(safe-area-inset-right));
    bottom: max(0.6rem, env(safe-area-inset-bottom));
    min-height: 48px;
    padding: 0.35rem;
    border-radius: 999px;
  }
  .messenger-float-icon {
    width: 40px;
    height: 40px;
  }
  .messenger-float-label {
    display: none;
  }
  .messenger-float-hi {
    right: 0;
    bottom: calc(100% + 0.75rem);
    width: min(255px, 74vw);
    padding: 0.58rem 0.68rem;
    font-size: 0.8rem;
    border-radius: 14px;
  }
  .messenger-float-hi strong {
    font-size: 0.82rem;
    margin-bottom: 0.15rem;
  }
}

@keyframes messengerUnreadPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 48, 64, 0.5); }
  8% { box-shadow: 0 0 0 8px rgba(255, 48, 64, 0); }
  14% { box-shadow: 0 0 0 0 rgba(255, 48, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 48, 64, 0); }
}

@keyframes messengerHiIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 11px, 0) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes messengerWave {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(18deg); }
  30% { transform: rotate(-10deg); }
  45% { transform: rotate(14deg); }
  60% { transform: rotate(-6deg); }
  75% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

/* Subtle site-wide reveal animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.62s ease,
    transform 0.62s cubic-bezier(0.21, 0.9, 0.24, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .home-hero .hero-content,
  .home-hero .hero-quick-panel,
  .gallery-hero .container,
  .blog-hero .container,
  .contact-page-hero .container,
  .resi-service-hero .container,
  .svc-service-hero .container,
  .hero-slide-active,
  .gallery-hero-bg,
  .blog-hero-bg,
  .contact-page-hero-bg,
  .resi-hero-bg,
  .svc-hero-bg {
    animation: none !important;
  }
}
