:root {
    --power-navy: #07335F;
    --power-navy-dark: #052746;
    --power-blue: #48A6D8;
    --power-light-blue: #B9E1F4;
    --power-pale-blue: #EFF8FC;
    --power-white: #FFFFFF;
    --power-off-white: #F8FAFC;
    --power-text: #17202A;
    --power-muted: #64748B;
    --power-border: #DCE7EE;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 24px 60px rgba(7, 51, 95, 0.08);
    --shadow-subtle: 0 10px 25px rgba(7, 51, 95, 0.08);
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--power-text);
    background: linear-gradient(180deg, #f3f9fe 0%, var(--power-off-white) 20%, #f5fafc 100%);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(72,166,216,0.18), rgba(72,166,216,0.03) 58%, transparent 72%);
    pointer-events: none;
    z-index: 0;
    filter: blur(8px);
}

body::before {
    top: 6rem;
    right: -4rem;
}

body::after {
    left: -5rem;
    bottom: 8rem;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(72, 166, 216, 0.45);
    outline-offset: 3px;
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

.page-shell {
    position: relative;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
    border-color: rgba(7, 51, 95, 0.08);
    box-shadow: 0 10px 30px rgba(7, 51, 95, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand-logo img,
.footer-logo img {
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.site-nav a {
    color: var(--power-text);
    font-weight: 500;
}

.nav-cta {
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--power-text);
    margin: 5px auto;
    transition: transform 0.3s ease;
}

.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--power-border);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
}

.mobile-menu-inner a {
    color: var(--power-text);
    font-weight: 600;
}

.hero,
.page-hero,
.section {
    padding: 4rem 0;
}

.hero {
    padding-top: 3rem;
}

/* Full-width hero with image background and overlay */
.hero-full-width {
    position: relative;
    padding: 0;
    min-height: 600px;
    height: clamp(550px, 65vh, 680px);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: 4rem;
}

.hero-full-width > .container {
    margin-left: 0;
    margin-right: auto;
    padding-left: 5rem;
    width: auto;
    max-width: 600px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    width: 60%;
    background: rgba(5, 39, 70, 0.80);
    z-index: 1;
    border-radius: 0 20px 20px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--power-white);
    text-align: left;
}

.hero-full-width .eyebrow {
    color: var(--power-white);
    text-align: left;
    display: block;
    margin-bottom: 0.75rem;
}

.hero-full-width h1 {
    color: var(--power-white);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin: 0;
    text-align: left;
    line-height: 1.1;
}

.hero-full-width p.lede {
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.75rem;
    margin-bottom: 0;
    max-width: 55ch;
    text-align: left;
}

.hero-full-width .hero-actions {
    margin-top: 1.5rem;
    justify-content: flex-start;
    gap: 14px;
}

.hero-full-width .button {
    padding: 1rem 1.75rem;
    font-size: 17px;
    min-height: auto;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero-split::before,
.page-hero::before,
.final-cta::before {
    content: "";
    position: absolute;
    width: 20rem;
    height: 20rem;
    border: 1px solid rgba(72, 166, 216, 0.16);
    border-radius: 50%;
    right: -8rem;
    top: -8rem;
    box-shadow: -3rem 4rem 0 -5rem rgba(72, 166, 216, 0.12), -6rem 8rem 0 -8rem rgba(72, 166, 216, 0.1);
    pointer-events: none;
    z-index: -1;
}

    .page-hero,
    .final-cta {
        position: relative;
        isolation: isolate;
        overflow: hidden;
    }

.hero-split::after,
.page-hero::after,
.final-cta::after {
    content: "";
    position: absolute;
    width: 0.55rem;
    height: 0.55rem;
    border: 1px solid rgba(72, 166, 216, 0.34);
    border-radius: 50%;
    right: 18%;
    bottom: 12%;
    box-shadow: 1.5rem -1.8rem 0 -0.1rem rgba(72, 166, 216, 0.24), 3rem -0.5rem 0 -0.2rem rgba(72, 166, 216, 0.18), -2rem 1rem 0 -0.15rem rgba(72, 166, 216, 0.2);
    pointer-events: none;
    z-index: -1;

    @keyframes bubble-drift {
        from { transform: translate(0, 0); }
        to { transform: translate(-0.35rem, 0.45rem); }
    }
}

.hero-copy h1,
.page-hero h1,
.section-header h2,
.final-cta h2,
.contact-card h2,
.not-sure-card h2 {
    margin: 0;
    font-size: clamp(2.2rem, 3vw, 3.4rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.hero-copy p.lede,
.page-hero p.lede,
.section-header p,
.final-cta p,
.contact-card p,
.not-sure-card p {
    max-width: 58ch;
    color: var(--power-muted);
    margin-top: 1rem;
    font-size: 1.05rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--power-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.6rem;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--power-navy);
    color: var(--power-white);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--power-navy-dark);
}

.button-secondary {
    background: var(--power-white);
    color: var(--power-navy);
    border: 1px solid var(--power-border);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--power-light-blue);
}

