:root {
    --line: rgba(20, 41, 83, 0.12);
    --text: #12305f;
    --muted: #546783;
    --accent: #0f63c9;
    --accent-soft: #d7eaff;
    --accent-deep: #0a356f;
    --shadow: 0 24px 80px rgba(17, 53, 105, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shell: min(1120px, calc(100vw - 48px));
    --font-display: "Avenir Next", "Trebuchet MS", sans-serif;
    --font-body: "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 216, 167, 0.36), transparent 28%),
        radial-gradient(circle at top right, rgba(174, 224, 255, 0.34), transparent 22%),
        linear-gradient(180deg, #fbfcff 0%, #f5f8fd 48%, #edf3fb 100%);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.58;
}

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

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

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

button {
    cursor: pointer;
}

.shell {
    width: var(--shell);
    margin: 0 auto;
}

.site-frame {
    position: relative;
    overflow: clip;
}

.site-main {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), 1280px);
    margin: 0 auto;
}

.site-main::before,
.site-main::after {
    content: "";
    position: absolute;
    inset: auto;
    width: 38rem;
    height: 38rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(119, 187, 255, 0.14), transparent 60%);
    filter: blur(14px);
    pointer-events: none;
    z-index: -1;
}

.site-main::before {
    top: 4rem;
    right: -14rem;
}

.site-main::after {
    bottom: 12rem;
    left: -12rem;
    background: radial-gradient(circle, rgba(255, 204, 156, 0.16), transparent 60%);
}

h1,
h2,
h3,
strong {
    letter-spacing: 0;
}

h1,
h2,
h3 {
    margin: 0 0 0.55rem;
    font-family: var(--font-display);
    line-height: 1.06;
}

h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.55rem;
}

h3 {
    font-size: 1.32rem;
}

p,
ul,
ol {
    margin: 0;
}

ul {
    padding-left: 1.15rem;
}

.section-head,
.page-hero,
.page-section,
.service-section,
.pathway-section,
.process-section,
.cta-section,
.booking-section,
.contact-section {
    padding: clamp(2.8rem, 5vw, 4.8rem) 0;
}

.section-head {
    max-width: 640px;
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.45rem;
}

.section-head p,
.page-hero__eyebrow {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-head h2,
.page-hero h1 {
    max-width: 18ch;
}

.section-head + * {
    position: relative;
}

.page-hero {
    position: relative;
}

.page-hero .shell {
    position: relative;
    padding: clamp(1.65rem, 3.2vw, 2.4rem);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 245, 255, 0.9));
    border: 1px solid rgba(15, 99, 201, 0.12);
    border-radius: calc(var(--radius-xl) + 6px);
    box-shadow: var(--shadow);
}

.page-hero .shell::after {
    content: "";
    position: absolute;
    inset: auto -4rem -4rem auto;
    width: 16rem;
    height: 16rem;
    background: radial-gradient(circle, rgba(15, 99, 201, 0.18), transparent 62%);
    pointer-events: none;
}

.page-hero h1 {
    margin-bottom: 0.7rem;
}

.page-hero p:last-child {
    max-width: 68ch;
    color: var(--muted);
}

.page-section--soft {
    background: linear-gradient(180deg, rgba(217, 234, 255, 0.28), rgba(255, 255, 255, 0));
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.site-footer {
    padding: 2rem 0 2.8rem;
}

.site-footer__grid,
.site-footer__tail {
    display: grid;
    gap: 1.25rem;
}

.site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.site-footer__brand p,
.site-footer__block span,
.site-footer__block a,
.site-footer__tail p {
    color: var(--muted);
}

.site-footer__brand,
.site-footer__block {
    display: grid;
    gap: 0.65rem;
}

.site-footer__block strong {
    font-size: 0.95rem;
}

.site-footer__tail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1rem 0 0;
    align-items: center;
}

.site-footer__tail p:last-child {
    text-align: right;
}

@media (max-width: 920px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    h3 {
        font-size: 1.22rem;
    }

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

@media (max-width: 720px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.12rem;
    }

    .section-head h2,
    .page-hero h1 {
        max-width: none;
    }

    .site-footer__grid,
    .site-footer__tail {
        grid-template-columns: 1fr;
    }

    .site-footer__tail p:last-child {
        text-align: left;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
