:root {
  --night: #071b3a;
  --ink: #061536;
  --blue: #165dff;
  --blue-dark: #0d47d9;
  --turquoise: #09b7c5;
  --pale: #f3f7fc;
  --text: #162033;
  --muted: #617089;
  --line: #dce6f2;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.08; color: var(--ink); }
p { margin: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 20;
  background: #fff;
  padding: 10px;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid rgba(220, 230, 242, .9);
  box-shadow: 0 6px 22px rgba(7, 27, 58, .05);
}
.header-inner {
  min-height: 96px;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr 150px;
  gap: 24px;
  align-items: center;
}
.brand { text-decoration: none; }
.brand-word {
  width: 188px;
  max-height: 62px;
  object-fit: contain;
}
.brand-mark {
  justify-self: end;
  width: 88px;
  max-height: 72px;
  object-fit: contain;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  align-items: center;
}
.nav a {
  position: relative;
  padding: 32px 0 28px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: .98rem;
}
.nav a.active,
.nav a:hover { color: var(--blue); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}
.menu-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(22, 93, 255, .22);
  cursor: pointer;
}
.btn:hover { background: var(--blue-dark); }
.btn.ghost {
  background: rgba(7, 27, 58, .25);
  color: #fff;
  border-color: rgba(255, 255, 255, .82);
  box-shadow: none;
}
.btn.light {
  background: #fff;
  color: var(--blue-dark);
  border-color: #fff;
  box-shadow: none;
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 27, 58, .95) 0%, rgba(7, 27, 58, .84) 34%, rgba(7, 27, 58, .25) 65%, rgba(7, 27, 58, .02) 100%),
    url("/assets/images/hero-roofing.png") center / cover no-repeat;
}
.hero-content {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
  max-width: none;
}
.hero-content h1 {
  width: min(620px, 100%);
  color: #fff;
  font-size: clamp(2.55rem, 4.3vw, 4.65rem);
  font-weight: 800;
  letter-spacing: 0;
}
.hero-content p {
  width: min(520px, 100%);
  color: #f3f7fc;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  margin-top: 18px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.home-hero .eyebrow {
  color: #6ee8f0;
}
.home-proof {
  width: min(1280px, calc(100% - 40px));
  margin: -46px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 56px rgba(7, 27, 58, .12);
}
.home-proof article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px 30px;
}
.home-proof article + article {
  border-left: 1px solid var(--line);
}
.home-proof strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.home-proof p {
  color: #3d4b66;
  font-size: .92rem;
}
.home-intro {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 58px;
  align-items: center;
  padding: 106px 0 96px;
}
.home-intro-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
}
.home-intro-copy h2 {
  font-size: clamp(2rem, 3.4vw, 3.35rem);
}
.home-intro-copy p:not(.eyebrow) {
  color: #34425e;
  font-size: 1.03rem;
}
.home-intro-image {
  min-height: 430px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(7, 27, 58, .04), rgba(7, 27, 58, .12)),
    url("/assets/images/realisation-renovation.png") center / cover no-repeat;
  box-shadow: 0 22px 56px rgba(7, 27, 58, .12);
}
.home-services {
  padding: 86px clamp(20px, 5vw, 72px) 96px;
}
.home-service-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.home-service-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 27, 58, .08);
}
.home-service-card h3 {
  font-size: 1.32rem;
}
.home-service-card p {
  color: #3d4b66;
}
.home-service-card a {
  align-self: end;
  margin-top: 8px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}
