:root {
    --bg: #eff7ff;
    --bg-strong: #d8ebff;
    --surface: rgba(255, 255, 255, 0.96);
    --surface-elevated: rgba(255, 255, 255, 1);
    --border: rgba(67, 118, 175, 0.16);
    --border-strong: rgba(23, 76, 120, 0.24);
    --text: #254b73;
    --muted: #5a79a0;
    --muted-strong: #346391;
    --heading: #174c78;
    --accent: #4376af;
    --accent-strong: #1f5f98;
    --sand: #d9ecff;
    --sand-soft: #edf6ff;
    --error: #b24e4e;
    --shadow-soft: 0 18px 40px rgba(23, 76, 120, 0.10);
    --shadow-strong: 0 24px 56px rgba(23, 76, 120, 0.16);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 20px;
    --font-body: "Manrope", sans-serif;
    --font-heading: "Playfair Display", serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(67, 118, 175, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(179, 214, 248, 0.42), transparent 26%),
        linear-gradient(180deg, #f9fcff 0%, #edf5ff 100%);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

h1,
h2,
h3 {
    margin: 0 0 0.9rem;
    color: var(--heading);
    font-family: var(--font-heading);
    line-height: 1.08;
}

h1 {
    font-size: clamp(2.35rem, 4.35vw, 4.2rem);
}

h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

h3 {
    font-size: 1.28rem;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

ul {
    margin: 0;
    padding-left: 1.15rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

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

.site-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.site-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: 0.8;
    animation: orbDrift 16s ease-in-out infinite;
}

.site-orb-one {
    top: -5rem;
    left: -3rem;
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, rgba(67, 118, 175, 0.24), rgba(67, 118, 175, 0));
}

.site-orb-two {
    top: 10rem;
    right: -4rem;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(174, 215, 255, 0.58), rgba(174, 215, 255, 0));
    animation-delay: -6s;
}

.site-orb-three {
    bottom: 5rem;
    left: 18%;
    width: 14rem;
    height: 14rem;
    background: radial-gradient(circle, rgba(23, 76, 120, 0.14), rgba(23, 76, 120, 0));
    animation-delay: -10s;
}

.site-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(67, 118, 175, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 118, 175, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 40px;
}

.page-main {
    display: grid;
    gap: 24px;
    padding-top: 24px;
}

.surface-card,
.content-card,
.feature-card,
.stat-card,
.service-card,
.contact-card,
.form-card,
.forum-wrapper,
.site-footer {
    position: relative;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.surface-card,
.content-card,
.forum-wrapper,
.site-footer,
.form-card,
.contact-card,
.service-card,
.feature-card,
.stat-card,
.profile-card,
.accordion-card {
    border-radius: var(--radius-xl);
}

.hero,
.page-intro {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(1.8rem, 4vw, 3.6rem);
    overflow: hidden;
}

.hero::before,
.page-intro::before,
.site-footer::before {
    content: "";
    position: absolute;
    inset: auto auto -5rem -3rem;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(67, 118, 175, 0.16), rgba(67, 118, 175, 0));
    pointer-events: none;
}

.hero::after,
.page-intro::after {
    content: "";
    position: absolute;
    top: -5rem;
    right: -4rem;
    width: 17rem;
    height: 17rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(194, 224, 255, 0.7), rgba(194, 224, 255, 0));
    pointer-events: none;
}

.eyebrow {
    margin: 0 0 0.9rem;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.4rem;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button:disabled {
    opacity: 0.68;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--heading), var(--accent));
    box-shadow: 0 16px 30px rgba(31, 95, 152, 0.26);
}

.button-secondary {
    color: var(--heading);
    background: linear-gradient(180deg, #f9fcff, #e8f3ff);
    border: 1px solid var(--border-strong);
    box-shadow: 0 12px 24px rgba(23, 76, 120, 0.08);
}

.button-compact {
    padding: 0.75rem 1.05rem;
    font-size: 0.88rem;
}

.site-header {
    position: sticky;
    top: 14px;
    z-index: 40;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.4rem);
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.96));
    box-shadow: 0 18px 38px rgba(23, 76, 120, 0.12);
    backdrop-filter: blur(16px);
    transition:
        box-shadow 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}

.site-header.is-scrolled {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(237, 246, 255, 0.98));
    border-color: rgba(67, 118, 175, 0.24);
    box-shadow: 0 22px 46px rgba(23, 76, 120, 0.16);
}

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    text-decoration: none;
}

