/* ========================================
   COMMON STYLES - Base & Variables
   ======================================== */

:root {
    --blue: #078af0;
    --blue2: #0069db;
    --cyan: #10c8f4;
    --navy: #082e59;
    --dark: #031c30;
    --text: #17385e;
    --muted: #5a6d84;
    --soft: #f4faff;
    --line: #e4edf5;
    --shadow: 0 12px 35px rgba(7, 57, 99, .08);
    --head: Poppins, "Segoe UI", Arial, sans-serif;
    --body: Manrope, "Segoe UI", Arial, sans-serif;
    --g: 1.25rem;
    --header-h: 72px;
}

@media(min-width:720px) {
    :root {
        --g: 2rem
    }
}

@media(min-width:1150px) {
    :root {
        --g: 2.5rem
    }
}

/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    font-family: var(--body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
    overflow-x: hidden
}

body.menu-open {
    overflow: hidden
}

img {
    display: block;
    max-width: 100%;
    height: auto
}

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

p,
h1,
h2,
h3,
h4 {
    margin: 0
}

ul {
    margin: 0;
    padding: 0;
    list-style: none
}

button,
input,
textarea {
    font: inherit
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 6px
}

/* Utility Classes */
.container {
    width: min(100% - 2*var(--g), 1240px);
    margin-inline: auto
}

.i {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    background: var(--navy);
    color: #fff;
    padding: .7rem 1rem;
    border-radius: 8px;
    font-weight: 700
}

.skip:focus {
    top: 1rem
}

.blue {
    color: var(--blue)
}

/* Section Styles */
.section {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0
}

.section.soft {
    background: var(--soft)
}

.section-head {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center
}

.eyebrow {
    display: flex;
    justify-content: center;
    align-items: self-start;
    gap: .6rem;
    margin-bottom: .6rem;
    color: var(--blue2);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 28px;
    height: 2px;
    background: #5ed0f4
}

.section-title {
    color: #092d59;
    font-family: var(--head);
    font-size: clamp(1.65rem, 1.05rem + 2vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -.02em;
    font-weight: 800
}

.section-desc {
    max-width: 680px;
    margin: .8rem auto 0;
    color: var(--muted);
    font-size: 1rem
}

/* Back to Top Button */
.back-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    z-index: 50;
    box-shadow: 0 8px 19px rgba(0, 0, 0, .25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s
}

.back-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: none
}

/* Reduced Motion */
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

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