:root {
  --red: #064f9e;
  --red-dark: #06336f;
  --red-deep: #081f3d;
  --red-soft: #eef6ff;
  --red-soft-2: #d9eaff;
  --accent: #d62630;
  --white: #ffffff;
  --cream: #f4f8fc;
  --cream-2: #e8f1fb;
  --text: #111827;
  --text-muted: #334155;
  --line: rgba(8, 31, 61, 0.13);
  --red-line: rgba(6, 79, 158, 0.22);
  --shadow: 0 18px 45px rgba(8, 31, 61, 0.1);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] {
  scroll-margin-top: 110px;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.desktop-only {
  display: inline;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.35);
  outline-offset: 3px;
}
.container {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
}
.section { padding: 78px 0; }
.section-tight { padding: 54px 0; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: 0;
}
h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 5.5vw, 5.1rem);
}
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; }
p {
  margin: 0;
  color: var(--text-muted);
}
.lead {
  max-width: 720px;
  font-size: 1.08rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.1;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(63, 21, 27, 0.16);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary {
  border-color: var(--red);
  color: var(--red);
  background: var(--white);
}
.btn-secondary:hover {
  background: var(--red);
  color: var(--white);
}
.btn-outline {
  border-color: var(--red);
  color: var(--red);
  background: var(--white);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transform: translateY(0);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: clamp(16px, 1.8vw, 24px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 150px;
  color: var(--red-deep);
  font-weight: 900;
  line-height: 1.05;
}
.brand-logo {
  display: block;
  width: 150px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--red);
  border-radius: 6px;
  color: var(--white);
  background: var(--red);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  margin-top: 3px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.desktop-nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: center;
  min-width: 0;
  gap: clamp(10px, 1.05vw, 18px);
  color: #2a2624;
  font-size: clamp(0.84rem, 0.88vw, 0.95rem);
  font-weight: 800;
}
.desktop-nav > a,
.nav-dropdown,
.nav-dropdown-link {
  flex: 0 0 auto;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--red);
}
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
}
.nav-dropdown-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.services-dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  min-width: 430px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(20, 18, 17, 0.11);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.nav-dropdown:hover .services-dropdown,
.nav-dropdown:focus-within .services-dropdown,
.nav-dropdown.is-open .services-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.services-dropdown a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 850;
  white-space: nowrap;
}
.services-dropdown a:hover,
.services-dropdown a:focus {
  background: var(--red-soft);
  color: var(--red);
  outline: none;
}
.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  white-space: nowrap;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 11px;
  min-height: 50px;
  padding: 14px clamp(20px, 1.65vw, 24px);
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  transition: background 180ms ease, transform 180ms ease;
}
.phone-link span {
  white-space: nowrap;
}
.phone-link:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.phone-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--red-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--red);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-panel a {
  display: block;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--red-deep);
  font-weight: 900;
}
.mobile-panel.is-open { display: block; }
.mobile-services-group {
  border-bottom: 1px solid var(--line);
}
.mobile-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 15px 20px;
  border: 0;
  background: var(--white);
  color: var(--red-deep);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}
.mobile-services-toggle span {
  transition: transform 160ms ease;
}
.mobile-services-toggle[aria-expanded="true"] span {
  transform: rotate(180deg);
}
.mobile-services-list {
  display: none;
  padding: 0 14px 12px;
  background: var(--white);
}
.mobile-services-group.is-open .mobile-services-list {
  display: grid;
  gap: 6px;
}
.mobile-services-list a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--text);
  font-size: 0.95rem;
}
.mobile-services-list a:hover,
.mobile-services-list a:focus {
  border-color: var(--red);
  color: var(--red);
  outline: none;
}
@media (max-width: 1180px) {
  .site-header {
    box-shadow: 0 8px 22px rgba(20, 18, 17, 0.06);
    transition: transform 240ms ease;
    will-change: transform;
  }
  .site-header.is-hidden {
    transform: translateY(calc(-100% - 2px));
    pointer-events: none;
  }
  .nav-wrap {
    min-height: 0;
    padding: 14px 0;
  }
  .brand-logo {
    width: 124px;
    max-height: 58px;
  }
  .desktop-nav {
    display: none;
  }
  .phone-link {
    min-height: 46px;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    border-color: var(--red-line);
    background: var(--white);
    color: var(--red);
    font-size: 1.35rem;
    box-shadow: none;
  }
}
@media (max-width: 1180px) and (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.contact-hero {
  background-position: center 36%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(18, 0, 4, 0.279), rgba(18, 0, 4, 0.396)),
    linear-gradient(90deg, rgba(18, 0, 4, 0.18), rgba(18, 0, 4, 0.081) 50%, rgba(18, 0, 4, 0.18));
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  background: radial-gradient(ellipse at center, rgba(18, 0, 4, 0.441) 0%, rgba(18, 0, 4, 0.324) 34%, rgba(18, 0, 4, 0.126) 68%, rgba(18, 0, 4, 0) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 86px 0;
  text-align: center;
}
.hero-inner > div {
  width: 100%;
  max-width: 940px;
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
}
.hero h1,
.hero h2,
.hero h3 {
  color: var(--white);
}
.hero h1 {
  text-wrap: balance;
}
.hero .eyebrow {
  color: var(--white);
}
.hero h1,
.hero .eyebrow,
.hero p {
  text-shadow: 0 3px 18px rgba(18, 0, 4, 0.549), 0 1px 2px rgba(18, 0, 4, 0.387);
}
.hero p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 22px;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
}
.home-hero .hero-inner {
  min-height: 560px;
  padding: 72px 0;
}
.home-hero .hero-inner > div {
  max-width: 920px;
}
.home-hero h1 {
  max-width: 920px;
  font-size: clamp(2.2rem, 4.1vw, 4rem);
}
.home-hero p {
  max-width: 720px;
  margin-top: 16px;
  font-size: 1.05rem;
}
.home-hero .hero-actions {
  margin-top: 24px;
}
.home-hero {
  background-position: center 45%;
}
.services-hero .hero-inner {
  min-height: 500px;
  padding: 70px 0;
}
.services-hero .hero-inner > div {
  max-width: 940px;
}
.services-hero h1 {
  max-width: 940px;
  font-size: clamp(2.25rem, 4.4vw, 4.2rem);
}
.services-hero p {
  max-width: 720px;
  font-size: 1.08rem;
}
.inner-hero .hero-inner {
  min-height: 430px;
  padding: 62px 0;
}
.inner-hero .hero-inner > div {
  max-width: 860px;
}
.inner-hero h1 {
  max-width: 860px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}
