/* Composition for fixed pages. Shared tokens own typography and colour. */
.fixed-pages {
    --fixed-card-gap: clamp(16px, 2vw, 24px);
}
.fixed-pages .fixed-page-heading {
    width: 100%;
    margin-block-end: clamp(24px, 3.5vw, 42px);
}
.fixed-pages .fixed-page-heading h2 {
    max-width: 100%;
    margin: 0;
}
.fixed-pages .fixed-page-heading > .home-section-description {
    max-width: 780px;
    margin: 16px auto 0;
}
.fixed-pages
    .fixed-page-heading:not(.service-location-heading--center)
    > .home-section-description {
    margin-inline: 0;
}
.fixed-page-story {
    gap: clamp(28px, 4.5vw, 64px);
}
.fixed-page-story__copy {
    min-width: 0;
}
.fixed-pages .fixed-page-story .fixed-page-heading {
    margin-block-end: 20px;
}
.fixed-page-story__figure {
    width: 100%;
    margin: 0;
}
.fixed-page-story__figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 14px 36px rgb(5 39 67 / 10%);
}
.fixed-page-reading {
    max-width: 920px;
    margin-inline: auto;
}
.fixed-page-rich {
    color: var(--site-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    overflow-wrap: break-word;
}
.fixed-page-rich :is(p, ul, ol, blockquote) {
    margin-block: 0 1.1rem;
}
.fixed-page-rich :is(ul, ol) {
    padding-inline-start: 1.5rem;
}
.fixed-page-rich :is(h2, h3, h4) {
    margin-block: 1.6rem 0.75rem;
    color: var(--site-surface-dark);
    line-height: 1.35;
}
.fixed-page-rich table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
.fixed-page-checks {
    display: grid;
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}
.fixed-page-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.fixed-page-checks i {
    margin-top: 6px;
    color: var(--secondary-color);
}
.fixed-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}
.fixed-page-story .fixed-page-actions {
    justify-content: flex-start;
}
.fixed-page-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fixed-card-gap);
}
.fixed-page-contact-cards,
.fixed-page-offices,
.fixed-page-testimonials,
.fixed-page-jobs,
.fixed-page-company {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fixed-card-gap);
}
.fixed-pages .fixed-page-card {
    gap: 16px;
    min-width: 0;
    height: 100%;
    padding: clamp(22px, 2.4vw, 32px);
    border: 1px solid #dce7ef;
    border-radius: 18px;
    background: var(--site-surface);
    box-shadow: 0 6px 24px rgb(5 39 67 / 4%);
    overflow-wrap: break-word;
}
.fixed-page-card p,
.fixed-page-card .service-location-rich {
    color: var(--site-text-muted);
    font-size: 1rem;
    line-height: 1.75;
}
.fixed-pages .fixed-page-card h3 {
    font-size: 1.125rem;
    font-weight: 650;
    line-height: 1.45;
}
.fixed-page-card__label {
    font-size: 0.875rem;
    font-weight: 600;
}
.fixed-page-icon {
    display: grid;
    flex: 0 0 54px;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid #d7eaf3;
    border-radius: 15px;
    background: linear-gradient(135deg, #e8f5ff, #ecf9f2);
    color: var(--primary-color);
    font-size: 1.35rem;
}
.fixed-page-card__image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 10px;
}
.fixed-page-step,
.fixed-page-timeline__year {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}
.fixed-page-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--fixed-card-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.fixed-page-timeline > li {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding-inline-start: 20px;
    border-left: 3px solid #c4e5e2;
}
.fixed-page-timeline .fixed-page-card {
    flex: 1;
}
.fixed-page-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: var(--site-surface-dark);
    box-shadow: 0 12px 28px rgb(5 39 67 / 10%);
}
.fixed-page-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.fixed-page-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 20px;
    align-items: stretch;
}
.fixed-page-logos figure {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 130px;
    margin: 0;
    padding: 22px;
    border: 1px solid #dce7ef;
    border-radius: 14px;
    background: var(--site-surface);
}
.fixed-page-logos img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 84px;
    object-fit: contain;
}
.fixed-page-testimonials figure {
    margin: 0;
}
.fixed-page-testimonials blockquote {
    margin: 0;
}
.fixed-page-testimonials figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.fixed-page-testimonials figcaption span {
    display: block;
    color: var(--site-text-muted);
    font-size: 0.875rem;
}
.fixed-page-quote {
    color: var(--primary-color);
    font-size: 1.5rem;
}
.fixed-page-map {
    overflow: hidden;
    border: 1px solid #dce7ef;
    border-radius: 18px;
}
.fixed-page-map iframe {
    display: block;
    width: 100%;
    border: 0;
}
.fixed-page-office iframe {
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 12px;
}
.fixed-page-office-note {
    max-width: 900px;
    margin: 28px auto 0;
    text-align: center;
}
.fixed-page-card-heading {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 650;
    line-height: 1.4;
}
.fixed-pages .fixed-page-card-heading .site-heading-accent {
    color: var(--primary-color);
    background: var(--homepage-primary-gradient, var(--gradient));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.fixed-page-hours {
    width: 100%;
    margin: 0;
}
.fixed-page-hours > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-block: 7px;
    border-bottom: 1px solid #e4edf3;
    font-size: 0.875rem;
}
.fixed-page-hours :is(dt, dd) {
    margin: 0;
    font-size: inherit;
}
.fixed-page-enquiry-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
}
.fixed-page-contact-offices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.fixed-page-contact-offices .fixed-page-card {
    padding: 20px;
    gap: 10px;
}
.fixed-page-contact-offices h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}
.fixed-page-form {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(22px, 3vw, 40px);
    border: 1px solid #dce7ef;
    border-radius: 20px;
    background: var(--site-surface);
    box-shadow: 0 10px 32px rgb(5 39 67 / 6%);
}

