:root {
    --sw-primary: #205d5a;
    /* sötét navy-kék */
    --sw-secondary: #0f7c78;
    /* teal / zöldeskék */
    --sw-accent: #fdbb22;
    /* napsárga CTA */
    --sw-text: #203746;
    /* fő szövegszín */
    --sw-text-muted: #708892;
    /* másodlagos szöveg */
    --sw-bg-soft: #eef5f4;
    /* világos zöldes */
    --sw-bg-warm: #f7f7f1;
    /* enyhén meleg törtfehér */
    --sw-border: #dfe8ec;
    /* Radius */
    --sw-teal: #3d7f7b;
    --sw-radius-sm: 8px;
    --sw-radius-md: 16px;
    --sw-radius-lg: 24px;

    /* Shadow */
    --sw-shadow-soft: 0 8px 30px rgba(4, 45, 69, 0.08);
}

.new-site-content {
    margin: auto;
    color: var(--sw-text);
    font-size: 1.6rem;
}

.new-site-content p,
.new-site-content ul li {
    font-size: 1.6rem;
    line-height: 1.5;
}

.new-site-content section {
    padding: 6rem 3rem;
}

.new-site-content {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
}

.new-site-content h2,
.new-site-content h3 {
    font-weight: 800;
    color: var(--sw-text);
    line-height: 1.3;
}

.new-site-content h1,
.new-site-content .decortext {
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--sw-accent);
}

.new-site-content h2 {
    font-size: clamp(2.8rem, 3.5vw, 4rem);
    text-transform: none;
}

.new-site-content h3 {
    font-size: 1.8rem;
}

.new-site-content .teaser-cim {
    color: var(--sw-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.new-site-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--sw-accent);
    color: var(--sw-text);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.sw-button-secondary .wp-block-button__link {
    background: transparent;
    border: 1px solid var(--sw-primary);
    color: var(--sw-primary);
}

.new-site-content .wp-block-button__link:hover {
    transform: translateY(-1px);
    filter: brightness(0.96);
}

.sw-card {
    background: #fff;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-md);
    padding: 28px;
    box-shadow: var(--sw-shadow-soft);
}

.dark-card {
    background: #3d7f7b;
    border: 1px solid #184a47;
    border-radius: var(--sw-radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
}

.dark-card h3 {
    margin-bottom: 0;
}

.sw-section-light {
    background: var(--sw-bg-soft);
}

.sw-section-warm {
    background: var(--sw-bg-warm);
}

.sw-section-dark {
    background: var(--sw-primary);
    color: white;
}

.sw-section-dark h3,
.sw-section-dark h2,
.sw-section-dark .teaser-cim {
    color: white;
}

.sw-stat-value {
    color: var(--sw-primary);
    font-size: 2.3rem !important;
    font-weight: 700;
    margin-bottom: 0;
}

.sw-stat-label {
    color: var(--sw-text-muted);
    font-size: 1.3rem;
}

/*Hero*/

.new-site-content .sw-hero {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    background: var(--sw-bg-warm);
}

.new-site-content .sw-hero::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 45%;
    height: 100%;
    background-image: url("../img/pictures/vallalati-napelem-hero.png");
    background-size: cover;
    background-position: center;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-text {
    max-width: 60%;
}

/*szalagos blokkok*/
.new-site-content .band-div {
    margin: 0;
    padding: 2rem;
}

.new-site-content .band-div div {
    margin: 0;
}

.new-site-content .wp-block-icon {
    color: var(--sw-teal);
}

.new-site-content .wp-block-icon svg {
    width: 4rem;
    height: 4rem;
}

.new-site-content figure {
    border-radius: var(--sw-radius-lg);
    overflow: hidden;
}

.new-site-content ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.new-site-content ul li {
    position: relative;
    padding-left: 2.8rem;
    margin-bottom: 0.8rem;
}

.new-site-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.05em;
    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sw-accent);
    color: var(--sw-primary);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.new-site-content .text-icon svg {
    width: 20px;
    height: 20px;
}

.new-site-content .text-icon {
    background-color: var(--sw-bg-soft);
    border-radius: var(--sw-radius-sm);
}

.margin-bottom-row {
    margin-bottom: 1rem;
}

.new-site-content .wp-block-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-md);
    overflow: hidden;
    box-shadow: var(--sw-shadow-soft);
}