.brand-mark {
    display: block;
    width: clamp(98px, 11vw, 138px);
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-mark img {
    width: 100%;
    height: auto;
    object-fit: contain;
    padding: 0;
}

.brand-copy {
    display: none;
}

.brand-copy strong {
    font-family: var(--font-heading);
    font-size: 1.28rem;
    color: var(--heading);
    line-height: 1;
}

.brand-copy span {
    max-width: 19rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.nav-toggle {
    display: none !important;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    flex-direction: column;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--heading);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-nav-panel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    margin-left: 0;
}

.site-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding: 2px 1px 2px 0;
    scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
    display: none;
}

.site-nav__link {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.74rem 1rem;
    border: 1px solid rgba(67, 118, 175, 0.20);
    border-radius: 999px;
    color: var(--heading);
    background: linear-gradient(180deg, #f5fbff, #ddeefe);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    color: var(--heading);
    background: linear-gradient(180deg, #ffffff, #d7ebff);
    border-color: rgba(67, 118, 175, 0.30);
    transform: translateY(-1px);
}

.site-nav__link.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, #4376af, #174c78);
    border-color: rgba(23, 76, 120, 0.40);
    box-shadow: 0 12px 22px rgba(23, 76, 120, 0.20);
}

.site-nav-meta {
    display: none;
}

.site-nav-meta p {
    margin: 0;
    max-width: 16rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.hero-copy,
.page-intro__copy {
    position: relative;
    z-index: 1;
    max-width: 62ch;
}

.hero-home {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    align-items: center;
}

.hero-home .hero-copy {
    max-width: 35rem;
}

.hero-text {
    max-width: 34rem;
    font-size: 1.02rem;
}

.hero-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 1.45rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-summary li {
    display: grid;
    gap: 0.38rem;
    min-height: 100%;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(67, 118, 175, 0.14);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 245, 255, 0.82));
    box-shadow: 0 12px 20px rgba(23, 76, 120, 0.06);
}

.hero-summary strong {
    color: var(--heading);
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.35;
}

.hero-summary span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.hero-actions,
.page-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1.7rem 0 0;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 1.7rem 0 0;
}

.hero-highlight {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(67, 118, 175, 0.18);
}

.hero-highlight span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-highlight p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 10% 0 8% 14%;
    border-radius: 36px;
    background: linear-gradient(145deg, rgba(184, 218, 248, 0.52), rgba(184, 218, 248, 0));
    pointer-events: none;
}

.hero-media {
    overflow: hidden;
    position: relative;
    width: min(100%, 720px);
    min-height: 420px;
    padding: 1rem;
    border: 1px solid rgba(67, 118, 175, 0.14);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 255, 0.92));
    box-shadow: 0 28px 56px rgba(23, 76, 120, 0.14);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    aspect-ratio: auto;
    transition: transform 0.7s ease;
}

.hero-visual:hover .hero-media img {
    transform: scale(1.01) translateY(-2px);
}

.floating-note {
    position: absolute;
    left: 24px;
    bottom: 20px;
    max-width: 300px;
    padding: 1rem 1.1rem 1.05rem;
    border: 1px solid rgba(67, 118, 175, 0.14);
    border-radius: 22px;
    color: var(--heading);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 20px 34px rgba(23, 76, 120, 0.12);
    backdrop-filter: blur(12px);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-note span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.floating-note strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.4;
}

.floating-note p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.section {
    display: grid;
    gap: 18px;
}

.section-heading {
    max-width: 52rem;
}

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 18px;
    align-items: start;
}

.content-card,
.form-card,
.forum-wrapper,
.contact-card,
.profile-card {
    padding: 30px;
}

.feature-grid,
.stat-grid,
.services-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.stat-card,
.service-card {
    padding: 24px;
    display: grid;
    align-content: start;
    gap: 0.45rem;
}

.card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    color: var(--accent-strong);
    background: rgba(67, 118, 175, 0.12);
    font-size: 0.88rem;
    font-weight: 800;
}

.feature-card h3 {
    margin-top: 1rem;
}

.feature-card p,
.stat-card p,
.service-card p,
.contact-card p {
    margin-bottom: 0;
}

.feature-card:hover,
.stat-card:hover,
.service-card:hover,
.contact-card:hover {
    border-color: rgba(67, 118, 175, 0.24);
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}

.timeline-list {
    display: grid;
    gap: 8px;
    margin-top: 1.8rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid var(--border);
}

.timeline-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.timeline-item span {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--heading), var(--accent));
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 16px 28px rgba(31, 95, 152, 0.22);
}

