﻿:root {
    --green-dark: #064e3b;
    --green: #087f5b;
    --green-light: #dff5e9;
    --green-bright: #45e78a;
    --text: #172b2b;
    --text-muted: #647573;
    --white: #ffffff;
    --background: #f7faf8;
    --border: #dce9e2;
    --radius: 14px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min( var(--container), calc(100% - 40px) );
    margin-inline: auto;
}


/* FEJLÉC */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-symbol {
    color: var(--green-dark);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -2px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .brand-text strong {
        font-size: 17px;
        color: var(--green-dark);
    }

    .brand-text small {
        font-size: 11px;
        color: var(--text-muted);
    }

.main-navigation {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--green-dark);
        background: var(--green-light);
    }

.header-phone {
    flex-shrink: 0;
    padding: 12px 16px;
    color: var(--white);
    background: var(--green-dark);
    border-radius: 9px;
    font-weight: 800;
    white-space: nowrap;
}

    .header-phone:hover {
        background: var(--green);
    }

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    padding: 8px 12px;
    cursor: pointer;
    color: var(--green-dark);
}


/* GOMBOK */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 9px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    color: var(--white);
    background: var(--green);
}

    .btn-primary:hover {
        background: var(--green-dark);
    }

.btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
    background: transparent;
}

    .btn-outline:hover {
        background: rgba(255, 255, 255, 0.12);
    }

.btn-light {
    background: var(--white);
    color: var(--green-dark);
}

.btn-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}


/* FŐ BANNER */

.hero {
    color: var(--white);
    background: radial-gradient( circle at 85% 25%, rgba(69, 231, 138, 0.18), transparent 30% ), linear-gradient( 115deg, #061d1b, #063d31 70%, #087f5b );
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 50px;
    align-items: center;
    padding-block: 76px;
}

.eyebrow {
    display: inline-block;
    color: var(--green-bright);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero h1 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -2px;
}

    .hero h1 span {
        display: block;
        color: var(--green-bright);
    }

.hero-text > p {
    max-width: 650px;
    margin: 0 0 26px;
    color: #e0eee8;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
    color: #e0eee8;
    font-size: 13px;
}

    .hero-benefits span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

.hero-visual {
    padding: 35px 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    text-align: center;
}

.hero-icon {
    display: inline-grid;
    place-items: center;
    width: 110px;
    height: 110px;
    margin-bottom: 15px;
    border-radius: 50%;
    color: var(--green-dark);
    background: var(--green-bright);
    font-size: 60px;
    font-weight: 900;
}

.hero-visual h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.hero-visual p {
    margin: 0;
    color: #d7e9e0;
}


/* ÁLTALÁNOS SZEKCIÓK */

.section {
    padding-block: 76px;
}

.section-soft {
    background: var(--background);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

    .section-heading .eyebrow {
        color: var(--green);
    }

    .section-heading h2 {
        margin: 0 0 12px;
        font-size: clamp(27px, 3vw, 38px);
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .section-heading p {
        margin: 0;
        color: var(--text-muted);
    }


/* SZOLGÁLTATÁSKÁRTYÁK */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.2s, transform 0.2s;
}

    .service-card:hover {
        border-color: var(--green);
        transform: translateY(-4px);
    }

.service-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 15px;
    background: var(--green-light);
    font-size: 28px;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.3;
}

.service-card p {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.text-link {
    margin-top: auto;
    color: var(--green);
    font-weight: 800;
    font-size: 14px;
}

    .text-link:hover {
        color: var(--green-dark);
    }


/* KALKULÁTOROK */

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.calculator-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}

.calculator-number {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--green);
    font-size: 35px;
    font-weight: 900;
}

.calculator-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
}

.calculator-card p {
    min-height: 72px;
    margin: 0 0 22px;
    color: var(--text-muted);
    font-size: 14px;
}

.notice {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 17px 20px;
    border-left: 4px solid var(--green);
    border-radius: 8px;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 13px;
}


/* ELŐNYÖK */

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.benefit {
    text-align: center;
}

.benefit-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 28px;
    font-weight: 900;
}

.benefit h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.benefit p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}