.inner-hero p {
  max-width: 620px;
  margin-top: 14px;
  font-size: 1.03rem;
}
.gallery-hero {
  background-position: center 46%;
}
.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.hero .btn-secondary {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.hero .btn-secondary:hover {
  background: var(--white);
  color: var(--red);
}
.trust-section {
  padding: 64px 0 70px;
}
.trust-section .container {
  max-width: 1260px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(20, 18, 17, 0.07);
}
.trust-item {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 168px;
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  color: var(--text);
}
.trust-item:last-child { border-right: 0; }
.trust-item span {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.15;
}
.trust-item p {
  max-width: 280px;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.52;
}
.trust-icon svg {
  display: block;
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}
.services-heading {
  display: block;
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cards:has(> .card:nth-child(4):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 25px;
  box-shadow: 0 12px 28px rgba(20, 18, 17, 0.06);
}
.card h3 {
  margin-bottom: 10px;
  color: #111111;
}
.card p {
  margin-bottom: 16px;
  color: #222222;
}
.why-section h2,
.why-section h3 {
  color: #111111;
}
.why-section .card p,
.why-section .lead {
  color: #222222;
}
.why-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.why-head .lead {
  margin: 14px auto 0;
}
.why-cards {
  max-width: 1040px;
  margin: 0 auto;
}
.why-cards .card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-start;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}
.text-link::after {
  content: "\2192";
  display: inline-block;
  font-size: 0.95em;
  font-weight: 800;
  line-height: 1;
  transform: translateX(0);
  transition: transform 180ms ease;
}
.text-link:hover {
  text-decoration: none;
}
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(4px);
}
.bullets,
.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bullets li {
  margin: 0;
  padding: 14px 16px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(20, 18, 17, 0.05);
}
.bullets li::before {
  content: none;
}
.home-area-points li {
  display: grid;
  place-items: center;
  min-height: 76px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.2;
}
.gallery-band {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery-title {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.gallery-title .lead {
  margin: 12px auto 0;
}
.gallery-page-head {
  padding-bottom: 38px;
}
.work-carousel {
  width: 100%;
}
.carousel-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  opacity: 1;
  transition: opacity 180ms ease;
}
.work-carousel.is-wrapping .carousel-track {
  opacity: 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  aspect-ratio: 4 / 3.25;
  box-shadow: 0 16px 34px rgba(20, 18, 17, 0.09);
  scroll-snap-align: start;
}
.gallery-carousel .carousel-slide {
  aspect-ratio: 4 / 3.35;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, rgba(18, 0, 4, 0), rgba(18, 0, 4, 0.78));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.28;
  text-shadow: 0 1px 2px rgba(18, 0, 4, 0.5);
}
.gallery-carousel .project-caption {
  display: grid;
  gap: 3px;
  padding: 56px 18px 16px;
  background: linear-gradient(180deg, rgba(18, 0, 4, 0), rgba(18, 0, 4, 0.86));
}
.project-caption strong,
.project-caption span,
.project-caption em {
  display: block;
}
.project-caption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}
.project-caption strong {
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.18;
}
.project-caption em {
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}
.featured-video-section {
  background: var(--white);
}
.featured-video-frame {
  overflow: hidden;
  max-width: 980px;
  margin: 34px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  box-shadow: var(--shadow);
}
.featured-work-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}
.carousel-arrow {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 18, 17, 0.08);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.carousel-arrow:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: #d7d0c8;
  cursor: pointer;
  padding: 0;
  transition: width 180ms ease, background 180ms ease;
}
.carousel-dot.is-active {
  width: 28px;
  background: var(--red);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid.large {
  grid-template-columns: repeat(2, 1fr);
}
.gallery-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  aspect-ratio: 4 / 3;
  box-shadow: 0 16px 34px rgba(20, 18, 17, 0.09);
}
.gallery-grid.large .gallery-item { aspect-ratio: 5 / 3.6; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img,
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
  background: var(--white);
}
.about-family-photo {
  object-position: center top;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
}
.split-actions {
  justify-content: flex-start;
  margin-top: 24px;
}
.home-process-section {
  background: var(--white);
}
.home-area-section {
  background: var(--white);
}
.story-section {
  background: var(--white);
}
.story-split,
.planning-story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 54px;
}
.story-copy,
.planning-copy {
  min-width: 0;
}
.story-copy .lead,
.planning-copy .lead {
  margin-top: 18px;
}
.story-list,
.process-timeline,
.visual-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.story-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.story-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.story-list-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
}
.story-list h3,
.process-timeline h3 {
  font-size: 1.12rem;
}
.story-list h3 {
  display: flex;
  align-items: center;
  min-height: 42px;
}
.story-list p,
.process-timeline p {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.52;
}
.image-proof-band {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.proof-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
  margin-inline: auto;
}
.proof-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.proof-item:first-child {
  min-height: 0;
}
.proof-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proof-item-contain img {
  object-fit: contain;
  background: var(--white);
}
.planning-story {
  grid-template-columns: 1fr 0.9fr;
}
.visual-checklist {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.visual-checklist li {
  position: relative;
  padding: 0 0 16px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.42;
}
.visual-checklist li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.visual-checklist li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(200, 16, 46, 0.1);
}
.process-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  max-width: 1060px;
  margin: 0 auto;
  counter-reset: process;
}
.process-timeline li {
  position: relative;
  padding-left: 58px;
}
.process-timeline span {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}
.process-timeline li::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: -14px;
  left: 17px;
  width: 2px;
  background: var(--line);
}
.process-timeline li:nth-last-child(-n + 2)::before {
  bottom: 0;
}
.feature-band {
  background: var(--white);
  color: var(--text);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-band p { color: var(--text-muted); }
.home-feature-section {
  background: var(--cream);
}
.testimonial-empty-state,
.google-review-placeholder {
  max-width: 880px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.testimonial-empty-state h3,
.google-review-placeholder h3 {
  color: var(--text);
}
.testimonial-empty-state p,
.google-review-placeholder p {
  margin-top: 10px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.testimonial-card,
.google-review-panel {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(20, 18, 17, 0.06);
}
.testimonial-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
  padding: 24px;
}
.testimonial-card blockquote {
  margin: 0;
}
.testimonial-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.56;
}
.testimonial-card p + p {
  margin-top: 14px;
}
.testimonial-card figcaption {
  display: grid;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testimonial-card figcaption strong {
  color: var(--text);
  font-size: 1.08rem;
}
.testimonial-card figcaption span {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 800;
}
.google-review-panel {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 34px;
  text-align: center;
}
.google-review-panel h3 {
  color: var(--text);
}
.google-review-panel p {
  max-width: 560px;
}
@media (max-width: 1040px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card,
  .google-review-panel {
    padding: 22px;
  }
  .testimonial-card p {
    line-height: 1.58;
  }
}
.process-support-section {
  background: var(--cream);
}
.process-support-panel {
  display: grid;
  gap: 28px;
  max-width: 1080px;
}
.process-support-copy {
  max-width: 940px;
}
.process-support-copy h2 {
  max-width: 720px;
  margin-top: 14px;
}
.process-support-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 840px;
}
.process-support-header .eyebrow {
  margin-bottom: 0;
}
.process-support-copy .lead {
  max-width: 840px;
  margin-top: 18px;
}
.process-support-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--text-muted);
}
.feature-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 42px;
}
.home-feature-grid {
  grid-template-columns: 1fr 1.05fr;
}
.editorial-image {
  aspect-ratio: 4 / 3.15;
}
.feature-copy {
  min-width: 0;
}
.feature-copy .lead {
  max-width: 620px;
}
.feature-points {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.feature-points article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.feature-points span {
  display: inline-grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}
.feature-points h3 {
  grid-column: 2;
  font-size: 1.12rem;
}
.feature-points p {
  grid-column: 2;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.52;
}
.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature-card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.feature-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.05rem;
}
.service-list {
  display: grid;
  gap: 18px;
}
.service-row {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(20, 18, 17, 0.06);
}
.service-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.service-browser {
  background: var(--white);
}
.service-browser + .service-browser {
  border-top: 1px solid var(--line);
}
.service-browser-alt {
  background: var(--cream);
}
.service-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.service-category-head > div:last-child {
  flex: 1;
  min-width: 0;
}
.service-category-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-size: 1.1rem;
}
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  overflow: hidden;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(20, 18, 17, 0.06);
}
.service-image {
  aspect-ratio: 4 / 2.35;
  overflow: hidden;
  background: var(--white);
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.service-card-body h3 {
  color: #111111;
  font-size: 1.22rem;
}
.service-card-body p {
  margin-top: 10px;
  color: #222222;
}
.service-category-head h2,
.service-card h3,
.service-card p {
  overflow-wrap: anywhere;
}
.services-hero h1,
.services-hero p {
  overflow-wrap: normal;
}
.service-card-body .text-link {
  margin-top: auto;
  padding-top: 18px;
}
.service-chip {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 5px 9px;
  border: 1px solid var(--red-line);
  border-radius: 6px;
  background: var(--white);
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.single-service-grid {
  grid-template-columns: minmax(0, 0.66fr);
}
.service-card-wide {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
}
.service-card-wide .service-image {
  aspect-ratio: auto;
  min-height: 280px;
}
.services-slider-section {
  background: var(--white);
}
.services-slider-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.services-slider-head .lead {
  margin: 12px auto 0;
}
.services-carousel .carousel-track {
  padding-bottom: 12px;
}
.services-carousel .carousel-slide {
  flex-basis: calc((100% - 36px) / 3);
  aspect-ratio: auto;
}
.service-slider-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border-color: var(--line);
  box-shadow: 0 16px 34px rgba(20, 18, 17, 0.08);
}
.service-slider-image {
  overflow: hidden;
  aspect-ratio: 4 / 2.7;
  background: var(--white);
}
.service-slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-slider-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.service-slider-body h3 {
  color: #111111;
  font-size: 1.25rem;
}
.service-slider-body p {
  margin-top: 10px;
  color: #222222;
}
.service-slider-body .text-link {
  margin-top: auto;
  padding-top: 18px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: start;
}
.contact-copy {
  grid-column: 1;
}
.contact-details-panel {
  grid-column: 1;
}
.contact-grid .simple-contact-form {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.contact-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.contact-item span {
  display: block;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.contact-item a,
.contact-item strong {
  color: var(--text);
  font-weight: 900;
}
.form-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 12px 28px rgba(20, 18, 17, 0.06);
}
.form-card p {
  margin-bottom: 20px;
  color: var(--text-muted);
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.simple-contact-form {
  max-width: 720px;
  margin: 0 auto;
}
.simple-contact-form .request-submit {
  max-width: 320px;
}
.request-frame-card {
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(20, 18, 17, 0.09);
}
.request-frame-card iframe {
  display: block;
  width: 100%;
  height: 1280px;
  min-height: 1280px;
  border: 0;
  overflow: hidden;
}
.request-frame-fallback {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--red-soft);
}
.request-frame-fallback h3 {
  font-size: 1.05rem;
}
.request-frame-fallback p {
  margin: 8px 0 10px;
}
.request-frame-fallback a:not(.text-link) {
  color: var(--red);
  font-weight: 900;
}
.request-form-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(20, 18, 17, 0.09);
}
.form-section + .form-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.form-section h3 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 1.08rem;
}
.form-section h3 span,
.request-form-card label span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.form-help {
  margin: -4px 0 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-page {
  min-height: 100dvh;
  overflow: hidden;
  background: var(--white);
}
.contact-page .contact-hero,
.contact-page .faq-section,
.contact-page .map-section,
.contact-page .site-footer {
  display: none;
}
.contact-page main {
  height: calc(100dvh - 79px);
  overflow: hidden;
}
.contact-page .contact-form-section {
  display: flex;
  height: 100%;
  padding: 22px 0 0;
  background: var(--white);
}
.contact-page #request-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}
.contact-page #request-form .section-head {
  flex: 0 0 auto;
  max-width: 860px;
  margin: 0 auto 16px;
  padding: 0 20px;
}
.contact-page #request-form .section-head .eyebrow {
  margin-bottom: 6px;
}
.contact-page #request-form .section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}
.contact-page #request-form .section-head .lead {
  max-width: 760px;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.45;
}
.contact-page .request-frame-card {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}
.contact-page .request-frame-card iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.contact-page .request-frame-fallback {
  display: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}
