/* ===============================
   BASIS EN VARIABELEN
   =============================== */

:root {
    --orange: #df4e10;
    --pink: #d27fa5;
    --blue: #3ba9d5;
    --purple: #7f3c7d;
    --green: #8dba38;
    --navy: #17537d;
    --brown: #784525;
    --teal: #23988b;
    --yellow: #f3cf00;
    --cream: #f1f5df;
    --ink: #243847;
    --paper: #fff;
    --font-head: 'Arvo',serif;
    --font-body: 'DM Sans',sans-serif;
    --shadow: 0 22px 60px rgba(23,83,125,.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 400 1rem/1.65 var(--font-body);
    overflow-x: hidden;
}

a {
    color: inherit;
}


/* ===============================
   HOMEPAGE HERO
   =============================== */

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(350px,.95fr) minmax(650px,1.35fr);
    color: #fff;
    background: var(--yellow);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem,7vw,7rem);
    background: var(--orange);
    position: relative;
    overflow: hidden;
}

.hero-copy:after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -45px;
    bottom: -70px;
    background: url('../images/brand/Blokjes_In_Oranje.svg') center/contain no-repeat;
    opacity: .35;
    border: 0;
    border-radius: 0;
}

.eyebrow {
    margin: 0 0 1rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: var(--blue);
}

h1,h2,h3,p {
    margin-top: 0;
}

h1,h2,h3 {
    font-family: var(--font-head);
    line-height: 1.2;
}

h1 {
    max-width: 760px;
    margin-bottom: 1.5rem;
    font-size: clamp(2.55rem,4.5vw,4.9rem);
    letter-spacing: -.045em;
}

.hero-copy>p:not(.eyebrow) {
    max-width: 670px;
    font-size: clamp(1.05rem,1.6vw,1.3rem);
}

.hero-copy>* {
    position: relative;
    z-index: 1;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.4rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    justify-content: center;
    padding: .95rem 1.4rem;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
}

.button-light {
    color: var(--navy);
    background: #fff;
}

.text-link {
    font-weight: 700;
    text-decoration: none;
}

.text-link span {
    display: inline-block;
    margin-left: .3rem;
    transition: .2s;
}

.text-link:hover span {
    transform: translateX(5px);
}

/* ===============================
   ONTWERPEN IN HERO
   =============================== */

.hero-designs {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    min-height: 680px;
}

.design-card {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.design-uil {
    background: var(--blue);
}

.design-kompas {
    background: var(--purple);
}

.design-eigen {
    color: var(--navy);
    background: #dcecf5;
}

.design-maatwerk {
    color: var(--green);
    background: var(--cream);
}

.design-visual {
    position: absolute;
    inset: 0 0 31%;
    z-index: -1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: saturate(.98);
    transition: transform .45s ease,opacity .45s ease;
}

.design-uil .design-visual {
    background-image: url('../images/templateuilschoolgidsonline-ovkwebdesign-transparant-kl.png');
}

.design-kompas .design-visual {
    background-image: url('../images/templatekompasschoolgidsonline-ovkwebdesign-transparant-kl.png');
}

.design-eigen .design-visual {
    background-image: url('../images/julianaschool-ovkwebdesign-transparant-kl.png');
}

.design-maatwerk .design-visual {
    background-image: url('../images/kindcentrumdehoeven-ovkwebdesign-transparant-kl.png');
}

.design-summary,.design-extra {
    position: absolute;
    inset: auto 0 0;
    min-height: 34%;
    padding: 1.5rem 1.7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform .42s cubic-bezier(.2,.8,.2,1),opacity .3s;
}

.design-summary small,.design-extra small {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.design-summary strong,.design-extra strong {
    margin-top: .3rem;
    font: 700 clamp(1.2rem,1.8vw,1.7rem)/1.2 var(--font-head);
}

.design-extra {
    inset: 0;
    padding: 2rem;
    background: rgba(23,83,125,.94);
    color: #fff;
    transform: translateY(100%);
    opacity: 0;
}

.design-kompas .design-extra {
    background: rgba(92,38,90,.95);
}

.design-eigen .design-extra {
    background: rgba(223,78,16,.95);
}

.design-maatwerk .design-extra {
    background: rgba(112,154,35,.96);
}

.design-extra em {
    margin-top: 1.25rem;
    font-style: normal;
    font-weight: 700;
}

.design-card:hover .design-extra,.design-card:focus-visible .design-extra,.design-card.is-open .design-extra {
    transform: translateY(0);
    opacity: 1;
}

.design-card:hover .design-visual,.design-card.is-open .design-visual {
    transform: scale(1.06);
}

.design-card:focus-visible {
    outline: 4px solid var(--yellow);
    outline-offset: -4px;
}

/* ===============================
   ALGEMENE SECTIES
   =============================== */

.section {
    width: min(1240px,calc(100% - 2.5rem));
    margin: auto;
    padding: clamp(4rem,9vw,8rem) 0;
}

.intro-section {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: clamp(3rem,8vw,8rem);
    align-items: end;
}

.intro-section h2,.showcase h2 {
    margin: 0;
    font-size: clamp(2rem,4.5vw,4.3rem);
    letter-spacing: -.035em;
}

.intro-section>p {
    margin: 0;
    font-size: 1.15rem;
}

/* ===============================
   FAQ
   =============================== */

.faq {
    width: 100%;
    color: var(--ink);
}

.faqwrapper {
    display: grid;
    gap: 16px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.faqlist {
    display: grid;
    gap: 16px;
    width: 100%;
    margin: 0;
}


/* FAQ-item */

.faqitem {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--navy);
    border-radius: 18px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 0 10px 30px rgba(23, 83, 125, 0.08);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.faqitem:hover {
    border-color: var(--orange);
    box-shadow: 0 16px 38px rgba(23, 83, 125, 0.13);
    transform: translateY(-2px);
}


/* Vraag */

a.faqheader {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 72px;
    margin: 0;
    padding: 20px 68px 20px 24px;
    border: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-head);
    font-size: clamp(1rem, 0.94rem + 0.25vw, 1.2rem);
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

a.faqheader p {
    width: 100%;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
}

a.faqheader:hover {
    color: var(--navy);
    background: var(--cream);
}

a.faqheader:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: -5px;
}


/* Plus- en minteken */

a.faqheader::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 24px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--paper);
    background: var(--orange);
    font-family: var(--font-body);
    font-size: 27px;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-50%);
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

