/* Electech Services homepage — based on the original GoX homepage layout. */

.electech-homepage,
.electech-homepage * {
    box-sizing: border-box;
}

.electech-homepage {
    margin: 0;
    color: #151515;
    background: #f8f8f8;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.electech-homepage p {
    margin: 0 0 16px;
    color: #151515;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.electech-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 52px 16px 0;
    background: #f8f8f8;
}

.electech-hero-background {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.electech-hero-inner {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.electech-hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 2fr) minmax(280px, 4fr);
    align-items: end;
    gap: 16px;
    max-width: 1920px;
    margin: 0 auto;
}

.electech-hero-heading h1 {
    margin: 0;
    color: #007b9b;
    font-family: Merriweather, Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.2;
}

.electech-hero-description {
    min-width: 0;
}

.electech-hero-description p:last-of-type {
    margin-bottom: 16px;
}

.electech-learn-more {
    display: inline-block;
    margin: 8px 0;
    padding: 8px;
    border: 1px solid #0066cc;
    border-radius: 8px;
    color: #0066cc;
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.electech-learn-more:hover,
.electech-learn-more:focus-visible {
    color: #fff;
    background: #0066cc;
}

.electech-hero-image-wrap {
    width: 100%;
    margin: 28px auto 0;
    overflow: hidden;
    line-height: 0;
}

.electech-hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 760px;
    border-radius: 500px;
    object-fit: cover;
    object-position: center;
}

.electech-features {
    position: relative;
    z-index: 2;
    padding: 0 16px 40px;
    background: #f8f8f8;
}

.electech-features-inner {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.electech-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: -200px;
}

.electech-feature-card {
    min-width: 0;
    padding: 32px;
    border-radius: 2px;
    background: #f8f8f8;
    box-shadow: 0 -16px 32px rgba(0, 0, 0, .1);
}

.electech-feature-image-wrap {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.electech-feature-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.electech-feature-card h2 {
    margin: 20px 0 12px;
    color: #007b9b;
    font-family: Merriweather, Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
}

.electech-feature-card p {
    margin: 0;
}

.electech-home-footer {
    padding: 34px 16px 24px;
    color: #f8f8f8;
    background: #151515;
    font-family: Arial, sans-serif;
}

.electech-footer-inner {
    display: flex;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.electech-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.electech-social-links a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: #f8f8f8;
    text-decoration: none;
}

.electech-social-links a:hover,
.electech-social-links a:focus-visible {
    opacity: .75;
}

.electech-copyright {
    margin: 0;
    color: #f8f8f8;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 1023px) {
    .electech-hero-copy {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }

    .electech-hero-heading h1 {
        font-size: clamp(38px, 5vw, 50px);
    }

    .electech-hero-spacer {
        display: none;
    }

    .electech-hero-description {
        grid-column: 2;
    }

    .electech-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: -120px;
    }
}

@media (max-width: 767px) {
    .electech-hero {
        padding: 36px 20px 0;
    }

    .electech-hero-copy {
        display: block;
    }

    .electech-hero-heading h1 {
        margin-bottom: 24px;
        font-size: clamp(34px, 9vw, 44px);
    }

    .electech-hero-image-wrap {
        margin-top: 24px;
    }

    .electech-hero-image {
        max-height: none;
        border-radius: 500px;
    }

    .electech-features {
        padding-right: 20px;
        padding-left: 20px;
    }

    .electech-feature-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: -40px;
    }

    .electech-feature-card {
        padding: 24px;
    }

    .electech-home-footer {
        padding-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .electech-learn-more {
        transition: none;
    }
}

.electech-social-links svg {
    display: block;
    width: 32px;
    height: 32px;
}


/* Floating Privacy Settings control (original site: bottom-left cookie button). */
.electech-privacy-control { position: fixed; left: 32px; bottom: 32px; z-index: 100001; }
.electech-privacy-trigger { display: inline-flex; align-items: center; gap: 8px; max-width: 56px; overflow: hidden; padding: 16px; border: 0; border-radius: 32px; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; white-space: nowrap; transition: max-width .2s ease; }
.electech-privacy-trigger:hover, .electech-privacy-trigger:focus-visible { max-width: 240px; }
.electech-privacy-cookie-icon { flex: 0 0 24px; fill: currentColor; }
.electech-privacy-trigger-text { display: inline-block; opacity: 0; font: 14px/1.3 Arial, sans-serif; transition: opacity .2s ease; }
.electech-privacy-trigger:hover .electech-privacy-trigger-text, .electech-privacy-trigger:focus-visible .electech-privacy-trigger-text { opacity: 1; }
.electech-privacy-overlay[hidden] { display: none !important; }
.electech-privacy-overlay { position: fixed; inset: 0; z-index: 100002; display: flex; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; background: rgba(79,95,126,.84); box-sizing: border-box; }
.electech-privacy-panel { position: relative; display: flex; flex-direction: column; width: min(100%, 640px); max-height: min(600px, 90vh); overflow: hidden; background: #fff; color: #4A5A73; font: 16px/1.5 Arial, sans-serif; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.electech-privacy-panel-content { overflow-y: auto; padding: 32px; }
.electech-privacy-panel h2 { margin: 0 48px 12px 0; color: #4A5A73; font: 700 25px/1.25 Arial, sans-serif; }
.electech-privacy-panel h3 { margin: 0 0 4px; color: #4A5A73; font: 700 17px/1.3 Arial, sans-serif; }
.electech-privacy-panel p { margin: 0 0 14px; font: 14px/1.5 Arial, sans-serif; }
.electech-privacy-note { padding: 12px; background: #f2f5f8; }
.electech-privacy-close { position: absolute; top: 10px; right: 14px; z-index: 1; border: 0; background: transparent; color: #4A5A73; font: 32px/1 Arial, sans-serif; cursor: pointer; }
.electech-privacy-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid #e1e5e9; }
.electech-privacy-option p { margin: 0; }
.electech-switch { position: relative; display: inline-block; flex: 0 0 48px; width: 48px; height: 26px; }
.electech-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.electech-switch-slider { position: absolute; inset: 0; border-radius: 20px; background: #a0a0a0; cursor: pointer; transition: background .2s ease; }
.electech-switch-slider:before { position: absolute; content: ''; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.electech-switch input:checked + .electech-switch-slider { background: #0066cc; }
.electech-switch input:checked + .electech-switch-slider:before { transform: translateX(22px); }
.electech-switch input:focus-visible + .electech-switch-slider { outline: 2px solid #151515; outline-offset: 3px; }
.electech-privacy-actions { position: sticky; bottom: 0; padding: 0; background: #3c9ddb; }
.electech-privacy-save { display: block; width: 100%; min-height: 50px; border: 0; background: transparent; color: #fff; font: 700 16px Arial, sans-serif; cursor: pointer; }
@media (max-width: 768px) { .electech-privacy-control { left: 16px; bottom: 16px; } .electech-privacy-panel-content { padding: 24px 20px; } .electech-privacy-panel { max-height: 90vh; } }