.link-arrow {
    font-weight: 700;
    color: var(--power-navy);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.link-primary {
    color: var(--power-blue);
    font-weight: 700;
}

.info-strip {
    background: var(--power-pale-blue);
}

.info-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.info-pill {
    display: inline-flex;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: var(--power-white);
    border: 1px solid var(--power-border);
    font-weight: 700;
    color: var(--power-navy);
}

.section-alt {
    background: var(--power-white);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-card,
.project-card,
.contact-card,
.not-sure-card,
.empty-state-card,
.review-form-card {
    background: var(--power-white);
    border: 1px solid var(--power-border);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-soft);
}

.service-card:hover,
.feature-card:hover,
.project-card:hover,
.contact-card:hover,
.review-form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(7, 51, 95, 0.08);
}

.service-icon {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(185, 225, 244, 0.7);
    border: 1.5px solid rgba(72, 166, 216, 0.4);
    color: var(--power-navy);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 2px 6px rgba(72, 166, 216, 0.12);
}

.service-icon::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(185, 225, 244, 0.5);
    border: 1px solid rgba(72, 166, 216, 0.25);
    top: -3px;
    right: -2px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.service-icon::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(185, 225, 244, 0.4);
    border: 1px solid rgba(72, 166, 216, 0.2);
    bottom: 1px;
    left: -3px;
}

.project-card img {
    border-radius: 16px;
    margin-bottom: 1rem;
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(7, 51, 95, 0.1);
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 10px 22px rgba(7, 51, 95, 0.06);
    min-height: 100%;
}

.project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(185, 225, 244, 0.2);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-copy {
    display: grid;
    gap: 0.5rem;
    padding: 0 0.25rem 0.25rem;
}

.project-copy h3,
.feature-card h3,
.contact-card h2,
.review-form-card h2,
.not-sure-card h2,
.section-header h2 {
    margin-top: 0;
}

.project-category {
    color: var(--power-blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-copy h3 {
    margin-bottom: 0;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.project-card .link-arrow {
    font-size: 0.92rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.filter-button {
    border: 1px solid var(--power-border);
    background: var(--power-white);
    color: var(--power-navy);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
    background: var(--power-navy);
    border-color: var(--power-navy);
    color: var(--power-white);
}

.section-header {
    max-width: 62ch;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.section-footer {
    margin-top: 2rem;
}

.text-right {
    text-align: right;
}

.comparison-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--power-border);
    box-shadow: var(--shadow-subtle);
    z-index: 1;
}

.comparison-slider img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.comparison-slider__media,
.comparison-slider__overlay {
    position: relative;
}

.comparison-slider__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inset(0 0 0 55%);
}

.comparison-slider__handle {
    position: absolute;
    left: 55%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255,255,255,0.8);
    mix-blend-mode: normal;
    cursor: ew-resize;
    transition: background-color 0.3s ease;
}

.comparison-slider:hover .comparison-slider__handle,
.comparison-slider:focus-within .comparison-slider__handle {
    background: rgba(255,255,255,0.95);
}

.comparison-label {
    position: absolute;
    top: 1rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(7, 51, 95, 0.88);
    color: var(--power-white);
    font-size: 0.85rem;
    font-weight: 700;
}

.comparison-label--left {
    left: 1rem;
}

.comparison-label--right {
    right: 1rem;
}

.before-after-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.before-after-section::before {
    content: "";
    position: absolute;
    width: 16rem;
    height: 16rem;
    border: 1px solid rgba(72, 166, 216, 0.1);
    border-radius: 50%;
    right: -4rem;
    bottom: -6rem;
    box-shadow: 1.5rem -2rem 0 -4rem rgba(72, 166, 216, 0.06), 3rem 1rem 0 -5.5rem rgba(72, 166, 216, 0.04);
    pointer-events: none;
    z-index: 0;
}

.section-split .split-grid,
.service-area-grid,
.review-grid,
.contact-grid,
.final-cta-grid {
    display: grid;
    gap: 2rem;
}

.section-split .split-grid {
    grid-template-columns: 1fr 1fr;
}

.split-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    padding: 2rem;
}

