/* VoltFlow.ie homepage — integrated from provided design */

:root {
    --navy: #081b38;
    --navy-light: #17345c;
    --blue: #0864e8;
    --blue-dark: #064fbd;
    --blue-light: #eaf3ff;
    --orange: #ff7800;
    --orange-light: #fff1e5;
    --green: #12a957;
    --green-light: #e9f9f0;
    --text: #12213a;
    --muted: #627087;
    --border: #dce5f0;
    --surface: #ffffff;
    --background: #f7faff;
    --shadow: 0 16px 45px rgba(10, 38, 81, 0.09);
    --radius: 22px;
    --container: 1240px;
}

body.is-home {
    padding-top: 0 !important;
    color: var(--text);
    background: var(--surface);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body.is-home .legacy-header,
body.is-home .legacy-footer {
    display: none !important;
}

body.is-home .vf-header,
body.is-home .vf-footer {
    display: block;
}

body:not(.is-home) .vf-header,
body:not(.is-home) .vf-footer {
    display: none;
}

body.is-home img,
body.is-home svg {
    display: block;
    max-width: 100%;
}

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

body.is-home .section {
    padding: 88px 0;
}

body.is-home .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.is-home .section-title {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

body.is-home .section-intro {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

body.is-home .button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    cursor: pointer;
    text-decoration: none;
}

body.is-home .button:hover {
    transform: translateY(-2px);
}

body.is-home .button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    box-shadow: 0 12px 25px rgba(8, 100, 232, 0.24);
}

body.is-home .button-secondary {
    color: var(--navy);
    background: #fff;
    border-color: var(--border);
}

body.is-home .button svg {
    width: 19px;
    height: 19px;
}

body.is-home .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(220, 229, 240, 0.85);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

body.is-home .header-inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
}

body.is-home .brand img {
    width: 250px;
    height: auto;
}

body.is-home .desktop-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 38px;
}

body.is-home .desktop-nav a {
    position: relative;
    padding: 33px 0 28px;
    color: rgba(11, 18, 38, 0.86);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

body.is-home .desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 21px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 160ms ease;
}

body.is-home .desktop-nav a:hover::after,
body.is-home .desktop-nav a.active::after {
    transform: scaleX(1);
}

body.is-home .header-contact {
    display: flex;
    align-items: center;
    gap: 17px;
}

body.is-home .header-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
}

body.is-home .header-phone svg {
    width: 21px;
    height: 21px;
}

body.is-home .whatsapp-round {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: #1fc866;
    box-shadow: 0 9px 19px rgba(31, 200, 102, 0.22);
}

body.is-home .whatsapp-round svg {
    width: 23px;
    height: 23px;
}

body.is-home .menu-button {
    display: none;
    width: 45px;
    height: 45px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}

body.is-home .hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 100px;
    background:
        radial-gradient(circle at 75% 35%, rgba(8, 100, 232, 0.11), transparent 32%),
        linear-gradient(135deg, #fff 0%, #f7faff 52%, #edf5ff 100%);
}

body.is-home .hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    top: -240px;
    left: -180px;
    border: 1px solid rgba(8, 100, 232, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 50px rgba(8, 100, 232, 0.025), 0 0 0 100px rgba(8, 100, 232, 0.02);
}

body.is-home .hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
    align-items: center;
    gap: 70px;
}

body.is-home .location-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

body.is-home .location-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 22px rgba(10, 38, 81, 0.05);
    font-size: 0.88rem;
    font-weight: 750;
}

body.is-home .location-pill svg {
    width: 17px;
    height: 17px;
    color: var(--blue);
}

body.is-home .hero-title {
    max-width: 690px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(3.15rem, 5.7vw, 5.35rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

body.is-home .hero-title span {
    color: var(--blue);
}

body.is-home .hero-copy {
    max-width: 610px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 1.13rem;
    line-height: 1.72;
}

body.is-home .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0;
    margin-top: 35px;
}

body.is-home .trust-item {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px;
    border-right: 1px solid var(--border);
}

body.is-home .trust-item:first-child { padding-left: 0; }
body.is-home .trust-item:last-child { border-right: 0; }

body.is-home .trust-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--blue);
    border-radius: 12px;
    background: var(--blue-light);
}

body.is-home .trust-icon.green {
    color: var(--green);
    background: var(--green-light);
}

body.is-home .trust-icon svg {
    width: 23px;
    height: 23px;
}

body.is-home .trust-item strong,
body.is-home .trust-item span {
    display: block;
}

body.is-home .trust-item strong {
    color: var(--navy);
    font-size: 0.91rem;
}

body.is-home .trust-item span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.82rem;
}

body.is-home .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

body.is-home .hero-visual {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
}

body.is-home .visual-circle {
    position: absolute;
    width: 455px;
    height: 455px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(227, 240, 255, 0.9));
    box-shadow: inset 0 0 0 1px rgba(8, 100, 232, 0.09), 0 25px 65px rgba(10, 38, 81, 0.11);
}

body.is-home .house-vector {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 24px rgba(10, 38, 81, 0.14));
}

