/* Shared interior pages. Loaded after the homepage stylesheet. */

.page-band {
    padding: 2.75rem 0;
}

.page-band--ivory {
    background: var(--ivory);
}

.page-band-title {
    max-width: 16em;
    margin: 0 0 0.75rem;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    line-height: 1.15;
}

.page-band-text {
    max-width: 38rem;
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.page-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 1.4rem;
    box-shadow: 0 18px 40px rgba(32, 37, 34, 0.12);
}

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

.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.about-story,
.about-approach,
.about-values,
.about-services,
.about-principles {
    padding: 3.15rem 0;
}

.about-intro-grid {
    margin-top: 2.25rem;
}

.about-note,
.contact-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-note {
    padding: 1.35rem 1.3rem 1.4rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--white);
}

.about-note h3,
.contact-card h2 {
    margin: 0 0 0.55rem;
    color: var(--charcoal);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.about-note p,
.about-note li,
.contact-card p {
    color: var(--text-muted);
    line-height: 1.65;
}

.about-note ul {
    margin: 0;
    padding-left: 1.1rem;
}

.about-note .about-text-link,
.contact-card .about-text-link {
    margin-top: auto;
    padding-top: 0.85rem;
}

.about-reason-list {
    display: grid;
    gap: 0.95rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-reason-list li {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.about-reason-list strong {
    color: var(--charcoal);
    font-weight: 600;
}

.about-reason-list span {
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-hero-visual {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 18px 42px rgba(32, 37, 34, 0.14);
}

.contact-hero-visual > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.contact-hero-panel--overlay {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none;
}

.contact-hero-panel--overlay .contact-hero-details {
    margin-top: 0.35rem;
    padding-top: 0.7rem;
}

.contact-map {
    height: 280px;
    overflow: hidden;
    border-radius: 1rem;
}

.contact-map iframe {
    height: 280px;
}

.contact-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-steps li {
    min-width: 0;
    padding: 1.1rem 1rem 1.15rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--white);
}

.contact-steps span {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--taupe);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.contact-steps strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--charcoal);
    font-weight: 600;
    line-height: 1.35;
}

.contact-steps p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.catalog-intro {
    max-width: 44rem;
}

.catalog-capabilities {
    margin: 0 0 1rem;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.catalog-capabilities li + li {
    margin-top: 0.35rem;
}

.home-product-card .home-card-media {
    aspect-ratio: 16 / 10;
    background: var(--ivory);
}

@media (min-width: 992px) {
    .detail-sidebar-inner {
        max-height: calc(100vh - var(--header-offset) - 1.5rem);
        overflow: auto;
    }
}

@media (max-width: 991.98px) {
    .detail-sidebar-inner {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .contact-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-hero-panel--overlay {
        position: static;
        margin: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .page-band,
    .about-story,
    .about-approach,
    .about-values,
    .about-services,
    .about-principles {
        padding: 2.4rem 0;
    }

    .contact-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-form-card .btn,
    .page-band .btn {
        width: 100%;
    }
}