/* KAPCSOLATI BANNER */

.contact-banner {
    padding-block: 55px;
    background: var(--green-dark);
    color: var(--white);
}

.contact-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-banner .eyebrow {
    color: var(--green-bright);
}

.contact-banner h2 {
    margin: 0 0 10px;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
}

.contact-banner p {
    margin: 0;
    color: #d4e6df;
}

.contact-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* LÁBLÉC */

.site-footer {
    background: #f4f8f5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-block: 48px;
}

.footer-brand {
    display: inline-flex;
    flex-direction: column;
    color: var(--green-dark);
    font-size: 27px;
    font-weight: 900;
}

    .footer-brand span {
        font-size: 15px;
    }

.footer-about p {
    max-width: 350px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

    .footer-column h3 {
        margin: 0 0 8px;
        font-size: 16px;
    }

    .footer-column a {
        color: var(--text-muted);
        font-size: 14px;
    }

        .footer-column a:hover {
            color: var(--green);
        }

.footer-bottom {
    border-top: 1px solid var(--border);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 15px;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
}


/* MOBIL ÉS TABLET */

@media (max-width: 1100px) {

    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 12px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-navigation {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        order: 4;
    }

        .main-navigation.is-open {
            display: flex;
        }

    .nav-link {
        justify-content: flex-start;
        padding: 13px;
    }

    .header-phone {
        font-size: 13px;
    }

    .service-grid,
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-visual {
        max-width: 480px;
    }
}

@media (max-width: 700px) {

    .container {
        width: calc(100% - 28px);
    }

    .header-inner {
        gap: 10px;
    }

    .brand-symbol {
        font-size: 26px;
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-text small {
        font-size: 10px;
    }

    .header-phone {
        width: 100%;
        text-align: center;
        order: 3;
    }

    .hero-content {
        padding-block: 48px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .hero-text > p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            width: 100%;
        }

    .hero-benefits {
        flex-direction: column;
        gap: 10px;
    }

    .section {
        padding-block: 52px;
    }

    .service-grid,
    .calculator-grid,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .calculator-card p {
        min-height: 0;
    }

    .contact-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-banner-buttons {
        flex-direction: column;
    }

        .contact-banner-buttons .btn {
            width: 100%;
        }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ALMENÜK FEJLÉCE */

.subpage-hero {
    color: #ffffff;
    background: linear-gradient(115deg, #061d1b, #064e3b 75%, #087f5b);
    padding-block: 64px;
}

.subpage-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.subpage-hero h1 {
    max-width: 750px;
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.subpage-hero p {
    max-width: 680px;
    margin: 0 0 25px;
    color: #e0eee8;
    font-size: 17px;
}

.subpage-hero-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 76px;
}


/* INFORMÁCIÓS KÁRTYÁK */

.appliance-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.appliance-info-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
}

    .appliance-info-card h3 {
        margin: 0 0 12px;
        font-size: 20px;
    }

    .appliance-info-card p {
        margin: 0;
        color: var(--text-muted);
        font-size: 14px;
    }


/* JAVÍTÁSI ÁRAK */

.appliance-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.appliance-price-card {
    padding: 30px 22px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
}

.featured-price {
    border: 2px solid var(--green);
    background: #f0fbf5;
}

.price-duration {
    display: block;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-weight: 800;
}

.price-amount {
    color: var(--green-dark);
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 900;
}

.appliance-price-card p {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}


/* HIBAFELTÁRÁS MAGYARÁZATA */

.appliance-diagnostic {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
}

.diagnostic-symbol {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--green-dark);
    background: var(--green-light);
    font-size: 25px;
    font-weight: 900;
}

.diagnostic-content h2 {
    margin: 0 0 14px;
    font-size: 25px;
}

.diagnostic-content p {
    margin: 0 0 12px;
    color: var(--text-muted);
}

    .diagnostic-content p:last-child {
        margin-bottom: 0;
    }


/* KISZÁLLÁSI ÁRLISTA */

.travel-price-list {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #ffffff;
}

.travel-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

    .travel-price-row:last-child {
        border-bottom: 0;
    }

    .travel-price-row p {
        margin: 5px 0 0;
        color: var(--text-muted);
        font-size: 13px;
    }

.travel-price {
    flex-shrink: 0;
    color: var(--green-dark);
    font-size: 20px;
}

.small-disclaimer {
    max-width: 900px;
    margin: 18px auto 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;
}


/* KAPCSOLATI PANEL */

.appliance-contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
}

    .appliance-contact-panel > div {
        flex: 1 1 250px;
    }

    .appliance-contact-panel h3 {
        margin: 0 0 8px;
    }

    .appliance-contact-panel p {
        margin: 0;
        color: var(--text-muted);
    }

.btn-outline-dark {
    color: var(--green-dark);
    border-color: var(--green-dark);
    background: #ffffff;
}

    .btn-outline-dark:hover {
        color: #ffffff;
        background: var(--green-dark);
    }


/* RESZPONZÍV MEGJELENÉS */

@media (max-width: 800px) {
    .subpage-hero-inner {
        align-items: flex-start;
    }

    .subpage-hero-icon {
        width: 95px;
        height: 95px;
        font-size: 48px;
    }

    .appliance-info-grid,
    .appliance-price-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .subpage-hero {
        padding-block: 45px;
    }

    .subpage-hero-inner {
        flex-direction: column;
    }

    .subpage-hero-icon {
        display: none;
    }

    .appliance-diagnostic {
        flex-direction: column;
        padding: 22px;
    }

    .travel-price-row {
        align-items: flex-start;
        padding: 17px;
    }

    .travel-price {
        font-size: 16px;
        text-align: right;
    }

    .appliance-contact-panel {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

        .appliance-contact-panel .btn {
            width: 100%;
        }
}

/* Villanyszerelési oldal */

.electrical-hero {
    background: linear-gradient(135deg, #eaf4ee, #f5f7f5);
}

.electrical-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.electrical-service-card {
    background: #ffffff;
    border: 1px solid #e3eae5;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 5px 20px rgba(20, 60, 35, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .electrical-service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(20, 60, 35, 0.10);
    }

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #eaf4ee;
    font-size: 25px;
}

.electrical-service-card h3,
.electrical-process-item h3 {
    margin: 0 0 12px;
    color: #183d2a;
    font-size: 20px;
}

.electrical-service-card p,
.electrical-process-item p {
    margin: 0;
    color: #59665e;
    line-height: 1.7;
}

.electrical-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    margin-top: 32px;
}

.electrical-process-item {
    padding: 24px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e3eae5;
}

.process-number {
    display: inline-block;
    margin-bottom: 16px;
    color: #21834a;
    font-size: 30px;
    font-weight: 800;
}

.electrical-notice {
    margin-top: 32px;
    padding: 24px 28px;
    background: #edf5ef;
    border-left: 4px solid #25834a;
    border-radius: 10px;
}

    .electrical-notice strong {
        display: block;
        margin-bottom: 8px;
        color: #183d2a;
        font-size: 18px;
    }

    .electrical-notice p {
        margin: 0;
        color: #46564b;
        line-height: 1.7;
    }

.electrical-contract-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 36px;
    background: #ffffff;
    border: 1px solid #e3eae5;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(20, 60, 35, 0.05);
}

    .electrical-contract-panel h2 {
        margin: 8px 0 12px;
        color: #183d2a;
    }

    .electrical-contract-panel p {
        max-width: 700px;
        margin: 0;
        color: #59665e;
        line-height: 1.7;
    }