.split-card-image {
    background: linear-gradient(180deg, rgba(72,166,216,0.12), rgba(255,255,255,0));
    min-height: 320px;
    border-radius: var(--radius);
    position: relative;
}

.split-card-image::before {
    display: none;
}

.service-area-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
}

.map-card {
    border-radius: var(--radius);
    background: var(--power-navy);
    color: var(--power-white);
    overflow: hidden;
}

.map-placeholder {
    min-height: 280px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(72,166,216,0.2), rgba(7,51,95,0.5));
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--power-white);
}

.not-sure-card,
.review-form-card,
.contact-card {
    box-shadow: var(--shadow-soft);
}

.review-hero,
.final-cta-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.review-hero p,
.review-hero h2,
.final-cta p,
.final-cta h2 {
    margin: 0;
}

.review-empty-state,
.review-form-card,
.contact-form-card {
    width: 100%;
}

.empty-state-card {
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--power-border);
    background: var(--power-white);
}

.muted-text {
    color: var(--power-muted);
}

.form-group {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--power-border);
    background: var(--power-off-white);
    color: var(--power-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--power-blue);
}

/* Validation error states */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border: 2px solid var(--power-navy);
    background: rgba(185, 225, 244, 0.15);
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus,
.form-group.has-error select:focus {
    border-color: var(--power-navy);
    background: rgba(185, 225, 244, 0.15);
}

.radio-group.has-error {
    border: 2px solid var(--power-navy);
    border-radius: 14px;
    padding: 1rem;
    background: rgba(185, 225, 244, 0.15);
    gap: 0.5rem;
}

.field-message {
    color: var(--power-muted);
    font-size: 0.95rem;
    min-height: 1.2rem;
}

.form-group.has-error .field-message,
.radio-group.has-error ~ .field-message {
    color: var(--power-navy);
    font-weight: 600;
}

.rating-group {
    gap: 1rem;
}

.star-rating {
    display: flex;
    gap: 0.35rem;
}

.star {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--power-pale-blue);
    color: var(--power-navy);
    font-size: 1.2rem;
    line-height: 1;
    display: grid;
    place-items: center;
}

.star.selected,
.star:hover,
.star:focus-visible {
    background: var(--power-blue);
    color: var(--power-white);
}

.form-note {
    color: var(--power-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.site-footer {
    background: var(--power-navy);
    color: var(--power-white);
    padding: 3rem 0 2rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(72, 166, 216, 0.08);
    border-radius: 50%;
    left: -6rem;
    bottom: -4rem;
    box-shadow: 2rem -3rem 0 -4rem rgba(72, 166, 216, 0.05), 4rem -1rem 0 -6rem rgba(72, 166, 216, 0.03);
    pointer-events: none;
    z-index: 0;
}

    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        .image-frame::after {
            animation: none;
        }
    }

.footer-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: relative;
    z-index: 1;
}

.footer-grid h3 {
    margin-top: 0;
    color: var(--power-white);
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.footer-grid a {
    color: var(--power-off-white);
}

.footer-tagline {
    max-width: 18rem;
    margin-top: 1rem;
    color: rgba(255,255,255,0.75);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 2rem;
    padding-top: 1.5rem;
    color: rgba(255,255,255,0.75);
    position: relative;
    z-index: 1;
}

.mobile-action-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: none;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem 1.1rem;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid var(--power-border);
}

.bar-button {
    flex: 1;
    text-align: center;
    border-radius: 999px;
    padding: 0.95rem 1rem;
    font-weight: 700;
    background: var(--power-navy);
    color: var(--power-white);
}

.bar-button--secondary {
    background: var(--power-light-blue);
    color: var(--power-navy);
}

