:root {
  --blue: #0f4d80;
  --blue-2: #155f9b;
  --black: #101418;
  --ink: #1a2028;
  --white: #ffffff;
  --cream: #f7f3ec;
  --soft: #f5f7fa;
  --line: #e3e8ef;
  --muted: #667085;
  --shadow: 0 24px 70px rgba(16, 20, 24, 0.16);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 8px 12px;
  background: var(--black);
  color: var(--white);
  z-index: 999;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 14px 6%;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}
.brand-logo {
  width: min(300px, 45vw);
  height: 62px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-nav a {
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
  font-size: 0.94rem;
}
.nav-button {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white) !important;
}
.menu-toggle {
  display: none;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  color: var(--black);
  font-size: 1.4rem;
  padding: 9px 13px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 92px 6%;
  overflow: hidden;
  color: var(--white);
}
.hero-media, .hero-media img, .hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 12, 18, 0.85) 0%, rgba(7, 12, 18, 0.68) 42%, rgba(7, 12, 18, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 12, 18, 0.65), rgba(7, 12, 18, 0.06));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 890px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}
.hero .eyebrow, .eyebrow.light { color: #bcdcff; }
h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 6.8vw, 5.8rem);
  letter-spacing: -0.065em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  letter-spacing: -0.045em;
}
h3 { font-size: 1.25rem; }
.hero-text {
  max-width: 780px;
  color: rgba(255,255,255,0.88);
  font-size: 1.14rem;
}
.hero-actions, .cta-buttons, .cta-actions-inline, .section-action {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid transparent;
}
.primary { background: var(--blue); color: var(--white); }
.secondary { background: var(--white); color: var(--black); }
.dark { background: var(--black); color: var(--white); }
.outline-dark { border-color: rgba(16,20,24,0.2); color: var(--black); }
.light-button { background: var(--white); color: var(--blue); }
.outline-light { border-color: rgba(255,255,255,0.45); color: var(--white); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.trust-row span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-weight: 800;
}

.section {
  padding: 86px 6%;
}
.section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.section.alt { background: var(--soft); }
.section-heading { margin-bottom: 36px; }
.section-heading.centered { text-align: center; }
.section-heading.centered p { margin-left: auto; margin-right: auto; }
.section-heading p, .split-heading > p {
  color: var(--muted);
  max-width: 720px;
}
.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 34px;
  align-items: end;
}
.service-grid, .project-grid, .gallery-grid {
  display: grid;
  gap: 20px;
}
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(16,20,24,0.06);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: #eaf3fb;
  color: var(--blue);
  font-weight: 900;
}
.service-card p, .project-card p, .gallery-caption p, .about-copy p, .contact-card p {
  color: var(--muted);
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(16,20,24,0.08);
}
.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 240ms ease;
}
.project-card a:hover img { transform: scale(1.035); }
.project-card div { padding: 24px; }
.card-kicker {
  margin: 0 0 8px;
  color: var(--blue) !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}
.section-action { justify-content: center; }

.about-section { background: var(--white); }
.about-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  padding: 44px;
  border-radius: 34px;
  background: var(--cream);
}
.about-copy { font-size: 1.08rem; }

.cta {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.55fr);
  gap: 36px;
  align-items: center;
  margin: 0;
  padding: 78px 6%;
  background: linear-gradient(135deg, var(--blue), #092d4d);
  color: var(--white);
}
.cta > * {
  max-width: 620px;
}
.cta p { color: rgba(255,255,255,0.85); }
.cta-card {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.94);
  color: var(--black);
  box-shadow: var(--shadow);
}
.cta-card a { color: var(--blue); font-weight: 900; }
.cta.compact {
  grid-template-columns: 1fr auto;
  margin: 0 6% 70px;
  border-radius: 32px;
  padding: 42px;
}

