/*
 * Prime Build London Specialist
 * Clean production stylesheet
 *
 * One stylesheet. No stacked legacy overrides.
 * Designed for Dreamweaver, XAMPP and standard static hosting.
 */

:root {
    --navy: #031d46;
    --navy-2: #073b7a;
    --blue: #1687e8;
    --blue-dark: #0a4fa3;
    --cyan: #54e4ee;
    --gold: #d5a744;
    --ink: #101828;
    --muted: #667085;
    --line: #dfe6ef;
    --surface: #f3f8ff;
    --white: #fff;
    --shadow: 0 24px 70px rgba(8, 72, 148, .16);
    --header-height: 102px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

body.chat-open {
    overflow: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.wrap {
    width: min(1240px, 92%);
    margin-inline: auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid rgba(213, 167, 68, .25);
    border-bottom: 1px solid rgba(3, 29, 70, .08);
    box-shadow: 0 8px 30px rgba(3, 29, 70, .07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    position: relative;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 28px;
    padding-left: 226px;
}

.brand-image-link {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 15;
    width: 190px;
    height: 190px;
    overflow: hidden;
    transform: translateY(-50%);
    background: var(--white);
    border: 8px solid var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(3, 29, 70, .17);
}

.site-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--white);
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 26px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
}

.main-nav > a:hover {
    color: var(--blue);
}

.menu-toggle {
    display: none;
    padding: 8px;
    color: var(--navy-2);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 4px 0;
    background: currentColor;
    border-radius: 99px;
}

/* Buttons */

.btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(6, 45, 104, .18);
    font-weight: 850;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(6, 45, 104, .24);
}

.btn-small {
    min-height: 46px;
    padding: 11px 18px;
}

.btn-white {
    color: var(--navy);
    background: var(--white);
}

.btn-outline {
    background: rgba(15, 125, 224, .84);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: none;
}

.eyebrow {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: var(--cyan);
}

/* Homepage hero */

.hero-home {
    position: relative;
    min-height: 860px;
    overflow: visible;
    color: var(--white);
    background: var(--navy);
}

.hero-media,
.service-page-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media {
    object-position: center;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 29, 70, .94) 0%,
            rgba(3, 29, 70, .79) 32%,
            rgba(3, 29, 70, .38) 56%,
            rgba(3, 29, 70, .06) 80%
        );
}

.hero-layout {
    position: relative;
    z-index: 3;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding: 55px 0 120px;
}

.hero-copy {
    max-width: 735px;
}

.hero-copy h1 {
    max-width: 760px;
    margin: 14px 0 25px;
    font-size: clamp(62px, 6.3vw, 102px);
    line-height: .94;
    letter-spacing: -.055em;
    text-wrap: balance;
    text-shadow: 0 5px 24px rgba(0, 0, 0, .16);
}

.hero-copy p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .94);
    font-size: 20px;
    line-height: 1.65;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-pills span {
    padding: 9px 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    font-size: 13px;
    backdrop-filter: blur(8px);
}

/* Experience pennant */

.experience-pennant {
    position: absolute;
    top: 0;
    right: clamp(7%, 14vw, 250px);
    z-index: 8;
    width: 176px;
    min-height: 306px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 42px 20px 67px;
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
    background: linear-gradient(180deg, #041a3d, #062d64);
    border-right: 3px solid var(--gold);
    border-left: 3px solid var(--gold);
    box-shadow: 0 18px 38px rgba(3, 29, 70, .25);
    clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%);
}

.experience-pennant::before {
    content: "";
    position: absolute;
    inset: 10px 9px 18px;
    border: 1px solid rgba(213, 167, 68, .42);
    clip-path: inherit;
    pointer-events: none;
}

.experience-pennant strong,
.experience-pennant span,
.pennant-stars {
    position: relative;
    z-index: 1;
}

.experience-pennant strong {
    font-size: 64px;
    line-height: 1;
    letter-spacing: -.04em;
}