a.faqheader:hover::after {
    background: var(--navy);
    transform: translateY(-50%) scale(1.06);
}


/* Geopende vraag */

a.faqheader[aria-expanded="true"] {
    color: var(--paper);
    background: var(--navy);
}

a.faqheader[aria-expanded="true"]::after {
    content: "−";
    color: var(--navy);
    background: var(--yellow);
}

a.faqheader[aria-expanded="true"]:hover {
    color: var(--paper);
    background: var(--navy);
}


/* Antwoord */

.faqcontent {
    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0 24px;
    overflow: hidden;
    visibility: hidden;
    color: var(--ink);
    background: var(--cream);
    opacity: 0;
    transition:
        max-height 0.4s ease,
        padding 0.4s ease,
        opacity 0.25s ease,
        visibility 0s linear 0.4s;
}

a.faqheader[aria-expanded="true"] + .faqcontent {
    padding: 24px;
    visibility: visible;
    opacity: 1;
    transition:
        max-height 0.4s ease,
        padding 0.4s ease,
        opacity 0.3s ease,
        visibility 0s linear 0s;
}


/* Tekstopmaak in het antwoord */

.faqcontent,
.faqcontent p,
.faqcontent li,
.faqcontent span,
.faqcontent strong,
.faqcontent em {
    color: var(--ink);
}

.faqcontent > *:first-child {
    margin-top: 0;
}

.faqcontent > *:last-child {
    margin-bottom: 0;
}

.faqcontent p {
    margin: 0 0 1rem;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
}

.faqcontent h2,
.faqcontent h3,
.faqcontent h4,
.faqcontent h5,
.faqcontent h6 {
    margin: 1.5rem 0 0.75rem;
    color: var(--navy);
    font-family: var(--font-head);
    line-height: 1.3;
}

.faqcontent h2 {
    font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.8rem);
}

.faqcontent h3 {
    font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.5rem);
}

.faqcontent h4,
.faqcontent h5,
.faqcontent h6 {
    font-size: 1.05rem;
}


/* Lijsten */

.faqcontent ul,
.faqcontent ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.faqcontent li {
    margin: 0 0 0.45rem;
    padding-left: 0.25rem;
    line-height: 1.65;
}

.faqcontent li::marker {
    color: var(--orange);
    font-weight: 700;
}


/* Links */

.faqcontent a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.faqcontent a:hover {
    color: var(--orange);
}


/* Afbeeldingen */

.faqcontent img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 14px;
}


/* Tablet en mobiel */

