/* About Us page styles. Keep these scoped to avoid affecting the homepage. */
.about-page {
    overflow-wrap: break-word;
}

.about-page > section {
    padding-block: clamp(48px, 5vw, 80px);
}

.about-page .about-section--white {
    --background-color: #ffffff;
    --surface-color: #ffffff;
}

.about-page .about-section--gray {
    --background-color: #f2f4f8;
    --surface-color: #ffffff;
}

.about-page .about-section--blue {
    --background-color: #f1f7fd;
    --surface-color: #ffffff;
}

.about-page #about-hero {
    background-color: var(--background-color);
    background-image: linear-gradient(135deg, transparent 64%, rgba(255, 255, 255, 0.55) 64%, rgba(255, 255, 255, 0.55) 78%, transparent 78%);
}

.about-page #about-hero h1 {
    margin: 12px 0 20px;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.about-page .about-hero-description {
    max-width: 52rem;
    margin: 0;
    color: #566779;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.7;
}

.about-page .about-section-heading {
    max-width: 48rem;
    margin: 0 auto 40px;
    text-align: center;
}

.about-page .about-section-heading h2 {
    margin: 0;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.about-page .about-section-heading p {
    max-width: 58ch;
    margin: 14px auto 0;
    color: #566779;
    line-height: 1.7;
}

.about-page .about-section-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-page .about-section-heading--start {
    margin-left: 0;
    text-align: left;
}

.about-page .about-section-heading--start p {
    margin-left: 0;
}

.about-page #about .about-description {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.about-page .about-building {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.about-page #about .feature-list li {
    align-items: flex-start;
}

.about-page .feature-list i {
    flex-shrink: 0;
}

.about-page .about-service {
    display: flex;
    min-width: 0;
    padding: 12px;
}

.about-page .about-service-content {
    width: 100%;
    min-height: 220px;
    padding: 26px;
    border: 1px solid #dfe6ee;
    border-radius: 14px;
    background: #ffffff;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.about-page .about-service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.about-page .about-service-content p:last-child {
    margin-bottom: 0;
}

.about-page .about-service-image {
    background: url('../newimages/about-5.jpg') center / cover no-repeat;
}

.about-page .about-content-icon {
    display: inline-flex;
    padding: 10px;
    border-radius: 5px;
    background: #e2e2e2;
    color: #555555;
    font-size: 1.5rem;
    transition: background-color 220ms ease, color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .about-page .about-service-content:hover {
        transform: translateY(-4px);
        border-color: #c8d2e0;
        box-shadow: 0 10px 28px rgba(25, 43, 91, 0.09);
    }

    .about-page .about-service-content:hover .about-content-icon {
        background-color: #e8edf5;
        color: var(--accent-color);
    }
}

/* Fit-out: one image, focused copy and a structured scope of works. */
.about-page .fitout-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(28px, 4vw, 56px);
}

.about-page .fitout-visual {
    margin: 0;
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: 18px;
    background: #f5f7fa;
}

.about-page .fitout-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-page .fitout-visual figcaption {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

.about-page .fitout-visual figcaption > i {
    color: var(--accent-color);
    font-size: 1.75rem;
}

.about-page .fitout-visual strong,
.about-page .fitout-visual span {
    display: block;
}

.about-page .fitout-visual strong {
    margin-bottom: 4px;
    color: var(--heading-color);
    font-size: 1rem;
    font-weight: 600;
}

.about-page .fitout-visual span {
    color: #566779;
    font-size: 0.875rem;
    line-height: 1.6;
}

.about-page .fitout-content > p {
    margin: 0 0 18px;
    line-height: 1.75;
}

.about-page .fitout-content .fitout-lead {
    color: var(--heading-color);
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.6;
}

.about-page .fitout-content .fitout-scope-intro {
    margin-bottom: 12px;
    color: #566779;
    font-size: 0.9375rem;
}

.about-page .fitout-capabilities {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-page .fitout-capabilities li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #e7edf3;
    color: var(--heading-color);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
}

.about-page .fitout-capabilities i {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 10px;
    background: #f0f5fb;
    color: var(--accent-color);
    font-size: 1.125rem;
}

.about-page .fitout-service-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    margin-top: 16px;
    font-weight: 600;
}

.about-page .fitout-service-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-page .fitout-reference {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 32px 0 0;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    color: #566779;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.about-page .fitout-reference i {
    flex-shrink: 0;
    color: var(--accent-color);
    font-size: 1.25rem;
    line-height: 1.3;
}

@media (max-width: 991px) {
    .about-page .fitout-layout {
        grid-template-columns: 1fr;
    }

    .about-page .fitout-visual img {
        aspect-ratio: 16 / 9;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .about-page .about-section-heading {
        margin-bottom: 28px;
    }

    .about-page .about-service-content {
        min-height: 0;
        padding: 22px;
    }

    .about-page .about-service-image {
        min-height: 190px;
    }

    .about-page .fitout-visual figcaption {
        align-items: flex-start;
        padding: 20px;
    }

}

.about-page .about-hvac-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 48px;
    max-width: 70rem;
    margin: 0 auto;
}

.about-page .about-hvac-copy p {
    margin: 0;
    line-height: 1.8;
}

.about-page .about-contact-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding: 32px;
    border: 1px solid #d9e3ee;
    border-radius: 16px;
    background: #ffffff;
}

.about-page .about-contact-panel h3 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.about-page .about-contact-panel p {
    max-width: 60ch;
    margin: 0;
    color: #566779;
    line-height: 1.7;
}

.about-page .about-contact-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 40px;
    background: var(--accent-color);
    color: #ffffff;
    font-weight: 600;
}

.about-page .about-contact-button:hover {
    background: #2c3c70;
    color: #ffffff;
}

@media (max-width: 767px) {
    .about-page .about-hvac-copy {
        grid-template-columns: 1fr;
    }

    .about-page .about-contact-panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}

.about-page .about-certificates {
    padding: 0 0 40px;
}

.about-page .about-certificates .swiper-slide {
    height: auto;
}

.about-page .about-certificate {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background: #ffffff;
    font-weight: 600;
    text-align: center;
}

.about-page .about-certificates .about-certificate img {
    width: 100%;
    height: 220px;
    padding: 0;
    object-fit: contain;
    opacity: 1;
    filter: none;
}

.about-page .about-faq-item {
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    background: var(--surface-color);
}

.about-page .about-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
}

.about-page .about-faq-item summary::-webkit-details-marker {
    display: none;
}

.about-page .about-faq-item h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.about-page .about-faq-item summary i {
    flex-shrink: 0;
}

.about-page .about-faq-item[open] summary i {
    transform: rotate(90deg);
}

.about-page .about-faq-item[open] h3 {
    color: var(--accent-color);
}

.about-page .about-faq-item p {
    margin: 12px 0 0;
    line-height: 1.7;
}

.about-page a:focus-visible,
.about-page summary:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
    .about-page .about-service-content,
    .about-page .about-content-icon {
        transition: none;
    }

    .about-page .about-service-content:hover {
        transform: none;
    }
}
