/* Hervey Bay Electrical Contractors - static site design system */
:root {
    --navy-980: #071523;
    --navy-940: #0b1d32;
    --navy-880: #112d4c;
    --blue-700: #0056b3;
    --blue-560: #1875d1;
    --blue-120: #e7f1fb;
    --amber-520: #ffb81c;
    --amber-360: #ffd977;
    --amber-120: #fff4d8;
    --steel-760: #2b3d52;
    --steel-520: #657285;
    --steel-180: #d8e1ea;
    --steel-080: #f3f7fb;
    --paper: #ffffff;
    --ink: #111a25;
    --danger: #d84315;
    --shadow-deep: 0 24px 70px rgba(7, 21, 35, 0.18);
    --shadow-panel: 0 14px 34px rgba(7, 21, 35, 0.12);
    --shadow-line: 0 1px 0 rgba(216, 225, 234, 0.9);
    --radius: 8px;
    --container: 1180px;
    --font-heading: "Space Grotesk", Arial, sans-serif;
    --font-body: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    padding-bottom: 0;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
.brand,
.btn,
.eyebrow,
summary,
label {
    font-family: var(--font-heading);
}

h1,
h2,
h3 {
    color: var(--ink);
    letter-spacing: 0;
    line-height: 1.04;
}

h1 {
    font-size: clamp(2.8rem, 6.2vw, 5.9rem);
    max-width: 900px;
}

h2 {
    font-size: clamp(2.1rem, 4.1vw, 3.55rem);
}

h3 {
    font-size: 1.24rem;
}

p {
    color: var(--steel-520);
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 18px;
    z-index: 2000;
    padding: 12px 16px;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--amber-520);
    color: var(--navy-980);
    font-weight: 800;
}

.skip-link:focus {
    top: 0;
}

/* Header and Emergency Ticker */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(216, 225, 234, 0.9);
    backdrop-filter: blur(18px);
    transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-panel);
}

.emergency-ticker {
    position: relative;
    height: 34px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--danger), #9c2b10 42%, var(--navy-980));
    color: var(--paper);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.ticker-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 34px;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='360'%20height='34'%20viewBox='0%200%20360%2034'%3E%3Ctext%20x='0'%20y='22'%20fill='%23ffffff'%20font-family='Arial,%20sans-serif'%20font-size='12'%20font-weight='700'%20letter-spacing='1.1'%3EEMERGENCY%20SERVICES%20AVAILABLE%20%E2%80%A2%3C/text%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 360px 34px;
    animation: ticker 18s linear infinite;
}

.ticker-track span {
    display: none;
}

@keyframes ticker {
    from { background-position-x: 0; }
    to { background-position-x: -360px; }
}

.top-strip {
    background: var(--navy-940);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.88rem;
}

.top-strip__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.top-strip a {
    color: var(--amber-360);
    font-weight: 800;
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    color: var(--navy-980);
    font-weight: 800;
}

.brand__logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.brand__logo--landscape {
    height: 58px;
    max-width: min(280px, 42vw);
}

.brand__logo--square {
    height: 92px;
    max-width: 92px;
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-panel a:not(.btn) {
    position: relative;
    padding: 12px 12px;
    border-radius: var(--radius);
    color: var(--navy-980);
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 750;
}

.nav-panel a:not(.btn):hover,
.nav-panel a[aria-current="page"] {
    background: var(--blue-120);
    color: var(--blue-700);
}

.nav-panel a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 3px;
    background: var(--amber-520);
}

.btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-panel);
}

.btn-primary {
    background: linear-gradient(135deg, var(--amber-520), var(--amber-360));
    color: var(--navy-980);
}

.btn-secondary {
    background: var(--navy-980);
    color: var(--paper);
}

.btn-blue {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-560));
    color: var(--paper);
}

.btn-light {
    background: var(--paper);
    color: var(--navy-980);
}

.btn-small {
    min-height: 42px;
    padding: 0 18px;
}