@media (max-width: 720px) {
    .faqwrapper,
    .faqlist {
        gap: 12px;
    }

    .faqitem {
        border-radius: 14px;
    }

    a.faqheader {
        min-height: 64px;
        padding: 17px 58px 17px 18px;
    }

    a.faqheader::after {
        right: 16px;
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    a.faqheader[aria-expanded="true"] + .faqcontent {
        padding: 20px 18px;
    }

    .faqcontent {
        padding-right: 18px;
        padding-left: 18px;
    }
}


/* Minder beweging indien ingesteld */

@media (prefers-reduced-motion: reduce) {
    .faqitem,
    a.faqheader,
    a.faqheader::after,
    .faqcontent {
        transition: none;
    }
}


/* ===============================
   FAQ TITELKLEUREN
   =============================== */

/* Gesloten vraag */

.faqitem > a.faqheader,
.faqitem > a.faqheader p,
.faqitem > a.faqheader span,
.faqitem > a.faqheader strong {
    color: var(--ink) !important;
}


/* Geopende vraag */

.faqitem > a.faqheader[aria-expanded="true"],
.faqitem > a.faqheader[aria-expanded="true"] p,
.faqitem > a.faqheader[aria-expanded="true"] span,
.faqitem > a.faqheader[aria-expanded="true"] strong {
    color: var(--paper) !important;
}


/* Geopende vraag bij hover */

.faqitem > a.faqheader[aria-expanded="true"]:hover,
.faqitem > a.faqheader[aria-expanded="true"]:hover p,
.faqitem > a.faqheader[aria-expanded="true"]:hover span,
.faqitem > a.faqheader[aria-expanded="true"]:hover strong {
    color: var(--paper) !important;
}


/* Achtergrond geopende vraag */

.faqitem > a.faqheader[aria-expanded="true"] {
    background-color: var(--navy) !important;
}


/* Gele sluitknop */

.faqitem > a.faqheader[aria-expanded="true"]::after {
    color: var(--navy);
    background-color: var(--yellow);
}


/* ===============================
   DIENSTEN EN SCHOOLFOTO'S
   =============================== */

.services {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 310px;
    background: var(--navy);
}

.service-card {
    position: relative;
    min-height: 0;
    padding: clamp(2rem,4vw,4rem);
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.service-card:after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -22px;
    top: -18px;
    background: url('../images/brand/Pijltje_Geel2.svg') center/contain no-repeat;
    opacity: .22;
    transform: rotate(12deg);
}

.service-card.green:after {
    background-image: url('../images/brand/Pijltje_Oranje2.svg');
}

.service-card.brown:after {
    width: 180px;
    height: 180px;
    right: -30px;
    bottom: -35px;
    top: auto;
    background-image: url('../images/brand/Blokjes_In_Bruin.svg');
    transform: none;
}

.service-card.darkblue:after {
    width: 220px;
    height: 220px;
    right: -55px;
    bottom: -70px;
    top: auto;
    background-image: url('../images/brand/Blokjes_In_Blauw.svg');
    transform: none;
}

.service-card.orange:after {
    background-image: url('../images/brand/Pijltje_Geel.svg');
}

.service-card span {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.service-card h3,.service-card p,.service-card b {
    position: relative;
    z-index: 1;
}

.service-card h3 {
    margin: 0 0 .4rem;
    font-size: clamp(1.25rem,2vw,2rem);
}

.service-card p {
    margin: 0;
}

.service-card b {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    font-size: 2rem;
}

.service-card.large {
    grid-row: span 2;
}

.service-card.wide {
    grid-column: span 2;
}

.school-photo {
    position: relative;
    min-height: 0;
    margin: 0;
    overflow: hidden;
}

.school-photo-wide {
    grid-column: span 2;
}

.school-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.school-photo:hover img {
    transform: scale(1.04);
}

.school-photo figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 3.5rem 1.5rem 1.4rem;
    color: #fff;
    font: 700 clamp(1rem,1.8vw,1.45rem)/1.35 var(--font-head);
    background: linear-gradient(transparent,rgba(23,83,125,.88));
}

.orange {
    background: var(--orange);
}

.teal {
    background: var(--teal);
}

.ice {
    color: var(--navy);
    background: #dce4e8;
}

.green {
    background: var(--green);
}

.pink {
    background: var(--pink);
}

.brown {
    background: var(--brown);
}

.darkblue {
    background: #006071;
}

/* ===============================
   SCHOOLLOGO-SLIDER
   =============================== */

.school-logos {
    display: grid;
    grid-template-columns:
        minmax(270px, 0.8fr)
        minmax(0, 2.2fr);
    overflow: hidden;
    color: #ffffff;
    background: var(--teal);
}

/* Groen tekstvlak */

.school-logos-intro {
    position: relative;
    z-index: 3;
    min-height: 310px;
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    background: var(--teal);
}

.school-logos-intro h2 {
    max-width: 420px;
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.7rem);
}