.home-projects {
  padding: 84px max(20px, calc((100vw - 1280px) / 2));
  background:
    linear-gradient(180deg, #fff 0%, #f6faff 100%);
}
.home-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.home-project-grid article {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(7, 27, 58, .08);
}
.home-project-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 58, .02) 34%, rgba(7, 27, 58, .78) 100%);
}
.home-project-grid img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.home-project-grid div {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
}
.home-project-grid span {
  display: block;
  color: #6ee8f0;
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.home-project-grid h3 {
  color: #fff;
  font-size: 1.25rem;
}
.home-project-link {
  margin-top: 28px;
}
.home-project-link a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}
.home-process {
  padding: 88px clamp(20px, 5vw, 72px) 96px;
  background: linear-gradient(180deg, #fff 0%, #f6faff 100%);
}

.service-strip {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 58px;
}
.cards { display: grid; gap: 28px; }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card,
.project-card,
.contact-card,
.form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 27, 58, .08);
}
.service-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 76px 1fr 20px;
  gap: 20px;
  align-items: center;
  padding: 30px 24px;
}
.service-card h2 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}
.service-card p {
  color: #3d4b66;
  font-size: .9rem;
  line-height: 1.42;
}
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--blue);
}
.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.arrow {
  align-self: end;
  color: var(--blue);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
}

.section,
.page-hero {
  padding: clamp(78px, 9vw, 126px) clamp(20px, 5vw, 72px);
}
.showcase-section {
  padding-top: clamp(70px, 8vw, 104px);
  padding-bottom: clamp(70px, 8vw, 104px);
}
.pale { background: linear-gradient(180deg, #f6faff 0%, #eef6ff 100%); }
.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}
.section-head.center,
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2,
.page-hero h1 {
  font-size: clamp(2rem, 3vw, 2.65rem);
}
.section-head h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--turquoise);
  border-radius: 3px;
}

.project-card {
  overflow: hidden;
  padding: 0;
  text-align: left;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.project-card img {
  width: 100%;
  aspect-ratio: 16 / 7.4;
  object-fit: cover;
}
.project-card:not(.image-only) {
  padding: 18px;
}
.project-card:not(.image-only) img {
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.project-card p {
  color: var(--blue);
  font-weight: 800;
  font-size: .82rem;
  margin-bottom: 6px;
}
.project-card span { color: var(--muted); }
.more-link { margin-top: 30px; }
.more-link a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
}

.realisations-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
}
.realisations-hero > div {
  width: min(1040px, 100%);
}
.realisations-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}
.portfolio-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 96px;
}
.portfolio-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}
.portfolio-intro h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3vw, 3rem);
}
.portfolio-intro p:not(.eyebrow) {
  max-width: 760px;
  color: #34425e;
  font-size: 1.03rem;
  margin-top: 14px;
}
.portfolio-filters {
  position: sticky;
  top: 112px;
  z-index: 4;
  margin-bottom: 32px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(7, 27, 58, .07);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.portfolio-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 440px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  text-align: left;
  box-shadow: 0 18px 48px rgba(7, 27, 58, .08);
  cursor: pointer;
}
.portfolio-card.featured {
  grid-column: span 2;
}
.portfolio-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}
.portfolio-card.featured img {
  height: 100%;
  min-height: 440px;
}
.portfolio-card.featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 58, .02) 20%, rgba(7, 27, 58, .78) 100%);
  pointer-events: none;
}
.portfolio-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--blue);
  font-weight: 800;
  font-size: .82rem;
}
.portfolio-card-body {
  display: grid;
  gap: 10px;
  padding: 24px;
}
.portfolio-card.featured .portfolio-card-body {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px;
}
.portfolio-card h2 {
  font-size: 1.45rem;
}
.portfolio-card p {
  color: #3d4b66;
}
.portfolio-card.featured h2,
.portfolio-card.featured p {
  color: #fff;
}
.portfolio-link {
  color: var(--blue);
  font-weight: 800;
}
.portfolio-card.featured .portfolio-link {
  color: #fff;
}
.portfolio-card:hover img {
  transform: scale(1.025);
}
.portfolio-card img {
  transition: transform .24s ease;
}
.portfolio-note {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--night);
  color: #fff;
}
.portfolio-note > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: center;
}
.portfolio-note h2 {
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
}
.portfolio-note p {
  max-width: 760px;
  color: #dce8f6;
}
.ghost-dark {
  background: #fff;
  color: var(--blue-dark);
  border-color: #fff;
  box-shadow: none;
}