.electrical-contact {
    padding: 42px 24px;
    text-align: center;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e3eae5;
}

    .electrical-contact h2 {
        margin: 0 0 14px;
        color: #183d2a;
    }

    .electrical-contact p {
        max-width: 650px;
        margin: 0 auto 24px;
        color: #59665e;
        line-height: 1.7;
    }

    .electrical-contact .hero-buttons {
        justify-content: center;
    }

@media (max-width: 900px) {
    .electrical-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .electrical-process-grid {
        grid-template-columns: 1fr;
    }

    .electrical-contract-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .electrical-service-grid {
        grid-template-columns: 1fr;
    }

    .electrical-service-card {
        padding: 22px;
    }

    .electrical-contract-panel {
        padding: 24px;
    }

    .electrical-contact {
        padding: 30px 18px;
    }
}

/* Villanyszerelési árkalkulátor */

.electrical-calculator-section {
    background: #f5f8f5;
}

.electrical-calculator {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
    gap: 24px;
    align-items: start;
    margin-top: 32px;
}

.electrical-calculator-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.electrical-calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e0e9e2;
    border-radius: 14px;
}

.electrical-calc-description {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .electrical-calc-description strong {
        color: #183d2a;
        font-size: 16px;
    }

    .electrical-calc-description span {
        color: #66736a;
        font-size: 13px;
        line-height: 1.5;
    }

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

    .quantity-control button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid #cddbd0;
        border-radius: 9px;
        background: #edf5ef;
        color: #183d2a;
        font-size: 22px;
        cursor: pointer;
    }

        .quantity-control button:hover {
            background: #dcece0;
        }

    .quantity-control input {
        width: 48px;
        height: 36px;
        padding: 4px;
        border: 1px solid #cddbd0;
        border-radius: 8px;
        text-align: center;
        font-size: 16px;
    }

