/* =========================
   GXR Electric website
========================= */

:root {
    --ink: #19232d;
    --ink-soft: #2d3945;
    --blue: #4d91ca;
    --blue-dark: #246da8;
    --blue-light: #dbeaf6;
    --blue-pale: #f2f8fc;
    --orange: #f5a400;
    --white: #ffffff;
    --off-white: #f7f9fb;
    --gray: #687583;
    --border: #d7e0e7;
    --shadow: 0 20px 55px rgba(25, 35, 45, 0.13);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

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

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

.section {
    padding: 100px 0;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 9999;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--orange);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.skip-link:focus {
    top: 20px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--orange);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dark-eyebrow {
    color: var(--blue-dark);
}

.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border: 0;
    border-radius: 11px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--orange);
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(245, 164, 0, 0.24);
}

.button-primary:hover {
    background: #ffb61f;
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(25, 35, 45, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.nav-container {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: block;
    width: 190px;
    line-height: 0;
}

.brand img {
    width: 100%;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 22px;
}

.navigation a {
    color: #e8eef3;
    font-size: 0.91rem;
    font-weight: 750;
    text-decoration: none;
}

.navigation a:hover,
.navigation a:focus-visible {
    color: #8dc0e6;
}

.navigation .nav-call-button {
    padding: 11px 16px;
    border-radius: 10px;
    background: var(--orange);
    color: var(--ink);
}

.navigation .nav-call-button:hover {
    color: var(--ink);
    background: #ffb61f;
}

.menu-button {
    width: 44px;
    height: 44px;
    display: none;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    width: 22px;
    height: 2px;
    display: block;
    background: var(--white);
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 18%, rgba(77, 145, 202, 0.34), transparent 28%),
        linear-gradient(125deg, #111a22 0%, #1d2b38 55%, #29495f 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 690px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 65px;
    padding-top: 70px;
    padding-bottom: 90px;
}

.hero h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(2.55rem, 5.1vw, 4.55rem);
    line-height: 1.01;
    letter-spacing: -0.045em;
}

.hero h1 span {
    display: block;
    color: #8fc1e5;
}

.hero-description {
    max-width: 760px;
    margin: 27px 0 0;
    color: #d1dbe3;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
    color: #dce5ec;
    font-size: 0.91rem;
    font-weight: 750;
}

.trust-bar span {
    position: relative;
    padding-left: 19px;
}

.trust-bar span::before {
    position: absolute;
    left: 0;
    color: var(--orange);
    content: "✓";
}

.hero-panel {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(77, 145, 202, 0.10);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
    color: var(--white);
    backdrop-filter: blur(12px);
}

.hero-panel img {
    width: min(100%, 360px);
    display: block;
    margin: 0 auto 20px;
}

.hero-panel h2 {
    margin: 0 0 11px;
    font-size: 1.65rem;
}

.hero-panel p {
    margin: 0 0 22px;
    color: #cfdae3;
}

.panel-phone {
    display: flex;
    flex-direction: column;
    padding: 15px 17px;
    border-radius: 12px;
    background: var(--orange);
    color: var(--ink);
    text-decoration: none;
}

.panel-phone span {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.panel-phone strong {
    font-size: 1.45rem;
}

.panel-email {
    display: block;
    margin-top: 15px;
    color: #a8d0ed;
    font-weight: 750;
    text-decoration: none;
}

/* Proof strip */

.proof-strip {
    position: relative;
    z-index: 5;
    margin-top: -35px;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.proof-grid article {
    padding: 25px 24px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.proof-grid article:last-child {
    border-right: 0;
}

.proof-grid strong,
.proof-grid span {
    display: block;
}

.proof-grid strong {
    color: var(--blue-dark);
    font-size: 1.45rem;
}

.proof-grid span {
    color: var(--gray);
    font-size: 0.88rem;
}

/* Shared heading */

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

.section-heading h2,
.maintenance-content h2,
.about-copy h2,
.area-layout h2,
.contact-copy h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-heading > p:last-child,
.maintenance-content > p,
.about-copy > p,
.area-layout > div:first-child > p:last-child,
.contact-copy > p {
    color: var(--gray);
    font-size: 1.04rem;
}

/* Services */

.services-section {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    padding: 32px 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    border-color: #9fc7e3;
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 21px;
    border-radius: 14px;
    background: var(--blue-light);
    color: var(--blue-dark);
    font-size: 1.45rem;
    font-weight: 900;
}

.service-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.service-card p {
    margin: 0;
    color: var(--gray);
}

/* Maintenance */

.maintenance-section {
    color: var(--white);
    background:
        radial-gradient(circle at 12% 18%, rgba(77, 145, 202, 0.28), transparent 30%),
        var(--ink);
}

.maintenance-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
}

.maintenance-content h2 {
    color: var(--white);
}

.maintenance-content > p {
    color: #c9d4dd;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 14px 14px 14px 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.check-list li::before {
    position: absolute;
    left: 15px;
    color: var(--orange);
    content: "✓";
    font-weight: 900;
}

.maintenance-card {
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.maintenance-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 16px;
    background: var(--orange);
    color: var(--ink);
    font-size: 2rem;
}

.maintenance-card h3 {
    margin: 0 0 12px;
    font-size: 1.55rem;
}

.maintenance-card p {
    color: #c9d4dd;
}

.maintenance-card a {
    color: #9fc9e7;
    font-size: 1.15rem;
    font-weight: 900;
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 75px;
}

.about-logo-card {
    min-height: 430px;
    display: grid;
    place-items: center;
    padding: 45px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 20%, rgba(77, 145, 202, 0.24), transparent 38%),
        linear-gradient(145deg, #f6f9fb, #e7eff5);
    box-shadow: var(--shadow);
}

.about-logo-card img {
    width: 100%;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.about-points div {
    padding: 17px;
    border-left: 4px solid var(--blue);
    border-radius: 0 10px 10px 0;
    background: var(--blue-pale);
}

.about-points strong,
.about-points span {
    display: block;
}

.about-points span {
    margin-top: 5px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Area */

.area-section {
    color: var(--white);
    background:
        linear-gradient(125deg, rgba(34, 74, 102, 0.96), rgba(25, 35, 45, 0.98));
}

.area-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
    gap: 70px;
}

.area-layout h2 {
    color: var(--white);
}

.area-layout > div:first-child > p:last-child {
    color: #ced9e2;
}

.area-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 11px;
}

.area-list span {
    padding: 13px 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.9rem;
    font-weight: 750;
    text-align: center;
}

/* Contact */

.contact-section {
    background:
        linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 65px;
}

.contact-options {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.contact-options a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    text-decoration: none;
}

.contact-options a:hover {
    border-color: var(--blue);
    transform: translateX(3px);
}

.contact-symbol {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--blue-light);
    color: var(--blue-dark);
}

.contact-options small,
.contact-options strong {
    display: block;
}

.contact-options small {
    color: var(--gray);
}

.form-activation-note {
    margin-top: 23px;
    padding: 15px;
    border-left: 4px solid var(--orange);
    background: #fff8e8;
    font-size: 0.88rem !important;
}

.contact-form {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 21px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.contact-form label {
    display: block;
    margin-bottom: 17px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid #cad5dd;
    border-radius: 9px;
    outline: none;
    background: #fcfdfe;
    color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(77, 145, 202, 0.14);
}

.contact-form textarea {
    resize: vertical;
}

.form-button {
    width: 100%;
}

.privacy-note {
    margin: 12px 0 0;
    color: var(--gray);
    font-size: 0.8rem;
    text-align: center;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
}

/* Footer */

.site-footer {
    padding: 58px 0 28px;
    color: #cbd6df;
    background: #111820;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 48px;
}

.footer-brand img {
    width: 220px;
    margin-bottom: 14px;
}

.footer-brand p {
    max-width: 460px;
}

.site-footer h2 {
    margin: 0 0 13px;
    color: var(--white);
    font-size: 1rem;
}

.site-footer a,
.site-footer span {
    display: block;
    margin: 7px 0;
    color: #cbd6df;
    text-decoration: none;
}

.site-footer a:hover {
    color: #8fc1e5;
}

.copyright {
    grid-column: 1 / -1;
    margin: 15px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8d9aa5;
    font-size: 0.85rem;
}

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

/* Responsive */

@media (max-width: 1000px) {
    .menu-button {
        display: grid;
    }

    .navigation {
        position: absolute;
        top: 88px;
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 14px;
        background: var(--ink);
        box-shadow: var(--shadow);
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 11px;
    }

    .navigation .nav-call-button {
        text-align: center;
    }

    .hero-content,
    .maintenance-grid,
    .about-grid,
    .area-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        gap: 38px;
    }

    .hero-panel {
        max-width: 600px;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-grid article:nth-child(2) {
        border-right: 0;
    }

    .proof-grid article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .area-list {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    body {
        padding-bottom: 58px;
    }

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

    .section {
        padding: 75px 0;
    }

    .brand {
        width: 155px;
    }

    .nav-container {
        min-height: 78px;
    }

    .navigation {
        top: 78px;
    }

    .hero-content {
        min-height: auto;
        padding-top: 65px;
        padding-bottom: 90px;
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .trust-bar {
        flex-direction: column;
        gap: 8px;
    }

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

    .proof-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .proof-grid article:last-child {
        border-bottom: 0;
    }

    .services-grid,
    .check-list,
    .about-points,
    .area-list,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-logo-card {
        min-height: 280px;
        padding: 25px;
    }

    .contact-form {
        padding: 24px 19px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .mobile-call-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1500;
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--orange);
        color: var(--ink);
        font-weight: 900;
        text-decoration: none;
        box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.18);
    }
}