.new-site-content .wp-block-table th,
.new-site-content .wp-block-table td {
    padding: 1.6rem 1.8rem;
    text-align: left;
    vertical-align: middle;
    border: 0;
    border-bottom: 1px solid var(--sw-border);
    font-size: 1.5rem;
}

.new-site-content .wp-block-table thead th {
    background: var(--sw-bg-soft);
    color: var(--sw-primary);
    font-weight: 700;
}

.new-site-content .wp-block-table tbody tr:last-child th,
.new-site-content .wp-block-table tbody tr:last-child td {
    border-bottom: 0;
}

.new-site-content .wp-block-table tbody th {
    color: var(--sw-primary);
    font-weight: 600;
}

.new-site-content .wp-block-table tbody tr:hover {
    background: #fafcfc;
}

.new-site-content .wp-block-table th:first-child,
.new-site-content .wp-block-table td:first-child {
    width: 28%;
}

.new-site-content .wp-block-table th:not(:first-child),
.new-site-content .wp-block-table td:not(:first-child) {
    width: 24%;
}

.new-site-content .white-ikon {
    color: white;
}

.new-site-content .img-section {
    position: relative;
    overflow: hidden;
}

.new-site-content .img-section::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 30%;
    height: 100%;
    background-image: url("../img/pictures/company-hero.jpg");
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
}

.new-site-content .img-section > .wp-block-group__inner-container {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
    display: flex;
    justify-content: flex-end;
}

.new-site-content .img-section > .wp-block-group__inner-container > .wp-block-group {
    width: 70%;
    padding-block: 6rem;
}

.new-site-content ol {
    list-style: none;
    padding: 0;
    margin: 3rem 0 0;
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 1.2rem 3rem;
    counter-reset: decision-list;
}

.new-site-content ol li {
    position: relative;
    padding-left: 0;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.45;
    counter-increment: decision-list;
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
}

.new-site-content ol li::before {
    content: counter(decision-list, decimal-leading-zero) ".";
    color: var(--sw-accent);
    font-weight: 700;
    font-size: 1.6rem;
}

/*accordion*/

.new-site-content .schema-faq {
    display: grid;
    gap: 1.2rem;
    margin-top: 3rem;
}

.new-site-content .schema-faq-section {
    background: #fff;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-md);
    overflow: hidden;
    box-shadow: var(--sw-shadow-soft);
}

.new-site-content .schema-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding: 1.8rem 2rem;

    color: var(--sw-primary);
    font-size: 1.7rem;
    font-weight: 700;
    cursor: pointer;
}

.new-site-content .schema-faq-question::after {
    content: "+";
    flex-shrink: 0;
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sw-bg-soft);
    color: var(--sw-secondary);
    font-size: 2rem;
    line-height: 1;
}

.new-site-content .schema-faq-answer {
    margin: 0;
    padding: 0 2rem 2rem;
    color: var(--sw-text);
    line-height: 1.7;
}

.new-site-content .schema-faq-answer {
    display: none;
}

.new-site-content .schema-faq-section.is-open .schema-faq-answer {
    display: block;
}

.new-site-content .schema-faq-section.is-open .schema-faq-question::after {
    content: "−";
}

/* FORM CARD */

.new-site-content .sw-form-card {
    background: #fff;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-md);
    box-shadow: var(--sw-shadow-soft);
    padding: 4rem;
}


/* GRID */

.new-site-content .sw-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem 3rem;
}

.new-site-content .sw-form-full {
    grid-column: 1 / -1;
}


