/* =============================================================================
   sections.css — Trust, process steps, FAQ, reviews, CTA band, service grid
   ============================================================================= */

/* ── Section heading shared style ──────────────────────────────────────────── */
.section-heading {
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-text);
}

.section--dark .section-heading {
    color: var(--color-white);
}

/* ── Trust section ─────────────────────────────────────────────────────────── */
.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 48px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.trust-item__number,
.trust-item__icon {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--color-accent);
    line-height: 1;
}

.trust-item__label {
    font-size: var(--fs-sm);
    color: var(--color-text);
    max-width: 160px;
}

/* ── Process steps — flexbox wrapping layout ────────────────────────────────── */
.process-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    position: relative;
}

.process-list::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--color-accent) 0, var(--color-accent) 6px,
        transparent 6px, transparent 14px
    );
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1 1 0;
}

.process-step__number {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--color-accent-highlight);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    flex-shrink: 0;
    position: absolute;
    transform: translate(0px, -60%);
}

.process-step__icon {
    margin-top: 10px;
    color: var(--color-text);
    opacity: 0.75;
}

.process-step__title {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.process-step__text {
    font-size: 0.6rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .process-list {
        gap: 40px;
    }
    .process-list::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .process-list {
        flex-direction: column;
        align-items: center;
    }
    .process-step {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 480px) {
    .process-list {
        gap: 12px;
    }
    .process-step__text {
        font-size: 0.55rem;
    }
}

.steps-container {
    padding: 0;
}

/* ── Section heading shared — green underline variant ──────────────────────── */
.section-heading--underline {
    text-align: center;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 7px;
    font-size: 1.2rem;
}

.section-heading--underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background-color: var(--color-accent-highlight);
}

/* ── Reasons grid (4 icons: why this pest is a problem) ────────────────────── */
.reasons-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
}

.reasons-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reasons-item__icon {
    color: var(--color-accent-highlight);
    opacity: 0.7;
}

.reasons-item__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    margin-bottom: 6px;
    color: var(--color-text);
}

.reasons-item__divider {
    width: 1px;
    height: 40px;
    background-color: #e0e0e0;
    margin: auto 0;
    align-self: center;
}

.reasons-item__text {
    font-size: 0.6rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .reasons-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .reasons-item {
        max-width: 360px;
        width: 100%;
    }

    .reasons-item__divider {
        display: none;
    }
}

/* ── Advantage grid (4 icons) ───────────────────────────────────────────────── */
.advantage-grid {
    margin-top: 20px;
    border-radius: 20px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    background-color: #e4e4e4;
    padding: 12px;
}

.advantage-grid__item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-grid__icon {
    color: var(--color-accent-highlight);
    opacity: 0.7;
}

.advantage-grid__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    margin-bottom: 6px;
    color: var(--color-text);
}

.advantage-grid__divider {
    width: 1px;
    height: 40px;
    background-color: #e0e0e0;
    margin: auto 0;
    align-self: center;
}

.advantage-grid__text {
    font-size: 0.6rem;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .advantage-grid {
        flex-wrap: wrap;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Values strip (business pages) ──────────────────────────────────────────── */
.values-strip {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.values-strip__item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
}

.values-strip__icon {
    color: var(--color-accent-highlight);
    flex-shrink: 0;
    margin-top: 2px;
}

.values-strip__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    margin: 0;
    color: var(--color-text);
}

.values-strip__text {
    font-size: 0.65rem;
    color: #666;
    margin: 4px 0 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .values-strip {
        flex-direction: column;
    }
}

/* ── Contact info grid (contact page) ───────────────────────────────────────── */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-info-card {
    background: #f9fafb;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.contact-info-card__icon {
    color: var(--color-accent-highlight);
    opacity: 0.7;
    margin-bottom: 10px;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    margin: 0 0 8px;
}

.contact-info-card p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.contact-info-card__phone {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.contact-info-card__link {
    font-size: 0.8rem;
    color: var(--color-accent-highlight);
    text-decoration: none;
    font-weight: 600;
}

.contact-hours {
    width: 100%;
    font-size: 0.75rem;
    color: #666;
    border-collapse: collapse;
}

.contact-hours td {
    padding: 4px 0;
}

.contact-hours td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ── City grid (områder page) ───────────────────────────────────────────────── */
.city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.city-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--color-text);
    transition: background .2s, border-color .2s, transform .15s;
}