.timeline-item h3 {
    margin-bottom: 0.4rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
}

.timeline-item p {
    margin: 0;
}

.accent-panel {
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(23, 76, 120, 0.96), rgba(67, 118, 175, 0.92)),
        var(--surface);
    border-color: rgba(255, 255, 255, 0.08);
}

.accent-panel .eyebrow,
.accent-panel h2,
.accent-panel p,
.accent-panel li {
    color: #ffffff;
}

.accent-panel .accent-list li::before {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.accent-panel .eyebrow {
    color: rgba(255, 255, 255, 0.70);
}

.accent-panel .button-primary {
    color: var(--heading);
    background: linear-gradient(135deg, #ffffff, #dceeff);
    box-shadow: 0 14px 28px rgba(20, 50, 60, 0.20);
}

.accent-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted-strong);
}

.accent-list li {
    position: relative;
    padding-left: 1.4rem;
}

.accent-list li::before {
    content: "";
    position: absolute;
    top: 0.72rem;
    left: 0;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--heading));
    box-shadow: 0 0 0 5px rgba(67, 118, 175, 0.10);
}

.compact-list {
    gap: 0.55rem;
}

.stat-card h2 {
    margin-bottom: 0.6rem;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 800;
}

.profile-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
    gap: 24px;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.profile-card__media {
    overflow: hidden;
    border-radius: 28px;
    background: var(--surface-elevated);
}

.profile-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card__content {
    align-self: center;
}

.accordion-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.accordion-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    list-style: none;
    cursor: pointer;
    color: var(--heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.accordion-card summary::-webkit-details-marker {
    display: none;
}

.accordion-card summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--heading);
    background: rgba(20, 50, 60, 0.08);
    font-size: 1.35rem;
    line-height: 1;
}

.accordion-card[open] summary::after {
    content: "−";
}

.accordion-card__body {
    padding: 0 28px 28px;
}

.page-intro__actions {
    align-self: end;
}

.page-intro__actions .button {
    min-width: 13rem;
}

.services-layout {
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
}

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

.service-card__label {
    margin-bottom: 0.8rem;
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.service-card h2 {
    font-size: 1.4rem;
}

.service-aside {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 18px;
    align-self: start;
}

.image-card img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(20, 50, 60, 0.14);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gallery-card {
    overflow: hidden;
    min-height: 240px;
    border-radius: 28px;
    background: var(--surface-elevated);
    box-shadow: var(--shadow-soft);
}

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

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease;
}

.gallery-card:hover img {
    transform: scale(1.06);
}

.questions-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: start;
}

.info-stack {
    display: grid;
    gap: 18px;
}

.form-card__header {
    margin-bottom: 1.2rem;
}

.form-status {
    margin-bottom: 1.2rem;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    font-weight: 700;
}

.form-status.is-success {
    color: #1d5e94;
    background: rgba(67, 118, 175, 0.12);
    border: 1px solid rgba(67, 118, 175, 0.20);
}

.form-status.is-error {
    color: #a14848;
    background: rgba(178, 78, 78, 0.10);
    border: 1px solid rgba(178, 78, 78, 0.18);
}

.site-form {
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 10px;
}

.form-field label {
    color: var(--heading);
    font-weight: 800;
}

.form-input {
    width: 100%;
    padding: 1rem 1.05rem;
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--heading);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.form-input::placeholder {
    color: #91a1a6;
}

.form-input:focus {
    outline: none;
    border-color: rgba(67, 118, 175, 0.44);
    box-shadow: 0 0 0 5px rgba(67, 118, 175, 0.12);
}

textarea.form-input {
    min-height: 180px;
    resize: vertical;
}

.field-error {
    color: var(--error);
    font-size: 0.9rem;
    font-weight: 700;
}

.recaptcha-wrap {
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.form-submit {
    width: fit-content;
}

.form-direct-contact {
    margin-top: 1.3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.form-direct-contact p {
    margin-bottom: 0;
    font-size: 0.94rem;
}

.form-direct-contact a {
    color: var(--accent-strong);
    font-weight: 700;
    text-decoration: none;
}

.form-direct-contact a:hover {
    color: var(--heading);
}

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

.contact-card {
    display: grid;
    gap: 0.35rem;
}

.contact-card h2 {
    margin-bottom: 0.4rem;
    font-size: 1.42rem;
}

.contact-card a {
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--accent);
}

.map-card {
    padding-bottom: 24px;
}

.map-frame {
    overflow: hidden;
    min-height: 360px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #eaf3fc;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

.forum-wrapper {
    display: grid;
    gap: 22px;
}

.forum-wrapper__intro {
    max-width: 48rem;
}

.forum-embed {
    min-height: 320px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.74);
}

#disqus_thread {
    min-height: 280px;
}

