:root {
    --fs-red: #ff0000;
    --fs-red-dark: #d40000;
    --fs-orange: #ff6600;
    --fs-ink: #111111;
    --fs-text: #727982;
    --fs-menu: #808080;
    --fs-line: #ececec;
    --fs-soft: #f7f7f7;
    --fs-white: #ffffff;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

html body {
    font-family: Nunito, sans-serif;
    color: var(--fs-text);
    background: var(--fs-white);
    font-size: 16px;
    line-height: 1.7;
}

a { color: inherit; }

img { max-width: 100%; }

.container-xl {
    width: min(1480px, calc(100% - 24px));
    margin: 0 auto;
}

/* Header */
.fs-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: var(--fs-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.fs-topbar {
    border-bottom: 1px solid var(--fs-line);
    background: var(--fs-white);
}

.fs-topbar-inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.fs-top-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.fs-top-contacts a {
    color: var(--fs-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fs-top-contacts i { color: var(--fs-ink); }

.fs-search {
    width: min(320px, 100%);
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
}

.fs-search input {
    border: 0;
    outline: none;
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--fs-ink);
    font-family: inherit;
}

.fs-search button {
    border: 0;
    background: transparent;
    color: var(--fs-orange);
    width: 42px;
    height: 38px;
    cursor: pointer;
}

.fs-nav-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fs-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 0 0 auto;
}

.fs-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.fs-brand strong {
    display: block;
    color: var(--fs-red);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1;
}

.fs-brand small {
    display: block;
    color: var(--fs-menu);
    font-size: 11px;
    font-weight: 600;
    margin-top: 3px;
}

.fs-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.fs-toggle span {
    display: block;
    height: 2px;
    background: var(--fs-red);
    border-radius: 2px;
}

.fs-menu-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
}

.fs-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.fs-menu > li { position: relative; }

.fs-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 16px 7px 14px;
    color: var(--fs-menu);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 4px;
}

.fs-menu > li > a i {
    font-size: 9px;
    opacity: 0.7;
}

.fs-menu > li:hover > a,
.fs-menu > li > a:hover {
    color: var(--fs-red);
}

.fs-drop {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.18s ease;
    z-index: 30;
}

.fs-mega {
    width: 420px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 14px 8px;
}

.fs-drop a {
    display: block;
    padding: 8px 16px;
    color: var(--fs-menu);
    text-decoration: none;
    font-size: 14px;
}

.fs-drop a:hover { color: var(--fs-red); }

.fs-facility-drop {
    width: 640px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
}

.fs-facility-link {
    padding: 0 !important;
    text-align: center;
}

.fs-facility-link img {
    width: 100%;
    height: 78px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin-bottom: 6px;
    background: #f3f4f6;
}

.fs-facility-link span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    padding: 0 2px 4px;
}

.fs-facility-link:hover img {
    box-shadow: 0 0 0 2px var(--fs-red);
}

.has-drop:hover > .fs-drop,
.has-drop:focus-within > .fs-drop,
.has-drop.is-open > .fs-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fs-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 5px 16px;
    background: var(--fs-red);
    color: #fff !important;
    text-decoration: none;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.18s ease, transform 0.18s ease;
}

.fs-cta:hover {
    background: var(--fs-red-dark);
    transform: translateY(-1px);
    color: #fff;
}

/* Hero */
.fs-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.45) 100%),
        url("../images/svm.jpg") center / cover no-repeat;
    overflow: hidden;
}

.fs-hero-inner {
    padding: 90px 0 150px;
}

.fs-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    max-width: 780px;
    margin: 0 0 18px;
}

.fs-hero p,
.fs-hero .hero-tag {
    max-width: 640px;
    color: rgba(255,255,255,0.92);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.fs-hero .hero-tag {
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 0.86rem;
}

.fs-hero-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    background: var(--fs-red);
    border-radius: 80px 80px 0 0;
    min-height: 92px;
}