textarea {
  min-height: 126px;
  resize: vertical;
}
.full { grid-column: 1 / -1; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: var(--red);
}
.request-form-card .checkbox-label span {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.upload-box {
  position: relative;
  display: grid;
  min-height: 112px;
  place-items: center;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--red-soft);
  color: var(--red-deep);
  cursor: pointer;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease;
}
.upload-box:hover,
.upload-box:focus-within {
  border-color: var(--red);
  background: var(--white);
}
.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.upload-box span {
  color: var(--red);
  font-size: 1rem;
  font-weight: 900;
}
.photo-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.photo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.photo-item button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.form-status {
  display: none;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 800;
}
.form-status.is-visible {
  display: block;
}
.form-status.is-error {
  border: 1px solid rgba(200, 16, 46, 0.28);
  background: var(--red-soft);
  color: var(--red-dark);
}
.form-status.is-success {
  border: 1px solid rgba(18, 128, 70, 0.2);
  background: #eefbf4;
  color: #126b3f;
}
.request-submit {
  width: 100%;
  margin-top: 18px;
}
.request-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}
.cta-band {
  background: var(--white);
  color: var(--text);
  text-align: center;
  border-top: 5px solid var(--red);
  border-bottom: 1px solid var(--line);
}
.cta-band .container {
  display: grid;
  justify-items: center;
}
.cta-band h2 {
  max-width: 980px;
}
.cta-band .lead,
.cta-band p:not(.eyebrow) {
  max-width: 720px;
}
.cta-band p,
.cta-band .eyebrow {
  color: var(--text-muted);
}
.cta-band .eyebrow {
  color: var(--red);
}
.cta-band .hero-actions,
.cta-band .actions {
  width: min(100%, 560px);
  justify-content: center;
}
.cta-band .btn-secondary {
  border-color: var(--red);
  background: var(--white);
  color: var(--red);
}
.cta-band .btn-secondary:hover {
  background: var(--red);
  color: var(--white);
}
.map-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}
.faq-section {
  background: var(--white);
}
.faq-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.faq-head .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--red);
}
.faq-head h2 {
  margin-top: 14px;
  color: var(--text);
}
.faq-head p {
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  padding: 24px 28px;
  border: 0;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--red);
  font-size: 0;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.faq-icon::before {
  content: "+";
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}
.faq-item[open] .faq-icon {
  background: var(--red);
  color: var(--white);
}
.faq-item[open] .faq-icon::before {
  content: "−";
}
.faq-answer {
  padding: 0 28px 24px;
  color: var(--text-muted);
}
.faq-answer p {
  max-width: 820px;
  color: var(--text-muted);
}
.section-head.center {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.section-head.center .lead,
.section-head.center p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}
.map-card {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(20, 18, 17, 0.09);
}
.map-card iframe {
  display: block;
  width: 100%;
  height: 340px;
  min-height: 0;
  border: 0;
}
.site-footer {
  background: var(--white);
  color: var(--text);
  padding: 58px 0 24px;
  border-top: 4px solid var(--red);
}
.site-footer .brand-logo {
  width: 112px;
  max-height: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.8fr 1fr;
  gap: 32px;
}
.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--text-muted);
}
.site-footer h3 {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 1rem;
}
.footer-social {
  margin-top: 22px;
}
.footer-social span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-links a {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  background: var(--white);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-links a:hover,
.social-links a:focus-visible {
  color: var(--white);
  background: var(--red);
  transform: translateY(-1px);
}
.social-links svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.social-links a[aria-label*="Facebook"] svg {
  fill: currentColor;
  stroke: none;
}
.social-links img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 5px;
}
.footer-list li { margin-top: 8px; }
.copyright {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--red-dark);
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .site-header {
    transition: transform 240ms ease;
    will-change: transform;
  }
  .site-header.is-hidden {
    transform: translateY(calc(-100% - 2px));
    pointer-events: none;
  }
  .desktop-nav { display: none; }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }
  .section-head,
  .feature-grid,
  .split,
  .story-split,
  .planning-story,
  .contact-grid,
  .service-row {
    grid-template-columns: 1fr;
  }
  .contact-copy,
  .contact-details-panel,
  .contact-grid .simple-contact-form {
    grid-column: 1;
    grid-row: auto;
  }
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof-item:first-child {
    grid-column: 1 / -1;
  }
  .service-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-service-grid {
    grid-template-columns: 1fr;
  }
  .service-card-wide {
    grid-template-columns: 1fr;
  }
  .service-card-wide .service-image {
    aspect-ratio: 4 / 2.35;
    min-height: 0;
  }
  .cards,
  .process-grid,
  .gallery-grid.large,
  .service-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-columns,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-feature-grid {
    gap: 34px;
  }
  .feature-copy .lead {
    max-width: 720px;
  }
  .feature-copy h2 {
    max-width: 760px;
    font-size: clamp(2rem, 5.2vw, 3rem);
  }
  .trust-section {
    padding: 56px 0;
  }
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .trust-item,
  .trust-item:last-child {
    min-height: 150px;
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 30px rgba(20, 18, 17, 0.055);
  }
  .trust-item p {
    max-width: 320px;
  }
  .carousel-slide {
    flex-basis: calc((100% - 18px) / 2);
  }
  .services-carousel .carousel-slide {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 1040px) and (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

@media (max-width: 700px) {
  .desktop-only {
    display: none;
  }
  .contact-page main {
    height: calc(100dvh - 147px);
  }
  .contact-page .contact-form-section {
    padding-top: 14px;
  }
  .contact-page #request-form .section-head {
    margin-bottom: 10px;
    padding: 0 16px;
  }
  .contact-page #request-form .section-head h2 {
    font-size: 1.55rem;
  }
  .contact-page #request-form .section-head .lead {
    font-size: 0.9rem;
  }
  .simple-contact-form .request-submit {
    max-width: none;
  }
  .container { width: calc(100% - 28px); }
  .section { padding: 56px 0; }
  .nav-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 68px;
    gap: 12px;
    padding: 12px 0;
  }
  .brand {
    grid-column: 1 / -1;
    min-width: 0;
    font-size: 0.95rem;
  }
  .brand-logo {
    width: 132px;
    max-height: 62px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .header-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
  }
  .phone-link {
    min-height: 48px;
    width: auto;
    min-width: 0;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 1rem;
  }
  .menu-toggle {
    position: static;
    flex: 0 0 44px;
    display: inline-grid;
    place-items: center;
    background: var(--white);
  }
  .hero-inner {
    min-height: 500px;
    padding: 58px 0;
  }
  h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .hero::after {
    background: radial-gradient(ellipse at center, rgba(18, 0, 4, 0.522) 0%, rgba(18, 0, 4, 0.387) 42%, rgba(18, 0, 4, 0.135) 78%, rgba(18, 0, 4, 0) 100%);
  }
  .home-hero .hero-inner {
    min-height: 460px;
    padding: 50px 0;
  }
  .home-hero .hero-inner > div {
    max-width: 360px;
  }
  .home-hero h1 {
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.85rem, 8vw, 2.3rem);
    line-height: 1.08;
  }
  .home-hero p {
    max-width: 330px;
    font-size: 1rem;
  }
  .trust-section {
    padding: 42px 0 52px;
  }
  .trust-section .container {
    width: calc(100% - 32px);
  }
  .trust-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    gap: 14px;
  }
  .trust-item,
  .trust-item:last-child {
    justify-items: center;
    min-height: 0;
    padding: 24px 22px;
    text-align: center;
    border: 1px solid var(--line);
  }
  .trust-item span {
    font-size: 1.08rem;
  }
  .trust-item p {
    max-width: 280px;
    font-size: 1rem;
    line-height: 1.48;
  }
  .home-hero .hero-inner > div {
    max-width: 360px;
  }
  .home-hero .eyebrow,
  .home-hero p {
    max-width: 330px;
    margin-right: auto;
    margin-left: auto;
  }
  .services-hero .hero-inner {
    min-height: 390px;
    padding: 48px 0;
  }
  .services-hero h1 {
    max-width: 290px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.55rem, 6.4vw, 1.75rem);
    line-height: 1.12;
  }
  .services-hero p {
    font-size: 1rem;
    max-width: 290px;
  }
  .inner-hero .hero-inner {
    min-height: 330px;
    padding: 44px 0;
  }
  .inner-hero h1 {
    font-size: clamp(1.85rem, 7.5vw, 2.25rem);
  }
  .inner-hero p {
    max-width: 320px;
    font-size: 1rem;
  }
  .project-caption {
    padding: 24px 12px 10px;
    font-size: 0.82rem;
  }
  .services-slider-head {
    max-width: 320px;
  }
  .services-slider-head h2 {
    max-width: 300px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.55rem, 6.4vw, 1.75rem);
    line-height: 1.16;
  }
  .services-slider-head .lead {
    max-width: 300px;
  }
  .feature-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }
  .feature-copy .lead {
    max-width: 340px;
    font-size: 1rem;
    line-height: 1.55;
  }
  .feature-points {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 430px;
    margin: 24px auto 0;
    border-top: 0;
  }
  .feature-points article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 20px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
  }
  .feature-points span {
    width: 38px;
    height: 38px;
  }
  .feature-points h3 {
    font-size: 1.06rem;
  }
  .feature-points p {
    font-size: 1rem;
    line-height: 1.5;
  }
  .service-category-head {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }
  .service-category-head h2 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }
  .service-card-body {
    min-width: 0;
  }
  .service-card-body p {
    overflow-wrap: break-word;
  }
  .story-list {
    max-width: 430px;
    margin: 24px auto 0;
    gap: 12px;
  }
  .story-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
  }
  .story-list li:last-child {
    border-bottom: 1px solid var(--line);
  }
  .story-list-number {
    width: 38px;
    height: 38px;
  }
  .story-list h3,
  .process-timeline h3 {
    font-size: 1.04rem;
  }
  .story-list h3 {
    min-height: 38px;
  }
  .split h2 + .lead,
  .story-copy h2 + .lead,
  .planning-copy h2 + .lead,
  .section-head.center h2 + .lead,
  .services-slider-head h2 + .lead,
  .why-head h2 + .lead {
    margin-top: 24px !important;
  }
  .story-list p,
  .process-timeline p {
    font-size: 1rem;
    line-height: 1.5;
  }
  .visual-checklist {
    width: 100%;
    max-width: none;
    margin: 24px auto 0;
    gap: 12px;
  }
  .visual-checklist li {
    padding: 16px 16px 16px 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 1rem;
    line-height: 1.45;
  }
  .visual-checklist li:last-child {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .visual-checklist li::before {
    top: 21px;
    left: 18px;
    box-shadow: none;
  }
  .proof-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .process-timeline {
    gap: 24px;
  }
  .process-timeline li::before {
    bottom: -18px;
  }
  .process-timeline li:nth-last-child(-n + 2)::before {
    bottom: -18px;
  }
  .process-timeline li:last-child::before {
    display: none;
  }
  .bullets {
    grid-template-columns: 1fr;
  }
  .map-card iframe {
    height: 280px;
    min-height: 0;
  }
  .request-frame-card iframe {
    height: 1320px;
    min-height: 1320px;
  }
  .request-form-card {
    padding: 20px;
    border-radius: 12px;
  }
  .form-section + .form-section {
    margin-top: 22px;
    padding-top: 20px;
  }
  .upload-box {
    min-height: 96px;
  }
  .hero-actions,
  .actions {
    display: grid;
  }
  .btn { width: 100%; }
  .gallery-title {
    margin-bottom: 28px;
  }
  .carousel-track {
    gap: 14px;
  }
  .carousel-slide {
    flex-basis: 82%;
  }
  .services-carousel .carousel-slide {
    flex-basis: 100%;
  }
  .carousel-controls {
    gap: 12px;
  }
  .carousel-arrow {
    width: 48px;
    height: 48px;
  }
  .faq-head {
    margin-bottom: 28px;
  }
  .faq-question {
    padding: 20px 18px;
    font-size: 1rem;
  }
  .faq-answer {
    padding: 0 18px 20px;
  }
  .faq-icon {
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    font-size: 0;
  }
  .carousel-dots {
    min-width: 96px;
    gap: 7px;
  }
  .cards,
  .service-card-grid,
  .process-grid,
  .gallery-grid,
  .gallery-grid.large,
  .feature-columns,
  .footer-grid,
  .form-grid,
  .service-links {
    grid-template-columns: 1fr;
  }
  .process-grid {
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
  }
  .cards:has(> .card:nth-child(4):last-child) {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .gallery-item.wide { grid-column: span 1; }
}

.eyebrow,
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-services-list a:hover,
.mobile-services-list a:focus,
.text-link,
.site-footer h3,
.footer-social span,
.process-timeline span {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: rgba(6, 79, 158, 0.38);
}

.btn-primary,
.phone-link,
.service-category-icon,
.feature-points span,
.story-list-number,
.visual-checklist li::before,
.carousel-dot.is-active {
  background: var(--red);
}

.btn-primary:hover,
.phone-link:hover {
  background: var(--red-dark);
}

.btn-secondary,
.btn-outline,
.cta-band .btn-secondary {
  border-color: var(--red);
  color: var(--red);
}

.btn-secondary:hover,
.btn-outline:hover,
.cta-band .btn-secondary:hover {
  background: var(--red);
  color: var(--white);
}

.hero .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.hero .btn-secondary:hover {
  background: var(--white);
  color: var(--red);
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(4, 18, 38, 0.48), rgba(4, 18, 38, 0.58)),
    linear-gradient(90deg, rgba(4, 18, 38, 0.38), rgba(4, 18, 38, 0.12) 54%, rgba(4, 18, 38, 0.38));
}