body.is-home .floating-icon {
    position: absolute;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: auto;
    min-width: 92px;
    max-width: 118px;
    padding: 10px 12px 8px;
    border: 1px solid rgba(8, 100, 232, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 38px rgba(10, 38, 81, 0.12);
}

body.is-home .floating-icon__media {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

body.is-home .floating-icon__media svg,
body.is-home .floating-icon__media img {
    display: block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
}

body.is-home .floating-icon__label {
    display: block;
    flex: 0 0 auto;
    margin-top: 2px;
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--navy);
}

body.is-home .floating-electrical { top: 18px; left: 18px; color: var(--blue); }
body.is-home .floating-plumbing { right: -4px; top: 148px; color: #1599ef; }
body.is-home .floating-heating { bottom: 8px; left: 34px; color: var(--orange); }
body.is-home .floating-gas { right: 18px; bottom: 10px; color: var(--green); }

body.is-home .services-section { background: #fff; }

body.is-home .services-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 42px;
}

body.is-home .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

body.is-home .service-card {
    position: relative;
    min-height: 345px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 35px rgba(10, 38, 81, 0.055);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    text-decoration: none;
    color: inherit;
}

body.is-home .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8, 100, 232, 0.32);
    box-shadow: var(--shadow);
}

body.is-home .service-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -45px;
    bottom: -45px;
    border-radius: 50%;
    background: var(--card-glow);
    opacity: 0.6;
}

body.is-home .service-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    color: var(--card-color);
    border-radius: 19px;
    background: var(--card-bg);
}

body.is-home .service-icon svg,
body.is-home .service-icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

body.is-home .service-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.35rem;
}

body.is-home .service-card p {
    margin: 10px 0 20px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

body.is-home .service-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.is-home .service-card li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--navy-light);
    font-size: 0.91rem;
    font-weight: 650;
    line-height: 1.4;
}

body.is-home .service-card li svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--card-color);
}

body.is-home .service-link {
    position: relative;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-top: auto;
    margin-left: auto;
    color: var(--card-color);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: background 160ms ease, color 160ms ease;
}

body.is-home .service-card:hover .service-link {
    color: #fff;
    background: var(--card-color);
    border-color: var(--card-color);
}

body.is-home .electrical-card { --card-color: #0864e8; --card-bg: #eaf3ff; --card-glow: #dcecff; }
body.is-home .plumbing-card { --card-color: #1398e8; --card-bg: #e8f8ff; --card-glow: #d9f3ff; }
body.is-home .heating-card { --card-color: #ff7800; --card-bg: #fff1e5; --card-glow: #ffe8d2; }
body.is-home .gas-card { --card-color: #12a957; --card-bg: #e9f9f0; --card-glow: #d9f5e5; }

body.is-home .proof-section { padding: 0 0 88px; }

body.is-home .proof-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #f9fbff, #eef5ff);
}

body.is-home .proof-item {
    min-height: 145px;
    display: grid;
    place-items: center;
    padding: 25px;
    text-align: center;
    border-right: 1px solid var(--border);
}

body.is-home .proof-item:last-child { border-right: 0; }

body.is-home .proof-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 9px;
    color: var(--blue);
}

body.is-home .proof-icon svg { width: 38px; height: 38px; }

body.is-home .proof-item strong {
    display: block;
    color: var(--navy);
    font-size: 1rem;
}

body.is-home .proof-item span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

body.is-home .callback-section { padding: 0 0 88px; }

body.is-home .callback-panel {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 55px;
    padding: 48px;
    overflow: hidden;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 20%, rgba(8, 100, 232, 0.35), transparent 32%),
        linear-gradient(135deg, #071a38, #0a2c62);
    box-shadow: 0 22px 55px rgba(6, 30, 68, 0.22);
}

body.is-home .callback-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

body.is-home .callback-copy p {
    max-width: 450px;
    margin: 16px 0 0;
    color: #c7d5ea;
    line-height: 1.7;
}

body.is-home .callback-form {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 0.8fr auto;
    gap: 10px;
}

body.is-home .field {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    color: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    outline: 0;
    background: #fff;
    font: inherit;
}

body.is-home .field:focus {
    border-color: #79b1ff;
    box-shadow: 0 0 0 4px rgba(8, 100, 232, 0.15);
}

body.is-home .field::placeholder { color: #7d899a; }

body.is-home .callback-form .button { min-width: 180px; }

body.is-home #requestCallResult {
    grid-column: 1 / -1;
}

body.is-home .whatsapp-subaction {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 10px;
    color: #cdd9e9;
    font-size: 0.9rem;
}

body.is-home .whatsapp-subaction a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    text-decoration: none;
}

body.is-home .certifications { padding-bottom: 85px; }

body.is-home .certification-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
}

body.is-home .certification-item {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 25px;
    border-right: 1px solid var(--border);
}

body.is-home .certification-item:last-child { border-right: 0; }

body.is-home .certification-item svg {
    width: 34px;
    height: 34px;
    color: var(--blue);
    flex: 0 0 auto;
}

