body {
    color: var(--text);
    background:
        radial-gradient(900px 420px at 0% 0%, rgba(200, 160, 106, 0.10), transparent 60%),
        radial-gradient(820px 360px at 100% 10%, rgba(23, 55, 95, 0.06), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .7), transparent 28%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, .5), transparent 22%);
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 54px;
    align-items: center;
    padding: 54px 0 80px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 64px);
    letter-spacing: -.035em;
    margin-bottom: 22px;
    max-width: 760px;
}

.hero h1 span {
    color: var(--accent);
    font-style: italic;
    font-weight: 600;
}

.hero-lead {
    font-size: 19px;
    color: var(--muted);
    max-width: 670px;
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 670px;
}

.hero-visual {
    position: relative;
}

.hero-frame {
    position: relative;
    background: linear-gradient(180deg, #fff, #f9fbfd);
    border: 1px solid var(--border);
    border-radius: 26px 90px 26px 26px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-frame::before {
    content: "";
    position: absolute;
    inset: auto auto -60px -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(200, 160, 106, 0.10);
    filter: blur(6px);
}

.hero-photo {
    aspect-ratio: 0.82 / 1;
    border-radius: 20px 72px 20px 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .9);
    background: #fff;
}

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

.hero-badge {
    position: absolute;
    left: -12px;
    bottom: 24px;
    max-width: 290px;
    padding: 18px 18px 17px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.hero-badge-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.hero-badge-title i {
    color: var(--accent);
}

.hero-badge p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 26px;
    max-width: 640px;
}

.mini-stat {
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px 16px 14px;
    box-shadow: var(--shadow-sm);
}

.mini-stat strong {
    display: block;
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.mini-stat span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    gap: 28px;
    margin-top: 34px;
}

.about-card,
.panel,
.doc-card,
.result-card,
.philosophy-card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.about-card {
    padding: 30px;
}

.about-card p {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 16px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-highlight {
    background:
        radial-gradient(420px 220px at 0% 0%, rgba(200, 160, 106, .10), transparent 60%),
        linear-gradient(180deg, #ffffff, #fbfcff);
    padding: 30px;
}

.about-highlight h3 {
    font-size: 28px;
    margin-bottom: 14px;
}

.about-highlight ul {
    list-style: none;
    display: grid;
    gap: 14px;
}

.about-highlight li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: start;
    color: var(--muted);
    font-size: 15px;
}

.about-highlight i {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 18px;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.number-card {
    padding: 24px 20px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}

.number-card .icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.number-card strong {
    display: block;
    font-size: 32px;
    color: var(--primary-color);
    line-height: 1.05;
    margin-bottom: 8px;
}

.number-card span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 34px;
}

.philosophy-card {
    padding: 28px;
}

.philosophy-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.philosophy-card p {
    color: var(--muted);
    font-size: 15px;
}

.timeline {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 15px;
    text-align: center;
}

.timeline-body h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.timeline-body p {
    color: var(--muted);
    font-size: 15px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 34px;
}

.result-card {
    padding: 26px 22px;
}

.result-card i {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 20px;
    margin-bottom: 14px;
}

.result-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.result-card p {
    color: var(--muted);
    font-size: 15px;
}

.docs-lead {
    margin-top: 14px;
    max-width: 900px;
    color: var(--muted);
    font-size: 16px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 34px;
}

.doc-card {
    overflow: hidden;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: transform .22s ease, box-shadow .22s ease;
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.10);
}

.doc-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 320px;
    padding: 18px;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #f9fafc 0%, #f3f5f9 100%);
    cursor: zoom-in;
    overflow: hidden;
}

.doc-media img {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.doc-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(23, 55, 95, 0.86);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .16);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.doc-card:hover .doc-zoom,
.doc-media:focus-visible .doc-zoom {
    opacity: 1;
    transform: translateY(0);
}

.doc-body {
    padding: 22px 22px 24px;
}

.doc-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.doc-body h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.doc-body p {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 12px;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.doc-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #f7f9fc;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.system-box {
    margin-top: 34px;
    padding: 34px 30px;
    background:
        radial-gradient(500px 220px at 0% 0%, rgba(200, 160, 106, .12), transparent 60%),
        rgba(255, 255, 255, .95);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.system-box h3 {
    font-size: 32px;
    margin-bottom: 12px;
}

.system-box p {
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 18px;
    max-width: 900px;
}

.system-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
}

.system-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--muted);
    font-size: 15px;
}

.system-list i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 1px;
}

.cta-box {
    padding: 46px 36px;
    text-align: center;
    background:
        radial-gradient(560px 240px at 0% 0%, rgba(200, 160, 106, .12), transparent 60%),
        rgba(255, 255, 255, .96);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 14px;
}

.cta-box p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.doc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.doc-lightbox.is-open {
    display: flex;
}

.doc-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
}

.doc-lightbox-dialog {
    position: relative;
    width: min(1100px, 100%);
    max-height: calc(100vh - 32px);
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.doc-lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 18px 22px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, #fafbfd);
}

.doc-lightbox-header h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
    min-width: 0;
}

.doc-lightbox-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(23, 55, 95, 0.08);
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}

.doc-lightbox-close:hover {
    background: rgba(23, 55, 95, 0.14);
    transform: scale(1.04);
}

.doc-lightbox-body {
    padding: 18px;
    overflow: auto;
    background: linear-gradient(180deg, #f7f9fc 0%, #f1f4f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-lightbox-body img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 180px);
    height: auto;
    display: block;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 1120px) {
    .hero,
    .about-grid,
    .docs-grid,
    .results-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 980px) {
    .hero {
        gap: 32px;
        padding: 28px 0 64px;
    }

    .hero-badge {
        position: static;
        margin-top: 16px;
        max-width: none;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .system-list {
        grid-template-columns: 1fr;
    }

    .doc-media {
        min-height: 260px;
    }

    .doc-media img {
        max-height: 380px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 18px 0 52px;
        gap: 24px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .hero-frame {
        border-radius: 20px 42px 20px 20px;
        padding: 12px;
    }

    .hero-photo {
        border-radius: 16px 30px 16px 16px;
    }

    .hero-mini-stats,
    .numbers-grid {
        grid-template-columns: 1fr;
    }

    .about-card,
    .about-highlight,
    .philosophy-card,
    .timeline-item,
    .result-card,
    .doc-body,
    .system-box,
    .cta-box {
        padding: 22px 18px;
    }

    .doc-media {
        min-height: 220px;
        padding: 12px;
    }

    .doc-media img {
        max-height: 300px;
        border-radius: 10px;
    }

    .doc-lightbox {
        padding: 10px;
    }

    .doc-lightbox-dialog {
        width: 100%;
        max-height: calc(100vh - 20px);
        border-radius: 18px;
    }

    .doc-lightbox-header {
        padding: 14px 14px 14px 16px;
        gap: 12px;
    }

    .doc-lightbox-header h3 {
        font-size: 18px;
    }

    .doc-lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .doc-lightbox-body {
        padding: 10px;
    }

    .doc-lightbox-body img {
        max-height: calc(100vh - 150px);
        border-radius: 12px;
    }
}