.experience-pennant span {
    margin-top: 7px;
    font-size: 23px;
    font-weight: 850;
    line-height: 1;
}

.experience-pennant span + span {
    font-size: 18px;
    letter-spacing: .04em;
}

.pennant-stars {
    margin-top: 24px;
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 4px;
}

/* Hero statistics */

.hero-stats-wrap {
    position: absolute;
    right: 0;
    bottom: -48px;
    left: 0;
    z-index: 10;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy), #062d64);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 13px;
    box-shadow: 0 24px 60px rgba(3, 29, 70, .27);
}

.hero-stat {
    min-height: 122px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 15px;
    align-items: center;
    padding: 22px 24px;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.hero-stat:last-child {
    border-right: 0;
}

.hero-stat-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    font-size: 20px;
}

.hero-stat strong {
    display: block;
    font-size: 27px;
    line-height: 1;
}

.hero-stat span {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    line-height: 1.35;
}

/* Inner page heroes */

.simple-page-hero,
.service-page-hero {
    position: relative;
    min-height: 640px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
}

.simple-page-hero {
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(3, 29, 70, .9), rgba(3, 29, 70, .2)),
        url("../images/heroes/home.jpg") center / cover no-repeat;
}

.simple-page-hero > .wrap,
.service-page-hero__content {
    position: relative;
    z-index: 4;
    width: min(760px, 92%);
    min-height: 0;
    margin: auto;
    padding: 32px 34px;
    color: var(--white);
    text-align: center;
    background: linear-gradient(135deg, rgba(3, 29, 70, .73), rgba(6, 45, 100, .48));
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(3, 29, 70, .28);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.simple-page-hero h1,
.service-page-hero__content h1 {
    max-width: 12ch;
    margin: 10px auto 20px;
    font-size: clamp(50px, 7vw, 86px);
    line-height: .96;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.simple-page-hero p,
.service-page-hero__content p {
    max-width: 44ch;
    margin: 0 auto;
    color: rgba(255, 255, 255, .94);
    font-size: 19px;
}

.service-page-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 29, 70, .86),
            rgba(3, 29, 70, .38) 58%,
            rgba(3, 29, 70, .08)
        );
}

.service-page-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-page-hero__content .btn {
    margin-top: 25px;
}

.service-page-hero .service-pennant {
    top: 0;
}

/* Sections */

.page-main {
    min-height: 60vh;
}

.section {
    padding: 100px 0;
}

.hero-home + .section {
    padding-top: 150px;
}

.section.alt {
    background: var(--surface);
}

.section.dark {
    color: var(--white);
    background: var(--navy-2);
}

.section-head {
    max-width: 800px;
    margin-bottom: 44px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head h2,
.split-copy h2,
.cta-band h2,
.page-copy h2 {
    margin: 10px 0 18px;
    font-size: clamp(36px, 5.2vw, 66px);
    line-height: 1.04;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.section-head p,
.split-copy > p {
    color: var(--muted);
    font-size: 18px;
}

.dark .section-head p {
    color: #c9d8ed;
}

.grid {
    display: grid;
    gap: 24px;
}

/* Services */

.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    position: relative;
    min-height: 370px;
    overflow: hidden;
    color: var(--white);
    background: var(--navy);
    border: 1px solid rgba(3, 29, 70, .08);
    border-radius: 15px;
    box-shadow: 0 18px 46px rgba(3, 29, 70, .09);
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 60px rgba(3, 29, 70, .14);
}

.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 100;
    transition: transform .4s ease;
}

.service-card:hover img {
    transform: scale(1.04);
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(2, 24, 57, .98), rgba(2, 30, 69, .05) 72%);
}

.card-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 25px;
}

.card-copy h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.card-copy p {
    color: #e3edf8;
    font-size: 14px;
}

/* Feature, process, projects, reviews */

.feature-grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px;
}

.media-frame {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.media-frame img {
    width: 100%;
    min-height: 530px;
    object-fit: cover;
}

.media-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    padding: 18px 22px;
    color: var(--navy);
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-weight: 900;
}