.btn:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(255, 184, 28, 0.62);
    outline-offset: 3px;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--steel-180);
    border-radius: var(--radius);
    background: var(--paper);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px auto;
    background: var(--navy-980);
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Shared Layout */
.section {
    position: relative;
    padding: 104px 0;
}

.section--tight {
    padding: 76px 0;
}

.bg-technical {
    background:
        linear-gradient(135deg, rgba(0, 86, 179, 0.08), rgba(255, 184, 28, 0.12)),
        linear-gradient(90deg, transparent 0 49px, rgba(17, 45, 76, 0.045) 50px),
        linear-gradient(0deg, transparent 0 49px, rgba(17, 45, 76, 0.045) 50px),
        var(--steel-080);
    background-size: auto, 50px 50px, 50px 50px, auto;
}

.bg-dark {
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 184, 28, 0.18), transparent 30%),
        linear-gradient(135deg, var(--navy-980), var(--navy-880));
    color: var(--paper);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark p {
    color: var(--paper);
}

.bg-dark .feature-card,
.bg-dark .diagnostic-row,
.bg-dark .job-matrix {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.bg-dark .feature-card p,
.bg-dark .diagnostic-row p,
.bg-dark .job-matrix p {
    color: rgba(255, 255, 255, 0.76);
}

.bg-dark .job-matrix div {
    border-color: rgba(255, 255, 255, 0.16);
}

.bg-dark .job-matrix strong {
    color: var(--amber-360);
}

.eyebrow {
    margin-bottom: 13px;
    color: var(--blue-700);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bg-dark .eyebrow,
.hero .eyebrow,
.page-hero--emergency .eyebrow {
    color: var(--amber-360);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading--left {
    margin-left: 0;
    text-align: left;
}

.kicker-line {
    width: 72px;
    height: 4px;
    margin: 22px 0 0;
    background: linear-gradient(90deg, var(--amber-520), var(--blue-700));
    border-radius: 99px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 860px;
    display: grid;
    align-items: center;
    padding: 206px 0 88px;
    background:
        linear-gradient(135deg, #f7fbff, #eaf3fb 62%, #fff6dd);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 160px -12vw auto auto;
    width: 52vw;
    height: 72vh;
    background: linear-gradient(135deg, var(--blue-700), var(--navy-980));
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 92%);
    opacity: 0.12;
}

.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    gap: 56px;
    align-items: center;
}

.hero__intro {
    max-width: 690px;
    color: var(--steel-760);
    font-size: 1.13rem;
}

.hero__actions,
.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero__media {
    position: relative;
    min-height: 540px;
}

.hero__photo {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 590px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}

.hero__media::before {
    content: "";
    position: absolute;
    inset: 26px -22px -22px 28px;
    z-index: 1;
    border-radius: var(--radius);
    background: var(--amber-520);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}

.hero__service-note {
    position: absolute;
    z-index: 3;
    left: -22px;
    bottom: 42px;
    width: min(340px, 78%);
    padding: 22px;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-deep);
}

.hero__service-note strong {
    display: block;
    color: var(--navy-980);
    font-family: var(--font-heading);
    font-size: 1.08rem;
}

.hero__service-note span {
    display: block;
    margin-top: 6px;
    color: var(--steel-520);
}

.proof-rack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 42px;
    border: 1px solid var(--steel-180);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-line);
    overflow: hidden;
}

.proof-rack span {
    min-height: 92px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 18px;
    border-right: 1px solid var(--steel-180);
    color: var(--steel-520);
    font-size: 0.9rem;
}

.proof-rack span:last-child {
    border-right: 0;
}

.proof-rack strong {
    color: var(--blue-700);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1;
}

/* Cards and Panels */
.scope-strip {
    margin-top: -36px;
    position: relative;
    z-index: 4;
}

.scope-strip__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    border-radius: var(--radius);
    background: var(--navy-980);
    box-shadow: var(--shadow-deep);
    overflow: hidden;
}