.page-hero {
  padding: 88px 6% 50px;
  background: linear-gradient(135deg, var(--cream), var(--white));
}
.page-hero > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.page-hero h1 {
  color: var(--black);
  max-width: 900px;
}
.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(16,20,24,0.08);
}
.gallery-item img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 240ms ease;
}
.gallery-item a:hover img { transform: scale(1.035); }
.gallery-caption { padding: 22px; }
.gallery-caption h3 { margin-bottom: 8px; }
.gallery-caption p:last-child { margin-bottom: 0; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(0,0,0,0.9);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(96vw, 1500px);
  max-height: 88vh;
  border-radius: 18px;
  object-fit: contain;
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 2rem;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 6%;
  background: var(--black);
  color: var(--white);
}
.site-footer p { margin: 6px 0 0; color: rgba(255,255,255,0.78); }
.footer-logo {
  display: block;
  width: min(250px, 55vw);
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 5%;
    right: 5%;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .service-grid, .project-grid, .gallery-grid, .split-heading, .about-panel, .cta, .cta.compact {
    grid-template-columns: 1fr;
  }
  .cta.compact { margin-left: 5%; margin-right: 5%; }
  .hero { min-height: 720px; }
  .hero-overlay {
    background: linear-gradient(0deg, rgba(7,12,18,0.88), rgba(7,12,18,0.4));
  }
}
@media (max-width: 560px) {
  .site-header { padding: 12px 5%; min-height: 76px; }
  .brand-logo { width: min(225px, 62vw); height: 50px; }
  .hero { padding: 70px 5%; min-height: 690px; }
  .section { padding: 62px 5%; }
  .about-panel { padding: 28px; border-radius: 24px; }
  .cta, .cta.compact { padding: 42px 5%; }
  .cta.compact { border-radius: 0; margin-left: 0; margin-right: 0; margin-bottom: 0; }
  .button { width: 100%; }
  .project-card img, .gallery-item img { height: 245px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}


.finish-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.finish-list span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  font-weight: 800;
  color: var(--ink);
}

.interior-section {
  background:
    linear-gradient(135deg, rgba(20, 87, 217, 0.06), rgba(255, 255, 255, 1));
}


.simple-services .service-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-tab {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(255,255,255,1), rgba(247,243,236,0.9));
}

.service-tab h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.service-tab p {
  font-size: 1rem;
}

@media (max-width: 980px) {
  .simple-services .service-grid-three {
    grid-template-columns: 1fr;
  }

  .service-tab {
    min-height: 190px;
  }
}


.approved-section {
  background:
    linear-gradient(180deg, var(--white) 0%, #f8fafc 100%);
}

.approved-panel {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  padding: 28px;
  border-radius: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 55px rgba(16, 20, 24, 0.10);
}

.approved-image {
  overflow: hidden;
  border-radius: 26px;
  min-height: 360px;
}

.approved-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.approved-copy {
  padding: 10px 8px;
}

.approved-copy h2 {
  margin-bottom: 16px;
}

.approved-copy p {
  color: var(--muted);
}

.approved-copy .button {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .approved-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .approved-image,
  .approved-image img {
    min-height: 300px;
  }
}


/* Final SEO additions built on the approved v15 design */
.site-nav a.active {
  color: var(--blue);
}

.service-link-row {
  max-width: var(--max);
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.service-link-row a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(16,20,24,0.05);
}

.footer-member {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-badge {
  width: 170px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: var(--white);
  padding: 6px;
}

.service-page-hero {
  text-align: center;
}

.service-page-hero .hero-actions {
  justify-content: center;
}

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

.service-page-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(16,20,24,0.08);
}

.service-page-card h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.service-page-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 40px;
  align-items: center;
}

.service-detail-copy p {
  color: var(--muted);
}

.service-detail-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-detail-grid,
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.service-detail-grid p {
  color: var(--muted);
}

.checklist-card,
.estimate-form,
.contact-info-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(16,20,24,0.08);
}

.checklist {
  padding-left: 20px;
  margin-bottom: 0;
}

.checklist li {
  margin: 12px 0;
}

.estimate-form {
  display: grid;
  gap: 16px;
}

.estimate-form p,
.contact-info-panel p {
  color: var(--muted);
}

.estimate-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
}

.estimate-form textarea {
  resize: vertical;
}

.small-note {
  font-size: 0.9rem;
}

.member-card {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.member-card img {
  display: block;
  width: min(100%, 250px);
  height: auto;
}

@media (max-width: 980px) {
  .service-page-grid,
  .service-detail-hero,
  .service-detail-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-image img {
    height: 330px;
  }
}

@media (max-width: 560px) {
  .footer-badge {
    width: 155px;
  }

  .service-page-card,
  .checklist-card,
  .estimate-form,
  .contact-info-panel {
    padding: 22px;
  }

  .service-detail-image img {
    height: 280px;
  }
}