body.is-home .certification-logo {
    width: auto;
    height: 52px;
    max-width: 96px;
    object-fit: contain;
    flex: 0 0 auto;
}

body.is-home .certification-item.green .certification-logo {
    max-width: 78px;
}

body.is-home .certification-logo--icon {
    height: 52px;
    max-width: 52px;
}

body.is-home .certification-item.green svg { color: var(--green); }

body.is-home .certification-item strong,
body.is-home .certification-item span { display: block; }

body.is-home .certification-item strong {
    color: var(--navy);
    font-size: 0.9rem;
}

body.is-home .certification-item span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.76rem;
}

body.is-home .site-footer {
    padding: 30px 0;
    color: #718096;
    border-top: 1px solid var(--border);
    background: #fff;
}

body.is-home .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.84rem;
}

body.is-home .footer-links {
    display: flex;
    gap: 22px;
}

body.is-home .footer-links a {
    text-decoration: none;
    color: inherit;
}

body.is-home .footer-links a:hover { color: var(--blue); }

body.is-home .mobile-nav {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid var(--border);
    background: #fff;
}

body.is-home .mobile-nav.open { display: grid; }

body.is-home .mobile-nav a {
    padding: 15px 0;
    color: rgba(11, 18, 38, 0.86);
    border-bottom: 1px solid #edf1f6;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1100px) {
    body.is-home .desktop-nav { gap: 22px; }
    body.is-home .hero-grid { grid-template-columns: 1fr 0.95fr; gap: 35px; }
    body.is-home .services-grid { grid-template-columns: repeat(2, 1fr); }
    body.is-home .proof-grid { grid-template-columns: repeat(3, 1fr); }
    body.is-home .proof-item:nth-child(3) { border-right: 0; }
    body.is-home .proof-item:nth-child(-n + 3) { border-bottom: 1px solid var(--border); }
    body.is-home .callback-panel { grid-template-columns: 1fr; }
    body.is-home .callback-form { grid-template-columns: 1fr 1fr; }
    body.is-home .callback-form .button { width: 100%; }
}

@media (max-width: 900px) {
    body.is-home .brand img { width: 210px; }
    body.is-home .desktop-nav,
    body.is-home .header-contact { display: none; }
    body.is-home .menu-button {
        display: grid;
        place-items: center;
        grid-column: 3;
    }
    body.is-home .hero { padding-top: 70px; }
    body.is-home .hero-grid { grid-template-columns: 1fr; }
    body.is-home .hero-visual { min-height: 450px; }
    body.is-home .certification-grid { grid-template-columns: repeat(2, 1fr); }
    body.is-home .certification-item:nth-child(2) { border-right: 0; }
    body.is-home .certification-item:nth-child(-n + 2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 680px) {
    body.is-home .container { width: min(calc(100% - 28px), var(--container)); }
    body.is-home .section { padding: 65px 0; }
    body.is-home .brand img { width: 185px; }
    body.is-home .hero { padding: 58px 0 72px; }
    body.is-home .hero-title { font-size: clamp(2.75rem, 13vw, 4.3rem); }
    body.is-home .hero-copy { font-size: 1rem; }
    body.is-home .hero-trust { grid-template-columns: 1fr; width: 100%; gap: 10px; }
    body.is-home .trust-item { padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--border); }
    body.is-home .trust-item:last-child { border-bottom: 0; }
    body.is-home .hero-visual { min-height: 355px; }
    body.is-home .visual-circle { width: 320px; height: 320px; }
    body.is-home .house-vector { width: 335px; }
    body.is-home .floating-icon {
        min-width: 74px;
        max-width: 92px;
        padding: 8px 9px 6px;
        border-radius: 14px;
        gap: 4px;
    }

    body.is-home .floating-icon__media {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    body.is-home .floating-icon__media svg,
    body.is-home .floating-icon__media img {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    body.is-home .floating-icon__label { font-size: 0.64rem; }
    body.is-home .floating-electrical { top: 10px; left: 4px; }
    body.is-home .floating-plumbing { right: -8px; top: 128px; }
    body.is-home .floating-heating { bottom: 0; left: 12px; }
    body.is-home .floating-gas { right: 6px; bottom: 0; }
    body.is-home .services-header { display: block; }
    body.is-home .services-header .button { margin-top: 24px; }
    body.is-home .services-grid { grid-template-columns: 1fr; }
    body.is-home .service-card { min-height: 315px; }
    body.is-home .proof-grid { grid-template-columns: 1fr; }
    body.is-home .proof-item { border-right: 0; border-bottom: 1px solid var(--border); }
    body.is-home .proof-item:last-child { border-bottom: 0; }
    body.is-home .callback-panel { padding: 32px 22px; }
    body.is-home .callback-form { grid-template-columns: 1fr; }
    body.is-home .whatsapp-subaction { flex-direction: column; }
    body.is-home .certification-grid { grid-template-columns: 1fr; }
    body.is-home .certification-item { justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--border); }
    body.is-home .certification-item:last-child { border-bottom: 0; }
    body.is-home .footer-inner { flex-direction: column; text-align: center; }
}
