body {
    		background-image: linear-gradient(to top, rgba(46, 49, 65, 0.8), rgba(46, 49, 65, 0.8)), url("/images/pergolaheader.jpeg");

}

#pergola p, h2 {
    color: black;
}

#banner h2 {
    color: white;
}

#pergola strong {
    color: rgb(0, 0, 0);
    font-family: "Text1";
    font-weight: 900;
}

#pergola a {
    color: rgb(161, 0, 0);
}

#pergola a.special {
    color: black;
}

#pergola a.special:hover {
    color: black !important;
}


.pergola-feature {
    display: flex;
    align-items: center;
    gap: 2em;
    margin: 2em 0;
}

.pergola-feature-image {
    flex: 1 1 60%;
}

.pergola-feature-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.pergola-feature-text {
    flex: 1 1 40%;
}

.pergola-feature-text h2 {
    margin-top: 0;
}

@media screen and (max-width: 736px) {
    .pergola-feature {
        flex-direction: column;
        gap: 1em;
    }
}

@media screen and (max-width: 980px) {
    #banner {
        padding: 5em 3em 4em 3em;
        margin-bottom: -2.75em;
    }
}

@media screen and (max-width: 736px) {
    #banner {
        height: auto;
        padding: 4em 2em 3em 2em;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 400px) {
    #banner {
        height: auto;
        padding: 3.5em 1.5em 2.5em 1.5em;
    }
}

/* ── Installation cards (4-up grid) ── */
.installations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75em;
    margin: 2em 0;
}

.installation-card {
    display: flex;
    align-items: stretch;
    gap: 1.25em;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(46, 49, 65, 0.12);
    padding: 1em;
}

.installation-card-image {
    flex: 0 0 42%;
}

.installation-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.installation-card-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6em;
}

.installation-card-content h3 {
    margin: 0 0 0.2em 0;
    font-size: 1.1em;
    color: black;
}

.installation-stat {
    display: flex;
    align-items: center;
    gap: 0.6em;
    color: black;
}

.installation-icon {
    flex: 0 0 auto;
    width: 1.6em;
    height: 1.6em;
    color: rgb(46, 49, 65);
}

.installation-stat span {
    font-size: 0.92em;
    line-height: 1.3;
}


/* ── FAQ accordion ── */
.pergola-faq {
    max-width: 900px;
    margin: 3em auto;
}

.pergola-faq-title {
    text-align: center;
    margin-bottom: 1em;
}

.faq-item {
    border-top: 2px solid rgba(46, 49, 65, 0.3);
}

.faq-item:last-child {
    border-bottom: 2px solid rgba(46, 49, 65, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    background: none;
    box-shadow: none;
    padding: 0.8em 0;
    height: auto;
    line-height: 1.4;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    font-family: "Text1";
    font-size: 1.05em;
    font-weight: 700;
    border: 0;
}

.faq-question:hover,
.faq-question:active {
    background: none !important;
}

.faq-icon {
    flex: 0 0 auto;
    width: 1.4em;
    height: 1.4em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    line-height: 1;
    color: var(--color-primary-green-dark);
}

.faq-item.active .faq-question {
    color: var(--color-primary-green-dark) !important;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0 0 1.25em 0;
    color: rgba(199, 80, 80, 0.55);
    font-size: 0.95em;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.porque-pergolas {
    max-width: 30em; 
    margin: 2em auto;
    text-align: center;
}

.porque-pergolas-cta {
    display: inline-block;
    border: 2px solid var(--color-primary-green);
	background-color: var(--color-primary-green);
    border-radius: 4px;
    padding: 1em 1.5em;
    color: white !important;
    text-decoration: none;
    font-size: 0.85em;
    letter-spacing: 0.08em;
    transition: background-color 0.2s ease-in-out;
	margin-top: 5px;
	font-weight: 550;
    cursor: pointer;
    font-family: Title;
    text-transform: uppercase;
}

/* Stack image above content on smaller screens */
@media screen and (max-width: 736px) {
    .installations-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .installation-card {
        flex-direction: column;
    }

    .installation-card-image {
        flex: none;
    }

    .installation-card-image img {
        height: auto;
        aspect-ratio: 16 / 10;
    }
}

/* ── Testimonials carousel ── */
.testimonials-wrapper {
    max-width: 60em;
    margin: 3em auto 1em auto;
}

.testimonials-title {
    text-align: center;
    margin-bottom: 1em;
}

.testimonials-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.testimonials-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-viewport::-webkit-scrollbar {
    display: none;
}

.testimonials-track {
    display: flex;
    gap: 1.5em;
}

.testimonial-card {
    flex: 0 0 calc(50% - 0.75em);
    scroll-snap-align: start;
    background: #e7e7e728;
    border-radius: 8px;
    overflow: hidden;
}

.testimonial-card-header {
    background: var(--color-primary-green);
    color: #ffffff;
    font-family: "Title";
    font-size: 1.3em;
    font-weight: 700;
    padding: 0.7em 1em;
}

.testimonial-card-body {
    padding: 1em 1.25em 1.5em 1.25em;
}

.testimonial-card-body p {
    margin: 0;
    color: #9a9a9a;
    font-size: 0.95em;
    line-height: 1.6;
}

.testimonial-arrow {
    flex: 0 0 auto;
    background: none;
    border: 0;
    box-shadow: none;
    color: rgba(46, 49, 65, 0.35);
    font-size: 1.3em;
    line-height: 1;
    cursor: pointer;
    padding: 0.5em;
    height: auto;
}

.testimonial-arrow:hover,
.testimonial-arrow:active {
    background: none !important;
    color: rgba(46, 49, 65, 0.7);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-top: 1em;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(46, 49, 65, 0.2);
    border: 0;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
}

.testimonial-dot.active {
    background: var(--color-primary-green);
}

@media screen and (max-width: 736px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}