.fs-hero-pills {
    display: flex;
    justify-content: center;
    gap: 14px;
    transform: translateY(-28px);
    flex-wrap: wrap;
    padding: 0 16px;
}

.fs-pill {
    min-width: 220px;
    min-height: 58px;
    border-radius: 40px;
    background: #fff;
    color: var(--fs-ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    padding: 0 22px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.fs-pill i {
    color: var(--fs-red);
}

.fs-pill:hover {
    color: var(--fs-red);
}

/* Sections */
.section-pad { padding: 78px 0; }

.section-kicker {
    color: var(--fs-red);
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.section-title,
.page-hero h1,
.page-body h3 {
    color: var(--fs-ink);
    font-weight: 800;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--fs-text);
    margin-bottom: 28px;
    max-width: 720px;
}

.about-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.about-photo {
    border-radius: 24px;
    overflow: hidden;
    min-height: 340px;
    background: #111 url("../images/about-us.jpg") center / cover no-repeat;
}

.page-body { color: var(--fs-text); font-size: 1.02rem; }
.page-body h3 { margin-top: 18px; font-size: 1.15rem; }
.page-body ul { margin: 8px 0 0; padding-left: 1.2rem; }
.page-body li { margin-bottom: 6px; }

.fee-session { margin-top: 8px; }
.fee-session h3 {
    color: var(--fs-ink);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.fee-note {
    color: var(--fs-text);
    margin: 0 0 20px;
    font-size: 0.95rem;
}

.fee-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    padding: 18px 18px 10px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.fee-card h4 {
    color: var(--fs-ink);
    font-weight: 800;
    font-size: 1.15rem;
    margin: 0 0 12px;
}

.fee-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fee-card li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    color: var(--fs-text);
    font-size: 0.92rem;
}

.fee-card li:last-child { border-bottom: 0; }
.fee-card b { color: var(--fs-ink); }

.btn-red,
.btn-outline-red {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
}

.btn-red {
    background: var(--fs-red);
    color: #fff;
}

.btn-red:hover { background: var(--fs-red-dark); color: #fff; }

.btn-outline-red {
    border: 1px solid var(--fs-red);
    color: var(--fs-red);
    background: #fff;
}

.btn-outline-red:hover {
    background: var(--fs-red);
    color: #fff;
}

.fs-card {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(255, 0, 0, 0.08);
    color: inherit;
}

.fs-card h5 {
    color: var(--fs-ink);
    font-weight: 800;
    margin-bottom: 10px;
}

.fs-card-photo {
    padding: 0;
    overflow: hidden;
}

.fs-card-photo > img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.fs-card-body {
    padding: 16px 18px 20px;
}

.facility-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: start;
}

.facility-detail > img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    background: #f3f4f6;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff1f1;
    color: var(--fs-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.solution-card {
    background: var(--fs-soft);
    border-radius: 22px;
    padding: 28px 24px;
    height: 100%;
}

.solution-card h3 {
    color: var(--fs-ink);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.solution-card a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--fs-text);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid #ececec;
}

.solution-card a:hover { color: var(--fs-red); }

.solution-card .visit {
    display: inline-flex;
    margin-top: 16px;
    color: var(--fs-red);
    font-weight: 700;
    text-decoration: none;
    border: 0;
}

.stats-band {
    background: var(--fs-red);
    color: #fff;
}

.stats-band .stats-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}

.stats-band .stats-label {
    color: rgba(255,255,255,0.88);
}

.stats-box { text-align: center; padding: 10px; }

.cta-band {
    background:
        linear-gradient(90deg, rgba(255,0,0,0.92), rgba(180,0,0,0.88)),
        url("../images/bg-1.jpg") center / cover no-repeat;
    color: #fff;
    border-radius: 28px;
    padding: 48px 40px;
}

.cta-band h2 {
    color: #fff;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 8px;
}

.page-hero {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url("../images/svm.jpg") center / cover no-repeat;
    color: #fff;
    padding: 72px 0 56px;
}

.page-hero h1 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 6px;
}