.school-logos-intro > img {
    position: absolute;
    right: 2rem;
    bottom: 1.4rem;
    width: 80px;
}

/* Slidergebied */

.logo-wall {
    position: relative;
    min-width: 0;
    min-height: 310px;
    overflow: hidden;
    background: #ffffff;
}

/* Zachte overgang naar het groene vlak */

.logo-wall::before {
	display:none;
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    width: clamp(40px, 6vw, 100px);
    pointer-events: none;
    background:
        linear-gradient(
            to right,
            var(--teal) 0%,
            rgba(39, 157, 146, 0.65) 22%,
            rgba(39, 157, 146, 0) 100%
        );
}

/* MaxiCMS bewerkknop */

.logo-wall > .mx_buttons {
    position: absolute;
    z-index: 5;
    top: 1rem;
    left: 1rem;
    margin: 0;
}

/* Marquee */

.logo-marquee {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.logo-marquee-track {
    display: flex;
    width: max-content;
    min-height: 310px;
    will-change: transform;
}

.logo-marquee.is-ready .logo-marquee-track {
    animation: school-logo-scroll 32s linear infinite;
}

/* Twee identieke groepen voor eindeloze beweging */

.logo-marquee-group {
    display: flex;
    flex: none;
    min-height: 310px;
}

/* Eén logo */

.logo-marquee .school-logo {
    display: grid;
    place-items: center;
    flex: 0 0 clamp(240px, 18vw, 320px);
    min-width: 0;
    min-height: 310px;
    padding: clamp(1.5rem, 3vw, 1rem);
    border-left: 1px solid #e8eef1;
    background: #ffffff;
}

.logo-marquee .school-logo a {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.logo-marquee .school-logo img {
    display: block;
    width: 100%;
    max-width: 320px;
    max-height: 210px;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

/* Pauzeren bij aanwijzen of toetsenbordfocus */

.logo-marquee:hover .logo-marquee-track,
.logo-marquee:focus-within .logo-marquee-track {
    animation-play-state: paused;
}

/* ===============================
   HOVER OP GEKOPPELDE LOGO'S
   =============================== */

.logo-marquee .school-logo a {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    text-decoration: none;
    cursor: pointer;
}

/* Verloop achter het label */

.logo-marquee .school-logo a::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    opacity: 0;
    background:
        linear-gradient(
            to top,
            rgba(18, 69, 96, 0.94) 0%,
            rgba(18, 69, 96, 0.7) 30%,
            rgba(18, 69, 96, 0) 68%
        );
    transition: opacity 0.3s ease;
}

/* Label */

.logo-marquee .school-logo a::after {
    content: "Bezoek website →";
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: #ffffff;
    background: var(--teal);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease;
}

/* Logo-animatie */

.logo-marquee .school-logo a img {
    position: relative;
    z-index: 0;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

/* Hover en toetsenbordfocus */

.logo-marquee .school-logo a:hover::before,
.logo-marquee .school-logo a:focus-visible::before {
    opacity: 1;
}

.logo-marquee .school-logo a:hover::after,
.logo-marquee .school-logo a:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.logo-marquee .school-logo a:hover img,
.logo-marquee .school-logo a:focus-visible img {
    opacity: 0.78;
    transform: translateY(-14px) scale(1.04);
}

/* Duidelijke toetsenbordfocus */

.logo-marquee .school-logo a:focus-visible {
    outline: 4px solid var(--yellow);
    outline-offset: -4px;
}

/* Minder beweging indien ingesteld */

@media (prefers-reduced-motion: reduce) {
    .logo-marquee .school-logo a,
    .logo-marquee .school-logo a::before,
    .logo-marquee .school-logo a::after,
    .logo-marquee .school-logo a img {
        transition: none;
    }
}


/* Beweging naar links */

@keyframes school-logo-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ===============================
   TABLET
   =============================== */

@media (max-width: 1000px) {
    .school-logos {
        grid-template-columns:
            minmax(240px, 0.8fr)
            minmax(0, 1.2fr);
    }

    .logo-marquee .school-logo {
        flex-basis: 260px;
    }
}

/* ===============================
   MOBIEL
   =============================== */

@media (max-width: 720px) {
    .school-logos {
        grid-template-columns: 1fr;
    }

    .school-logos-intro {
        min-height: 250px;
    }

    .logo-wall,
    .logo-marquee-track,
    .logo-marquee-group {
        min-height: 200px;
    }

    .logo-wall::before {
        width: 50px;
    }

    .logo-marquee .school-logo {
        flex-basis: 230px;
        min-height: 200px;
        padding: 1.5rem;
    }

    .logo-marquee .school-logo img {
        max-width: 190px;
        height: 95px;
    }
}

/* Minder beweging indien ingesteld door bezoeker */

@media (prefers-reduced-motion: reduce) {
    .logo-marquee.is-ready .logo-marquee-track {
        animation: none;
    }

    .logo-marquee {
        overflow-x: auto;
    }
}
/* ===============================
   SHOWCASE
   =============================== */

.showcase {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(3rem,8vw,8rem);
    align-items: center;
}

.showcase-copy>p:not(.eyebrow) {
    font-size: 1.1rem;
}

.showcase ul {
    padding-left: 1.2rem;
}

.showcase li {
    margin: .6rem 0;
}

.browser-frame {
    margin: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: rotate(1.4deg);
}

.browser-bar {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    background: #edf2f4;
}

.browser-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pink);
}

.browser-bar i:nth-child(2) {
    background: var(--yellow);
}

.browser-bar i:nth-child(3) {
    background: var(--green);
}

.browser-bar span {
    margin-left: 10px;
    font-size: .75rem;
    color: #789;
}

.browser-frame img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
}

