/*
Theme Name: Sjaellands Rengoring Premium
Author: Abtigravity
Description: Premium cleaning business theme for SjaellandsRengoring.
Version: 2.3
Text Domain: sjaellands-rengoring
*/

:root {
    --primary-green: #226b3a;
    --accent-green: #56a35d;
    --dark-green: #174d2c;
    --light-bg: #f5f7f2;
    --soft-green: #e9f2e6;
    --text-dark: #1e2f28;
    --text-light: #68756f;
    --white: #ffffff;
    --border: #dfe8dc;
    --shadow: 0 16px 40px rgba(30, 47, 40, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-dark);
    background: var(--light-bg);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(30, 47, 40, 0.08);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.logo {
    flex: 0 0 auto;
    color: var(--primary-green);
    font-size: 23px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.logo span {
    color: var(--text-dark);
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu > li {
    position: relative;
}

.dropdown {
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.primary-menu > li > a,
.dropdown-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    color: var(--text-dark);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.primary-menu > li > a:hover,
.primary-menu > li > a:focus-visible {
    color: var(--primary-green);
    background: var(--soft-green);
}

.dropdown-link::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: grid;
    min-width: 230px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    color: var(--text-dark);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    color: var(--primary-green);
    background: var(--soft-green);
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

.btn,
.btn-small,
.submit-btn {
    border: 0;
    border-radius: 8px;
    color: var(--white);
    background: var(--primary-green);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn-small:hover,
.submit-btn:hover {
    background: var(--dark-green);
    transform: translateY(-1px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    box-shadow: 0 12px 28px rgba(34, 107, 58, 0.25);
    text-transform: uppercase;
    font-size: 14px;
}

.btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    white-space: nowrap;
    font-size: 14px;
}

.hero {
    min-height: 620px;
    display: grid;
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(15, 42, 28, 0.82), rgba(15, 42, 28, 0.42)),
        url("poze/IMG_0078.JPG");
    background-position: center;
    background-size: cover;
}

.hero-content {
    max-width: 760px;
    margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.experience-badge,
.section-kicker {
    margin: 0 0 14px;
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.experience-badge {
    display: inline-flex;
    padding: 8px 12px;
    color: var(--dark-green);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.hero h1,
.about-copy h2,
.section-heading h2 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.08;
}

.hero h1 {
    max-width: 860px;
    color: var(--white);
    font-size: clamp(42px, 7vw, 78px);
    font-weight: 900;
}

.hero p:not(.experience-badge) {
    max-width: 640px;
    margin: 22px 0 32px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 21px;
}

.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 24px 0;
}

.trust-item {
    padding: 14px 18px;
    color: var(--text-light);
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
}

.trust-item strong {
    color: var(--primary-green);
}

.about-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    padding: 86px 0;
}

.about-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-copy h2,
.section-heading h2 {
    color: var(--text-dark);
    font-size: clamp(30px, 4vw, 46px);
}

.about-copy p {
    color: var(--text-light);
    font-size: 17px;
}

.mission-box {
    margin-top: 24px;
    padding: 20px;
    color: var(--text-dark);
    background: var(--soft-green);
    border-left: 5px solid var(--primary-green);
    border-radius: 8px;
}

.services-section {
    padding: 80px 0;
    background: var(--white);
}

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

.section-heading p:last-child {
    margin: 14px auto 0;
    color: var(--text-light);
    font-size: 17px;
}

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

.service-card {
    min-width: 0;
    padding: 18px 18px 22px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(30, 47, 40, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    border-color: rgba(34, 107, 58, 0.35);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

.service-card-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.service-card-gallery-item {
    position: relative;
    margin: 0;
}

.service-card-gallery img {
    display: block;
    margin-bottom: 0;
    min-height: 220px;
}

.service-card h3 {
    margin: 0 0 8px;
    color: var(--primary-green);
    font-size: 22px;
    line-height: 1.2;
}

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

.service-link {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    color: var(--primary-green);
    font-weight: 850;
    text-decoration: none;
}

.service-link::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

.service-link:hover {
    color: var(--dark-green);
}

.service-details {
    display: grid;
    gap: 32px;
    margin-top: 58px;
}

.service-detail {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: stretch;
    padding: 24px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.service-detail.reverse .service-detail-media {
    order: 2;
}

.service-detail-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 8px;
}

.service-detail-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 12px 6px;
}

.service-detail-copy h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.12;
}

.service-detail-copy p {
    margin: 18px 0 0;
    color: var(--text-light);
    font-size: 16px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.detail-tags span {
    padding: 8px 10px;
    color: var(--dark-green);
    background: var(--soft-green);
    border: 1px solid rgba(34, 107, 58, 0.16);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text-dark);
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 0.45em;
    left: 0;
    width: 14px;
    height: 14px;
    background: var(--primary-green);
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px var(--soft-green);
}

.detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.detail-cta strong {
    color: var(--primary-green);
}

.contact-section {
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 48px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.quote-form {
    max-width: 860px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 750;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--text-dark);
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
}

.form-control:focus {
    outline: 3px solid rgba(86, 163, 93, 0.2);
    border-color: var(--accent-green);
}

textarea.form-control {
    min-height: 128px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    font-size: 16px;
    text-transform: uppercase;
}

.quote-success {
    position: fixed;
    top: 90px;
    left: 50%;
    z-index: 1200;
    width: min(520px, calc(100% - 32px));
    padding: 16px 20px;
    color: var(--white);
    background: var(--primary-green);
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    font-weight: 800;
    transform: translateX(-50%);
}

.quote-page {
    background:
        radial-gradient(circle at top left, rgba(210, 235, 205, 0.9), transparent 32%),
        linear-gradient(180deg, #f7fbf4 0%, #edf4e9 100%);
}

.quote-hero {
    padding: 96px 0 44px;
}

.quote-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: start;
}

.quote-hero-copy h1 {
    max-width: 800px;
    margin: 0;
    color: var(--text-dark);
    font-size: clamp(38px, 6vw, 74px);
    line-height: 0.98;
}

.quote-hero-copy > p:not(.section-kicker) {
    max-width: 680px;
    margin: 20px 0 0;
    color: var(--text-light);
    font-size: 19px;
}

.quote-hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.quote-hero-point,
.quote-highlight-card,
.summary-card {
    border: 1px solid rgba(34, 107, 58, 0.08);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(30, 47, 40, 0.08);
}

.quote-hero-point {
    padding: 18px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(6px);
}

.quote-hero-point strong,
.quote-highlight-card strong,
.summary-card strong {
    display: block;
    color: var(--text-dark);
}

.quote-hero-point span,
.quote-highlight-card span {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
}

.quote-highlight-card {
    padding: 24px;
    background: linear-gradient(180deg, #224f31 0%, #163724 100%);
    color: var(--white);
}

.quote-highlight-label,
.summary-label {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quote-highlight-card .quote-highlight-label {
    color: rgba(255, 255, 255, 0.7);
}

.quote-steps {
    margin: 0;
    padding-left: 20px;
}

.quote-steps li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.quote-mini-stats {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.quote-builder-section {
    padding: 24px 0 88px;
}

.quote-builder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
    gap: 28px;
    align-items: start;
}

.quote-form-panel {
    padding: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(34, 107, 58, 0.08);
    border-radius: 8px;
    box-shadow: 0 22px 48px rgba(30, 47, 40, 0.08);
}

.quote-panel-head {
    margin-bottom: 28px;
}

.quote-panel-head h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
}

.quote-panel-head p:last-child {
    margin: 14px 0 0;
    color: var(--text-light);
}

.quote-form-extended {
    max-width: none;
    margin: 0;
}

.quote-form-section + .quote-form-section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.quote-form-section h3 {
    margin: 0 0 18px;
    font-size: 22px;
}

.choice-grid,
.quote-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.choice-card,
.tick-card {
    position: relative;
    display: flex;
    min-height: 148px;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tick-card {
    min-height: 98px;
    justify-content: center;
}

.choice-card:hover,
.tick-card:hover {
    border-color: rgba(34, 107, 58, 0.32);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.choice-card input,
.tick-card input {
    position: absolute;
    inset: 14px 14px auto auto;
    width: 18px;
    height: 18px;
}

.choice-title {
    display: block;
    margin-right: 26px;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 800;
}

.choice-text {
    display: block;
    margin-top: 10px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.tick-card span {
    display: block;
    margin-right: 26px;
    color: var(--text-dark);
    font-weight: 700;
}

.form-group-full {
    grid-column: 1 / -1;
}

.quote-summary-panel {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 104px;
}

.summary-card {
    padding: 22px;
    background: rgba(255, 255, 255, 0.9);
}

.summary-card-accent {
    background: linear-gradient(180deg, #f0f8ee 0%, #e4f0df 100%);
}

.summary-card h3 {
    margin: 0 0 18px;
    font-size: 26px;
    line-height: 1.1;
}

.summary-lines {
    display: grid;
    gap: 12px;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(34, 107, 58, 0.1);
}

.summary-line span {
    color: var(--text-light);
}

.summary-line strong {
    text-align: right;
}

.summary-note,
.contact-mini-card p {
    margin: 16px 0 0;
    color: var(--text-light);
}

.compact-list {
    gap: 12px;
    margin-top: 0;
}

.contact-mini-card .btn-small {
    margin-top: 18px;
}

footer {
    padding: 36px 0;
    color: #d6ded9;
    background: #14241d;
    text-align: center;
}

.footer-content {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.footer-contact {
    display: grid;
    gap: 6px;
}

.footer-title {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
}

.footer-contact p {
    margin: 0;
    font-size: 14px;
}

.footer-contact a {
    color: #d6ded9;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 940px) {
    .header-inner {
        min-height: 70px;
    }

    .nav-toggle-label {
        display: inline-grid;
        width: 44px;
        height: 44px;
        place-items: center;
        gap: 5px;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 8px;
        cursor: pointer;
    }

    .nav-toggle-label span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text-dark);
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 12px 20px 20px;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 30px rgba(30, 47, 40, 0.08);
    }

    .nav-toggle:checked ~ .main-nav {
        display: block;
    }

    .primary-menu {
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
    }

    .primary-menu > li > a,
    .dropdown-link {
        width: 100%;
        justify-content: space-between;
        padding: 0 12px;
    }

    .dropdown-menu {
        position: static;
        display: grid;
        min-width: 0;
        margin: 2px 0 8px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        background: var(--light-bg);
    }

    .dropdown-menu::before {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: 540px;
    }

    .hero-content {
        width: min(100% - 40px, 760px);
        margin: 0 auto;
    }

    .about-section,
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quote-hero-grid,
    .quote-builder-grid {
        grid-template-columns: 1fr;
    }

    .quote-summary-panel {
        position: static;
    }

    .choice-grid,
    .quote-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail,
    .service-detail.reverse {
        grid-template-columns: 1fr;
    }

    .service-detail.reverse .service-detail-media {
        order: 0;
    }

    .service-detail-media img {
        min-height: 320px;
    }

    .about-section {
        gap: 32px;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .logo {
        font-size: 18px;
    }

    .hero {
        min-height: 500px;
        background-position: center;
    }

    .hero p:not(.experience-badge) {
        font-size: 18px;
    }

    .trust-inner,
    .about-section,
    .services-grid,
    .form-grid,
    .quote-hero-points,
    .choice-grid,
    .quote-check-grid {
        grid-template-columns: 1fr;
    }

    .about-section,
    .services-section {
        padding: 56px 0;
    }

    .service-card-gallery img {
        min-height: 160px;
    }

    .service-detail {
        padding: 16px;
    }

    .service-detail-media img {
        min-height: 240px;
    }

    .detail-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-section {
        margin-top: 56px;
        margin-bottom: 56px;
        padding: 28px 18px;
    }

    .quote-hero {
        padding-top: 72px;
    }

    .quote-form-panel,
    .summary-card,
    .quote-highlight-card {
        padding: 20px;
    }
}