.hero::after {
  background: radial-gradient(ellipse at center, rgba(4, 18, 38, 0.32) 0%, rgba(4, 18, 38, 0.22) 42%, rgba(4, 18, 38, 0.07) 74%, rgba(4, 18, 38, 0) 100%);
}

.brand {
  min-width: 132px;
}

.brand-logo {
  width: 142px;
  max-height: 54px;
  border-radius: 2px;
  object-fit: contain;
}

.site-footer .brand-logo {
  width: 126px;
  max-height: 52px;
}

.phone-link {
  min-height: 46px;
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 900;
}

.cards .card,
.process-grid .card,
.why-cards .card {
  display: flex;
  flex-direction: column;
}

.cards .card .text-link,
.process-grid .card .text-link,
.why-cards .card .text-link {
  margin-top: auto;
  padding-top: 14px;
}

.service-card-body {
  min-height: 250px;
}

.service-page-intro .lead + p,
.service-page-intro p + p,
.service-copy p + p {
  margin-top: 16px;
}

.service-copy h2 + p,
.service-copy h2 + .lead {
  margin-top: 18px;
}

.cta-band {
  border-top-color: var(--accent);
}

.site-footer {
  border-top-color: var(--accent);
}

.gallery-item img,
.carousel-slide img,
.service-image img,
.service-slider-image img,
.image-frame img,
.proof-item img {
  background: var(--cream);
}

.object-top {
  object-position: center top;
}

.object-bottom {
  object-position: center bottom;
}

.object-left {
  object-position: left center;
}

.object-right {
  object-position: right center;
}

.object-mid {
  object-position: center 42%;
}

.object-contain {
  object-fit: contain !important;
  background: var(--white);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.contact-details-grid .contact-item {
  min-height: 126px;
}

.gallery-kicker-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.gallery-kicker-grid span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--red-deep);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.service-breadcrumb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.service-breadcrumb-links .text-link {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.map-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 28px;
  border: 1px dashed var(--red-line);
  border-radius: 14px;
  background: var(--red-soft);
  text-align: center;
}

.map-placeholder h3 {
  color: var(--red-deep);
}

.map-placeholder p {
  max-width: 560px;
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .brand-logo {
    width: 130px;
    max-height: 50px;
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    display: flex;
    min-height: 68px;
    padding: 10px 0;
  }

  .brand {
    grid-column: auto;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-logo {
    width: 116px;
    max-height: 46px;
  }

  .header-actions {
    grid-column: auto;
    flex: 0 0 auto;
    gap: 8px;
  }

  .phone-link {
    min-height: 42px;
    padding: 11px 13px;
    font-size: 0.9rem;
  }

  .phone-icon {
    display: block;
  }

  .menu-toggle {
    flex-basis: 42px;
    width: 42px;
    min-width: 42px;
    height: 42px;
  }

  .contact-details-grid,
  .gallery-kicker-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .actions {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .phone-link {
    padding: 10px 11px;
    font-size: 0.84rem;
  }

  .brand-logo {
    width: 104px;
  }
}

/* Final mobile/header polish after legacy overrides */
.brand {
  min-width: 176px;
}

.brand-logo {
  width: 176px;
  max-height: 58px;
  object-fit: contain;
}

.site-footer .brand-logo {
  width: 190px;
  max-height: 62px;
}

@media (max-width: 1180px) {
  .brand {
    min-width: 146px;
  }

  .brand-logo {
    width: 146px;
    max-height: 52px;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 128px;
  }

  .brand-logo {
    width: 128px;
    max-height: 46px;
  }

  .phone-link {
    display: inline-grid;
    place-items: center;
    width: 46px;
    min-width: 46px;
    padding: 0;
  }

  .phone-link span {
    display: none;
  }

  .phone-icon {
    display: block;
    width: 19px;
    height: 19px;
  }
}

/* Premium minimal refresh for Croatian Electric 2026 */
.brand {
  min-width: 176px;
}

.brand-logo {
  width: 176px;
  max-height: 58px;
  object-fit: contain;
}

.site-footer .brand-logo {
  width: 190px;
  max-height: 62px;
}

.desktop-nav {
  gap: clamp(9px, 0.78vw, 15px);
  font-size: clamp(0.8rem, 0.82vw, 0.91rem);
}

.area-dropdown {
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  min-width: 390px;
}

.phone-link {
  border-radius: 8px;
  padding-right: clamp(16px, 1.25vw, 20px);
  padding-left: clamp(16px, 1.25vw, 20px);
  font-size: 0.98rem;
}

.home-hero .hero-inner {
  min-height: 610px;
}

.home-hero h1 {
  max-width: 1060px;
  font-size: clamp(2.15rem, 4vw, 4.15rem);
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(8, 18, 35, 0.42), rgba(8, 18, 35, 0.46)),
    linear-gradient(90deg, rgba(8, 18, 35, 0.24), rgba(8, 18, 35, 0.08) 52%, rgba(8, 18, 35, 0.22));
}

.hero::after {
  background: radial-gradient(ellipse at center, rgba(8, 18, 35, 0.32) 0%, rgba(8, 18, 35, 0.2) 42%, rgba(8, 18, 35, 0) 76%);
}

.compact-head {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.compact-head .lead {
  margin-right: auto;
  margin-left: auto;
}

.sleek-cards .card,
.service-card,
.area-card {
  box-shadow: 0 12px 30px rgba(8, 31, 61, 0.07);
}

.sleek-cards .card {
  padding: 28px;
}

.sleek-cards .card p {
  color: var(--text-muted);
}

.proof-item {
  position: relative;
}

.proof-item figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--red-deep);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(8, 31, 61, 0.12);
}

.premium-minimal {
  background: #fff;
}

.premium-minimal .homeowner-call-inner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.area-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.area-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.area-card-image {
  overflow: hidden;
  height: 194px;
  border-radius: var(--radius);
  background: var(--cream);
}

.area-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.area-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.area-card p {
  margin-bottom: 14px;
  color: var(--text-muted);
}

.hours-list,
.contact-hours-list {
  display: grid;
  gap: 8px;
  max-width: 420px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hours-list li,
.contact-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}

.hours-list strong,
.contact-hours-list strong {
  color: var(--red-deep);
}

.contact-list a {
  color: inherit;
}

.contact-list a:hover {
  color: var(--red);
}

.area-pill-list li a,
.footer-area-list li a {
  display: block;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 1180px) {
  .brand {
    min-width: 146px;
  }

  .brand-logo {
    width: 146px;
    max-height: 52px;
  }

  .phone-link {
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 900px) {
  .area-card-grid {
    grid-template-columns: 1fr;
  }

  .area-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 128px;
  }

  .brand-logo {
    width: 128px;
    max-height: 46px;
  }

  .phone-link span {
    display: none;
  }

  .phone-link {
    width: 46px;
    min-width: 46px;
    padding: 0;
  }

  .phone-icon {
    display: block;
  }

  .area-card {
    grid-template-columns: 1fr;
  }

  .area-card-image {
    height: 210px;
  }

  .proof-item figcaption {
    right: 10px;
    bottom: 10px;
    font-size: 0.78rem;
  }

  .hours-list li,
  .contact-hours-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}

/* Final content-depth overrides for the Croatian Electric service expansion. */
.site-footer .footer-grid {
  grid-template-columns: minmax(180px, 1.15fr) minmax(120px, 0.65fr) minmax(170px, 0.9fr) minmax(160px, 0.85fr) minmax(190px, 1fr);
  gap: 24px;
}

.site-footer .footer-area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .brand {
  justify-content: flex-start;
}

.site-footer .brand-logo {
  margin-right: auto;
  margin-left: 0;
}

@media (max-width: 1040px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-footer .footer-grid,
  .site-footer .footer-area-list {
    grid-template-columns: 1fr;
  }
}

.section.homeowner-call-section {
  padding: 44px 0 48px;
  background: var(--white);
}

.section.homeowner-before-section {
  padding-bottom: 46px;
}

.section.homeowner-call-section + .section {
  padding-top: 46px;
}

.homeowner-call-inner {
  display: grid;
  justify-items: center;
  max-width: 950px;
  text-align: center;
}

.homeowner-call-inner h2 {
  max-width: 900px;
  font-size: clamp(2.05rem, 4.1vw, 3.25rem);
  line-height: 1.08;
}

.homeowner-call-inner .lead {
  max-width: 820px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.62;
}

.homeowner-value-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  width: 100%;
  margin-top: 34px;
  text-align: left;
}

.homeowner-value-row article {
  min-width: 0;
}

.homeowner-value-row span {
  position: relative;
  display: block;
  padding-top: 16px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.22;
}

