/* Alpswitch Copyright (c) 2026 Alpswitch. All rights reserved. */
:root {
    --primary: #0f1f3d;
    --secondary: #1e3a8a;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-bright: #93c5fd;
    --light-bg: #f2f7ff;
    --text-dark: #0f172a;
    --text-muted: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f5f9ff 0%, #eef4ff 100%);
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 1rem;
    z-index: 1200;
    padding: 0.55rem 0.85rem;
    background: #ffffff;
    color: #0f1f3d;
    text-decoration: none;
    border: 2px solid #2563eb;
    border-radius: 8px;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus-visible {
    top: 0.75rem;
}

header {
    background:
        radial-gradient(120% 140% at 8% -40%, rgba(96, 165, 250, 0.28) 0%, rgba(96, 165, 250, 0) 55%),
        radial-gradient(130% 160% at 92% -45%, rgba(30, 58, 138, 0.45) 0%, rgba(30, 58, 138, 0) 60%),
        linear-gradient(135deg, #0a1832 0%, #102243 38%, #15325f 72%, #1a3f75 100%);
    border-bottom: 1px solid rgba(147, 197, 253, 0.24);
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.3);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

header.header-scrolled {
    background:
        radial-gradient(120% 140% at 8% -40%, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0) 55%),
        radial-gradient(130% 160% at 92% -45%, rgba(30, 58, 138, 0.35) 0%, rgba(30, 58, 138, 0) 60%),
        linear-gradient(135deg, #08152b 0%, #0d1d3b 40%, #13305a 74%, #16335f 100%);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.34);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    position: relative;
    transition: transform 0.28s ease;
}

.logo::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(191, 219, 254, 0), rgba(191, 219, 254, 0.95), rgba(191, 219, 254, 0));
    transform: scaleX(0.4);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease, filter 0.3s ease;
    transform-origin: center;
}

.logo:hover,
.logo:focus-visible {
    transform: translateY(-1px);
}

.logo:hover::after,
.logo:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
}

.logo:hover img,
.logo:focus-visible img {
    transform: scale(1.04);
    filter: drop-shadow(0 8px 18px rgba(96, 165, 250, 0.35));
}

nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }

nav a { color: white; text-decoration: none; font-weight: 600; font-size: 0.95rem; }

nav ul li a:not(.client-btn) {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0;
    transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
}

nav ul li a:not(.client-btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa 0%, #bfdbfe 52%, #60a5fa 100%);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

nav ul li a:not(.client-btn):hover,
nav ul li a:not(.client-btn):focus-visible {
    color: #dbeafe;
    transform: translateY(-1px);
    text-shadow: 0 0 14px rgba(191, 219, 254, 0.35);
}

nav ul li a:not(.client-btn):hover::after,
nav ul li a:not(.client-btn):focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
}

.nav-link-icon {
    margin-right: 0.45rem;
    font-size: 0.9em;
}

.client-btn { background: linear-gradient(135deg, #2563eb, #3b82f6); color: white; padding: 10px 20px; border-radius: 25px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: inline-block; }

.client-btn { position: relative; overflow: hidden; }
.client-btn::after { content: ''; position: absolute; top: -130%; left: -35%; width: 42%; height: 320%; background: linear-gradient(115deg, rgba(255,255,255,0), rgba(255,255,255,0.32), rgba(255,255,255,0)); transform: rotate(22deg); opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.client-btn:hover::after, .client-btn:focus-visible::after { opacity: 1; animation: btnSheen 0.9s ease; }
.client-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(59, 130, 246, 0.4); color: white; background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); }

.nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

a:focus-visible,
button:focus-visible,
.payment-method:focus-visible {
    outline: 3px solid #bfdbfe;
    outline-offset: 2px;
}

main { flex: 1; }

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-image: linear-gradient(135deg, rgba(13, 26, 51, 0.4), rgba(24, 49, 95, 0.28)), url('img/bg_img_alpswitch_datacenter.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 9.5rem 2rem;
    text-align: center;
}

.hero-content { max-width: 900px; margin: 0 auto; animation: heroFadeIn 0.9s ease both; }

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 700; margin-bottom: 1.5rem; line-height: 1.1; }