.site-footer {
    overflow: hidden;
    margin-top: 24px;
    padding: 30px;
    color: rgba(255, 255, 255, 0.86);
    background:
        linear-gradient(145deg, rgba(23, 76, 120, 0.96), rgba(45, 102, 158, 0.98)),
        rgba(23, 76, 120, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(23, 76, 120, 0.24);
}

.site-footer__top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
}

.site-footer__content h2,
.site-footer__contacts a,
.site-footer__contacts span {
    color: #ffffff;
}

.site-footer__content h2 {
    max-width: 16ch;
}

.site-footer__content p {
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.72);
}

.footer-eyebrow {
    margin-bottom: 0.7rem;
    color: var(--sand);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-footer__contacts {
    display: grid;
    gap: 12px;
    justify-items: end;
    text-align: right;
}

.site-footer__contacts a {
    font-weight: 700;
    text-decoration: none;
}

.site-footer__contacts a:hover {
    color: var(--sand);
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.35rem;
}

.site-footer__summary span {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-footer__summary span + span::before {
    content: "";
    position: absolute;
    left: -0.78rem;
    top: 50%;
    width: 0.24rem;
    height: 0.24rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.46);
    transform: translateY(-50%);
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.92rem;
}

@keyframes orbDrift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(1.5rem, -1rem, 0) scale(1.06);
    }
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media screen and (max-width: 1180px) {
    .site-nav-meta {
        display: none;
    }

    .feature-grid,
    .stat-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 980px) {
    .site-nav-panel {
        display: flex;
        justify-content: flex-end;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .site-nav__link {
        color: var(--heading);
        background: linear-gradient(180deg, #f5fbff, #ddeefe);
        border-color: rgba(67, 118, 175, 0.20);
    }

    .site-nav__link:hover,
    .site-nav__link:focus-visible {
        color: var(--heading);
        background: linear-gradient(180deg, #ffffff, #d7ebff);
        border-color: rgba(67, 118, 175, 0.30);
    }

    .site-nav__link.is-active {
        color: #ffffff;
        background: linear-gradient(180deg, #4376af, #174c78);
        border-color: rgba(23, 76, 120, 0.40);
        box-shadow: 0 12px 22px rgba(23, 76, 120, 0.20);
    }

    .page-intro,
    .section-split,
    .questions-grid,
    .profile-card,
    .site-footer__top {
        grid-template-columns: 1fr;
    }

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

    .service-aside {
        position: static;
    }

    .services-grid,
    .gallery-grid,
    .stat-grid,
    .feature-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 760px) {
    .page-shell {
        width: min(1240px, calc(100% - 20px));
        padding-top: 16px;
    }

    .page-main {
        gap: 20px;
        padding-top: 20px;
    }

    .site-header {
        padding: 13px 14px;
        border-radius: 24px;
    }

    .brand-mark {
        width: min(100%, 96px);
        height: auto;
    }

    .hero-media {
        min-height: 320px;
        padding: 0.85rem;
    }

    .hero-visual::before {
        inset: 12% 2% 8% 10%;
    }

    .hero,
    .page-intro,
    .content-card,
    .form-card,
    .forum-wrapper,
    .contact-card,
    .profile-card,
    .feature-card,
    .stat-card,
    .service-card,
    .site-footer {
        padding: 22px;
    }

    .feature-grid,
    .services-grid,
    .stat-grid,
    .contact-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

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

    .gallery-card-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .page-intro__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-intro__actions .button,
    .form-submit {
        width: 100%;
    }

    .hero-actions .button {
        width: auto;
        flex: 0 0 auto;
    }

    .timeline-item {
        grid-template-columns: 48px 1fr;
        gap: 14px;
    }

    .timeline-item span {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .floating-note {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: calc(100% - 20px);
        margin: 14px auto 0;
    }

    .site-footer__contacts {
        justify-items: start;
        text-align: left;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 300px;
    }
}

@media screen and (max-width: 560px) {
    h1 {
        font-size: clamp(1.95rem, 9.4vw, 2.7rem);
    }

    h2 {
        font-size: clamp(1.42rem, 6.9vw, 2rem);
    }

    .site-header {
        gap: 10px;
    }

    .site-nav {
        gap: 6px;
    }

    .site-nav__link {
        padding: 0.66rem 0.82rem;
        font-size: 0.82rem;
    }

    .brand-mark {
        width: min(100%, 84px);
    }

    .accordion-card summary,
    .accordion-card__body {
        padding-left: 22px;
        padding-right: 22px;
    }

    .g-recaptcha {
        transform: scale(0.92);
        transform-origin: left top;
    }
}

/* 2026 redesign pass */

:root {
    --glass-strong: rgba(255, 255, 255, 0.74);
    --glass-soft: rgba(255, 255, 255, 0.58);
    --glass-border: rgba(142, 187, 225, 0.42);
    --blueprint-line: rgba(78, 135, 188, 0.28);
}

body.page-about {
    --page-intro-image: url("/images/Background_image_new.jpg");
}

body.page-services {
    --page-intro-image: url("/images/Pic4.jpg");
}

body.page-questions {
    --page-intro-image: url("/images/Pic11.jpg");
}

body.page-contact {
    --page-intro-image: url("/images/Pic1.jpg");
}

body.page-forum {
    --page-intro-image: url("/images/Pic6.jpg");
}

.site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: hidden;
    padding: 18px 20px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(241, 248, 255, 0.96));
}

.site-header__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 74px;
}

.site-header__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.brand {
    gap: 14px;
}

.brand-mark {
    width: clamp(72px, 7vw, 92px);
    flex: 0 0 auto;
}

.brand-mark img {
    filter: drop-shadow(0 10px 16px rgba(31, 95, 152, 0.12));
}

.brand-copy {
    display: block;
}

.brand-copy strong {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.7vw, 1.42rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header__skyline {
    position: absolute;
    top: 18px;
    left: 20px;
    right: 20px;
    z-index: 0;
    min-height: 72px;
    pointer-events: none;
}

.site-header__skyline img {
    width: 100%;
    height: auto;
    opacity: 0.22;
}

.site-nav-panel {
    display: flex;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
}

.site-nav {
    width: max-content;
    min-width: max-content;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    padding: 4px 8px 0;
}

.site-nav__link {
    padding: 0.8rem 1.08rem;
    border-color: rgba(95, 147, 194, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(232, 243, 255, 0.72));
    box-shadow: 0 8px 20px rgba(23, 76, 120, 0.05);
    backdrop-filter: blur(12px);
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(224, 239, 255, 0.82));
    box-shadow: 0 10px 22px rgba(23, 76, 120, 0.08);
}

.site-nav__link.is-active {
    transform: translateY(-2px);
}

.hero-home,
.page-intro,
.content-card:not(.accent-panel),
.feature-card,
.stat-card,
.service-card,
.contact-card,
.form-card,
.forum-wrapper,
.profile-card,
.accordion-card {
    background:
        url("/images/razvitie-ribbon.svg") no-repeat right top / 164px auto,
        linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 250, 255, 0.9));
}