.checks {
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.checks li {
    display: flex;
    gap: 12px;
    margin: 13px 0;
}

.checks li::before {
    content: "✓";
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    color: var(--blue);
    background: #e3f3ff;
    border-radius: 50%;
    font-weight: 900;
}

.process-grid {
    grid-template-columns: repeat(5, 1fr);
    counter-reset: step;
}

.process-step {
    padding: 28px;
    background: var(--white);
    border-top: 3px solid var(--blue);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(5, 39, 89, .08);
}

.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    color: #bdd6ed;
    font-size: 34px;
    font-weight: 900;
}

.process-step h3 {
    margin: 12px 0 8px;
    color: #1f2937;
}

.process-step p {
    color: #374151;
}

.project-grid {
    grid-template-columns: 1.4fr .8fr .8fr;
    grid-auto-rows: 280px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(3, 29, 70, .09);
}

.project-card:first-child {
    grid-row: span 2;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 20, 48, .88), transparent 65%);
}

.project-card > div {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 24px;
    color: var(--white);
}

.project-card h3 {
    margin: 0;
    font-size: 25px;
}

.review-grid {
    grid-template-columns: repeat(3, 1fr);
}

.review {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(6, 45, 104, .07);
}

.stars {
    color: #ffae00;
    letter-spacing: .13em;
}

.review blockquote {
    margin: 16px 0;
    font-size: 18px;
}

.review strong {
    color: var(--navy);
}

/* Content pages */

.content-grid {
    grid-template-columns: 1.1fr .9fr;
    gap: 65px;
}

.prose h2 {
    margin-top: 0;
    color: var(--navy);
    font-size: 38px;
    line-height: 1.1;
}

.prose h3 {
    font-size: 25px;
}

.prose p,
.prose li,
.page-copy p,
.page-copy li {
    color: #4c596b;
    font-size: 17px;
}

.page-copy {
    max-width: 880px;
}

.info-panel {
    position: sticky;
    top: 125px;
    align-self: start;
    padding: 35px;
    color: var(--white);
    background: var(--navy);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(3, 29, 70, .1);
}

.info-panel h3 {
    margin-top: 0;
    font-size: 28px;
}

.info-panel .btn {
    width: 100%;
    margin-bottom: 20px;
    color: var(--navy);
    background: var(--white);
}

/* Forms */