.fixed-page-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.fixed-page-form .form-group {
    margin-bottom: 18px;
}
.fixed-page-form :is(input, select, textarea) {
    min-width: 0;
    min-height: 48px;
    border-color: #d6e3ee;
    border-radius: 9px;
    font-size: 1rem;
}
.fixed-page-form textarea {
    min-height: 140px;
}
.fixed-page-form :is(input, select, textarea):focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(0 114 190 / 12%);
}
.fixed-page-form .homepage-hero__button {
    width: 100%;
}
.fixed-page-job-meta {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--site-text-muted);
}
.fixed-page-job-meta li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.9375rem;
}
.fixed-page-jobs button,
.fixed-page-company .site-service-link {
    margin-top: auto;
}
.fixed-page-blog-controls {
    display: grid;
    justify-items: center;
    gap: 24px;
    margin-bottom: 28px;
}
.fixed-page-blog-controls .blog-search-wrapper {
    width: min(100%, 620px);
}
.fixed-pages .blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #dce7ef;
    border-radius: 16px;
    background: var(--site-surface);
}
.fixed-pages .blog-content {
    padding: 24px;
}
.fixed-pages .blog-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.fixed-pages .blog-title {
    color: var(--site-surface-dark);
    font-size: 1.125rem;
    line-height: 1.45;
}
.fixed-pages .read-more > span {
    display: none;
}
.career-required {
    color: #c12e3c;
}
@media (max-width: 991.98px) {
    .fixed-page-cards,
    .fixed-page-contact-cards,
    .fixed-page-offices,
    .fixed-page-testimonials,
    .fixed-page-jobs,
    .fixed-page-company {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fixed-page-story,
    .fixed-page-enquiry-split {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 575.98px) {
    .fixed-page-cards,
    .fixed-page-contact-cards,
    .fixed-page-offices,
    .fixed-page-testimonials,
    .fixed-page-jobs,
    .fixed-page-company,
    .fixed-page-timeline,
    .fixed-page-contact-offices,
    .fixed-page-form .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
    .fixed-page-hero__content > p {
        margin-top: 18px;
    }
    .fixed-page-hours > div {
        flex-wrap: wrap;
    }
}

.fixed-page-directory {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--fixed-card-gap);
}
.fixed-page-contact-panel .fixed-page-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 991.98px) {
    .fixed-page-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .fixed-page-directory,
    .fixed-page-contact-panel .fixed-page-directory { grid-template-columns: minmax(0, 1fr); }
}