.blueprint-frame,
.profile-card__media,
.gallery-card,
.map-frame {
    position: relative;
}

.blueprint-frame::before,
.profile-card__media::before,
.gallery-card::before,
.map-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(var(--blueprint-line), var(--blueprint-line)) left 0 top 0 / 52px 1px no-repeat,
        linear-gradient(var(--blueprint-line), var(--blueprint-line)) left 0 top 0 / 1px 52px no-repeat,
        linear-gradient(var(--blueprint-line), var(--blueprint-line)) right 0 top 0 / 52px 1px no-repeat,
        linear-gradient(var(--blueprint-line), var(--blueprint-line)) right 0 top 0 / 1px 52px no-repeat,
        linear-gradient(var(--blueprint-line), var(--blueprint-line)) left 0 bottom 0 / 52px 1px no-repeat,
        linear-gradient(var(--blueprint-line), var(--blueprint-line)) left 0 bottom 0 / 1px 52px no-repeat,
        linear-gradient(var(--blueprint-line), var(--blueprint-line)) right 0 bottom 0 / 52px 1px no-repeat,
        linear-gradient(var(--blueprint-line), var(--blueprint-line)) right 0 bottom 0 / 1px 52px no-repeat;
}

.hero-home {
    grid-template-columns: 1fr;
    gap: 18px;
}

.hero-top {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    gap: 24px;
    align-items: start;
}

.hero-copy {
    max-width: 37rem;
}

.hero-copy h1 {
    max-width: 10ch;
}