.page-hero {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.page-hero-alt {
    background: var(--power-white);
}

.hero-image-card {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.image-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    max-width: 640px;
    width: 100%;
}

.image-frame::after {
    content: "";
    position: absolute;
    width: 5rem;
    height: 5rem;
    border: 1px solid rgba(72, 166, 216, 0.28);
    border-radius: 50%;
    top: -2rem;
    right: -2rem;
    pointer-events: none;
}

.image-frame img {
    height: 100%;
    width: 100%;
}

.image-flag {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(255,255,255,0.92);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    color: var(--power-navy);
    font-weight: 700;
    font-size: 0.9rem;
}

.page-hero .hero-copy {
    max-width: 780px;
}

.service-detail {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.split-grid,
.service-area-grid,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-image,
.detail-image-alt {
    min-height: 300px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(7, 51, 95, 0.08), rgba(72, 166, 216, 0.14));
    position: relative;
}

.detail-image::before,
.detail-image-alt::before {
    display: none;
}

.detail-image-alt {
    background: linear-gradient(180deg, rgba(72, 166, 216, 0.12), rgba(255, 255, 255, 0.92));
}

.review-grid,
.contact-grid {
    align-items: start;
}

.review-form-card,
.contact-card {
    background: var(--power-white);
}

@media (max-width: 1024px) {
    .hero-split,
    .grid-3,
    .grid-4,
    .split-grid,
    .service-area-grid,
    .review-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 2rem;
    }

    .hero-image-card {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-full-width {
        height: clamp(420px, 60vh, 550px);
        min-height: 420px;
        padding-top: 3rem;
    }

    .hero-full-width > .container {
        padding-left: 3rem;
        max-width: 500px;
    }

    .hero-overlay {
        width: 100%;
        border-radius: 0;
    }

    .comparison-slider img {
        height: 320px;
    }
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-flip-card {
    height: 100%;
    min-height: 320px;
    perspective: 1200px;
}

.service-card-toggle {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
    color: inherit;
}

.service-card-toggle:focus-visible {
    outline: 3px solid rgba(72,166,216,0.5);
    outline-offset: 4px;
    border-radius: 18px;
}

.service-card-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.service-flip-card.is-flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backface-visibility: hidden;
    border: 1px solid rgba(7,51,95,0.1);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 32px rgba(7,51,95,0.06);
}

.service-card-front {
    padding: 1.5rem;
    gap: 1rem;
}

.service-card-back {
    transform: rotateY(180deg);
    background: var(--power-navy);
}

.service-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9) contrast(1.04);
}

.service-card-back::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,51,95,0.22), rgba(7,51,95,0.72));
    pointer-events: none;
}

.service-card-back--placeholder {
    background: linear-gradient(135deg, rgba(72,166,216,0.18), rgba(7,51,95,0.1));
}

.service-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(72,166,216,0.25), rgba(7,51,95,0.18));
    border: 1px solid rgba(255,255,255,0.25);
}

.service-placeholder::before,
.service-placeholder-alt::before {
    display: none;
}

.service-placeholder-alt {
    background: linear-gradient(135deg, rgba(185,225,244,0.3), rgba(72,166,216,0.18));
}

.service-card-overlay {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    color: var(--power-white);
    font-weight: 700;
}

.service-card-overlay small {
    opacity: 0.8;
    font-size: 0.8rem;
}

.service-icon {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(185, 225, 244, 0.7);
    border: 1.5px solid rgba(72, 166, 216, 0.4);
    color: var(--power-navy);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 2px 6px rgba(72, 166, 216, 0.12);
}

.service-icon::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(185, 225, 244, 0.5);
    border: 1px solid rgba(72, 166, 216, 0.25);
    top: -3px;
    right: -2px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.service-icon::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(185, 225, 244, 0.4);
    border: 1px solid rgba(72, 166, 216, 0.2);
    bottom: 1px;
    left: -3px;
}

.service-card-front h3 {
    margin: 0;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: var(--power-navy);
}

.service-card-front p {
    margin: 0;
    color: var(--power-muted);
    max-width: 28ch;
}

.service-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--power-navy);
}

.service-card-back .service-card-action {
    color: var(--power-white);
}

