:root {

    --red: #e3262e;
    --red-dark: #b91820;
    --red-light: #ff3b43;

    --black: #090a0c;
    --dark: #101216;
    --dark-2: #15171c;

    --white: #ffffff;
    --light: #f4f5f6;
    --grey: #777b82;
    --line: #dedfe1;

    --container: 1240px;

    --font-main: Arial, Helvetica, sans-serif;

    --shadow: 0 20px 50px rgba(0, 0, 0, .10);
}


/* =========================
   RESET
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(var(--container), calc(100% - 60px));
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: absolute;
    z-index: 20;
    width: 100%;
    top: 0;
    left: 0;

    color: var(--white);
}

.header-inner {
    min-height: 95px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(255,255,255,.15);
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    line-height: 1;
}

.logo-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    background: var(--red);

    font-size: 21px;

    transform: skew(-8deg);
}

.logo strong {
    display: block;

    font-size: 18px;
    letter-spacing: 2px;
}

.logo small {
    display: block;

    margin-top: 5px;

    color: #aeb0b5;

    font-size: 9px;
    letter-spacing: 3px;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    gap: 34px;
}

.main-nav a {
    position: relative;

    color: #d9dadd;

    font-size: 14px;
    font-weight: 600;

    transition: .2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--red);

    transition: .2s ease;
}

.main-nav a:hover {
    color: white;
}

.main-nav a:hover::after {
    width: 100%;
}


/* PHONE */

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    border: 1px solid rgba(255,255,255,.25);

    font-size: 13px;
    font-weight: 700;
}

.header-phone span {
    color: var(--red);
}


/* MOBILE BUTTON */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: white;

    transition: .2s ease;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;

    min-height: 780px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--black);
    color: white;
}

.hero-image {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,6,8,.97) 0%,
            rgba(5,6,8,.87) 42%,
            rgba(5,6,8,.40) 75%,
            rgba(5,6,8,.55) 100%
        ),
        url("images/elektricien.jpg") center / cover no-repeat;
}

.hero-image::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -180px;
    bottom: -200px;

    border: 90px solid rgba(227,38,46,.12);

    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 690px;

    padding-top: 70px;
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--red);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--red);
    box-shadow: 0 0 0 6px rgba(227,38,46,.12);
}

.hero h1 {
    margin: 24px 0;

    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -3px;
}

.hero h1 span {
    display: block;
    color: #d8dade;
}

.hero p {
    max-width: 610px;

    margin-bottom: 35px;

    color: #c0c2c6;

    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 14px;

    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;

    padding: 0 25px;

    font-size: 14px;
    font-weight: 800;

    transition: .2s ease;
}

.btn-red {
    background: var(--red);
    color: white;

    box-shadow: 0 10px 30px rgba(227,38,46,.25);
}

.btn-red:hover {
    background: var(--red-light);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.3);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--black);
}

.hero-trust {
    display: flex;
    gap: 35px;
}

.hero-trust > div {
    display: flex;
    flex-direction: column;
}

.hero-trust strong {
    color: white;

    font-size: 20px;
}

.hero-trust span {
    color: #85878c;

    font-size: 12px;
}


/* =========================
   TRUST BAR
========================= */

.trust-bar {
    position: relative;
    z-index: 3;

    margin-top: -1px;

    background: var(--dark);

    color: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}


.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
     justify-content: center;
    padding: 28px 20px;

    border-right: 1px solid rgba(255,255,255,.08);
}


.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: rgba(227,38,46,.12);
    color: var(--red);

    font-size: 18px;
}

.trust-item strong,
.trust-item small {
    display: block;
}

.trust-item strong {
    font-size: 13px;
}

.trust-item small {
    margin-top: 2px;

    color: #777b82;

    font-size: 11px;
}


/* =========================
   HEADINGS
========================= */

.section-heading {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 50px;

    margin-bottom: 60px;
}