.hero-logo {
    width: auto;
    max-width: 400px;
    max-height: 400px;
    height: auto;
    display: inline-block;
}

.hero-tagline {
    display: inline-block;
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-style: italic;
    font-weight: 400;
    animation: taglineGlow 3.6s ease-in-out infinite;
}

@keyframes taglineGlow {
    0%, 100% { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    50% { text-shadow: 0 4px 18px rgba(219, 234, 254, 0.42); }
}

.hero p { font-size: clamp(1.1rem, 3vw, 1.4rem); margin-bottom: 3.2rem; opacity: 0.95; font-weight: 300; }

.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

.btn {
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: -130%;
    left: -35%;
    width: 42%;
    height: 320%;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
    transform: rotate(22deg);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after {
    opacity: 1;
    animation: btnSheen 0.9s ease;
}

@keyframes btnSheen {
    from { left: -45%; }
    to { left: 125%; }
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(59, 130, 246, 0.4); color: white; background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%); }

.btn-outline { background: transparent; color: #dbeafe; border: 2px solid rgba(147, 197, 253, 0.75); }

.btn-outline:hover { background: rgba(147, 197, 253, 0.12); color: #dbeafe; border-color: #bfdbfe; }

.btn-light {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.35);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
    text-transform: none;
    letter-spacing: 0;
}

.btn-light:hover,
.btn-light:focus-visible {
    background: linear-gradient(180deg, #ffffff 0%, #eaf3ff 100%);
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.cms-order-btn {
    font-size: 19px;
    padding: 11px 24px;
}

.services {
    padding: 5rem 2rem 2rem;
    background: linear-gradient(180deg, #edf4ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.services::before,
.services::after {
    content: '';
    position: absolute;
    inset: -30% -20%;
    pointer-events: none;
    z-index: 0;
}

.services::before {
    background:
        repeating-radial-gradient(
            circle at 20% 30%,
            rgba(96, 165, 250, 0.12) 0,
            rgba(96, 165, 250, 0.12) 2px,
            transparent 2px,
            transparent 24px
        );
    opacity: 0.62;
    animation: servicesFlowA 18s linear infinite;
}

.services::after {
    background:
        repeating-radial-gradient(
            circle at 80% 65%,
            rgba(59, 130, 246, 0.1) 0,
            rgba(59, 130, 246, 0.1) 1px,
            transparent 1px,
            transparent 30px
        );
    opacity: 0.44;
    animation: servicesFlowB 26s linear infinite reverse;
}

@keyframes servicesFlowA {
    from { transform: translate3d(-3%, -1%, 0); }
    to { transform: translate3d(3%, 1%, 0); }
}

@keyframes servicesFlowB {
    from { transform: translate3d(2%, -2%, 0); }
    to { transform: translate3d(-2%, 2%, 0); }
}

.services-intro {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.services-intro .section-title {
    margin-bottom: 1.5rem;
}

.services-intro p {
    max-width: 920px;
    margin: 0 auto 2.4rem;
    padding: 0;
    color: #1e293b;
    font-size: 1.05rem;
    line-height: 1.85;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.service-panel {
    padding: 4rem 2rem;
    border-top: 2px solid rgba(30, 58, 138, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.panel-vps { background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%); }

.panel-hosting { background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%); }

.panel-cloud { background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%); }

.panel-custom { background: linear-gradient(180deg, #f7faff 0%, #eff5ff 100%); }

.service-panel-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.service-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    border-radius: 16px;
    border: 1px solid rgba(96, 165, 250, 0.45);
    background:
        radial-gradient(120% 120% at 25% 15%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 45%),
        linear-gradient(145deg, rgba(59, 130, 246, 0.24) 0%, rgba(30, 64, 175, 0.14) 100%);
    box-shadow:
        0 8px 18px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid rgba(147, 197, 253, 0.28);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-icon i {
    color: var(--accent);
    filter: drop-shadow(0 2px 6px rgba(59, 130, 246, 0.35));
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-panel:hover .service-icon,
.service-panel:focus-within .service-icon {
    transform: translateY(-3px) scale(1.04);
    border-color: rgba(147, 197, 253, 0.75);
    box-shadow:
        0 14px 26px rgba(37, 99, 235, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.service-panel:hover .service-icon::after,
.service-panel:focus-within .service-icon::after {
    opacity: 1;
}

.service-panel:hover .service-icon i,
.service-panel:focus-within .service-icon i {
    color: #2563eb;
    transform: scale(1.08);
}

.service-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.service-head h3 { font-size: 1.8rem; color: var(--text-dark); line-height: 1.2; }

.service-copy p { color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.75; }

.service-copy .btn { margin-top: 0.75rem; }

.datacenter-band {
    min-height: 240px;
    background-image: linear-gradient(135deg, rgba(10, 30, 66, 0.46), rgba(17, 40, 84, 0.42)), url('img/bg_img_alpswitch_datacenter.png');
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(30, 58, 138, 0.15);
    border-bottom: 1px solid rgba(30, 58, 138, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.datacenter-band-content {
    max-width: 780px;
}

.datacenter-band h3 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: #ffffff;
    margin-bottom: 0.65rem;
    letter-spacing: 0.2px;
    text-shadow: 0 4px 16px rgba(2, 6, 23, 0.35);
}

.datacenter-band p {
    color: #dbeafe;
    font-size: 1.05rem;
    text-shadow: 0 2px 10px rgba(2, 6, 23, 0.28);
}

.solution-highlights {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.solution-highlights li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(30, 58, 138, 0.16);
    background: #ffffff;
}

.solution-highlights i {
    color: var(--accent);
    width: 18px;
    text-align: center;
}

.custom-quote-note {
    margin-top: 0.85rem;
    color: #64748b;
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.1px;
}

.service-list { list-style: none; padding: 0; margin: 1.5rem 0; flex-grow: 1; }

.service-list li { padding: 0.8rem 0 0.8rem 2rem; position: relative; color: var(--text-muted); }

.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: bold; font-size: 1.3rem; }

.cms-page {
    padding: 4.5rem 2rem;
    background: linear-gradient(180deg, #edf4ff 0%, #ffffff 100%);
}

.cms-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border: 1px solid rgba(30, 58, 138, 0.12);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    padding: 2.2rem;
}

.cms-title {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    color: #0f1f3d;
    margin-bottom: 0.95rem;
    letter-spacing: 0.2px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 0.55rem;
    text-shadow: 0 2px 10px rgba(30, 58, 138, 0.12);
}

.cms-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(130px, 28%);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 58%, rgba(96, 165, 250, 0.12) 100%);
}

.cms-intro {
    color: #1e293b;
    line-height: 1.8;
    margin-bottom: 1.45rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.cms-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.cms-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    border: none;
    border-radius: 2px;
    color: #1e293b;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(219, 234, 254, 0.4) 0%, rgba(219, 234, 254, 0) 48%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow:
        0 6px 16px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.cms-list li:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 24px rgba(30, 58, 138, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cms-point-icon {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #1d4ed8;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.18);
}

.cms-list li span {
    padding-top: 0.2rem;
    line-height: 1.68;
}

.hosting-rich {
    margin-top: 0.5rem;
}

.hosting-intro-panel {
    padding: 0.1rem 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    margin-bottom: 1.15rem;
    text-align: center;
}

.hosting-intro-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.6rem;
    color: #0f1f3d;
    font-size: clamp(1.5rem, 3vw, 2.05rem);
    line-height: 1.28;
}

.hosting-intro-title i {
    color: #2563eb;
}

.hosting-intro-list {
    color: #334155;
    line-height: 1.75;
    margin-bottom: 0.55rem;
    font-size: 0.98rem;
}

.hosting-intro-note {
    margin: 0;
    color: #0f1f3d;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1px;
}

.hosting-rich .display-4 {
    font-size: clamp(1.8rem, 3.8vw, 2.5rem);
    line-height: 1.25;
    color: #0f1f3d;
    margin-bottom: 0.75rem;
}

.hosting-rich .lead {
    color: #334155;
    line-height: 1.7;
    margin-bottom: 0.9rem;
}

.hosting-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.95rem;
    margin-top: 1.25rem;
}

.hosting-feature-card {
    text-align: center;
    margin-bottom: 0;
    padding: 1rem 0.95rem;
    border: 1px solid rgba(30, 58, 138, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.hosting-feature-card h3 {
    color: #0f1f3d;
    margin: 0.55rem 0;
    font-size: 1.08rem;
}

.hosting-feature-card p {
    color: #334155;
    line-height: 1.62;
    font-size: 0.95rem;
}

.hosting-feature-card .feature-icon {
    font-size: 50px;
    color: #007bff;
}

.vps-rich {
    margin-top: 0.5rem;
}

.container2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.95rem;
    margin-top: 1rem;
}

.container2 .section {
    border: 1px solid rgba(30, 58, 138, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    padding: 1rem;
}

.container2 .section h2 {
    font-size: 1.08rem;
    color: #0f1f3d;
    margin-bottom: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.container2 .section p {
    color: #334155;
    line-height: 1.62;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
}

.container2 .section p:last-child {
    margin-bottom: 0;
}

.container2 .icon {
    color: #007bff;
    width: 18px;
    text-align: center;
}

.cloud-rich {
    margin-top: 0.5rem;
}

.cloud-rich h2 {
    font-size: 1.24rem;
    color: #0f1f3d;
    margin: 1rem 0 0.45rem;
}

.cloud-rich p {
    color: #334155;
    line-height: 1.72;
    margin-bottom: 0.75rem;
}

.contact-form-wrap {
    margin-top: 1.1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 14px;
    padding: 1rem;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 100%);
}

.contact-info-note {
    margin-top: 0.95rem;
    margin-bottom: 0.2rem;
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
    color: #1e293b;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.contact-info-note i {
    color: #1d4ed8;
    margin-top: 0.15rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.contact-info-note a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.contact-info-note a:hover {
    text-decoration: underline;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-field.full {
    grid-column: 1 / -1;
}

.contact-field label {
    color: #0f1f3d;
    font-weight: 600;
    font-size: 0.92rem;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(30, 58, 138, 0.25);
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font: inherit;
    color: #0f172a;
    background: #ffffff;
}

.contact-input-wrap {
    position: relative;
}

.contact-input-wrap i {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    opacity: 0.88;
    pointer-events: none;
}

.contact-input-wrap textarea + i,
.contact-input-wrap i.icon-textarea {
    top: 1rem;
    transform: none;
}

.contact-input-wrap input,
.contact-input-wrap select,
.contact-input-wrap textarea {
    padding-left: 2.35rem;
}

.contact-field textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-errors {
    margin: 0 0 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.35);
    background: #fef2f2;
    color: #991b1b;
}

.contact-errors ul {
    margin: 0;
    padding-left: 1.2rem;
}

.contact-client-errors {
    margin-bottom: 0.9rem;
}

.contact-success {
    margin: 0.8rem 0 0;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(22, 163, 74, 0.35);
    background: #f0fdf4;
    color: #166534;
    line-height: 1.6;
}

.contact-form-submit {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.contact-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 0.2rem;
    color: #334155;
    line-height: 1.5;
}

.contact-check input {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.contact-check label {
    font-size: 0.92rem;
}

.contact-check a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.contact-check a:hover {
    text-decoration: underline;
}

.register-frame-wrap {
    margin-top: 1rem;
    background: transparent;
    padding: 0;
}

.register-frame {
    width: 100%;
    min-height: 1600px;
    border: 0;
    background: #ffffff;
}

.register-note {
    margin-top: 0.85rem;
    color: #475569;
    font-size: 0.92rem;
}

.register-note a {
    color: #1d4ed8;
    text-decoration: none;
}

.register-note a:hover {
    text-decoration: underline;
}

.text-center { text-align: center; }

.terms-title {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    color: #0f1f3d;
    margin-bottom: 1.4rem;
}

.cms-title .title-icon,
.terms-title .title-icon {
    color: #2563eb;
    margin-right: 0.55rem;
    font-size: 0.88em;
    vertical-align: middle;
}

.terms-section {
    margin-bottom: 1.2rem;
    border: 1px solid rgba(30, 58, 138, 0.14);
    background: #f8fbff;
    padding: 1rem 1rem 0.9rem;
}

.terms-section h4 {
    color: #102243;
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
}

.terms-section h5 {
    color: #1e3a8a;
    margin: 0.75rem 0 0.35rem;
    font-size: 0.97rem;
}

.terms-section p {
    color: #334155;
    margin-bottom: 0.65rem;
    line-height: 1.72;
}

.terms-section ul {
    margin: 0.35rem 0 0.75rem 1.2rem;
    color: #334155;
}

.terms-section a {
    color: #1d4ed8;
    text-decoration: none;
    word-break: break-word;
}

.terms-section a:hover {
    text-decoration: underline;
}

.terms-updated {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #475569;
}

.a11y-section {
    margin-bottom: 1.2rem;
    border: 1px solid rgba(30, 58, 138, 0.14);
    background: #f8fbff;
    padding: 1rem 1rem 0.9rem;
}

.a11y-section h4 {
    color: #102243;
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
}

.a11y-section p,
.a11y-section li {
    color: #334155;
    line-height: 1.72;
}

.a11y-section ul {
    margin: 0.35rem 0 0.75rem 1.2rem;
}

.a11y-date {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #475569;
}

.js-enabled .reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: transform, opacity;
}

.js-enabled .reveal-item.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-image: url('img/bg_main.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 20, 41, 0.82), rgba(15, 34, 72, 0.76));
    z-index: 0;
}

.cta-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }

.cta h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 1.5rem; }

.cta p { font-size: 1.2rem; margin-bottom: 2.5rem; opacity: 0.95; }

.payment-methods {
    padding: 3rem 2rem 1rem;
    background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
}

.payment-methods-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

.payment-methods-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.payment-method-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-bottom: 28px;
}

.payment-method {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    outline: none;
}

.payment-method:hover,
.payment-method:focus-visible {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.16);
}

.payment-method i {
    font-size: 2.5em;
    color: var(--secondary);
}

.payment-method::after {
    content: attr(data-label);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(6px);
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: var(--primary);
    color: #eff6ff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 20px rgba(15, 31, 61, 0.18);
}

.payment-method:hover::after,
.payment-method:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

footer {
    background: linear-gradient(180deg, #102243 0%, #1a3a6b 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem 1rem;
    margin-top: auto;
    border-top: 2px solid rgba(96, 165, 250, 0.2);
}

.footer-content { max-width: 1400px; margin: 0 auto; }

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }

.footer-column h3 { color: var(--accent-light); font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; font-size: 0.95rem; }

.footer-column ul { list-style: none; padding: 0; }

.footer-column a { color: rgba(255, 255, 255, 0.8); text-decoration: none; display: block; padding: 0.5rem 0; transition: color 0.3s ease; }

.footer-column a:hover { color: #dbeafe; }

.footer-column p { margin: 0.5rem 0; line-height: 1.7; }

.footer-contact { margin-top: 1rem; }

.footer-contact a { color: #bfdbfe; font-weight: 600; }

.footer-bottom { border-top: 1px solid rgba(148, 163, 184, 0.2); padding-top: 2rem; text-align: center; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

.footer-bottom a {
    color: #bfdbfe;
    text-decoration: none;
    font-weight: 400;
}

.footer-bottom a:hover {
    color: #dbeafe;
    text-decoration: underline;
}

.footer-sep {
    color: rgba(191, 219, 254, 0.42);
    margin: 0 0.45rem;
    font-weight: 500;
}

.footer-logo { height: 40px; margin-bottom: 1rem; }

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 0.9rem 1rem;
    }
    nav ul {
        display: none;
        order: 3;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.25rem;
        margin-top: 0.6rem;
    }
    nav ul.active { display: flex; }
    nav li { width: 100%; }
    nav a { padding: 0.75rem 0.2rem; border: none; }
    nav li:last-child a { margin-top: 0.35rem; }
    .nav-toggle {
        display: block;
        margin-left: auto;
        order: 2;
    }
    .hero { padding: 4rem 1rem; }
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 300px; }
    .services, .cta { padding: 3rem 1rem; }
    .services-intro { padding: 0 0.2rem; }
    .services-intro p { font-size: 0.98rem; line-height: 1.7; }
    .service-panel { padding: 2.6rem 1rem; }
    .service-panel-inner { padding: 0.25rem 0; }
    .service-head h3 { font-size: 1.45rem; }
    .cms-page { padding: 3rem 1rem; }
    .cms-container { padding: 1.4rem; }
    .contact-form-grid { grid-template-columns: 1fr; }
    .footer-grid { gap: 1.5rem; }
    footer { padding: 2rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