@media (max-width: 768px) {
    .gallery-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        gap: 0.75rem;
    }

    .site-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-full-width {
        padding-top: 2.5rem;
    }

    .hero-full-width > .container {
        padding-left: 2rem;
        max-width: 100%;
    }

    .hero-full-width .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-full-width .button {
        width: 100%;
        max-width: 100%;
    }

    .page-hero,
    .section,
    .info-strip {
        padding: 2.5rem 0;
    }

    .comparison-slider img {
        height: 240px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .mobile-action-bar {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .image-frame::after,
    .service-card-inner {
        animation: none;
        transition: none;
    }
}

.estimate-progress {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.progress-step {
    flex: 1;
    min-height: 10px;
    border-radius: 999px;
    background: var(--power-border);
}

.progress-step.active {
    background: var(--power-blue);
}

.estimate-form {
    background: var(--power-white);
    border: 1px solid var(--power-border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.estimate-step {
    display: none;
}

.estimate-step.active {
    display: block;
}

.service-select-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card-select {
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--power-border);
    border-radius: var(--radius);
    background: var(--power-off-white);
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
    position: relative;
    color: var(--power-text);
}

.service-card-select:hover {
    border-color: var(--power-blue);
}

.service-card-select.selected {
    background: var(--power-navy);
    border-color: var(--power-navy);
    color: var(--power-white);
    transform: translateY(-1px);
}

.service-card-select.selected strong,
.service-card-select.selected small,
.service-card-select.selected span,
.service-card-select.selected p,
.service-card-select.selected h3 {
    color: var(--power-white);
}

.service-card-select input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-card-select span {
    display: grid;
    gap: 0.5rem;
}

.service-card-select strong {
    font-size: 1.05rem;
    color: var(--power-navy);
}

.service-card-select small {
    color: var(--power-muted);
    line-height: 1.45;
}

.service-card-select.selected small {
    color: rgba(255,255,255,0.82);
}

.service-card-select::after {
    content: "✓";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: rgba(255,255,255,0.12);
    color: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.25s ease;
}

.service-card-select.selected::after {
    background: var(--power-white);
    color: var(--power-navy);
    border-color: var(--power-white);
}

.radio-group {
    display: grid;
    gap: 0.75rem;
}

.radio-card {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--power-border);
    border-radius: 14px;
    background: var(--power-off-white);
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
}

.radio-card:hover {
    border-color: var(--power-blue);
    background: rgba(72, 166, 216, 0.06);
}

.radio-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-card span {
    font-weight: 700;
    color: var(--power-text);
    transition: color 0.25s ease;
}

.radio-card input:checked + span {
    color: var(--power-white);
}

.radio-card input:checked {
    border-color: var(--power-navy);
}

/* Selected state via :has() selector and .selected class */
.radio-card:has(input:checked),
.radio-card.selected {
    background: var(--power-navy);
    border-color: var(--power-navy);
}

.radio-card:has(input:checked) span,
.radio-card.selected span {
    color: var(--power-white);
}

.review-summary {
    border: 1px solid var(--power-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--power-pale-blue);
    margin-top: 1.5rem;
}

.review-summary h3 {
    margin-top: 0;
}

.review-summary .summary-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.review-summary .summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.review-summary strong {
    color: var(--power-text);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.form-actions .button {
    flex: 1;
}

.form-success {
    display: none;
    margin-top: 1.5rem;
    padding: 1.2rem 1.4rem;
    border-radius: 16px;
    background: rgba(72, 166, 216, 0.12);
    color: var(--power-navy);
    font-weight: 700;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(7, 51, 95, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 50;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 1rem;
    max-width: 100%;
    width: min(100%, 820px);
}

.lightbox-image {
    width: 100%;
    max-height: 80vh;
    border-radius: 26px;
    object-fit: cover;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-close {
    position: absolute;
    top: -70px;
    right: 0;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 999px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    color: var(--power-navy);
    font-size: 1.5rem;
}

.lightbox-content {
    position: relative;
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 1rem;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 26px;
    object-fit: contain;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-close {
    position: absolute;
    top: -70px;
    right: 0;
}

@media (max-width: 1024px) {
    .service-select-grid,
    .grid-3,
    .grid-4,
    .split-grid,
    .service-area-grid,
    .review-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }

    .radio-card,
    .service-card-select {
        width: 100%;
    }

    .lightbox-prev,
    .lightbox-next {
        display: none;
    }
}

@media (max-width: 560px) {
    .button {
        min-height: 52px;
        border-radius: 14px;
    }

    .site-header {
        border-bottom: 1px solid var(--power-border);
    }

    .project-card img {
        height: 180px;
    }

    .comparison-slider img {
        height: 200px;
    }

    .comparison-slider__handle {
        width: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.netlify-honeypot {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.form-status {
    margin-top: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.form-status.success {
    color: var(--power-navy, #123e67);
}

.form-status.error {
    color: #b42318;
}