.quote-form,
.form-wrap {
    max-width: 920px;
    margin: auto;
    padding: 38px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    padding: 15px;
    background: var(--white);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.notice {
    margin-bottom: 20px;
    padding: 14px 18px;
    color: #1a6a37;
    background: #e8f7ed;
    border-radius: 8px;
}

.section-action {
    margin-top: 30px;
    text-align: center;
}

/* CTA */

.cta-band {
    padding: 70px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(20, 121, 223, .35), transparent 35%),
        linear-gradient(135deg, var(--navy), #062d64);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-inner > div:first-child {
    max-width: 760px;
}

.cta-band p {
    color: #dce9f7;
}

/* Footer */

.site-footer {
    padding: 75px 0 105px;
    color: #dce8f7;
    background: #021735;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 48px;
}

.footer-logo {
    width: 270px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-brand p {
    max-width: 420px;
    color: #9fb3cc;
}

.site-footer h4 {
    margin-top: 0;
    color: var(--white);
}

.site-footer a {
    display: block;
    margin: 9px 0;
    color: #c5d5e8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 22px;
    color: #90a5bf;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

/* Chat */

.chat-launch {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    padding: 13px 18px;
    color: var(--white);
    background: var(--navy);
    border: 0;
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-weight: 800;
}

.chat-launch span {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    margin-right: 7px;
    background: var(--cyan);
    border-radius: 50%;
}

.chat-panel {
    position: fixed;
    right: 22px;
    bottom: 86px;
    z-index: 140;
    width: min(410px, calc(100% - 28px));
    height: 560px;
    display: none;
    overflow: hidden;
    background: var(--white);
    border-radius: 17px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.chat-panel.open {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.chat-head {
    display: flex;
    justify-content: space-between;
    padding: 17px;
    color: var(--white);
    background: var(--navy);
}

.chat-head small {
    display: block;
    color: #a9c6e7;
}

.chat-head button {
    color: var(--white);
    background: transparent;
    border: 0;
    font-size: 28px;
}

.chat-messages {
    overflow: auto;
    padding: 17px;
    background: #f3f7fb;
}

.bot,
.user {
    max-width: 86%;
    margin: 8px 0;
    padding: 12px 14px;
    border-radius: 13px;
}

.bot {
    background: var(--white);
    border: 1px solid var(--line);
}

.user {
    margin-left: auto;
    color: var(--white);
    background: var(--navy);
}

.chat-panel form {
    display: flex;
    padding: 12px;
    border-top: 1px solid var(--line);
}

.chat-panel form input {
    border: 0;
}

.chat-panel form button {
    padding: 0 18px;
    color: var(--white);
    background: var(--navy);
    border: 0;
    border-radius: 8px;
}

.mobile-bar {
    display: none;
}

/* Tablet */

@media (max-width: 1050px) {
    .header-inner {
        padding-left: 200px;
        gap: 15px;
    }

    .brand-image-link {
        width: 170px;
        height: 150px;
    }

    .main-nav {
        gap: 15px;
        font-size: 13px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile hero requirements:
   - full-width image
   - no gap beneath header
   - pennant below header
   - overlay centred in the hero below the pennant
   - balanced 720px hero
   - stats attached to the lower edge
*/

@media (max-width: 900px) {
    :root {
        --header-height: 74px;
    }

    .site-header {
        position: relative;
    }

    .header-inner {
        min-height: var(--header-height);
        justify-content: flex-end;
        padding: 0 14px 0 150px;
    }

    .brand-image-link {
        top: 18px;
        left: 18px;
        width: 128px;
        height: 98px;
        transform: none;
        border-width: 5px;
        border-radius: 10px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .desktop-cta {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: var(--header-height);
        right: 0;
        left: 0;
        z-index: 120;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 58px 20px 20px;
        background: rgba(255, 255, 255, .99);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 4px;
        color: var(--navy);
        border-bottom: 1px solid rgba(3, 29, 70, .08);
    }

    .hero-home {
        width: 100%;
        min-height: 720px;
        height: 720px;
        margin: 0;
    }

    .hero-media {
        max-width: none;
        object-position: 61% center;
    }

    .hero-shade {
        background:
            linear-gradient(
                180deg,
                rgba(3, 29, 70, .04) 0%,
                rgba(3, 29, 70, .18) 28%,
                rgba(3, 29, 70, .55) 64%,
                rgba(3, 29, 70, .88) 100%
            );
    }

    .hero-layout {
        position: absolute;
        top: 150px;
        right: 0;
        bottom: 100px;
        left: 0;
        min-height: 0;
        width: 100%;
        display: grid;
        place-items: center;
        padding: 0 8px;
    }

    .hero-copy {
        width: min(100%, 620px);
        max-width: 620px;
        margin: 0 auto;
        padding: 20px 18px 18px;
        text-align: center;
        background: linear-gradient(135deg, rgba(3, 29, 70, .79), rgba(10, 79, 163, .48));
        border: 1px solid rgba(255, 255, 255, .22);
        border-radius: 16px;
        box-shadow: 0 18px 42px rgba(3, 29, 70, .28);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .hero-copy .eyebrow,
    .hero-copy h1,
    .hero-copy p {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-copy h1 {
        max-width: 11ch;
        margin-top: 7px;
        margin-bottom: 14px;
        font-size: clamp(39px, 10.5vw, 54px);
        line-height: .98;
    }

    .hero-copy p {
        max-width: 42ch;
        font-size: 15.5px;
        line-height: 1.5;
    }

    .actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 17px;
    }

    .hero-copy .btn {
        width: 100%;
        min-height: 52px;
        padding: 13px 15px;
    }

    .hero-pills {
        display: none;
    }

    .experience-pennant {
        top: 0;
        right: 8px;
        width: 96px;
        min-height: 154px;
        padding: 20px 8px 37px;
        border-width: 2px;
    }

    .experience-pennant strong {
        font-size: 33px;
    }

    .experience-pennant span {
        font-size: 12px;
    }

    .experience-pennant span + span {
        font-size: 9px;
    }

    .pennant-stars {
        margin-top: 12px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero-stats-wrap {
        right: 8px;
        bottom: -80px;
        left: 8px;
        width: auto;
    }

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

    .hero-stat {
        min-height: 90px;
        grid-template-columns: 1fr;
        padding: 13px 10px;
        border-right: 1px solid rgba(255, 255, 255, .15);
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .hero-stat:nth-child(2) {
        border-right: 0;
    }

    .hero-stat:nth-child(3),
    .hero-stat:nth-child(4) {
        border-bottom: 0;
    }

    .hero-stat:nth-child(4) {
        border-right: 0;
    }

    .hero-stat-icon {
        display: none;
    }

    .hero-stat strong {
        font-size: 21px;
    }

    .hero-stat span {
        font-size: 10px;
    }

    .hero-home + .section {
        padding-top: 175px;
    }

    .simple-page-hero,
    .service-page-hero {
        min-height: 680px;
    }

    .simple-page-hero > .wrap,
    .service-page-hero__content {
        width: calc(100% - 16px);
        max-width: 620px;
        margin-top: 105px;
        padding: 22px 18px 20px;
    }

    .simple-page-hero h1,
    .service-page-hero__content h1 {
        font-size: clamp(39px, 10.5vw, 56px);
    }

    .simple-page-hero p,
    .service-page-hero__content p {
        font-size: 16px;
    }

    .service-page-hero .service-pennant,
    .simple-page-hero .page-pennant {
        top: 0;
    }

    .feature-grid,
    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-card:first-child {
        grid-row: auto;
        grid-column: span 2;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        display: block;
    }

    .cta-inner .btn {
        margin-top: 20px;
    }

    .info-panel {
        position: static;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }

    .mobile-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 150;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background: var(--white);
        border-top: 1px solid var(--line);
    }

    .mobile-bar a,
    .mobile-bar button {
        padding: 14px 8px;
        text-align: center;
        background: var(--white);
        border: 0;
        font-weight: 850;
    }

    .chat-launch {
        display: none;
    }

    .site-footer {
        padding-bottom: 125px;
    }
}

/* Small phones */

@media (max-width: 560px) {
    .wrap {
        width: min(100% - 24px, 1240px);
    }

    .header-inner {
        padding-left: 145px;
    }

    .brand-image-link {
        left: 18px;
        width: 128px;
        height: 98px;
    }

    .hero-home {
        min-height: 720px;
        height: 720px;
    }

    .hero-layout {
        top: 145px;
        bottom: 94px;
        padding-inline: 4px;
    }

    .hero-copy {
        width: 100%;
        max-width: none;
        padding: 18px 12px 16px;
        border-radius: 15px;
    }

    .hero-copy h1 {
        font-size: clamp(37px, 10.4vw, 49px);
    }

    .hero-copy p {
        font-size: 15px;
    }

    .hero-stats-wrap {
        right: 8px;
        bottom: -78px;
        left: 8px;
    }

    .section {
        padding: 72px 0;
    }

    .service-grid,
    .process-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card:first-child {
        grid-column: auto;
    }

    .service-card {
        min-height: 330px;
    }

    .media-frame img {
        min-height: 0;
        height: auto;
        object-fit: contain;
    }

    .media-badge {
        position: static;
        border-radius: 0;
        box-shadow: none;
    }

    .quote-form,
    .form-wrap {
        padding: 24px;
    }

    .footer-bottom {
        display: block;
    }

    .chat-panel {
        right: 7px;
        bottom: 65px;
        width: calc(100% - 14px);
        height: 72vh;
    }
}