.homeowner-value-row span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.homeowner-value-row p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .homeowner-value-row {
    grid-template-columns: 1fr;
    max-width: 560px;
    gap: 24px;
    margin-top: 30px;
  }

  .homeowner-value-row article {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .section.homeowner-call-section {
    padding: 40px 0 42px;
  }

  .section.homeowner-before-section {
    padding-bottom: 40px;
  }

  .section.homeowner-call-section + .section {
    padding-top: 42px;
  }

  .homeowner-call-inner h2 {
    width: min(100%, 360px);
    font-size: clamp(1.85rem, 7.2vw, 2.25rem);
  }

  .homeowner-call-inner .lead {
    width: min(100%, 360px);
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.58;
  }

  .homeowner-value-row {
    width: min(100%, 360px);
  }
}

.issue-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  max-width: 1100px;
  margin: 34px auto 0;
}

.service-step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: 1100px;
  margin: 34px auto 0;
}

.issue-grid article,
.service-step-row article {
  min-width: 0;
  padding-top: 18px;
  border-top: 3px solid var(--accent);
}

.issue-grid article {
  flex: 1 1 300px;
  max-width: calc((1100px - 52px) / 3);
}

.issue-grid h3,
.service-step-row h3 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.issue-grid p,
.service-step-row p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.service-step-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 950px;
}

.service-step-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.area-pill-list,
.contact-area-list,
.footer-area-list {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.area-pill-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0 0;
}

.area-pill-list li,
.contact-area-list li {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.contact-area-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0 0;
}

.footer-grid {
  grid-template-columns: minmax(180px, 1.15fr) minmax(120px, 0.65fr) minmax(170px, 0.9fr) minmax(160px, 0.85fr) minmax(190px, 1fr);
  gap: 24px;
}

.footer-area-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  gap: 6px 12px;
}

.footer-area-list li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.service-signs-section {
  background: var(--white);
}

.service-process-section {
  background: var(--cream);
}

@media (max-width: 1040px) {
  .issue-grid article {
    flex-basis: 300px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-pill-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .service-step-row {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }

  .issue-grid {
    gap: 22px;
    margin-top: 28px;
  }

  .issue-grid article {
    flex-basis: 100%;
    max-width: none;
  }

  .area-pill-list,
  .contact-area-list,
  .footer-area-list {
    grid-template-columns: 1fr;
  }
}

/* Hard override for the shared bottom CTA sections. Keep these centered even
   when page-specific containers or mobile button rules are active. */
body .section.cta-band {
  text-align: center !important;
}
body .section.cta-band > .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
body .section.cta-band .eyebrow,
body .section.cta-band h2,
body .section.cta-band p {
  width: 100%;
  max-width: 880px;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: center !important;
}
body .section.cta-band .lead {
  max-width: 720px;
}
body .section.cta-band .hero-actions,
body .section.cta-band .actions {
  width: auto !important;
  max-width: 100%;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 700px) {
  body .section.cta-band > .container {
    width: calc(100% - 32px);
  }
  body .section.cta-band h2 {
    max-width: 260px;
    font-size: clamp(1.35rem, 5.6vw, 1.55rem);
    overflow-wrap: normal;
  }
  body .section.cta-band .lead,
  body .section.cta-band p:not(.eyebrow) {
    max-width: 260px;
    font-size: 0.95rem;
  }
  body .section.cta-band .hero-actions,
  body .section.cta-band .actions {
    width: min(100%, 340px) !important;
    display: grid !important;
    justify-items: center !important;
  }
}

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    box-shadow: 0 8px 22px rgba(20, 18, 17, 0.06);
  }

  .nav-wrap {
    width: calc(100% - 24px);
    min-height: 0;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .brand {
    justify-content: center;
  }

  .brand-logo {
    width: 118px;
    max-height: 54px;
  }

  .header-actions {
    justify-content: center;
    gap: 10px;
  }

  .phone-link {
    flex: 1 1 auto;
    max-width: 210px;
    min-height: 44px;
    padding: 12px 14px;
    font-size: 0.96rem;
  }

  .phone-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 88px;
    height: 44px;
    padding: 0 14px;
    border-color: var(--red);
    border-radius: 12px;
    background: var(--red);
    color: var(--white);
    line-height: 1;
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.18);
  }

  .menu-toggle::after {
    content: "Menu";
    margin-left: 7px;
    font-size: 0.88rem;
  }

  .mobile-panel {
    max-height: calc(100dvh - 126px);
    overflow-y: auto;
  }

  .mobile-panel a,
  .mobile-services-toggle {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-inner,
  .home-hero .hero-inner,
  .services-hero .hero-inner,
  .inner-hero .hero-inner {
    min-height: 360px;
    padding: 40px 0;
  }

  .hero-inner > div,
  .home-hero .hero-inner > div,
  .services-hero .hero-inner > div,
  .inner-hero .hero-inner > div {
    max-width: 326px;
  }

  .hero .eyebrow,
  .home-hero .eyebrow {
    max-width: 310px;
    margin-right: auto;
    margin-left: auto;
    font-size: 0.74rem;
    line-height: 1.35;
    letter-spacing: 0.07em;
  }

  .hero h1,
  .home-hero h1,
  .services-hero h1,
  .inner-hero h1 {
    max-width: 326px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.62rem, 6.8vw, 2rem);
    line-height: 1.08;
    text-wrap: balance;
    overflow-wrap: normal;
  }

  .hero p,
  .home-hero p,
  .services-hero p,
  .inner-hero p {
    max-width: 316px;
    margin-top: 14px;
    font-size: 0.97rem;
    line-height: 1.48;
    overflow-wrap: normal;
  }

  .hero-actions,
  .actions {
    width: min(100%, 300px);
    margin-right: auto;
    margin-left: auto;
    gap: 10px;
  }

  .btn {
    min-height: 48px;
    padding: 13px 16px;
  }

  .section {
    padding: 44px 0;
  }

  .section-head.center,
  .gallery-title,
  .services-slider-head {
    max-width: 330px;
  }

  .section-head.center h2,
  .gallery-title h2,
  .services-slider-head h2,
  .feature-copy h2 {
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
    line-height: 1.13;
    text-wrap: balance;
  }

  .section-head.center .lead,
  .gallery-title .lead,
  .services-slider-head .lead,
  .feature-copy .lead {
    max-width: 320px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .trust-section {
    padding: 36px 0 44px;
  }

  .trust-grid {
    max-width: 330px;
    gap: 12px;
  }

  .trust-item,
  .trust-item:last-child {
    padding: 20px 18px;
  }

  .cards,
  .service-card-grid,
  .process-grid,
  .gallery-grid,
  .gallery-grid.large,
  .feature-columns,
  .footer-grid,
  .form-grid,
  .service-links {
    gap: 14px;
  }

  .card,
  .feature-card,
  .service-card-body,
  .service-slider-body {
    padding: 18px;
  }

  .carousel-slide,
  .services-carousel .carousel-slide {
    flex-basis: 88%;
  }

  .service-slider-body h3,
  .service-card-body h3 {
    font-size: 1.08rem;
  }

  .service-slider-body p,
  .service-card-body p {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .contact-page main {
    height: auto;
    min-height: calc(100dvh - 126px);
    overflow: visible;
  }

  .contact-page .contact-form-section {
    height: auto;
    min-height: calc(100dvh - 126px);
    padding: 18px 0 0;
  }

  .contact-page #request-form .section-head {
    max-width: 360px;
    margin-bottom: 12px;
    padding: 0 14px;
  }

  .contact-page #request-form .section-head h2 {
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.35rem, 6vw, 1.55rem);
    line-height: 1.15;
    text-wrap: balance;
  }

  .contact-page #request-form .section-head .lead {
    max-width: 340px;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .contact-page .request-frame-card {
    overflow: hidden;
  }

  .contact-page .request-frame-card iframe {
    width: 122%;
    height: 1220px;
    min-height: 1220px;
    transform: scale(0.82);
    transform-origin: top left;
  }

  .contact-page .request-frame-fallback {
    display: block;
    padding: 14px 16px 18px;
  }
}