.scope-chip {
    padding: 26px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.scope-chip:last-child {
    border-right: 0;
}

.scope-chip span {
    display: block;
    color: var(--amber-360);
    font-family: var(--font-heading);
    font-weight: 800;
}

.scope-chip p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.service-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-tile {
    position: relative;
    min-height: 480px;
    display: grid;
    grid-template-rows: 210px auto;
    border: 1px solid var(--steel-180);
    border-radius: var(--radius);
    background: var(--paper);
    overflow: hidden;
    box-shadow: var(--shadow-panel);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-deep);
}

.service-tile img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.service-tile__body {
    display: grid;
    align-content: start;
    padding: 24px;
}

.service-tile__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.service-tile__code {
    color: var(--blue-700);
    font-family: var(--font-heading);
    font-weight: 800;
}

.price-pill {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 99px;
    background: var(--amber-120);
    color: var(--navy-980);
    font-size: 0.82rem;
    font-weight: 800;
}

.mini-list,
.check-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.mini-list li,
.check-list li {
    position: relative;
    margin: 8px 0;
    padding-left: 22px;
    color: var(--steel-520);
}

.mini-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--amber-520);
    box-shadow: 0 0 0 4px rgba(255, 184, 28, 0.16);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: center;
}

.split--wide {
    grid-template-columns: 0.88fr 1.12fr;
}

.image-frame {
    position: relative;
}

.image-frame::before {
    content: "";
    position: absolute;
    inset: 22px -18px -18px 22px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--amber-520), var(--blue-700));
}

.image-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
}

.diagnostic-panel {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.diagnostic-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: start;
    padding: 18px;
    border: 1px solid var(--steel-180);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
}

.diagnostic-row span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--navy-980);
    color: var(--amber-360);
    font-family: var(--font-heading);
    font-weight: 800;
}

.diagnostic-row h3,
.diagnostic-row p {
    margin-bottom: 4px;
}

.emergency-band {
    background:
        linear-gradient(120deg, rgba(7, 21, 35, 0.96), rgba(0, 86, 179, 0.78)),
        url("https://images.pexels.com/photos/5691588/pexels-photo-5691588.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover;
    color: var(--paper);
}

.emergency-band__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.emergency-band h2,
.emergency-band p {
    color: var(--paper);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.comparison-card {
    position: relative;
    min-height: 360px;
    display: grid;
    align-content: end;
    padding: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.comparison-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.comparison-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 21, 35, 0.88), rgba(7, 21, 35, 0.18));
    z-index: 1;
}

.comparison-card > * {
    position: relative;
    z-index: 2;
}

.comparison-card h3,
.comparison-card p {
    color: var(--paper);
}

.local-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
    padding: 30px;
    border: 1px solid var(--steel-180);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-panel);
}

.local-panel__map {
    min-height: 280px;
    border-radius: var(--radius);
    background: var(--steel-080);
    overflow: hidden;
}

.local-panel__map iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: block;
    border: 0;
}

.review-grid,
.feature-grid,
.related-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.review-card,
.feature-card,
.related-card,
.stat-card,
.contact-card,
.info-card,
.service-detail-card,
.faq-card {
    border: 1px solid var(--steel-180);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-panel);
}

.review-card,
.feature-card,
.related-card,
.stat-card,
.service-detail-card,
.faq-card {
    padding: 28px;
}

.review-card {
    position: relative;
}

.review-card::before {
    content: "5.0";
    display: inline-flex;
    margin-bottom: 18px;
    padding: 6px 10px;
    border-radius: 99px;
    background: var(--amber-120);
    color: var(--navy-980);
    font-family: var(--font-heading);
    font-weight: 800;
}

.review-card p {
    color: var(--ink);
}

.feature-card {
    min-height: 220px;
}

.feature-card span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    background: var(--blue-120);
    color: var(--blue-700);
    font-family: var(--font-heading);
    font-weight: 800;
}

.stat-card {
    text-align: center;
}

.stat-card strong {
    display: block;
    color: var(--blue-700);
    font-family: var(--font-heading);
    font-size: 3.4rem;
    line-height: 1;
}

.stat-card span {
    color: var(--steel-520);
    font-weight: 700;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 52px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid var(--steel-180);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow-line);
}