.trust-band {
  width: min(1280px, calc(100% - 40px));
  margin: 58px auto 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 27, 58, .06);
}
.trust-band article {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 16px;
  padding: 30px 34px;
}
.trust-band article + article { border-left: 1px solid var(--line); }
.trust-band h2 { font-size: 1.28rem; margin-bottom: 5px; }
.trust-band p { color: #34425e; font-size: .92rem; line-height: 1.4; }

.bottom-cta {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto auto;
  gap: 34px;
  align-items: center;
  padding: 36px max(20px, calc((100vw - 1280px) / 2));
  background: linear-gradient(90deg, #075cff, #0052eb);
  color: #fff;
}
.bottom-cta h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2vw, 2rem);
  margin-bottom: 4px;
}
.bottom-cta p { color: #fff; }
.cta-contact { font-size: 1.08rem; }

.page-hero {
  background: linear-gradient(135deg, var(--pale), #fff);
}
.about-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
}
.about-hero > div {
  width: min(1120px, 100%);
}
.about-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--turquoise);
  font-weight: 800;
  font-size: .78rem;
  margin-bottom: 10px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: clamp(64px, 8vw, 116px) clamp(18px, 5vw, 72px);
  background: #fff;
}
.about-intro {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 58px;
  align-items: center;
  padding: 86px 0;
}
.about-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}
.about-copy p {
  color: #34425e;
  font-size: 1.03rem;
  margin-top: 18px;
}
.about-photo {
  min-height: 380px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(7, 27, 58, .05), rgba(7, 27, 58, .1)),
    url("/assets/images/realisation-toiture.png") center / cover no-repeat;
  box-shadow: 0 22px 54px rgba(7, 27, 58, .12);
}
.about-values-section {
  padding-top: 78px;
  padding-bottom: 90px;
}
.about-values {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-values article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 27, 58, .07);
}
.about-values h3 {
  margin-top: 22px;
  font-size: 1.28rem;
}
.about-values p {
  color: #3d4b66;
}
.about-method {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.method-grid article {
  padding: 24px;
  border-top: 3px solid var(--blue);
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 27, 58, .07);
  border-radius: var(--radius);
}
.method-grid span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--turquoise);
  font-weight: 800;
}
.method-grid h3 {
  font-size: 1.12rem;
}
.method-grid p {
  color: #3d4b66;
  font-size: .92rem;
}
.about-area {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto 82px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--night);
  color: #fff;
}
.about-area h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
}
.about-area p {
  color: #dce8f6;
}
.assurance,
.values,
.steps { display: grid; gap: 14px; }
.assurance strong,
.values span,
.steps span {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--pale);
  color: var(--night);
  font-weight: 800;
}
.service-list {
  padding: 40px clamp(18px, 5vw, 72px) 96px;
  display: grid;
  gap: 28px;
}
.service-detail {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.service-photo {
  height: 320px;
  border-radius: var(--radius);
  background: url("/assets/images/realisation-toiture.png") center / cover no-repeat;
}
.service-photo.isolation { background-image: url("/assets/images/realisation-combles.png"); }
.service-photo.platrerie-peinture { background-image: url("/assets/images/realisation-combles.png"); }
.service-photo.renovation { background-image: url("/assets/images/realisation-renovation.png"); }

.services-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
}
.services-hero > div {
  width: min(1040px, 100%);
}
.services-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}
.services-overview {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 74px;
}
.service-nav-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.service-nav-cards a {
  display: grid;
  gap: 16px;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(7, 27, 58, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-nav-cards a:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 93, 255, .45);
  box-shadow: 0 24px 58px rgba(7, 27, 58, .12);
}
.service-nav-cards strong {
  color: var(--ink);
  font-size: 1.28rem;
}
.service-nav-cards small {
  color: #3d4b66;
  font-size: .94rem;
  line-height: 1.5;
}
.services-showcase {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 42px;
  padding-bottom: 92px;
}
.service-panel {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 60px rgba(7, 27, 58, .09);
}
.service-panel.reverse {
  grid-template-columns: 1.05fr .95fr;
}
.service-panel.reverse .service-panel-image {
  order: 2;
}
.service-panel-image {
  min-height: 520px;
  background: var(--pale);
}
.service-panel-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.service-panel-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: clamp(34px, 5vw, 64px);
}
.service-panel-copy .service-icon {
  margin-bottom: 4px;
}
.service-panel-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}
.service-panel-copy > p:not(.eyebrow) {
  color: #34425e;
}
.service-lead {
  color: var(--ink) !important;
  font-size: 1.14rem;
  font-weight: 800;
}
.service-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 8px 0 8px;
  padding: 0;
  list-style: none;
}
.service-checklist li {
  position: relative;
  padding: 14px 14px 14px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--pale);
  color: var(--ink);
  font-weight: 800;
}
.service-checklist li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.services-method {
  padding: 82px clamp(20px, 5vw, 72px) 90px;
}
.service-method-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-method-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 27, 58, .07);
}
.service-method-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--turquoise);
  font-weight: 800;
}
.service-method-grid h3 {
  font-size: 1.24rem;
}
.service-method-grid p {
  color: #3d4b66;
}
.service-cta {
  width: min(1280px, calc(100% - 40px));
  margin: 88px auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(7, 27, 58, .94), rgba(22, 93, 255, .88)),
    url("/assets/images/hero-roofing.png") center / cover no-repeat;
  color: #fff;
}
.service-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 2.8vw, 2.75rem);
}
.service-cta p:not(.eyebrow) {
  max-width: 740px;
  color: #dce8f6;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}
.filters button.active { background: var(--night); color: #fff; }
.lightbox {
  border: 0;
  border-radius: var(--radius);
  padding: 24px;
  max-width: 760px;
}
.lightbox img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius);
  margin: 18px 0;
}
.lightbox::backdrop { background: rgba(7, 27, 58, .65); }
.lightbox-close { float: right; }