.browser-frame figcaption {
    padding: 1rem;
    text-align: center;
    font-weight: 700;
}

/* ===============================
   CALL TO ACTION
   =============================== */

.cta-band {
    text-align: center;
    padding: clamp(5rem,10vw,9rem) 1.5rem;
    color: #fff;
    background: var(--blue);
}

.cta-band h2 {
    max-width: 920px;
    margin: 0 auto 2.5rem;
    font-size: clamp(2.2rem,5vw,4.8rem);
}

/* ===============================
   FOOTER
   =============================== */

.site-footer {
    color: #fff;
    background: var(--navy);
}

.footer-grid {
    width: min(1240px,calc(100% - 2.5rem));
    margin: auto;
    padding: clamp(4rem,8vw,7rem) 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 4rem;
}

.footer-logo {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-logo>span>span {
    color: #b9dff0;
}

.site-footer h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.site-footer address {
    font-style: normal;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem max(1.25rem,calc((100% - 1240px)/2));
    font-size: .8rem;
    color: var(--navy);
    background: #fff;
}

@media(max-width:1050px) {


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

    .hero-copy {
        min-height: 580px;
    }

    .hero-designs {
        min-height: 680px;
    }

    .services {
        grid-template-columns: repeat(2,minmax(0,1fr));
        grid-auto-rows: 290px;
    }

    .service-card.large {
        grid-row: span 2;
    }

    .school-logos {
        grid-template-columns: 1fr;
    }

    .logo-wall {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }

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

}

@media(max-width:720px) {


    .hero-copy {
        min-height: auto;
        padding: 5rem 1.25rem;
    }

    .hero-designs {
        grid-template-columns: 1fr 1fr;
        min-height: auto;
    }

    .design-card {
        min-height: 300px;
    }

    .design-summary {
        padding: 1.1rem;
    }

    .intro-section,.showcase,.footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 260px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card span {
        top: 1.5rem;
        left: 1.5rem;
    }

    .service-card.large {
        grid-row: span 2;
    }

    .service-card.wide,.school-photo-wide {
        grid-column: span 2;
    }

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

    .school-logo {
        min-height: 140px;
        padding: 1.5rem;
    }

    .browser-frame {
        transform: none;
    }

    .browser-frame img {
        height: 380px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .site-footer address {
        border-top: 1px solid rgba(255,255,255,.2);
        padding-top: 2rem;
    }

}

@media(max-width:440px) {
    .services,.hero-designs {
        grid-template-columns: 1fr;
    }

    .services {
        grid-auto-rows: auto;
    }

    .service-card,.school-photo {
        min-height: 300px;
    }

    .service-card,.service-card.large,.service-card.wide,.school-photo-wide {
        grid-column: auto;
        grid-row: auto;
    }

    .design-card {
        min-height: 360px;
    }

    .logo-wall {
        grid-template-columns: 1fr 1fr;
    }

    .school-logo {
        min-height: 120px;
        padding: 1rem;
    }


}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,*:before,*:after {
        transition: none!important;
    }

}