.new-site-content .sw-form-field > label {
    display: block;
    margin-bottom: 0.8rem;

    color: var(--sw-primary);
    font-size: 1.5rem;
    font-weight: 600;
}


.new-site-content .sw-form-field input[type="text"],
.new-site-content .sw-form-field input[type="email"],
.new-site-content .sw-form-field input[type="tel"],
.new-site-content .sw-form-field input[type="number"],
.new-site-content .sw-form-field select,
.new-site-content .sw-form-field textarea {
    width: 100%;
    min-height: 5rem;

    padding: 1.2rem 1.4rem;

    border: 1px solid var(--sw-border);
    border-radius: 0.8rem;

    background: #fff;
    color: var(--sw-text);

    font-family: inherit;
    font-size: 1.6rem;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.new-site-content .sw-form-field input:focus,
.new-site-content .sw-form-field select:focus,
.new-site-content .sw-form-field textarea:focus {
    outline: none;
    border-color: var(--sw-secondary);
    box-shadow: 0 0 0 3px rgba(15, 124, 120, 0.12);
}

.new-site-content .sw-form-interests .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2.4rem;
    margin-top: 1.2rem;
}

.new-site-content .sw-form-interests .wpcf7-list-item {
    margin: 0;
}

.new-site-content .sw-form-interests .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 0.8rem;

    cursor: pointer;
    font-size: 1.5rem;
}

.new-site-content .sw-form-interests input[type="checkbox"] {
    width: 1.8rem;
    height: 1.8rem;
    margin: 0;

    accent-color: var(--sw-secondary);
}

.new-site-content .sw-upload {
    padding: 2rem;
    background: var(--sw-bg-soft);
    border-radius: var(--sw-radius-md);
}

.new-site-content .sw-form-help {
    margin: 0 0 1.2rem;
    color: var(--sw-text-muted);
    font-size: 1.4rem;
}

.new-site-content .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 5rem;
    padding: 1.4rem 2.4rem;

    border: 0;
    border-radius: 1rem;

    background: var(--sw-accent);
    color: var(--sw-primary);

    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;

    cursor: pointer;
    transition: 0.2s ease;
}

.new-site-content .wpcf7-submit:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
}

.new-site-content .sw-form-note {
    margin: 1rem 0 0;
    color: var(--sw-text-muted);
    font-size: 1.3rem;
}