.contact-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
}
.contact-hero > div {
  width: min(980px, 100%);
}
.contact-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}
.contact-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 34px;
  align-items: start;
  padding: 82px 0 96px;
}
.contact-aside {
  display: grid;
  gap: 24px;
  position: sticky;
  top: 124px;
}
.contact-info-card,
.contact-steps,
.form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 27, 58, .08);
}
.contact-info-card {
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(22, 93, 255, .07), rgba(9, 183, 197, .06)),
    #fff;
}
.contact-info-card h2 {
  font-size: 1.7rem;
  margin-bottom: 22px;
}
.contact-info-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}
.contact-info-card dl div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-info-card dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contact-info-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}
.contact-info-card a {
  color: var(--blue);
  text-decoration: none;
}
.contact-steps {
  padding: 30px;
}
.contact-steps h2 {
  font-size: 1.45rem;
  margin-bottom: 20px;
}
.contact-steps ol {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}
.contact-steps li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #edf5ff;
  color: var(--blue);
  font-weight: 800;
  font-size: .82rem;
}
.contact-steps strong {
  display: block;
  color: var(--ink);
  margin-bottom: 3px;
}
.contact-steps p {
  color: #3d4b66;
  font-size: .92rem;
}
.form {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 44px);
}
.form-head {
  max-width: 680px;
  padding-bottom: 8px;
}
.form-head h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
}
.form-head p:not(.eyebrow) {
  color: var(--muted);
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}
.form label span {
  color: var(--muted);
  font-weight: 700;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
  background: #f9fbfe;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form textarea {
  resize: vertical;
  min-height: 170px;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 93, 255, .12);
}
.form ::placeholder {
  color: #8a96aa;
}
.check {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  gap: 12px !important;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--pale);
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.hp { position: absolute; left: -9999px; }
.notice {
  padding: 16px 18px;
  border-radius: var(--radius);
  font-weight: 700;
}
.notice p + p {
  margin-top: 6px;
}
.notice.success {
  background: #e8fbf7;
  color: #064b43;
  border: 1px solid #a7eee2;
}
.notice.error {
  background: #fff0f0;
  color: #8d1720;
  border: 1px solid #ffd0d3;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-actions p {
  max-width: 420px;
  color: var(--muted);
  font-size: .92rem;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 22px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #061021;
  color: #dce8f6;
  font-size: .92rem;
}
.footer h2 {
  font-size: .95rem;
  color: #fff;
  margin-bottom: 8px;
}
.footer a {
  display: block;
  color: #dce8f6;
  text-decoration: none;
  margin: 5px 0;
}
.footer-logo {
  width: 118px;
  margin-bottom: 8px;
}
.footer-credit {
  margin-top: 14px;
  color: #fff;
  font-weight: 800;
}
.footer-credit a {
  display: inline;
  color: #6ee8f0;
  font-size: 1.05rem;
  font-weight: 800;
}
.legal { max-width: 900px; }
.legal-hero {
  min-height: 300px;
  display: flex;
  align-items: center;
}
.legal-hero > div {
  width: min(980px, 100%);
}
.legal-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}
.legal-page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 92px;
}
.legal-content {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(7, 27, 58, .08);
}
.legal-content h2 {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 1.55rem;
}
.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal-content h3 {
  margin-top: 26px;
  font-size: 1.15rem;
}
.legal-content p,
.legal-content li {
  color: #34425e;
}
.legal-content p + p,
.legal-content ul + p,
.legal-content p + ul {
  margin-top: 14px;
}
.legal-content ul {
  margin: 14px 0 0;
  padding-left: 22px;
}
.legal-content li + li {
  margin-top: 8px;
}
.legal-content a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: 190px 1fr 104px; }
  .nav { gap: 24px; }
  .four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-strip { padding-top: 44px; padding-bottom: 52px; }
  .service-card { min-height: 150px; }
  .home-proof,
  .home-intro,
  .home-project-grid { grid-template-columns: 1fr; }
  .home-proof article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-card.featured { grid-column: span 2; }
  .service-nav-cards,
  .service-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-panel,
  .service-panel.reverse {
    grid-template-columns: 1fr;
  }
  .service-panel.reverse .service-panel-image {
    order: 0;
  }
  .service-panel-image,
  .service-panel-image img {
    min-height: 360px;
  }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-aside { position: static; grid-template-columns: 1fr 1fr; }
  .bottom-cta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 76px;
    grid-template-columns: 1fr auto auto;
    width: min(100% - 28px, 1280px);
  }
  .brand-word { width: 145px; }
  .brand-mark { width: 62px; }
  .menu-toggle {
    display: inline-flex;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius);
    font-weight: 800;
  }
  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 12px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav a.active::after { bottom: 7px; }
  .service-strip {
    width: min(100% - 28px, 1280px);
    padding-top: 38px;
    padding-bottom: 46px;
  }
  .home-proof {
    width: min(100% - 28px, 1280px);
    margin-top: -28px;
  }
  .home-proof article {
    grid-template-columns: 64px 1fr;
    padding: 22px;
  }
  .home-intro,
  .home-projects {
    width: auto;
  }
  .home-intro {
    padding: 64px 0;
  }
  .home-intro-image {
    min-height: 280px;
  }
  .home-services,
  .home-process {
    padding: 62px 20px 68px;
  }
  .home-service-grid {
    grid-template-columns: 1fr;
  }
  .home-service-card {
    min-height: auto;
    padding: 24px;
  }
  .home-projects {
    padding: 58px 14px 64px;
  }
  .home-project-grid {
    grid-template-columns: 1fr;
  }
  .home-project-grid article,
  .home-project-grid img {
    min-height: 260px;
  }
  .service-card {
    min-height: auto;
    padding: 24px 20px;
  }
  .portfolio-shell {
    width: min(100% - 28px, 1280px);
    padding: 58px 0 70px;
  }
  .services-overview,
  .services-showcase,
  .service-cta {
    width: min(100% - 28px, 1280px);
  }
  .services-overview {
    padding: 58px 0 54px;
  }
  .services-showcase {
    gap: 28px;
    padding-bottom: 62px;
  }
  .service-nav-cards,
  .service-method-grid,
  .service-checklist,
  .service-cta { grid-template-columns: 1fr; }
  .service-nav-cards a {
    min-height: auto;
    padding: 24px;
  }
  .service-panel-image,
  .service-panel-image img {
    min-height: 260px;
  }
  .service-panel-copy {
    padding: 28px 22px;
  }
  .services-method {
    padding: 58px 20px 64px;
  }
  .service-cta {
    margin: 58px auto;
    padding: 28px;
  }
  .portfolio-intro,
  .portfolio-grid,
  .portfolio-note,
  .portfolio-note > div { grid-template-columns: 1fr; }
  .portfolio-card.featured { grid-column: auto; }
  .portfolio-card,
  .portfolio-card.featured,
  .portfolio-card.featured img { min-height: auto; }
  .portfolio-card img,
  .portfolio-card.featured img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .portfolio-card.featured .portfolio-card-body {
    position: static;
    padding: 24px;
  }
  .portfolio-card.featured::after { display: none; }
  .portfolio-card.featured h2 { color: var(--ink); }
  .portfolio-card.featured p { color: #3d4b66; }
  .portfolio-card.featured .portfolio-link { color: var(--blue); }
  .portfolio-filters {
    position: static;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .portfolio-filters button { white-space: nowrap; }
  .portfolio-note {
    width: min(100% - 28px, 1280px);
    margin-bottom: 56px;
  }
  .showcase-section {
    padding-top: 58px;
    padding-bottom: 62px;
  }
  .trust-band {
    width: min(100% - 28px, 1280px);
    margin: 42px auto 42px;
  }
  .hero {
    min-height: 620px;
    background:
      linear-gradient(180deg, rgba(7, 27, 58, .92) 0%, rgba(7, 27, 58, .72) 52%, rgba(7, 27, 58, .3) 100%),
      url("/assets/images/hero-roofing.png") 58% center / cover no-repeat;
  }
  .hero-content { width: min(100% - 28px, 1280px); padding: 72px 0 230px; }
  .actions .btn { width: 100%; }
  .three,
  .four,
  .trust-band,
  .split,
  .about-intro,
  .about-values,
  .method-grid,
  .about-area,
  .service-detail,
  .contact-grid,
  .contact-aside,
  .field-grid,
  .footer { grid-template-columns: 1fr; }
  .contact-shell {
    width: min(100% - 28px, 1280px);
    padding: 58px 0 70px;
  }
  .contact-info-card,
  .contact-steps,
  .form { padding: 24px; }
  .legal-page {
    width: min(100% - 28px, 980px);
    padding: 48px 0 62px;
  }
  .legal-content {
    padding: 24px;
  }
  .about-intro,
  .about-method { padding: 58px 0; }
  .about-photo { min-height: 260px; }
  .about-area { margin-bottom: 50px; }
  .trust-band article + article { border-left: 0; border-top: 1px solid var(--line); }
  .project-card img { aspect-ratio: 16 / 9; }
  .bottom-cta { grid-template-columns: 1fr; gap: 18px; padding: 36px 20px; }
}

@media (max-width: 420px) {
  .brand-word { width: 124px; }
  .brand-mark { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .service-card { grid-template-columns: 64px 1fr; }
  .service-card .arrow { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  *, html {
    scroll-behavior: auto;
    transition: none !important;
    animation: none !important;
  }
}