.city-card:hover {
    background: #f0fdf4;
    border-color: var(--color-accent-highlight);
    transform: translateY(-2px);
}

.city-card__icon {
    color: var(--color-accent-highlight);
    opacity: 0.6;
    flex-shrink: 0;
}

.city-card__name {
    flex: 1;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.city-card__arrow {
    font-size: 0.85rem;
    color: #ccc;
    transition: color .2s, transform .15s;
}

.city-card:hover .city-card__arrow {
    color: var(--color-accent-highlight);
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .city-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Service page 2-column layout ─────────────────────────────────────────── */
.service-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 70px;
    padding-block: clamp(40px, 6vw, 64px);
    align-items: start;
    padding-top: 20px;
    padding-inline: clamp(16px, 4vw, 40px);
    justify-content: center;
}

.service-layout__main {
    min-width: 0;
}

.service-layout__sidebar {
    position: sticky;
    top: 88px;
    width: 400px;
}

@media (max-width: 1024px) {
    .service-layout {
        grid-template-columns: 1fr 300px;
        gap: 32px;
    }

    .service-layout__sidebar {
        width: auto;
    }
}

@media (max-width: 768px) {
    .service-layout {
        grid-template-columns: 1fr;
    }

    .service-layout__main {
        width: 100%;
    }

    .service-layout__sidebar {
        position: static;
        width: 100%;
    }
}

/* ── Contact form card (sidebar) ──────────────────────────────────────────── */
.contact-card {
    background-color: var(--color-blue);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.contact-card__title {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}

.contact-card__subtitle {
    font-size: 0.7rem;
    margin-bottom: 24px;
}

.contact-card__form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-card__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-card label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-text);
    display: block;
    margin-bottom: 4px;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0d0d0;
    border-radius: var(--radius-btn);
    font-size: 0.7rem;
    color: var(--color-text);
    background: #fafafa;
    transition: border-color 0.15s ease;
    appearance: none;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
}

.contact-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.contact-card select:invalid {
    color: #999;
}

.contact-card select option {
    color: var(--color-text);
}

.process-step__box {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    background-color: var(--color-white);
    padding: 10px;
    border-radius: 10px;
    flex: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
 }

.contact-card textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-card__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    padding: 5px;
    font-size: 0.8rem;
}

.contact-card__privacy {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

/* ── Info bar (dark 4-item strip) ─────────────────────────────────────────── */
.info-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: var(--color-dark);
    padding-block: 14px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
}

.info-bar__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
}

.info-bar__item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--color-white);
}

.info-bar__item svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.info-bar__item-text strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-white);
    margin-bottom: 2px;
}

.info-bar__item-text span,
.info-bar__item-text a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.info-bar__item-text a {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .info-bar {
        padding-block: 6px;
    }
    .info-bar__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .info-bar__item {
        gap: 6px;
    }
    .info-bar__item svg {
        width: 20px;
        height: 20px;
    }
    .info-bar__item-text strong {
        font-size: 0.5rem;
    }
    .info-bar__item-text span,
    .info-bar__item-text a {
        font-size: 0.5rem;
    }
    .info-bar__item-text a {
        font-size: 0.6rem;
    }
}

/* ── FAQ accordion ─────────────────────────────────────────────────────────── */
.faq-section__inner {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e0e0e0;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 18px 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    color: var(--color-text);
    transition: color 0.15s ease;
}

.faq-item__question:hover {
    color: var(--color-accent);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__icon {
    flex-shrink: 0;
    color: var(--color-accent);
    transition: transform 0.25s ease;
}

.faq-item__answer {
    margin: 0;
}

.faq-item__answer-inner {
    padding: 4px 4px 20px;
    font-size: var(--fs-sm);
    color: #444;
    line-height: 1.65;
}

.faq-list--always-open .faq-item__question {
    cursor: default;
}

.faq-list--always-open .faq-item__question:hover {
    color: var(--color-text);
}

/* ── CTA band ──────────────────────────────────────────────────────────────── */
.cta-band {
    padding-block: var(--space-section);
    padding-bottom: calc(var(--space-section) + 64px);
    margin-top: auto;
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-band__heading {
    color: var(--color-white);
    font-size: var(--fs-h2);
    margin-bottom: 8px;
}

.cta-band__sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-sm);
    margin-bottom: 0;
}