.section-heading h2,
.about-content h2,
.faq-intro h2 {
    margin-top: 12px;

    font-size: clamp(38px, 4vw, 55px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.section-heading h2 span,
.about-content h2 span,
.faq-intro h2 span {
    color: var(--red);
}

.section-heading > p {
    align-self: end;

    color: var(--grey);

    font-size: 15px;
}

.centered {
    display: block;

    max-width: 650px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.centered p {
    margin: 18px auto 0;
}


/* =========================
   SERVICES
========================= */

.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;

    min-height: 340px;

    padding: 35px;

    background: white;

    border: 1px solid #e2e3e5;

    transition: .25s ease;

    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: var(--red);

    box-shadow: var(--shadow);
}

.service-card.featured {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.service-number {
    position: absolute;

    top: 20px;
    right: 25px;

    color: #d8d9db;

    font-size: 11px;
    font-weight: 800;
}

.featured .service-number {
    color: #45484d;
}

.service-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 35px;

    background: rgba(227,38,46,.10);
    color: var(--red);

    font-size: 23px;
}

.service-card h3 {
    margin-bottom: 13px;

    font-size: 21px;
}

.service-card p {
    color: var(--grey);

    font-size: 14px;
}

.featured p {
    color: #a1a4a9;
}

.service-card a {
    position: absolute;

    left: 35px;
    bottom: 30px;

    color: var(--red);

    font-size: 12px;
    font-weight: 800;
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;

    align-items: center;
}

.about-image {
    min-height: 570px;

    position: relative;

    background:
        linear-gradient(
            rgba(0,0,0,.12),
            rgba(0,0,0,.45)
        ),
        url("../images/image6.jpg") center / cover no-repeat;
}


.about-image-overlay {
    position: absolute;

    bottom: 30px;
    left: 30px;

    padding: 22px 28px;

    background: var(--dark);
    color: white;
}

.about-image-overlay strong {
    display: block;

    font-size: 38px;
    line-height: 1;

    color: var(--red);
}

.about-image-overlay span {
    font-size: 12px;
}

.about-content > p {
    margin-top: 20px;

    color: var(--grey);

    font-size: 15px;
}

.check-list {
    list-style: none;

    margin: 30px 0;
}

.check-list li {
    padding: 9px 0;

    color: var(--dark);

    font-size: 14px;
}

.check-list li::before {
    content: "✓";

    margin-right: 12px;

    color: var(--red);

    font-weight: bold;
}

.text-link {
    color: var(--red);

    font-size: 13px;
    font-weight: 800;
}


/* =========================
   PROCESS
========================= */

.process {
    background: var(--dark);
    color: white;
}

.process .section-label {
    color: var(--red);
}

.process h2 {
    color: white;
}

.process p {
    color: #888c92;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 70px;
}

.process-step {
    position: relative;
    padding: 0 10px;
    text-align: center;
}

.process-step > span {
    display: block;

    margin-bottom: 25px;

    color: var(--red);

    font-size: 14px;
    font-weight: 800;
}

.process-step h3 {
    margin-bottom: 12px;

    font-size: 19px;
}

.process-step p {
    font-size: 13px;
}




/* =========================
   REVIEWS
========================= */

.rating {
    align-self: end;

    display: flex;
    flex-direction: column;

    text-align: right;
}

.rating strong {
    color: var(--red);

    letter-spacing: 3px;
}

.rating span {
    color: var(--grey);

    font-size: 12px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.review-card {
    padding: 35px;

    background: var(--light);
}

.review-stars {
    margin-bottom: 22px;

    color: var(--red);

    letter-spacing: 4px;
}

.review-card > p {
    min-height: 120px;

    color: #50535a;

    font-size: 15px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-top: 25px;

    border-top: 1px solid var(--line);
}

.review-author > span {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    background: var(--dark);
    color: white;

    font-size: 11px;
    font-weight: bold;
}

.review-author strong,
.review-author small {
    display: block;
}

.review-author strong {
    font-size: 13px;
}

.review-author small {
    color: var(--grey);

    font-size: 11px;
}


/* =========================
   FAQ
========================= */

.faq {
    background: var(--light);
}

.faq-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
}

.faq-intro p {
    margin: 25px 0 30px;

    color: var(--grey);

    font-size: 15px;
}

.faq-list details {
    border-top: 1px solid var(--line);
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 0;

    cursor: pointer;

    list-style: none;

    font-size: 15px;
    font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    color: var(--red);

    font-size: 23px;

    transition: .2s ease;
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 700px;

    padding: 0 35px 25px 0;

    color: var(--grey);

    font-size: 14px;
}


/* =========================
   CONTACT CTA
========================= */

.contact-cta {
    padding: 90px 0;

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--red-dark)
        );

    color: white;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.contact-cta .section-label {
    color: rgba(255,255,255,.7);
}

.contact-cta h2 {
    max-width: 700px;

    margin: 12px 0;

    font-size: clamp(35px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.contact-cta h2 span {
    color: #17181b;
}

.contact-cta p {
    color: rgba(255,255,255,.8);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;

    min-width: 260px;
}

.btn-white {
    width: 100%;

    background: white;
    color: var(--dark);

    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.btn-white:hover {
    transform: translateY(-2px);
}

.contact-actions > span {
    font-size: 11px;

    color: rgba(255,255,255,.7);
}


/* =========================
   FOOTER
========================= */

.site-footer {
    padding-top: 70px;

    background: var(--black);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;

    padding-bottom: 60px;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 25px;

    color: #72757b;

    font-size: 13px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;

    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-column a,
.footer-column span {
    color: #777a80;

    font-size: 13px;

    transition: .2s ease;
}

.footer-column a:hover {
    color: var(--red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding: 22px 0;

    border-top: 1px solid #1c1e22;

    color: #5e6166;

    font-size: 11px;
}

.footer-bottom div {
    display: flex;
    gap: 25px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 18px;
    }

    .header-phone {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 50px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .process-line {
        display: none;
    }

    .faq-grid {
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item,
    .trust-item:first-child {
        padding: 20px 10px;
    }
    .trust-item:nth-child(2) {
    border-right: none;
}
}


@media (max-width: 760px) {

    .container {
        width: min(var(--container), calc(100% - 36px));
    }

    .section {
        padding: 80px 0;
    }


    /* HEADER */

    .header-inner {
        min-height: 75px;
    }

    .main-nav {
        position: absolute;

        top: 75px;
        left: 18px;
        right: 18px;

        display: flex;
        flex-direction: column;
        gap: 0;

        padding: 10px 20px;

        background: var(--dark);

        border: 1px solid #292b30;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition: .2s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    .main-nav a {
        padding: 14px 0;

        border-bottom: 1px solid #25272c;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* HERO */

    .hero {
        min-height: 720px;
    }

    .hero-image {
        background:
            linear-gradient(
                90deg,
                rgba(5,6,8,.94),
                rgba(5,6,8,.72)
            ),
            url("images/elektricien.jpg") center / cover no-repeat;
    }

    .hero-text {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        max-width: 300px;
    }

    .hero-trust {
        gap: 20px;
    }


    /* TRUST */

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item,
    .trust-item:first-child {
        padding: 20px 10px;
    }


    /* HEADINGS */

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 20px;
    }


    /* SERVICES */

    .services-grid {
        grid-template-columns: 1fr;
    }


    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 400px;
    }


    /* REVIEWS */

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card > p {
        min-height: auto;
        margin-bottom: 20px;
    }

    .rating {
        margin-top: 25px;

        text-align: left;
    }


    /* FAQ */

    .faq-grid {
        grid-template-columns: 1fr;
    }


    /* CONTACT */

    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-actions {
        width: 100%;
        align-items: flex-start;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

}


@media (max-width: 480px) {

    .logo strong {
        font-size: 15px;
    }

    .logo small {
        font-size: 7px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-trust {
        flex-wrap: wrap;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        justify-content: left;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom div {
        flex-direction: column;
        gap: 8px;
    }

}

@media (max-width: 650px) {
    .process-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}