:root {
  --ink: #142720;
  --deep: #0d1d18;
  --paper: #f7f5ef;
  --sand: #e8e3d7;
  --lime: #f2d66d;
  --orange: #ec8a4a;
  --muted: #617069;
  --line: rgba(20, 39, 32, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.section-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.section-space { padding: 118px 0; }

.site-header { width: min(1160px, calc(100% - 48px)); min-height: 88px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 800 16px/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font: 600 10px/1 "DM Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; color: var(--paper); background: var(--ink); border-radius: 50%; font-size: 13px; letter-spacing: -.08em; }
.brand-mark span { color: var(--lime); }
.main-nav { display: flex; align-items: center; gap: 27px; color: #45534d; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.nav-call):hover, .text-link:hover { color: var(--orange); }
.nav-call { padding: 10px 16px; color: var(--ink); border: 1px solid var(--ink); border-radius: 100px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font: 700 14px "DM Sans", sans-serif; }

.hero { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 64px; min-height: 650px; padding: 62px 0 86px; }
.eyebrow { margin: 0 0 18px; color: #8a6700; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
h1, h2, h3 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: -.055em; line-height: 1.04; }
h1 { max-width: 610px; font-size: clamp(48px, 5.3vw, 73px); font-weight: 800; }
h1 em { color: #a27600; font-style: normal; }
.hero-text { max-width: 555px; margin: 27px 0 30px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 0 22px; border-radius: 100px; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--deep); background: var(--lime); }
.text-link { border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 700; }
.text-link span { padding-left: 5px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 48px; color: #516158; font-size: 13px; font-weight: 600; }
.trust-row span::first-letter { color: #789304; }

.hero-visual { position: relative; height: 490px; }
.photo-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; min-height: 100%; color: rgba(247,245,239,.93); background: linear-gradient(135deg, #507269, #173b32); text-align: center; isolation: isolate; }
.site-photo { display: block; width: 100%; object-fit: cover; }
.photo-placeholder::before, .photo-placeholder::after { position: absolute; z-index: -1; content: ""; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.photo-placeholder::before { width: 400px; height: 400px; top: -180px; right: -120px; }
.photo-placeholder::after { width: 245px; height: 245px; bottom: -115px; left: -95px; }
.photo-placeholder span { padding: 8px 13px; border: 1px dashed rgba(255,255,255,.65); border-radius: 5px; font-size: 12px; font-weight: 700; }
.photo-placeholder small { margin-top: 8px; color: rgba(255,255,255,.77); font-size: 11px; }
.hero-photo { height: 490px; min-height: 0; border-radius: 3px; }
.electrician-about-photo { object-position: 67% center; }
.hero-badge { position: absolute; left: -34px; bottom: 36px; display: flex; align-items: center; gap: 12px; padding: 18px 20px; color: var(--deep); background: var(--lime); box-shadow: 0 16px 30px rgba(10,29,21,.14); }
.hero-badge strong { font: 800 31px/1 "Manrope", sans-serif; letter-spacing: -.08em; }
.hero-badge span { font-size: 11px; font-weight: 700; line-height: 1.25; }

.service-strip { color: #e9f3d4; background: var(--deep); }
.service-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 77px; overflow: hidden; }
.service-strip p { flex: none; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.service-strip i { width: 5px; height: 5px; flex: none; background: var(--lime); border-radius: 50%; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 52px; }
.section-heading h2, .about-copy h2, .contact h2 { max-width: 635px; font-size: clamp(35px, 4vw, 53px); }
.section-heading > p { max-width: 340px; margin: 0 0 5px; color: var(--muted); font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.service-card { min-height: 350px; padding: 29px; border: 1px solid var(--line); background: #fbfaf6; }
.service-card-dark { color: #ebf3e5; border-color: var(--deep); background: var(--deep); }
.service-card-accent { background: #e4edba; }
.service-number { margin: 0 0 72px; color: #6e8077; font: 700 12px "Manrope", sans-serif; }
.service-card-dark .service-number { color: var(--lime); }
.service-card h3 { font-size: 31px; }
.service-card > p:not(.service-number) { margin: 17px 0; font-size: 14px; }
.service-card ul { margin: 20px 0 0; padding: 0; list-style: none; font-size: 13px; }
.service-card li { padding: 7px 0; border-top: 1px solid rgba(20,39,32,.15); }
.service-card-dark li { border-color: rgba(235,243,229,.16); }
.service-card li::before { padding-right: 8px; content: "→"; }

.about { padding: 108px 0; background: var(--sand); }
.about-grid { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 100px; }
.about-visual { min-height: 535px; }
.about-photo { min-height: 535px; background: linear-gradient(145deg, #bb8f70, #40372f); }
.about-copy > p:not(.eyebrow) { max-width: 540px; margin: 25px 0 36px; color: #57635d; }
.feature-list { border-top: 1px solid rgba(20,39,32,.18); }
.feature-list > div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 15px 0; border-bottom: 1px solid rgba(20,39,32,.18); font-size: 14px; }
.feature-list strong { color: #a27600; font: 800 14px "Manrope", sans-serif; }
.feature-list b { display: block; }

.process-heading { margin-bottom: 42px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps article { min-height: 205px; padding: 28px 28px 15px 0; border-right: 1px solid var(--line); }
.steps article + article { padding-left: 28px; }
.steps article:last-child { border-right: 0; }
.steps span { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 45px; color: #667b0e; border-radius: 50%; background: #e4edba; font-size: 12px; font-weight: 700; }
.steps h3 { font-size: 20px; }
.steps p { max-width: 260px; margin: 10px 0; color: var(--muted); font-size: 14px; }

.contact { padding-bottom: 85px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 61px; color: #eff8dd; background: #315044; }
.contact-card .eyebrow { color: var(--lime); }
.contact-card h2 { max-width: 520px; }
.contact-card p:not(.eyebrow) { max-width: 530px; margin: 17px 0 0; color: rgba(239,248,221,.74); }
.contact-actions { display: flex; min-width: 190px; flex-direction: column; align-items: flex-start; gap: 14px; }
.button-light { color: var(--deep); background: var(--lime); }
.contact-mail { border-bottom: 1px solid rgba(239,248,221,.5); font-size: 14px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 32px; color: #65726b; font-size: 12px; }
.site-footer a { text-decoration: underline; }

@media (max-width: 820px) {
  .section-shell, .site-header { width: min(100% - 36px, 620px); }
  .section-space { padding: 76px 0; }
  .site-header { min-height: 76px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; z-index: 5; top: 68px; right: 18px; flex-direction: column; align-items: stretch; min-width: 190px; padding: 16px; background: var(--paper); box-shadow: 0 12px 30px rgba(20,39,32,.14); }
  .main-nav.is-open { display: flex; }
  .nav-call { text-align: center; }
  .hero, .about-grid { grid-template-columns: 1fr; gap: 43px; }
  .hero { min-height: auto; padding: 48px 0 70px; }
  .hero-visual, .hero-photo { height: 410px; min-height: 0; }
  .hero-badge { left: -7px; }
  .service-strip-inner { justify-content: flex-start; }
  .service-strip p:nth-of-type(n+3), .service-strip i:nth-of-type(n+3) { display: none; }
  .section-heading, .contact-card { display: block; }
  .section-heading > p { margin-top: 22px; }
  .service-grid, .steps { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-number { margin-bottom: 42px; }
  .about { padding: 76px 0; }
  .about-visual, .about-photo { min-height: 400px; }
  .steps article, .steps article + article { min-height: 0; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps span { margin-bottom: 25px; }
  .contact-card { padding: 42px 28px; }
  .contact-actions { margin-top: 28px; }
  .site-footer { flex-direction: column; gap: 7px; }
}

@media (max-width: 430px) {
  h1 { font-size: 45px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .trust-row { gap: 9px 14px; margin-top: 38px; }
  .trust-row span { font-size: 12px; }
  .hero-badge { bottom: 18px; }
}