@media (max-width: 1040px) {
  html,
  body {
    overflow-x: clip;
  }

  .container {
    width: min(100% - 48px, var(--max));
  }

  .site-header {
    box-shadow: 0 8px 22px rgba(20, 18, 17, 0.06);
  }

  .nav-wrap {
    min-height: 0;
    padding: 14px 0;
  }

  .brand-logo {
    width: 124px;
    max-height: 58px;
  }

  .header-actions {
    gap: 12px;
  }

  .phone-link {
    min-height: 46px;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .menu-toggle {
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 92px;
    height: 46px;
    padding: 0 16px;
    border-color: var(--red);
    border-radius: 12px;
    background: var(--red);
    color: var(--white);
    line-height: 1;
    box-shadow: 0 10px 22px rgba(200, 16, 46, 0.16);
  }

  .menu-toggle::after {
    content: "Menu";
    margin-left: 8px;
    font-size: 0.9rem;
  }

  .hero-inner {
    padding: 64px 0;
  }

  .home-hero .hero-inner,
  .services-hero .hero-inner,
  .inner-hero .hero-inner {
    min-height: 500px;
  }

  .hero-inner > div,
  .home-hero .hero-inner > div,
  .services-hero .hero-inner > div,
  .inner-hero .hero-inner > div {
    width: min(100%, 720px);
    max-width: none;
  }

  .hero .eyebrow,
  .hero h1,
  .hero p,
  .home-hero .eyebrow,
  .home-hero h1,
  .home-hero p,
  .services-hero h1,
  .services-hero p,
  .inner-hero h1,
  .inner-hero p {
    max-width: none;
  }

  .hero h1,
  .home-hero h1,
  .services-hero h1,
  .inner-hero h1 {
    font-size: clamp(2.15rem, 5.4vw, 3.45rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  .home-hero p,
  .services-hero p,
  .inner-hero p {
    width: min(100%, 680px);
    font-size: clamp(1.02rem, 2.5vw, 1.18rem);
    line-height: 1.48;
  }

  .hero-actions,
  .actions,
  .split-actions,
  .cta-band .hero-actions,
  .cta-band .actions {
    justify-content: center;
    justify-items: center;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .split-actions {
    width: min(100%, 520px);
  }

  .trust-section .container {
    width: min(100% - 48px, 860px);
  }

  .trust-grid {
    width: 100%;
    max-width: none;
  }

  .trust-item {
    min-width: 0;
    padding: 28px 26px;
    text-align: center;
  }

  .trust-item p {
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.5;
  }

  .feature-grid,
  .home-feature-grid,
  .split {
    gap: 34px;
  }

  .feature-copy,
  .split > div:first-child,
  .home-area-section .split > div:first-child {
    width: min(100%, 760px);
    margin-right: auto;
    margin-left: auto;
  }

  .feature-copy h2,
  .section-head h2,
  .section-head.center h2,
  .gallery-title h2,
  .faq-head h2,
  .cta-band h2 {
    max-width: 760px;
    font-size: clamp(2rem, 4.8vw, 3rem);
    line-height: 1.12;
    text-wrap: balance;
  }

  .feature-copy .lead,
  .section-head .lead,
  .section-head.center .lead,
  .gallery-title .lead,
  .faq-head p,
  .cta-band .lead {
    max-width: 680px;
    line-height: 1.52;
  }

  .feature-points {
    width: min(100%, 760px);
    margin-right: auto;
    margin-left: auto;
  }

  .feature-points article {
    padding: 22px 0;
  }

  .home-feature-section .container {
    width: min(100% - 32px, 1020px);
  }

  .home-feature-section .feature-copy,
  .home-feature-section .feature-points {
    width: 100%;
    max-width: none;
  }

  .home-feature-section .feature-copy h2 {
    width: 100%;
    max-width: 920px;
    font-size: clamp(2rem, 4.15vw, 2.75rem);
  }

  .home-feature-section .feature-copy .lead {
    width: 100%;
    max-width: 860px;
  }

  .home-feature-section .feature-points {
    gap: 16px;
    border-top: 0;
  }

  .home-feature-section .feature-points article {
    padding: 26px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
  }

  .home-area-section {
    text-align: center;
  }

  .home-area-section .lead {
    margin-right: auto;
    margin-left: auto;
  }

  .home-area-points {
    width: min(100%, 760px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .container,
  .trust-section .container,
  body .section.cta-band > .container {
    width: calc(100% - 40px);
  }

  .nav-wrap {
    width: calc(100% - 40px);
    gap: 10px;
    padding: 8px 0 12px;
  }

  .brand-logo {
    width: 108px;
    max-height: 50px;
  }

  .header-actions {
    width: min(100%, 330px);
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
  }

  .phone-link {
    max-width: none;
    min-height: 44px;
    padding: 12px 16px;
    font-size: 0.96rem;
  }

  .menu-toggle {
    min-width: 88px;
    height: 44px;
    padding: 0 14px;
  }

  .mobile-panel {
    max-height: calc(100dvh - 120px);
  }

  .hero-inner,
  .home-hero .hero-inner,
  .services-hero .hero-inner,
  .inner-hero .hero-inner {
    min-height: 430px;
    padding: 44px 0;
  }

  .hero-inner > div,
  .home-hero .hero-inner > div,
  .services-hero .hero-inner > div,
  .inner-hero .hero-inner > div {
    width: 100%;
    max-width: none;
  }

  .hero .eyebrow,
  .home-hero .eyebrow {
    width: min(100%, 350px);
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .hero h1,
  .home-hero h1,
  .services-hero h1,
  .inner-hero h1 {
    width: min(100%, 350px);
    max-width: none;
    font-size: clamp(2rem, 8.5vw, 2.55rem);
    line-height: 1.08;
  }

  .hero p,
  .home-hero p,
  .services-hero p,
  .inner-hero p {
    width: min(100%, 350px);
    max-width: none;
    font-size: clamp(1rem, 4vw, 1.08rem);
    line-height: 1.5;
  }

  .hero-actions,
  .actions,
  .split-actions,
  body .section.cta-band .hero-actions,
  body .section.cta-band .actions {
    width: min(100%, 350px) !important;
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .trust-section {
    padding: 34px 0 42px;
  }

  .trust-grid {
    max-width: none;
    gap: 12px;
  }

  .trust-item,
  .trust-item:last-child {
    width: 100%;
    padding: 22px 20px;
  }

  .trust-item p {
    max-width: 310px;
  }

  .feature-copy,
  .split > div:first-child,
  .home-area-section .split > div:first-child {
    width: 100%;
  }

  .feature-copy h2,
  .section-head h2,
  .section-head.center h2,
  .gallery-title h2,
  .faq-head h2,
  .cta-band h2,
  body .section.cta-band h2 {
    width: min(100%, 350px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.75rem, 7.4vw, 2.2rem);
    line-height: 1.12;
  }

  .feature-copy .lead,
  .section-head .lead,
  .section-head.center .lead,
  .gallery-title .lead,
  .faq-head p,
  .cta-band .lead,
  body .section.cta-band .lead,
  body .section.cta-band p:not(.eyebrow) {
    width: min(100%, 350px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    font-size: 1rem;
    line-height: 1.52;
  }

  .feature-points {
    width: 100%;
  }

  .feature-points article,
  .story-list li {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 20px;
  }

  .home-feature-section .container {
    width: calc(100% - 32px);
  }

  .home-feature-section .feature-copy h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(1.75rem, 6.7vw, 2rem);
    line-height: 1.12;
  }

  .home-feature-section .feature-copy .lead {
    width: 100%;
    max-width: none;
  }

  .home-feature-section .feature-points {
    width: 100%;
    gap: 12px;
  }

  .home-feature-section .feature-points article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 20px;
  }

  .home-feature-section .feature-points h3 {
    align-self: center;
  }

  .home-feature-section .feature-points p {
    grid-column: 2;
    margin-top: 0;
  }

  .trust-item p {
    width: 100%;
    max-width: none;
  }

  .home-area-points {
    width: 100%;
    gap: 10px;
  }

  .home-area-points li {
    min-height: 62px;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .cards,
  .service-card-grid,
  .process-grid,
  .gallery-grid,
  .gallery-grid.large,
  .feature-columns,
  .footer-grid,
  .form-grid,
  .service-links {
    gap: 14px;
  }

  .card,
  .feature-card,
  .service-card-body,
  .service-slider-body {
    padding: 20px;
  }

  .contact-page .request-frame-card iframe {
    width: 118%;
    height: 1160px;
    min-height: 1160px;
    transform: scale(0.85);
  }
}

@media (max-width: 430px) {
  .container,
  .trust-section .container,
  body .section.cta-band > .container {
    width: calc(100% - 32px);
  }

  .nav-wrap {
    width: calc(100% - 32px);
  }

  .header-actions {
    width: min(100%, 330px);
  }

  .phone-link {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero h1,
  .home-hero h1,
  .services-hero h1,
  .inner-hero h1 {
    width: min(100%, 358px);
  }

  .hero p,
  .home-hero p,
  .services-hero p,
  .inner-hero p {
    width: min(100%, 358px);
  }
}

@media (max-width: 1040px) {
  .menu-toggle {
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    border-color: var(--red-line);
    background: var(--white);
    color: var(--red);
    font-size: 1.35rem;
    box-shadow: none;
  }

  .menu-toggle::after {
    content: none;
  }

  .trust-item p {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    flex-basis: 48px;
    min-width: 48px;
    height: 48px;
  }
}

/* Croatian Electric final overrides */
.eyebrow,
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-services-list a:hover,
.mobile-services-list a:focus,
.text-link,
.site-footer h3,
.footer-social span,
.process-timeline span {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: rgba(6, 79, 158, 0.38);
}

.btn-primary,
.phone-link,
.service-category-icon,
.feature-points span,
.story-list-number,
.visual-checklist li::before,
.carousel-dot.is-active {
  background: var(--red);
}

.btn-primary:hover,
.phone-link:hover {
  background: var(--red-dark);
}

.btn-secondary,
.btn-outline,
.cta-band .btn-secondary {
  border-color: var(--red);
  color: var(--red);
}

.btn-secondary:hover,
.btn-outline:hover,
.cta-band .btn-secondary:hover {
  background: var(--red);
  color: var(--white);
}

.hero .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.hero .btn-secondary:hover {
  background: var(--white);
  color: var(--red);
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(4, 18, 38, 0.48), rgba(4, 18, 38, 0.58)),
    linear-gradient(90deg, rgba(4, 18, 38, 0.38), rgba(4, 18, 38, 0.12) 54%, rgba(4, 18, 38, 0.38));
}

.hero::after {
  background: radial-gradient(ellipse at center, rgba(4, 18, 38, 0.32) 0%, rgba(4, 18, 38, 0.22) 42%, rgba(4, 18, 38, 0.07) 74%, rgba(4, 18, 38, 0) 100%);
}

.brand {
  min-width: 132px;
}

.brand-logo {
  width: 142px;
  max-height: 54px;
  border-radius: 2px;
  object-fit: contain;
}

.site-footer .brand-logo {
  width: 126px;
  max-height: 52px;
}

.phone-link {
  min-height: 46px;
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 900;
}

.cards .card,
.process-grid .card,
.why-cards .card {
  display: flex;
  flex-direction: column;
}

.cards .card .text-link,
.process-grid .card .text-link,
.why-cards .card .text-link {
  margin-top: auto;
  padding-top: 14px;
}

.service-card-body {
  min-height: 250px;
}

.service-page-intro .lead + p,
.service-page-intro p + p,
.service-copy p + p {
  margin-top: 16px;
}

.service-copy h2 + p,
.service-copy h2 + .lead {
  margin-top: 18px;
}

.cta-band,
.site-footer {
  border-top-color: var(--accent);
}

.gallery-item img,
.carousel-slide img,
.service-image img,
.service-slider-image img,
.image-frame img,
.proof-item img {
  background: var(--cream);
}

.object-top {
  object-position: center top;
}

.object-bottom {
  object-position: center bottom;
}

.object-left {
  object-position: left center;
}

.object-right {
  object-position: right center;
}

.object-contain {
  object-fit: contain !important;
  background: var(--white);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.contact-details-grid .contact-item {
  min-height: 126px;
}

.gallery-kicker-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.gallery-kicker-grid span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--red-deep);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
}

.service-breadcrumb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.service-breadcrumb-links .text-link {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.map-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 28px;
  border: 1px dashed var(--red-line);
  border-radius: 14px;
  background: var(--red-soft);
  text-align: center;
}

.map-placeholder h3 {
  color: var(--red-deep);
}

.map-placeholder p {
  max-width: 560px;
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .brand-logo {
    width: 130px;
    max-height: 50px;
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 10px 0;
  }

  .brand {
    grid-column: auto;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-logo {
    width: 116px;
    max-height: 46px;
  }

  .header-actions {
    grid-column: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    width: auto;
    gap: 8px;
  }

  .phone-link {
    min-height: 42px;
    width: auto;
    padding: 11px 13px;
    font-size: 0.9rem;
  }

  .phone-icon {
    display: block;
  }

  .menu-toggle {
    flex: 0 0 42px;
    width: 42px;
    min-width: 42px;
    height: 42px;
  }

  .contact-details-grid,
  .gallery-kicker-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .actions {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .phone-link {
    padding: 10px 11px;
    font-size: 0.84rem;
  }

  .brand-logo {
    width: 104px;
  }
}

/* EOF refinement override: keep after legacy mobile resets */
.site-header .nav-wrap {
  min-height: 86px;
}

.site-header .brand {
  min-width: 210px;
}

.site-header .brand-logo {
  width: 210px;
  max-height: 66px;
  object-fit: contain;
}

.site-footer .brand-logo {
  width: 210px;
  max-height: 66px;
}

.desktop-nav {
  gap: clamp(8px, 0.62vw, 13px);
  font-size: clamp(0.78rem, 0.78vw, 0.9rem);
}

.trust-section {
  padding: 24px 0 28px;
}

.trust-section .container {
  max-width: 1180px;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: none;
}

.trust-item,
.trust-item:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 15px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item span {
  font-size: 0.98rem;
  line-height: 1.24;
  white-space: normal;
  overflow-wrap: anywhere;
}

.trust-item p {
  display: none;
}

@media (max-width: 1180px) {
  .site-header .nav-wrap {
    min-height: 78px;
  }

  .site-header .brand {
    min-width: 170px;
  }

  .site-header .brand-logo {
    width: 170px;
    max-height: 58px;
  }
}

@media (max-width: 1040px) {
  .site-header .brand {
    min-width: 170px;
  }

  .trust-section {
    padding: 22px 0 26px;
  }

  .trust-section .container {
    width: min(100% - 48px, 760px);
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item,
  .trust-item:last-child {
    min-height: 58px;
    padding: 13px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(2n),
  .trust-item:last-child {
    border-right: 0;
  }

  .trust-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 700px) {
  .site-header .nav-wrap {
    min-height: 66px;
    padding: 8px 0;
  }

  .site-header .brand {
    flex: 0 1 auto;
    min-width: 145px;
    justify-content: flex-start;
  }

  .site-header .brand-logo {
    width: 145px;
    max-height: 52px;
  }

  .hero .eyebrow,
  .home-hero .eyebrow {
    width: min(100%, 320px);
    max-width: 320px;
    font-size: 0.68rem;
    line-height: 1.32;
    overflow-wrap: anywhere;
  }

  .hero h1,
  .home-hero h1,
  .services-hero h1,
  .inner-hero h1 {
    width: min(100%, 320px);
    max-width: 320px;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    overflow-wrap: break-word;
  }

  .hero p,
  .home-hero p,
  .services-hero p,
  .inner-hero p {
    width: min(100%, 320px);
    max-width: 320px;
    font-size: 0.98rem;
    overflow-wrap: break-word;
  }

  .hero-actions,
  .actions,
  .split-actions,
  body .section.cta-band .hero-actions,
  body .section.cta-band .actions {
    width: min(100%, 320px) !important;
  }

  .trust-section {
    padding: 18px 0 24px;
  }

  .trust-section .container {
    width: calc(100% - 32px);
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-radius: 9px;
  }

  .trust-item,
  .trust-item:last-child {
    min-height: 52px;
    padding: 12px 10px;
  }

  .trust-item span {
    font-size: 0.87rem;
    line-height: 1.22;
  }
}

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

  .trust-item,
  .trust-item:last-child,
  .trust-item:nth-child(2n),
  .trust-item:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 360px) {
  .site-header .brand {
    min-width: 132px;
  }

  .site-header .brand-logo {
    width: 132px;
  }
}

/* Hero CTA emphasis */
.hero .hero-actions {
  gap: 20px;
  margin-top: 34px;
}

.hero .btn {
  min-height: 64px;
  min-width: 176px;
  padding: 20px 34px;
  border-radius: 14px;
  font-size: 1.12rem;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(4, 18, 38, 0.2);
}

.hero .btn-primary {
  background: #075fb8;
  box-shadow: 0 18px 34px rgba(7, 95, 184, 0.34);
}

.hero .btn-primary:hover {
  background: #044f9f;
  box-shadow: 0 20px 38px rgba(7, 95, 184, 0.42);
}

.hero .btn-secondary {
  border: 2px solid var(--white);
  background: rgba(255, 255, 255, 0.94);
  color: #064f9e;
  box-shadow: 0 18px 34px rgba(4, 18, 38, 0.18);
}

.hero .btn-secondary:hover {
  background: var(--white);
  color: #043f82;
  box-shadow: 0 20px 38px rgba(4, 18, 38, 0.24);
}

@media (max-width: 700px) {
  .hero .hero-actions {
    gap: 12px;
    margin-top: 28px;
  }

  .hero .btn {
    min-height: 58px;
    min-width: 0;
    padding: 17px 24px;
    font-size: 1.05rem;
  }
}

/* Croatian Electric refinement pass: sharper CTAs and cleaner mobile header/menu. */
.hero .hero-actions {
  gap: 16px;
  margin-top: 30px;
}

.hero .btn {
  min-height: 56px;
  min-width: 158px;
  padding: 17px 28px;
  border-radius: 6px;
  font-size: 1.04rem;
  box-shadow: 0 12px 22px rgba(4, 18, 38, 0.18);
}

.hero .btn-primary {
  box-shadow: 0 14px 26px rgba(7, 95, 184, 0.28);
}

.hero .btn-secondary {
  border-radius: 6px;
  box-shadow: 0 12px 22px rgba(4, 18, 38, 0.15);
}

.homeowner-value-row article {
  display: grid;
  align-content: start;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(8, 31, 61, 0.06);
}

.homeowner-value-row i {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid var(--red-line);
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.homeowner-value-row span {
  padding-top: 0;
}

.homeowner-value-row span::before {
  content: none;
}

@media (max-width: 1180px) {
  .site-header .mobile-panel {
    width: 100%;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    padding: 10px 20px 18px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 36px rgba(8, 31, 61, 0.12);
  }

  .site-header .mobile-panel > a,
  .site-header .mobile-services-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    margin-top: 8px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--red-deep);
    font-weight: 900;
  }

  .site-header .mobile-services-group {
    border-bottom: 0;
  }

  .site-header .mobile-services-list {
    padding: 8px 0 4px;
  }

  .site-header .mobile-services-list a {
    margin-top: 6px;
    border-radius: 8px;
  }

  .site-header .mobile-panel > a.mobile-call-link,
  .site-header .mobile-call-link {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(6, 79, 158, 0.22);
  }

  .site-header .mobile-panel > a.mobile-call-link span,
  .site-header .mobile-call-link span {
    margin-left: 8px;
    color: inherit;
    font-size: 1rem;
    opacity: 1;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(8, 31, 61, 0.14);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -14px 30px rgba(8, 31, 61, 0.14);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 2px solid var(--red);
    border-radius: 8px;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
  }

  .mobile-sticky-call {
    background: var(--red);
    color: var(--white);
  }

  .mobile-sticky-request {
    background: var(--white);
    color: var(--red);
  }

  .site-header .nav-wrap.container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    max-width: none;
    min-height: 64px;
    margin: 0;
    padding: 8px 16px;
    column-gap: 12px;
  }

  .site-header .nav-wrap {
    justify-content: stretch;
  }

  .site-header .brand {
    width: auto;
    min-width: 0;
    justify-content: flex-start;
  }

  .site-header .brand-logo {
    width: 138px;
    max-height: 50px;
  }

  .site-header .header-actions {
    display: grid;
    grid-template-columns: 44px 44px;
    flex: none;
    width: 96px;
    min-width: 96px;
    margin: 0;
    gap: 8px;
    justify-content: flex-end;
  }

  .site-header .phone-link,
  .site-header .menu-toggle {
    display: inline-grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    place-items: center;
    padding: 0;
    border-radius: 8px;
  }

  .site-header .phone-link span,
  .site-header .menu-toggle::after {
    display: none;
    content: none;
  }

  .site-header .phone-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .site-header .mobile-panel {
    max-height: calc(100dvh - 64px);
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero .hero-actions {
    display: grid;
    width: min(100%, 300px) !important;
    gap: 10px;
    margin-top: 24px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero .btn {
    width: 100%;
    min-height: 52px;
    min-width: 0;
    padding: 15px 18px;
    border-radius: 6px;
    font-size: 1rem;
    box-shadow: 0 10px 18px rgba(4, 18, 38, 0.16);
  }

  .homeowner-value-row article {
    min-height: 0;
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .site-header .nav-wrap.container {
    padding-right: 12px;
    padding-left: 12px;
    column-gap: 8px;
  }

  .site-header .brand-logo {
    width: 124px;
  }

  .site-header .header-actions {
    grid-template-columns: 42px 42px;
    width: 90px;
    min-width: 90px;
    gap: 6px;
  }

  .site-header .phone-link,
  .site-header .menu-toggle {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    flex-basis: 42px;
  }
}

/* Premium navigation refinement: wider desktop menus and cleaner mobile panel. */
@media (min-width: 1181px) {
  .site-header {
    border-bottom-color: rgba(8, 31, 61, 0.11);
    box-shadow: 0 1px 0 rgba(8, 31, 61, 0.04);
  }

  .site-header .nav-wrap {
    max-width: 1240px;
  }

  .desktop-nav {
    gap: 4px;
    font-size: clamp(0.86rem, 0.78vw, 0.93rem);
  }

  .desktop-nav > a,
  .nav-dropdown-link {
    min-height: 40px;
    padding: 10px 9px;
    border-radius: 6px;
    transition: background 160ms ease, color 160ms ease;
  }

  .desktop-nav > a:hover,
  .desktop-nav > a:focus,
  .nav-dropdown:hover .nav-dropdown-link,
  .nav-dropdown:focus-within .nav-dropdown-link {
    background: var(--red-soft);
    color: var(--red);
    outline: none;
  }

  .desktop-nav a[aria-current="page"],
  .nav-dropdown-link[aria-current="page"] {
    background: transparent;
    color: var(--accent);
  }

  .nav-dropdown {
    min-height: 64px;
  }

  .nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    right: -10px;
    left: -10px;
    height: 14px;
  }

  .nav-dropdown-link {
    gap: 8px;
  }

  .nav-dropdown-link::after {
    width: 8px;
    height: 8px;
    opacity: 0.75;
  }

  .services-dropdown {
    top: calc(100% + 8px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(780px, calc(100vw - 48px));
    min-width: 0;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    border-color: rgba(8, 31, 61, 0.12);
    background: #ffffff;
    box-shadow: 0 22px 46px rgba(8, 31, 61, 0.13);
    transform: translate(-50%, 8px);
    transition: transform 140ms ease;
  }

  .area-dropdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(560px, calc(100vw - 48px));
  }

  .services-dropdown a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--red-deep);
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.22;
    white-space: normal;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
  }

  .services-dropdown a:hover,
  .services-dropdown a:focus {
    border-color: var(--red-line);
    background: var(--red-soft);
    color: var(--red);
  }
}

@media (max-width: 1180px) {
  .site-header .mobile-panel {
    padding: 12px 16px 18px;
    background: #f8fafc;
  }

  .site-header .mobile-panel > a,
  .site-header .mobile-services-toggle {
    min-height: 50px;
    margin-top: 8px;
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 1px 0 rgba(8, 31, 61, 0.03);
  }

  .site-header .mobile-services-group.is-open .mobile-services-toggle {
    border-color: var(--red-line);
    color: var(--red);
  }

  .site-header .mobile-services-list {
    gap: 6px;
    padding: 8px 0 4px;
  }

  .site-header .mobile-services-list a {
    margin-top: 0;
    padding: 11px 12px;
    border-color: rgba(8, 31, 61, 0.11);
    border-radius: 6px;
    background: var(--white);
    color: var(--red-deep);
    font-size: 0.92rem;
    line-height: 1.24;
  }

  .site-header .mobile-services-list a:hover,
  .site-header .mobile-services-list a:focus {
    border-color: var(--red-line);
    background: var(--red-soft);
    color: var(--red);
    box-shadow: none;
  }

  .site-header .mobile-panel > a.mobile-call-link,
  .site-header .mobile-call-link {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
    box-shadow: 0 10px 22px rgba(6, 79, 158, 0.22);
  }
}

/* Desktop nav width correction: spread the visible menu, not only the dropdown. */
@media (min-width: 1320px) {
  .site-header .nav-wrap.container {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(720px, 1fr) minmax(160px, 210px);
    width: min(calc(100% - 100px), 1640px);
    max-width: 1640px;
    column-gap: clamp(24px, 2.4vw, 48px);
  }

  .site-header .brand {
    min-width: 0;
    justify-self: start;
  }

  .site-header .desktop-nav {
    width: min(100%, 980px);
    justify-self: center;
    justify-content: space-between;
    gap: clamp(12px, 1.1vw, 28px);
    font-size: clamp(1.02rem, 0.96vw, 1.12rem);
    font-weight: 900;
  }

  .site-header .desktop-nav > a,
  .site-header .nav-dropdown-link {
    min-height: 48px;
    padding-right: clamp(12px, 0.8vw, 18px);
    padding-left: clamp(12px, 0.8vw, 18px);
  }

  .site-header .header-actions {
    justify-self: end;
  }

  .site-header .services-dropdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(980px, calc(100vw - 160px));
  }

  .site-header .area-dropdown {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(720px, calc(100vw - 160px));
  }
}

/* Mobile UX polish: full-width service cards and a calmer coverage prompt. */
.area-coverage-note {
  display: grid;
  gap: 6px;
  max-width: 640px;
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--red-line);
  border-radius: 8px;
  background: var(--red-soft);
  text-align: left;
}

.area-coverage-note strong {
  color: var(--red-deep);
  font-size: 1.04rem;
  font-weight: 950;
  line-height: 1.22;
}

.area-coverage-note span {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.48;
}

@media (max-width: 1040px) {
  .home-area-section .area-coverage-note {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .section.homeowner-call-section {
    padding: 42px 0;
  }

  .section.homeowner-call-section .container.homeowner-call-inner {
    width: calc(100% - 24px);
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .homeowner-call-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    text-align: left;
  }

  .homeowner-call-inner .eyebrow,
  .homeowner-call-inner h2,
  .homeowner-call-inner .lead {
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .homeowner-call-inner h2 {
    font-size: clamp(1.85rem, 7vw, 2.2rem);
  }

  .homeowner-value-row {
    grid-template-columns: minmax(0, 1fr);
    justify-self: stretch;
    width: 100%;
    max-width: none;
    gap: 12px;
    margin-top: 24px;
  }

  .homeowner-value-row article {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 6px 14px;
    min-height: 0;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(8, 31, 61, 0.06);
  }

  .homeowner-value-row i {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .homeowner-value-row span {
    align-self: end;
    font-size: 1.06rem;
  }

  .homeowner-value-row p {
    grid-column: 2;
    margin-top: 0;
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .home-area-section {
    padding: 46px 0;
  }

  .home-area-section .container {
    width: calc(100% - 24px);
  }

  .home-area-section .split {
    gap: 24px;
  }

  .home-area-section .area-coverage-note {
    width: 100%;
    max-width: none;
    margin-top: 20px;
    padding: 16px;
  }

  .home-area-section .split-actions {
    width: 100% !important;
    max-width: none;
  }

  .home-area-section .image-frame {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 8px;
  }
}

@media (max-width: 900px) {
  .gallery-carousel .project-caption {
    padding: 44px 14px 13px;
  }

  .project-caption strong {
    font-size: 0.94rem;
  }

  .project-caption em {
    max-width: 28ch;
    font-size: 0.72rem;
  }
}

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header .nav-wrap.container,
  .hero .hero-inner.container {
    width: 100%;
    max-width: 100vw;
  }

  .hero .hero-inner.container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-inner > div,
  .home-hero .hero-inner > div,
  .services-hero .hero-inner > div,
  .inner-hero .hero-inner > div {
    width: 100%;
    max-width: 350px;
    min-width: 0;
    margin-right: auto;
    margin-left: auto;
  }

  .hero .eyebrow,
  .hero h1,
  .hero p,
  .home-hero .eyebrow,
  .home-hero h1,
  .home-hero p,
  .services-hero h1,
  .services-hero p,
  .inner-hero h1,
  .inner-hero p {
    width: 100%;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    overflow-wrap: anywhere;
  }

  .hero .hero-actions {
    width: min(100%, 300px) !important;
    max-width: calc(100vw - 40px);
    margin-right: auto;
    margin-left: auto;
    justify-items: stretch;
  }

  .hero .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .mobile-sticky-cta {
    width: 100vw;
    max-width: 100vw;
  }

  .mobile-sticky-cta a {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* Final mobile containment pass: keep headers, sections, and sticky CTAs inside the viewport. */
@media (max-width: 700px) {
  html,
  body {
    overflow-x: clip;
  }

  .site-header,
  main,
  section {
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header .nav-wrap.container {
    width: 100%;
    max-width: 100%;
    padding-right: 14px;
    padding-left: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header .header-actions {
    width: auto;
    min-width: 0;
    max-width: 92px;
    grid-template-columns: 42px 42px;
    gap: 8px;
  }

  .site-header .phone-link,
  .site-header .menu-toggle {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }

  .container,
  .container.split,
  .hero .hero-inner.container {
    width: calc(100% - 32px);
    max-width: calc(100vw - 32px);
  }

  .hero .hero-inner.container {
    padding-right: 0;
    padding-left: 0;
  }

  h1,
  h2,
  h3,
  p,
  .lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .mobile-sticky-cta {
    right: 0;
    left: 0;
    width: auto;
    max-width: 100%;
    grid-template-columns: 1fr;
    padding-right: 16px;
    padding-left: 16px;
  }

  .mobile-sticky-cta .mobile-sticky-request {
    display: none;
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
}

/* Final layout polish: tighter desktop nav, scrollable work photos, and aligned area CTA. */
@media (min-width: 1181px) {
  .site-header .nav-wrap.container {
    display: grid;
    grid-template-columns: minmax(190px, 250px) minmax(0, auto) minmax(150px, 190px);
    width: min(calc(100% - 72px), 1380px);
    max-width: 1380px;
    column-gap: 24px;
  }

  .site-header .desktop-nav {
    width: auto;
    max-width: none;
    justify-self: center;
    justify-content: center;
    gap: clamp(18px, 2vw, 34px);
    font-size: clamp(0.96rem, 0.92vw, 1.05rem);
    font-weight: 900;
  }

  .site-header .desktop-nav > a,
  .site-header .nav-dropdown-link {
    min-height: 44px;
    padding-right: clamp(6px, 0.55vw, 10px);
    padding-left: clamp(6px, 0.55vw, 10px);
  }
}

.proof-grid.proof-scroll {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 0 4px 18px;
}

.proof-grid.proof-scroll::-webkit-scrollbar {
  height: 10px;
}

.proof-grid.proof-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(8, 31, 61, 0.08);
}

.proof-grid.proof-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(6, 79, 158, 0.45);
  background-clip: padding-box;
}

.proof-grid.proof-scroll .proof-item {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 330px;
  scroll-snap-align: start;
}

.proof-grid.proof-scroll .proof-item:first-child {
  grid-column: auto;
}

.home-area-section .area-coverage-note,
.home-area-section .split-actions {
  width: min(100%, 640px);
  max-width: 640px;
}

.home-area-section .split-actions {
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
}

.home-area-section .split-actions .btn {
  width: calc(100% - 32px);
  max-width: 608px;
}

@media (max-width: 700px) {
  .proof-grid.proof-scroll {
    margin-right: -4px;
    margin-left: -4px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .proof-grid.proof-scroll .proof-item {
    flex-basis: min(86vw, 340px);
    min-width: min(86vw, 340px);
  }

  .home-area-section .split-actions {
    width: min(100%, 640px) !important;
    max-width: 640px !important;
  }
}