.electrical-calculator-summary {
    position: sticky;
    top: 20px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dce8de;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(20, 60, 35, 0.06);
}

.summary-label {
    display: block;
    margin-bottom: 10px;
    color: #59665e;
    font-size: 14px;
}

.electrical-calculator-summary #electrical-total {
    display: block;
    margin-bottom: 18px;
    color: #207b43;
    font-size: 30px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.electrical-calculator-summary p {
    margin: 0 0 22px;
    color: #59665e;
    font-size: 14px;
    line-height: 1.7;
}

.electrical-calculator-summary .btn {
    width: 100%;
    text-align: center;
}

@media (max-width: 850px) {
    .electrical-calculator {
        grid-template-columns: 1fr;
    }

    .electrical-calculator-summary {
        position: static;
    }
}

@media (max-width: 520px) {
    .electrical-calc-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .quantity-control {
        align-self: flex-end;
    }

    .electrical-calculator-summary {
        padding: 22px;
    }
}

/* Kapcsolat és ajánlatkérő űrlap */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
    align-items: start;
    gap: 28px;
}

.contact-form-panel,
.contact-details-panel {
    padding: 28px;
    background: #fff;
    border: 1px solid #e0e9e2;
    border-radius: 16px;
    box-shadow: 0 5px 22px rgba(20, 60, 35, 0.05);
}

    .contact-form-panel h2,
    .contact-details-panel h2 {
        margin-top: 0;
        color: #183d2a;
    }

.contact-intro {
    color: #647167;
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    color: #294535;
    font-size: 14px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #cbd8ce;
    border-radius: 8px;
    background: #fff;
    color: #20372a;
    font: inherit;
}

    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
        outline: 2px solid #91c5a0;
        outline-offset: 1px;
        border-color: #247a45;
    }

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0 14px;
    color: #526458;
    font-size: 14px;
    line-height: 1.6;
}

    .privacy-consent input {
        flex-shrink: 0;
        margin-top: 4px;
    }

.contact-form-panel button[type="submit"] {
    margin-top: 14px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.contact-details-panel {
    background: #f7faf7;
}

.contact-detail {
    padding: 18px 0;
    border-bottom: 1px solid #e0e9e2;
}

    .contact-detail:last-child {
        border-bottom: 0;
    }

    .contact-detail strong {
        display: block;
        margin-bottom: 8px;
        color: #183d2a;
    }

    .contact-detail p {
        margin: 0;
        color: #59665e;
        line-height: 1.7;
    }

    .contact-detail a {
        color: #247a45;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

        .contact-detail a:hover {
            text-decoration: underline;
        }

.form-notice {
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 9px;
    line-height: 1.6;
}

.form-success {
    background: #e8f5eb;
    color: #1d6337;
}

.form-error {
    background: #fbe9e7;
    color: #8a2d25;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 850px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .contact-form-panel,
    .contact-details-panel {
        padding: 20px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .contact-form-panel button[type="submit"] {
        width: 100%;
    }
}