summary {
    padding: 20px 22px;
    color: var(--navy-980);
    font-weight: 800;
    cursor: pointer;
}

details p {
    margin: 0;
    padding: 0 22px 22px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--blue-700);
    font-family: var(--font-heading);
    font-weight: 800;
}

.text-link::after {
    content: ">";
    margin-left: 8px;
    color: var(--amber-520);
}

/* Page heroes and service pages */
.page-hero {
    padding: 206px 0 92px;
    background:
        linear-gradient(135deg, rgba(0, 86, 179, 0.08), rgba(255, 184, 28, 0.16)),
        var(--steel-080);
}

.page-hero--dark,
.page-hero--emergency {
    background:
        linear-gradient(110deg, rgba(7, 21, 35, 0.96), rgba(17, 45, 76, 0.78)),
        url("https://images.pexels.com/photos/34054464/pexels-photo-34054464.jpeg?auto=compress&cs=tinysrgb&w=1800") center / cover;
}

.page-hero--emergency {
    background:
        linear-gradient(110deg, rgba(7, 21, 35, 0.94), rgba(216, 67, 21, 0.72)),
        url("https://images.pexels.com/photos/5691588/pexels-photo-5691588.jpeg?auto=compress&cs=tinysrgb&w=1800") center / cover;
}

.page-hero__grid {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    gap: 54px;
    align-items: center;
}

.page-hero--dark h1,
.page-hero--dark p,
.page-hero--emergency h1,
.page-hero--emergency p {
    color: var(--paper);
}

.page-hero__image {
    position: relative;
}

.page-hero__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-deep);
}

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

.service-detail-card {
    display: grid;
    grid-template-columns: 0.74fr 1.26fr;
    gap: 24px;
    align-items: start;
}

.service-detail-card img {
    width: 100%;
    min-height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
}

.job-matrix {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--steel-180);
    border-radius: var(--radius);
    background: var(--paper);
    overflow: hidden;
    box-shadow: var(--shadow-panel);
}

.job-matrix div {
    padding: 24px;
    border-right: 1px solid var(--steel-180);
}

.job-matrix div:last-child {
    border-right: 0;
}

.job-matrix strong {
    display: block;
    color: var(--navy-980);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.contact-card,
.info-card {
    padding: 30px;
}

.quote-form {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.form-row {
    display: grid;
    gap: 7px;
}

label {
    color: var(--navy-980);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    border: 1px solid var(--steel-180);
    border-radius: var(--radius);
    background: #fbfdff;
    color: var(--ink);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue-700);
    background: var(--paper);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.12);
}

.form-note,
.emergency-note {
    padding: 16px 18px;
    border-left: 4px solid var(--amber-520);
    border-radius: var(--radius);
    background: var(--amber-120);
    color: var(--navy-980);
}

.form-status {
    min-height: 26px;
    margin: 0;
    color: var(--blue-700);
    font-weight: 800;
}

.contact-stack {
    display: grid;
    gap: 18px;
}

.info-card a {
    display: block;
    color: var(--blue-700);
    font-weight: 800;
}

.map-frame {
    min-height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
}

.map-frame iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

.final-cta {
    padding: 88px 0;
    background:
        radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.34), transparent 20%),
        linear-gradient(135deg, var(--amber-520), var(--amber-360));
}

.final-cta__inner {
    max-width: 820px;
}

.final-cta p {
    color: rgba(17, 26, 37, 0.76);
    font-size: 1.08rem;
}

.not-found {
    min-height: 760px;
    display: grid;
    align-items: center;
    padding: 206px 0 100px;
    background:
        linear-gradient(110deg, rgba(7, 21, 35, 0.94), rgba(0, 86, 179, 0.64)),
        url("https://images.pexels.com/photos/34054464/pexels-photo-34054464.jpeg?auto=compress&cs=tinysrgb&w=1800") center / cover;
}

.not-found h1,
.not-found p {
    color: var(--paper);
}

.not-found__inner {
    max-width: 760px;
}