@media (max-width: 768px) {

    .new-site-content {
        font-size: 1.5rem;
    }

    .new-site-content p,
    .new-site-content ul li {
        font-size: 1.5rem;
        line-height: 1.55;
    }

    .new-site-content h1,
    .new-site-content .decortext {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .new-site-content h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .new-site-content h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .new-site-content .teaser-cim {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
    }

    .new-site-content section {
        padding: 3rem 2rem;
    }

    .new-site-content .wp-block-button__link {
        padding: 1.3rem 1.8rem;
        font-size: 1.4rem;
        line-height: 1.3;
        white-space: normal;
        text-align: center;
    }

    .new-site-content .sw-stat-value {
        font-size: 2.1rem !important;
    }

    .new-site-content .sw-stat-label {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .new-site-content .wp-block-icon svg {
        width: 3.2rem;
        height: 3.2rem;
    }

    .new-site-content ul li {
        padding-left: 2.6rem;
        margin-bottom: 1rem;
    }

    .new-site-content ul li::before {
        width: 1.7rem;
        height: 1.7rem;
        font-size: 1.1rem;
    }

    .new-site-content ol {
        grid-template-rows: none;
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        gap: 1.4rem;
        margin-top: 2rem;
    }

    .new-site-content ol li {
        grid-template-columns: 2.8rem 1fr;
        gap: 0.8rem;
        font-size: 1.5rem;
    }

    .new-site-content ol li::before {
        font-size: 1.5rem;
    }

    .new-site-content .schema-faq {
        margin-top: 2.5rem;
        gap: 1rem;
    }

    .new-site-content .schema-faq-question {
        padding: 1.6rem;
        font-size: 1.6rem;
        line-height: 1.4;
        gap: 1.5rem;
    }

    .new-site-content .schema-faq-question::after {
        width: 2.6rem;
        height: 2.6rem;
        font-size: 1.8rem;
    }

    .new-site-content .schema-faq-answer {
        padding: 0 1.6rem 1.6rem;
        font-size: 1.5rem;
    }

    .new-site-content .sw-form-card {
        width: 100%;
        max-width: 100%;
        padding: 2.4rem 1.6rem;
        box-sizing: border-box;
    }

    .new-site-content .sw-form-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 2rem;
    }

    .new-site-content .sw-form-full {
        grid-column: auto;
    }

    .new-site-content .sw-form-field,
    .new-site-content .sw-form-full {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .new-site-content .sw-form-field > label {
        font-size: 1.4rem;
        margin-bottom: 0.7rem;
    }

    .new-site-content .sw-form-field input[type="text"],
    .new-site-content .sw-form-field input[type="email"],
    .new-site-content .sw-form-field input[type="tel"],
    .new-site-content .sw-form-field input[type="number"],
    .new-site-content .sw-form-field select,
    .new-site-content .sw-form-field textarea {
        width: 100%;
        max-width: 100%;
        min-height: 4.8rem;
        padding: 1.1rem 1.2rem;
        box-sizing: border-box;
        font-size: 1.5rem;
    }

    .new-site-content .sw-form-interests .wpcf7-checkbox {
        flex-direction: column;
        gap: 1rem;
    }

    .new-site-content .sw-form-interests .wpcf7-list-item label {
        font-size: 1.4rem;
    }

    .new-site-content .sw-upload {
        padding: 1.6rem;
    }

    .new-site-content .sw-upload input[type="file"] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 1.3rem;
    }

    .new-site-content .sw-upload .wpcf7-form-control-wrap {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .new-site-content .wpcf7-submit {
        width: 100%;
        max-width: 100%;
        min-height: 4.8rem;
        padding: 1.3rem 1.5rem;
        font-size: 1.4rem;
        line-height: 1.3;
        white-space: normal;
        text-align: center;
    }



    .new-site-content .band-div {
        padding: 3rem 2rem;
    }


    .new-site-content .wp-block-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .new-site-content .wp-block-table table {
        min-width: 760px;
    }

    .new-site-content .sw-form-card {
        padding: 2.4rem 2rem;
    }

    .new-site-content .sw-form-grid {
        grid-template-columns: 1fr;
    }

    .new-site-content .sw-form-full {
        grid-column: auto;
    }

    .new-site-content .sw-form-interests .wpcf7-checkbox {
        flex-direction: column;
        gap: 1rem;
    }

    .new-site-content .wpcf7-submit {
        width: 100%;
    }

    .new-site-content .sw-form-card {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.6rem;
        box-sizing: border-box;
    }

    .new-site-content .sw-form-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .new-site-content .sw-form-field,
    .new-site-content .sw-form-full {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .new-site-content .sw-form-field input[type="text"],
    .new-site-content .sw-form-field input[type="email"],
    .new-site-content .sw-form-field input[type="tel"],
    .new-site-content .sw-form-field input[type="number"],
    .new-site-content .sw-form-field select,
    .new-site-content .sw-form-field textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .new-site-content .sw-input-unit {
        width: 100%;
        min-width: 0;
    }

    .new-site-content .sw-input-unit .wpcf7-form-control-wrap {
        width: 100%;
        min-width: 0;
    }

    .new-site-content .sw-upload input[type="file"] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 1.3rem;
    }

    .new-site-content .sw-upload .wpcf7-form-control-wrap {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .new-site-content .wpcf7-submit {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        line-height: 1.3;
        padding-inline: 1.6rem;
        text-align: center;
    }

    .new-site-content .sw-hero::after {
        display: none;
    }

    .hero-text {
        max-width: 100%;
    }

    .new-site-content .reverse-order-mobile {
        flex-direction: column-reverse;
    }

    .new-site-content .img-section::before {
        display: none;
    }


    .new-site-content .img-section > .wp-block-group__inner-container > .wp-block-group {
        width: 100%;
    }

    .new-site-content ol {
        grid-template-rows: none;
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        gap: 1.4rem;
        margin-top: 2rem;
    }

    .new-site-content ol li {
        grid-template-columns: 3rem 1fr;
        gap: 1rem;
        font-size: 1.5rem;
    }

}

/* Ügyfél visszajelzések – lapozós kártyák */

.new-site-content .sw-testimonials {
    --sw-t-gap: 2.4rem;
    --sw-t-per-view: 3;
}

.new-site-content .sw-testimonials .sw-testimonials-track {
    display: flex;
    flex-wrap: nowrap !important;
    gap: var(--sw-t-gap);
    margin: 3rem -0.6rem 0;
    padding: 0.6rem 0.6rem 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.6rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.new-site-content .sw-testimonials .sw-testimonials-track::-webkit-scrollbar {
    display: none;
}

.new-site-content .sw-testimonials .sw-testimonials-track > .wp-block-column {
    flex: 0 0 calc((100% - (var(--sw-t-per-view) - 1) * var(--sw-t-gap)) / var(--sw-t-per-view)) !important;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.new-site-content .sw-testimonial::before {
    content: "\201D";
    display: block;
    height: 3.2rem;
    color: var(--sw-accent);
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
}

.new-site-content .sw-testimonial p {
    margin: 0;
}

.new-site-content .sw-testimonial .sw-testimonial-name {
    margin-top: auto;
    padding-top: 1.6rem;
    color: var(--sw-primary);
    font-size: 1.4rem;
    font-weight: 700;
}

.new-site-content .sw-testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    margin-top: 1rem;
}

.new-site-content .sw-testimonials-nav[hidden] {
    display: none;
}

.new-site-content .sw-testimonials-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    padding: 0;
    border: 1px solid var(--sw-primary);
    border-radius: 50%;
    background: #fff;
    color: var(--sw-primary);
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s ease;
}

.new-site-content .sw-testimonials-btn:hover:not(:disabled) {
    background: var(--sw-primary);
    color: #fff;
}

.new-site-content .sw-testimonials-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.new-site-content .sw-testimonials-dots {
    display: flex;
    gap: 0.8rem;
}

.new-site-content .sw-testimonials-dot {
    width: 1rem;
    height: 1rem;
    padding: 0;
    border: 0;
    border-radius: 0.5rem;
    background: var(--sw-border);
    cursor: pointer;
    transition: 0.2s ease;
}

.new-site-content .sw-testimonials-dot.is-active {
    width: 2.4rem;
    background: var(--sw-accent);
}

.new-site-content .sw-testimonials-btn:focus-visible,
.new-site-content .sw-testimonials-dot:focus-visible,
.new-site-content .sw-testimonials-track:focus-visible {
    outline: 2px solid var(--sw-secondary);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .new-site-content .sw-testimonials {
        --sw-t-per-view: 2;
    }
}

@media (max-width: 768px) {
    .new-site-content .sw-testimonials {
        --sw-t-per-view: 1;
        --sw-t-gap: 1.6rem;
    }

    .new-site-content .sw-testimonials .sw-testimonials-track {
        margin-top: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .new-site-content .sw-testimonials .sw-testimonials-track {
        scroll-behavior: auto;
    }
}

/* Vállalati napelem oldal (ID 29909): főmenü ideiglenesen elrejtve, csak a két logó marad */
body.page-id-29909 #site-navigation,
body.page-id-29909 #hamburger-icon,
body.page-id-29909 #menu-toggle {
	display: none !important;
}