.page-hero p,
.page-hero .small { color: rgba(255,255,255,0.88); }

.map-wrap iframe {
    width: 100%;
    min-height: 280px;
    border: 0;
    border-radius: 16px;
}

/* Footer */
.site-footer { background: var(--fs-soft); color: var(--fs-text); }

.footer-top { padding: 56px 0 26px; }

.footer-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--fs-ink);
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.footer-about-text,
.footer-contact-text,
.footer-contact-line a,
.footer-links a {
    font-size: 13px;
    line-height: 1.7;
    color: var(--fs-text);
    text-decoration: none;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover,
.footer-contact-line a:hover { color: var(--fs-red); }

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.footer-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: var(--fs-red);
    text-decoration: none;
}

.footer-bottom {
    background: #eeeeee;
    border-top: 1px solid #d1d5db;
    padding: 18px 0;
}

.footer-bottom-inner {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright { color: var(--fs-text); font-size: 13px; }
.footer-copyright a {
    color: var(--fs-red);
    font-weight: 700;
    text-decoration: none;
}
.footer-copyright a:hover { text-decoration: underline; }

.back-to-top {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 3px;
    background: var(--fs-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

.subscribe-input {
    flex: 1 1 180px;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    outline: none;
}

.subscribe-btn {
    background: var(--fs-red);
    border: none;
    color: #fff;
    padding: 11px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.subscribe-msg { margin-top: 10px; font-size: 13px; }
.subscribe-success { color: #0f766e; }
.subscribe-error { color: #b91c1c; }

.search-hit {
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}

.search-hit a {
    color: var(--fs-ink);
    font-weight: 800;
    text-decoration: none;
}

.search-hit a:hover { color: var(--fs-red); }

.media-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.media-card > img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.media-card-body { padding: 18px 18px 20px; }

.media-card h3 {
    color: var(--fs-ink);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.media-date {
    color: var(--fs-red);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.media-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.media-thumbs img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
}

.file-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.file-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--fs-red);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
}

.file-download:hover {
    color: #fff;
    background: var(--fs-red-dark);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.photo-tile {
    margin: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.photo-tile img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.photo-tile figcaption {
    padding: 10px 12px 12px;
    color: var(--fs-text);
    font-size: 13px;
}

.photo-tile strong {
    display: block;
    color: var(--fs-ink);
}

@media (max-width: 991px) {
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .photo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1199px) {
    .fs-toggle { display: flex; }

    .fs-menu-wrap {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 16px 20px;
        box-shadow: 0 18px 30px rgba(0,0,0,0.08);
    }

    .fs-menu-wrap.is-open { display: flex; }

    .fs-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .fs-menu > li > a {
        padding: 12px 4px;
        justify-content: space-between;
    }

    .fs-drop,
    .fs-mega {
        position: static;
        width: auto;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        grid-template-columns: 1fr;
        padding: 0 0 8px 12px;
    }

    .has-drop.is-open > .fs-drop { display: grid; }

    .fs-facility-drop {
        width: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 8px 0 8px 4px;
    }

    .fs-cta { width: 100%; margin-top: 8px; }

    .about-wrap,
    .facility-detail { grid-template-columns: 1fr; }
    .fs-hero { min-height: 520px; }
    .fs-hero-bar { border-radius: 40px 40px 0 0; }
}

@media (max-width: 767px) {
    .fs-topbar-inner { flex-direction: column; padding: 10px 0; align-items: stretch; }
    .fs-search { width: 100%; }
    .fs-hero h1 { font-size: 2.1rem; }
    .fs-hero-inner { padding: 70px 0 130px; }
    .fs-pill { min-width: 100%; }
    .section-pad { padding: 48px 0; }
    .cta-band { padding: 32px 20px; }
}