.hero-text {
    max-width: 34rem;
    margin-bottom: 0;
    font-size: 1.02rem;
}

.hero-visual {
    align-self: start;
    min-width: 0;
}

.hero-visual::before {
    content: none;
}

.hero-media {
    width: 100%;
    min-height: clamp(360px, 38vw, 470px);
    padding: 0.9rem;
    border-radius: 34px;
}

.hero-media img {
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.floating-note {
    left: 24px;
    bottom: 24px;
    max-width: 320px;
    z-index: 3;
    background: rgba(247, 251, 255, 0.8);
    border-color: rgba(132, 178, 219, 0.24);
}

.hero-summary {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.hero-highlights {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.4rem;
}

.page-intro {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
    gap: 22px;
    align-items: stretch;
}

.page-intro__copy {
    max-width: 38rem;
}

.page-intro__copy h1 {
    max-width: 13ch;
}

.page-intro__visual {
    position: relative;
    min-height: clamp(250px, 30vw, 340px);
    overflow: hidden;
    border: 1px solid rgba(129, 177, 221, 0.24);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    box-shadow: 0 24px 48px rgba(23, 76, 120, 0.12);
}

.page-intro__visual::after,
.about-vision-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(23, 76, 120, 0.78), rgba(180, 218, 247, 0.2));
}

.page-intro__visual::before,
.about-vision-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--page-intro-image);
    background-size: cover;
    background-position: center;
    filter: grayscale(1) saturate(0.16) contrast(1.08) brightness(0.96);
    transform: scale(1.04);
}

.page-intro__actions {
    grid-column: 1 / -1;
    align-self: start;
    margin-top: -0.1rem;
}

.page-intro__visual,
.about-vision-card,
.hero-visual {
    isolation: isolate;
}

.page-intro__glass-note {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 24px;
    background: var(--glass-strong);
    box-shadow: 0 18px 30px rgba(23, 76, 120, 0.12);
    backdrop-filter: blur(16px);
}

.page-intro__glass-note span {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-intro__glass-note strong {
    display: block;
    color: var(--heading);
    font-size: 1.08rem;
    line-height: 1.35;
}

.page-intro__glass-note p {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.intro-points {
    display: grid;
    gap: 10px;
    margin: 1.3rem 0 0;
    padding: 0;
    list-style: none;
}

.intro-points li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--muted-strong);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.55;
}

.intro-points li::before {
    content: "";
    position: absolute;
    top: 0.72rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--heading));
    box-shadow: 0 0 0 5px rgba(67, 118, 175, 0.10);
}

.stat-grid--wide .stat-card {
    min-height: 100%;
}

.page-about .page-intro__visual::before {
    background-position: center top;
}

.about-vision-card {
    min-height: 100%;
    overflow: hidden;
    border-radius: 28px;
}

.about-vision-card::before {
    background-image: url("/images/Pic1.jpg");
}

.about-vision-card > * {
    position: relative;
    z-index: 3;
}

.about-vision-card .page-intro__glass-note {
    position: absolute;
}

.profile-card {
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
}

.profile-card__media img {
    filter: saturate(0.88) contrast(1.04);
}

.feature-card,
.service-card,
.contact-card,
.stat-card {
    border-color: rgba(125, 173, 218, 0.16);
}

.gallery-card img {
    filter: saturate(0.88) contrast(1.02);
}

@media screen and (max-width: 1080px) {
    .hero-top,
    .page-intro,
    .profile-card {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .page-intro__copy h1 {
        max-width: 12ch;
    }

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

@media screen and (max-width: 760px) {
    .site-header {
        padding: 14px;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 66px;
    }

    .brand-copy strong {
        font-size: 1rem;
    }

    .site-header__skyline {
        top: 14px;
        left: 14px;
        right: 14px;
        min-height: 54px;
    }

    .site-nav {
        justify-content: center;
    }

    .hero-top,
    .page-intro {
        gap: 18px;
    }

    .hero-media {
        min-height: 300px;
    }

    .hero-summary,
    .hero-highlights,
    .stat-grid--wide {
        grid-template-columns: 1fr;
    }

    .page-intro__visual {
        min-height: 240px;
    }

    .page-intro__glass-note {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 16px;
    }
}

@media screen and (max-width: 560px) {
    .site-header__top {
        gap: 12px;
    }

    .brand-mark {
        width: 58px;
    }

    .site-nav__link {
        padding: 0.68rem 0.88rem;
    }

    .hero-copy h1,
    .page-intro__copy h1 {
        max-width: none;
    }
}

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

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

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