.cta-band__actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cta-band__secondary {
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.cta-band__secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    filter: none;
}

@media (max-width: 640px) {
    .cta-band__inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cta-band__actions {
        justify-content: center;
    }
}

.quote-container {
    padding: 0;
}

/* ── Reviews ───────────────────────────────────────────────────────────────── */
.reviews-section__heading {
    color: var(--color-text);
}

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

.review-card {
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 10px;
    border-radius: 8px;
    background-color: var(--color-white);
}

.review-card__stars {
    color: var(--color-accent-highlight);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-align: center;
}

.review-card__quote {
    position: absolute;
    width: 24px;
    height: 24px;
}
.review-card__quote path {
    fill: var(--color-accent-highlight);
}

.review-card__text {
    font-size: 0.6rem;
    line-height: 1.65;
    font-style: normal;
    margin: 0;
    text-align: center;
}

.review-card__text p {
    margin-bottom: 8px;
}

.review-card__author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--color-text);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 500px) and (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Service grid ──────────────────────────────────────────────────────────── */
.service-grid-section__heading {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.service-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-white);
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-card);
    padding: 28px 16px;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.service-tile:hover,
.service-tile:focus-visible {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: var(--color-accent);
    outline: none;
}

.service-tile__emoji {
    font-size: 2.4rem;
    line-height: 1;
}

/* ── Intro body text (service / business pages) ────────────────────────────── */
.page-intro {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.page-intro p {
    font-size: 1.05rem;
    color: #444;
}

/* ── Benefit / icon list (shared by why-choose, advantages, when-to-call) ───── */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.benefit-list__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-highlight, #79af58);
    margin-top: 3px;
}

.benefit-list__icon--warn {
    color: #e6a600;
}

.benefit-list__content {
    flex: 1;
    min-width: 0;
}

.benefit-list__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: var(--color-text);
}

.benefit-list__text {
    font-size: 0.65rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-section {
    text-align: center;
}

.pricing-section__intro {
    font-size: 0.8rem;
    color: #444;
    margin-bottom: 24px;
    max-width: 560px;
    margin-inline: auto;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    max-width: 500px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 4px;
    border-bottom: 1px solid #e8e8e8;
}

.pricing-item:first-child {
    border-top: 1px solid #e8e8e8;
}

.pricing-item__label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--color-text);
}

.pricing-item__price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-accent-highlight, #79af58);
    white-space: nowrap;
}

.pricing-section__note {
    font-size: 0.65rem;
    color: #888;
    font-style: italic;
    margin-bottom: 12px;
}

.pricing-section__outro {
    margin-top: 8px;
}

.pricing-section__outro .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

/* ── When to call a pro ──────────────────────────────────────────────────── */
.when-section__intro {
    font-size: 0.8rem;
    color: #444;
    margin-bottom: 24px;
    max-width: 600px;
    margin-inline: auto;
    text-align: center;
    line-height: 1.65;
}

/* ── Split section (text + image layout shared by multiple sections) ──────── */
.section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.section-split__content {
    min-width: 0;
    overflow: hidden;
}

.section-split__image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: 360px;
}

.section-split__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .section-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-split__image-wrapper {
        order: -1;
        max-height: 240px;
        max-width: 360px;
        margin-inline: auto;
        width: 100%;
    }
}

.city-landing-section {
    padding: 56px 0;
}

.city-landing-section.section--muted {
    background-color: #e8eee8;
}

.city-landing-section + .city-landing-section {
    border-top: 1px solid #d4dcd4;
}

.city-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.city-list__item {
    font-size: 1.05rem;
    color: #333;
    padding: 14px 18px;
    background: #f0f4f0;
    border-radius: 6px;
    position: relative;
}

.city-list__item:nth-child(even) {
    background: #e8f0e8;
}

.city-list__item a {
    color: #2e7d32;
    font-weight: 600;
    text-decoration: none;
}