/* Footer */
.site-footer {
    background:
        linear-gradient(135deg, var(--navy-980), var(--navy-940));
    color: rgba(255, 255, 255, 0.76);
    padding-top: 64px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    align-items: stretch;
    margin-bottom: 44px;
}

.footer-callout {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
    gap: 34px;
}

.brand--footer {
    margin-bottom: 18px;
    color: var(--paper);
}

.site-footer h2,
.site-footer h3 {
    color: var(--paper);
    font-size: 1rem;
    text-transform: uppercase;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
    color: var(--amber-360);
}

.footer-bottom {
    margin-top: 42px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
    margin: 0;
}

.mobile-call-bar {
    display: none;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 900;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: var(--radius);
    background: var(--navy-980);
    color: var(--paper);
    font-family: var(--font-heading);
    font-weight: 800;
    box-shadow: var(--shadow-panel);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .ticker-track {
        animation-play-state: paused;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1120px) {
    .hero__grid,
    .page-hero__grid,
    .split,
    .split--wide,
    .contact-layout,
    .faq-layout,
    .local-panel,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .service-board,
    .job-matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail-grid,
    .review-grid,
    .feature-grid,
    .related-grid,
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .top-strip__inner {
        justify-content: center;
        text-align: center;
    }

    .top-strip__inner span {
        display: none;
    }

    .menu-toggle {
        display: block;
        z-index: 1002;
    }

    .nav-panel {
        position: fixed;
        top: 150px;
        left: 14px;
        right: 14px;
        display: grid;
        gap: 4px;
        padding: 18px;
        border: 1px solid var(--steel-180);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-deep);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .nav-panel.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-panel a:not(.btn) {
        padding: 14px 12px;
    }

    .nav-panel .btn {
        width: 100%;
        margin-top: 8px;
    }

    .hero,
    .page-hero,
    .not-found {
        padding-top: 184px;
    }

    .hero {
        min-height: auto;
    }

    .hero__media {
        min-height: auto;
    }

    .hero__photo {
        height: 420px;
    }

    .scope-strip {
        margin-top: 0;
        padding-top: 20px;
        background: var(--navy-980);
    }

    .scope-strip__inner {
        grid-template-columns: 1fr;
        box-shadow: none;
    }

    .scope-chip {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .emergency-band__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    body {
        padding-bottom: 74px;
    }

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

    .brand__logo--landscape {
        height: 46px;
        max-width: min(212px, 58vw);
    }

    .brand__logo--square {
        height: 76px;
        max-width: 76px;
    }

    h1 {
        font-size: 2.56rem;
    }

    h2 {
        font-size: 2.05rem;
    }

    .section {
        padding: 72px 0;
    }

    .hero__actions,
    .action-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }

    .proof-rack,
    .service-board,
    .service-detail-grid,
    .review-grid,
    .feature-grid,
    .related-grid,
    .stats-grid,
    .job-matrix,
    .comparison-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .proof-rack span,
    .job-matrix div {
        border-right: 0;
        border-bottom: 1px solid var(--steel-180);
    }

    .proof-rack span:last-child,
    .job-matrix div:last-child {
        border-bottom: 0;
    }

    .hero__service-note {
        position: relative;
        left: 0;
        bottom: auto;
        width: 100%;
        margin-top: -36px;
    }

    .hero__photo,
    .page-hero__image img,
    .image-frame img {
        height: auto;
        aspect-ratio: 1 / 0.82;
    }

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

    .service-detail-card img {
        min-height: auto;
        aspect-ratio: 1 / 0.72;
    }

    .footer-top {
        margin-bottom: 28px;
    }

    .mobile-call-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 950;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        background: var(--navy-980);
        box-shadow: 0 -14px 34px rgba(7, 21, 35, 0.22);
    }

    .mobile-call-bar a {
        min-height: 64px;
        display: grid;
        place-items: center;
        color: var(--paper);
        font-family: var(--font-heading);
        font-weight: 800;
    }

    .mobile-call-bar a:first-child {
        background: var(--amber-520);
        color: var(--navy-980);
    }

    .back-to-top {
        bottom: 88px;
    }
}
