:root {
    --header-h: 64px;
}

@media (min-width: 768px) {
    :root {
        --header-h: 88px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%;
}

::-moz-selection {
    color: #ffdd00;
    background-color: #0f3a75;
}

::selection {
    color: #ffdd00;
    background-color: #0f3a75;
}

body {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: #0f3a75;
    background: #f6f9fc;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2 {
    margin: 0;
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid #0f3a75;
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 1rem;
    z-index: 1000;
    padding: 0.6rem 1rem;
    background: #0f3a75;
    color: #ffffff;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    transform: translateY(-120%);
    transition: transform 0.25s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline-color: #ffdd00;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem;
    border: 0;
    border-radius: 999px;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 4px 10px rgba(15, 58, 117, 0.18);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.btn--blue {
    background-color: #0a74c9;
    color: #ffffff;
}

@media (hover: hover) {
    .btn--blue:hover {
        background-color: #ffdd00;
        color: #0f3a75;
    }
}

.btn--blue:focus-visible {
    background-color: #ffdd00;
    color: #0f3a75;
}

.btn--pink {
    background-color: #f58fb8;
    color: #ffffff;
}

@media (hover: hover) {
    .btn--pink:hover {
        background-color: #0f3a75;
        color: #f58fb8;
    }
}

.btn--yellow {
    background-color: #ffdd00;
    color: #0f3a75;
}

@media (hover: hover) {
    .btn--yellow:hover {
        background-color: #0a74c9;
        color: #ffffff;
    }
}

.btn--yellow:focus-visible {
    background-color: #0a74c9;
    color: #ffffff;
}

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background-color: #ffffff;
    transition: height 0.35s ease, box-shadow 0.35s ease;
}

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1300px;
    margin-inline: auto;
    transition: all 350ms ease;
    padding: 1rem 0;
}

@media (max-width: 767px) {
    .header__inner {
        padding: 0.75rem 1rem;
    }
}

.header__logo {
    position: relative;
    z-index: 2;
    display: block;
    height: 100%;
    transition: all 350ms ease;
    max-width: 5rem;
    width: 100%;
}

@media (max-width: 767px) {
    .header__logo {
        max-width: 3.5rem;
    }
}

.header__logo img {
    width: auto;
    height: 100%;
    transition: height 0.35s ease;
}

.header__logo img.desktop {
    display: none;
}

@media (min-width: 768px) {
    .header__logo img.desktop {
        display: block;
    }
}

.header__logo img.mobile {
    display: block;
}

@media (min-width: 768px) {
    .header__logo img.mobile {
        display: none;
    }
}

.header.is-sticky {
    box-shadow: 0 4px 16px rgba(15, 58, 117, 0.15);
}

.header.is-sticky .header__logo {
    max-width: 3.5rem;
    transition: all 350ms ease;
}

.header.is-sticky .header__inner {
    padding: 0.5rem 0;
    transition: all 350ms ease;
}

@media (max-width: 767px) {
    .header.is-sticky .header__inner {
        padding: 0.75rem 1rem;
    }
}

.header__toggle {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
}

@media (min-width: 768px) {
    .header__toggle {
        display: none;
    }
}

.header__toggle-bar {
    display: block;
    width: 100%;
    height: 3px;
    background: #0f3a75;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.header__toggle[aria-expanded=true] .header__toggle-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.header__toggle[aria-expanded=true] .header__toggle-bar:nth-child(2) {
    opacity: 0;
}

.header__toggle[aria-expanded=true] .header__toggle-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.header__open {
    overflow: hidden;
}

.header__open .header__toggle-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.header__open .header__toggle-bar:nth-child(2) {
    opacity: 0;
}

.header__open .header__toggle-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.header__open .nav {
    opacity: 1;
    visibility: visible;
}

.header__open .back-to-top {
    opacity: 0;
    visibility: hidden;
}

@media (max-width: 767px) {
    .nav {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem 2rem;
        background-color: #ffffff;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0s linear 0.35s ease;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.35s ease, visibility 0s;
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav__list {
        flex-direction: row;
        gap: 2.5rem;
    }
}

.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #0f3a75;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.nav__link i {
    font-size: 0.8em;
}

@media (min-width: 768px) {
    .nav__link {
        font-size: 1rem;
    }
}

@media (hover: hover) {
    .nav__link:hover {
        color: #0a74c9;
    }
}

.nav__link:focus-visible {
    color: #0a74c9;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-h);
    background-color: #a9d8f5;
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        min-height: min(96svh, 980px);
        background-image: url("../images/hero-image-07.jpg");
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: cover;
    }
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: clamp(30px, 5vw, 70px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23f6f9fc' d='M0 40c120-30 240-30 360 0s240 30 360 0 240-30 360 0 240 30 360 0V80H0z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    max-width: 1100px;
    padding: 1.5rem 1.5rem clamp(2.5rem, 6vw, 4.5rem);
}

@media (max-width: 767px) {
  .hero__inner {
    padding-top: 2rem;
  }
}

.hero__characters {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .hero__characters {
        display: none;
    }
}

