:root {
  --navy: #0d0d1b;
  --navy-2: #17172a;
  --aqua: #39dbc9;
  --green: #18a84b;
  --ink: #181925;
  --muted: #626674;
  --soft: #f2f4f7;
  --line: #dfe2e8;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 22px 55px rgba(13, 13, 27, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.62; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 44px)); margin: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 14px; top: 14px; z-index: 100; padding: 12px 16px; background: #fff; }

.topbar { color: #d9dae1; background: #070712; font-size: .88rem; }
.topbar .wrap { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(13, 13, 27, .98); border-bottom: 1px solid rgba(255,255,255,.12); }
.nav { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.logo-frame { position: relative; width: 178px; height: 94px; flex: 0 0 178px; overflow: hidden; background: #fff; border-radius: 5px; box-shadow: 0 4px 18px rgba(0,0,0,.2); }
.logo-frame img { position: absolute; left: 50%; top: 50%; width: 240px; max-width: none; height: auto; transform: translate(-50%, -50%); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #eeeef3; text-decoration: none; font-size: .91rem; font-weight: 700; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--aqua); }
.header-phone { min-height: 46px; display: inline-flex; align-items: center; padding: 0 18px; color: var(--navy); background: var(--aqua); border-radius: 8px; text-decoration: none; font-weight: 900; }
.menu-btn { display: none; width: 50px; height: 50px; border: 0; border-radius: 10px; color: #fff; background: #b9bbc2; font-size: 1.7rem; }

.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 28px; border: 2px solid transparent; border-radius: 10px; text-align: center; text-decoration: none; font-weight: 850; line-height: 1.1; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--navy); background: var(--aqua); border-color: var(--aqua); }
.btn-light { color: var(--navy); background: #fff; border-color: #fff; }
.btn-outline { color: var(--navy); background: #fff; border-color: var(--navy); }
.btn-outline:hover { color: #fff; background: var(--navy); }

.hero { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,12,.90) 0%, rgba(5,5,12,.64) 46%, rgba(5,5,12,.12) 78%), url("assets/engineer-boiler-hero-v2.jpg") 65% center / cover no-repeat; }
.hero-inner { position: relative; z-index: 2; }
.hero-copy { width: min(790px, 100%); padding: 92px 0 150px; }
.hero-label { display: inline-flex; margin-bottom: 24px; padding: 8px 13px; color: #fff; background: rgba(13,13,27,.78); border-left: 4px solid var(--aqua); font-size: .84rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.hero h1 { margin: 0 0 25px; font-size: clamp(3.1rem, 5.6vw, 5.75rem); line-height: 1.02; letter-spacing: -.045em; }
.hero p { max-width: 670px; margin: 0 0 32px; color: #eeeeF3; font-size: 1.16rem; }
.hero-cta { color: #fff; background: var(--navy); border-color: rgba(255,255,255,.72); }
.hero-cta:hover { background: #1d1d31; }

.contact-dock { position: relative; z-index: 4; margin-top: -88px; padding: 70px 0 28px; background: #fff; border-radius: 64px 64px 0 0; }
.dock-notch { position: absolute; left: 50%; top: -48px; width: 118px; height: 118px; display: grid; place-items: center; transform: translateX(-50%); color: #fff; background: #fff; border-radius: 50%; }
.dock-notch::before { content: ""; width: 82px; height: 82px; display: block; background: var(--navy); border-radius: 50%; }
.dock-notch span { position: absolute; z-index: 1; font-size: 2.25rem; transform: rotate(-20deg); }
.dock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dock-link { min-width: 0; min-height: 98px; display: flex; align-items: center; gap: 16px; padding: 20px 22px; color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.dock-link:hover { border-color: var(--aqua); }
.dock-icon { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 10px; font-size: 1.35rem; }
.whatsapp .dock-icon { background: var(--green); }
.dock-link strong, .dock-link small { display: block; }
.dock-link strong { font-size: 1.05rem; }
.dock-link small { margin-top: 3px; color: var(--muted); font-size: .86rem; }

.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: #fff; background: var(--navy); }
.section-head { max-width: 780px; margin-bottom: 42px; }
.eyebrow { color: var(--navy); font-size: .82rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::after { content: ""; width: 52px; height: 4px; display: block; margin-top: 10px; background: var(--aqua); }
.section-head h2, .split h2, .cta h2 { margin: 16px 0 16px; color: var(--navy); font-size: clamp(2.25rem, 4vw, 3.6rem); line-height: 1.07; letter-spacing: -.04em; }
.section-head p, .split p { color: var(--muted); font-size: 1.05rem; }
.section-dark .eyebrow { color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #c8c9d2; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(13,13,27,.06); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--navy); background: var(--aqua); border-radius: 12px; font-size: 1.3rem; font-weight: 900; }
.card h3 { margin: 20px 0 10px; color: var(--navy); font-size: 1.32rem; line-height: 1.2; }
.card p { margin: 0 0 17px; color: var(--muted); }
.text-link { color: var(--navy); font-weight: 900; text-decoration: none; }
.text-link:hover { color: #008d7f; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-panel { padding: 42px; color: #fff; background: var(--navy); border-radius: 24px; box-shadow: var(--shadow); }
.feature-panel h3 { margin: 0 0 23px; font-size: 1.7rem; }
.checklist { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; }
.tick { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; color: var(--navy); background: var(--aqua); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.credential { display: flex; align-items: center; gap: 18px; margin-top: 27px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 15px; }
.credential-badge { padding: 11px 14px; color: #fff; background: var(--navy); border-radius: 9px; text-align: center; font-weight: 900; line-height: 1.16; }
.credential strong, .credential span { display: block; }
.credential strong { color: var(--navy); }
.credential span { color: var(--muted); font-size: .9rem; }

.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review-card { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(13,13,27,.06); }
.review-card h3 { margin: 10px 0 8px; color: var(--navy); font-size: 1.45rem; }
.review-card p { color: var(--muted); }
.review-stars { color: #f2a900; font-size: 1.42rem; letter-spacing: .08em; }
.review-score { display: flex; align-items: baseline; gap: 8px; color: var(--navy); }
.review-score strong { font-size: 2.4rem; line-height: 1; }
.review-score span { color: var(--muted); font-weight: 700; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area { padding: 9px 15px; color: #fff; border: 1px solid #414157; border-radius: 999px; font-weight: 700; }
.section-dark .text-link { color: var(--aqua); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 46px; color: #fff; background: var(--navy); border-radius: 24px; box-shadow: var(--shadow); }
.cta h2 { margin: 0 0 10px; color: #fff; }
.cta p { margin: 0; color: #d6d7df; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero { padding: 86px 0; color: #fff; background: linear-gradient(135deg, var(--navy), #24243a); }
.page-hero h1 { max-width: 900px; margin: 13px 0 17px; font-size: clamp(2.75rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.045em; }
.page-hero p { max-width: 760px; color: #d2d3dc; font-size: 1.1rem; }
.page-hero .eyebrow { color: var(--aqua); }
.service-layout { display: grid; grid-template-columns: 1.5fr .75fr; gap: 56px; }
.prose h2 { margin-top: 40px; color: var(--navy); font-size: 2rem; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #525765; }
.prose ul { padding-left: 22px; }
.side-card { position: sticky; top: 116px; height: max-content; padding: 29px; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; }
.side-card h3 { margin-top: 0; color: var(--navy); font-size: 1.45rem; }
.side-card .btn { width: 100%; margin-top: 10px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contact-card { padding: 30px; background: var(--soft); border: 1px solid var(--line); border-radius: 18px; }
.contact-card h3 { margin-top: 0; color: var(--navy); }
.contact-card a { color: #008d7f; font-weight: 850; text-decoration: none; overflow-wrap: anywhere; }

.footer { padding: 62px 0 24px; color: #c5c6cf; background: #070712; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer h3 { margin-top: 0; color: #fff; }
.footer a { display: block; margin: 8px 0; color: #e4e4ea; text-decoration: none; }
.footer a:hover { color: var(--aqua); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid #2b2b3c; font-size: .86rem; }
.mobile-call, .mobile-actions { display: none; }

@media (max-width: 1050px) {
  .nav-links { position: fixed; inset: 106px 0 auto; display: none; flex-direction: column; align-items: flex-start; gap: 18px; padding: 27px 24px; background: var(--navy); border-bottom: 1px solid #35354a; }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .header-phone { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split, .service-layout, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .topbar { display: none; }
  .nav { min-height: 98px; }
  .nav-links { inset: 98px 0 auto; }
  .logo-frame { width: 150px; height: 80px; flex-basis: 150px; }
  .logo-frame img { width: 204px; }
  .hero { min-height: 690px; }
  .hero-bg { background: linear-gradient(90deg, rgba(5,5,12,.82), rgba(5,5,12,.42)), url("assets/engineer-boiler-hero-v2.jpg") 64% center / cover no-repeat; }
  .hero-copy { padding: 86px 0 152px; }
  .hero h1 { font-size: clamp(2.55rem, 11.8vw, 4.4rem); line-height: 1.08; }
  .hero p { font-size: 1rem; }
  .contact-dock { margin-top: -82px; padding-top: 70px; border-radius: 54px 54px 0 0; }
  .dock-grid { grid-template-columns: 1fr; }
  .dock-link { min-height: 86px; }
  .section { padding: 70px 0; }
  .section-head h2, .split h2 { font-size: 2.35rem; }
  .review-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 34px 25px; }
  .cta .actions, .cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .mobile-actions { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 50; display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; }
  .mobile-actions a { min-height: 58px; display: flex; align-items: center; justify-content: center; border: 2px solid #070712; border-radius: 10px; text-align: center; text-decoration: none; font-size: 1.02rem; font-weight: 900; box-shadow: 0 7px 20px rgba(0,0,0,.28); }
  .mobile-actions a:first-child { color: #fff; background: var(--navy); }
  .mobile-actions a:last-child { color: var(--navy); background: var(--aqua); }
  body { padding-bottom: 82px; }
}

@media (max-width: 540px) {
  .logo-frame { width: 136px; height: 72px; flex-basis: 136px; }
  .logo-frame img { width: 184px; }
  .cards { grid-template-columns: 1fr; }
  .hero-label { font-size: .72rem; }
  .hero-cta { width: 100%; }
  .card, .review-card, .contact-card { padding: 25px 22px; }
  .feature-panel { padding: 30px 24px; }
  .credential { align-items: flex-start; }
}