.hero__intro {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
    padding: 0.5rem 1.25rem;
    background-color: #ffffff;
    color: #0f3a75;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(0.95rem, 2.5vw, 1.25rem);
    text-align: center;
    border-radius: 0.5rem;
}

.hero__title {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin-bottom: 1.25rem;
}

.hero__name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1.25rem);
    max-width: 100%;
    padding: 0.35em 1em;
    background-color: #0f3a75;
    border: 4px solid #0a74c9;
    border-radius: 3rem;
    box-shadow: 0 8px 20px rgba(15, 58, 117, 0.35);
    color: #ffffff;
    font-size: clamp(1.9rem, 6.2vw, 4rem);
}

.hero__name-icon {
    flex: none;
    font-size: 0.7em;
}

.hero__name-text {
    min-width: 0;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.hero__name-last {
    color: #ffdd00;
}

.hero__name-first,
.hero__name-last {
    display: inline-block;
}

.hero__cta {
    position: relative;
    z-index: 2;
}

.split {
    --accent: #a9d8f5;
    display: flex;
    align-items: center;
    min-height: clamp(280px, 38vw, 420px);
    padding-block: 3rem;
    background-color: #f6f9fc;
}

.split--sky-blue {
    --accent: #a9d8f5;
    background-color: #f6f9fc;
}

.split--pink {
    --accent: #f58fb8;
    background-color: #eaf4fd;
}

.split--yellow {
    --accent: #ffdd00;
    background-color: #f6f9fc;
}

.split__inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

@media (min-width: 768px) {
    .split__inner {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 768px) {
    .split--reverse .split__media {
        order: 2;
    }

    .split--reverse .split__content {
        order: 1;
    }
}

.split__media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.split__img {
    position: relative;
    z-index: 1;
    width: min(100%, 320px);
    height: auto;
    filter: drop-shadow(0 8px 10px rgba(15, 58, 117, 0.2));
}

@media (min-width: 768px) {
    .split__img {
        width: min(100%, 400px);
    }
}

.split__deco {
    position: absolute;
    color: var(--accent);
    pointer-events: none;
}

.split__deco--big {
    top: 50%;
    left: 50%;
    font-size: clamp(8rem, 22vw, 14rem);
    opacity: 0.45;
    transform: translate(-60%, -55%) rotate(-18deg);
}

.split__deco--small {
    top: 18%;
    right: 12%;
    font-size: clamp(1.4rem, 3vw, 2rem);
    opacity: 0.9;
    transform: rotate(14deg);
}

.split__content {
    text-align: center;
}

@media (min-width: 768px) {
    .split__content {
        text-align: left;
    }
}

.split__title {
    margin-bottom: 0.75rem;
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    color: #0f3a75;
}

.split__text {
    max-width: 34ch;
    margin: 0 auto 1.5rem;
    font-size: clamp(1rem, 1.6vw, 1.1rem);
}

@media (min-width: 768px) {
    .split__text {
        margin-inline: 0;
    }
}

.band {
    width: 100%;
    aspect-ratio: 1024/160;
    min-height: 110px;
    background-color: #a9d8f5;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.band--tower {
    background-image: url("../images/tower.png");
}

.band--firetruck {
    background-image: url("../images/firetruck.png");
    background-position: center bottom;
}

.footer {
    position: relative;
    margin-top: clamp(30px, 5vw, 70px);
    background-color: #0f3a75;
    color: #ffffff;
}

.footer::before {
    content: "";
    position: absolute;
    inset: auto 0 calc(100% - 1px) 0;
    height: clamp(30px, 5vw, 70px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%230f3a75' d='M0 40c120-30 240-30 360 0s240 30 360 0 240-30 360 0 240 30 360 0V80H0z'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat;
    pointer-events: none;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 1100px;
    margin-inline: auto;
    padding: 0 1.5rem 2.5rem;
}

.footer__text {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: "Baloo 2", "Trebuchet MS", sans-serif;
    font-weight: 700;
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    text-align: center;
}

.footer__text i {
    color: #a9d8f5;
}

.back-to-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-top: -1.5rem;
    padding: 0.25rem;
    background: transparent;
    border: 0;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    transition: transform 0.35s ease;
    z-index: 999;
}

.back-to-top:focus-visible {
    outline-color: #ffdd00;
}

.back-to-top__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 3px solid #0a74c9;
    border-radius: 50%;
    background-color: #0f3a75;
    color: #a9d8f5;
    font-size: 1.25rem;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.back-to-top__icon i {
    transition: color 0.25s ease;
}

@media (hover: hover) {
    .back-to-top:hover {
        transform: translateY(-20px);
    }

    .back-to-top:hover .back-to-top__icon {
        background-color: #ffdd00;
        border-color: #ffdd00;
        color: #0f3a75;
    }
}

.back-to-top:focus-visible .back-to-top__icon {
    background-color: #ffdd00;
    border-color: #ffdd00;
    color: #0f3a75;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .back-to-top:hover {
        transform: none;
    }
}

/*# sourceMappingURL=style.css.map */