* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #1e2530;
    --muted: #596374;
    --brand: #1f4a67;
    --brand-strong: #17384e;
    --brand-soft: #e8f0f6;
    --surface: #f4f6f9;
    --line: #d8dee7;
    --white: #ffffff;
    --shadow-sm: 0 6px 20px rgba(17, 30, 49, 0.06);
    --shadow-md: 0 14px 34px rgba(17, 30, 49, 0.10);
}

body {
    font-family: "Nunito Sans", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f8fafe 0%, #f0f3f8 100%);
    line-height: 1.65;
}

h1,
h2,
h3 {
    font-family: "Source Serif 4", serif;
    line-height: 1.2;
    color: #162333;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 2.9rem);
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(1.55rem, 3.6vw, 2.1rem);
    margin-bottom: 12px;
}

h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    margin-bottom: 10px;
}

p {
    margin-bottom: 12px;
    color: var(--muted);
}

ul,
ol {
    color: var(--muted);
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-strong);
}
.livedemo{
    color: var(--brand-strong);
    text-decoration: underline;
}
.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.section-space {
    padding: 76px 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    color: var(--brand);
    margin-bottom: 10px;
    font-weight: 800;
}

.lead {
    font-size: 1.12rem;
    max-width: 60ch;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(7px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    min-height: 72px;
}

.brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: #142234;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 8px 12px;
    border-radius: 9px;
    font-weight: 700;
    color: #3f4a59;
    font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--brand-soft);
    color: var(--brand);
}

.main-nav .lang-link {
    border: 1px solid var(--line);
    background: var(--white);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
    color: #273444;
}

.hero {
    background:
        radial-gradient(circle at 86% 16%, #dbe6f2 0%, rgba(219, 230, 242, 0.2) 42%, transparent 72%),
        linear-gradient(180deg, #edf3f9 0%, #f6f8fb 100%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.hero-card,
.panel,
.case-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

.hero-card {
    border-top: 4px solid #b6cde0;
    display: flex;
}

.media-frame {
    flex:1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
.media-content{
    padding-left: 16px;
    max-width: 50%;
}
.hero-photo{
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.about-photo {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
}

.panel-media,
.case-cover {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 1px solid #d4dfea;
    background: #f5f8fb;
    margin-bottom: 14px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.hero-card ul,
.panel ul {
    padding-left: 18px;
}

.button-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.btn {
    display: inline-block;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.16s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--brand);
    color: var(--white);
    box-shadow: 0 8px 16px rgba(31, 74, 103, 0.2);
}

.btn-primary:hover {
    background: var(--brand-strong);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
}

.btn-light:hover {
    background: #f0f4f8;
}

.section-title {
    margin-bottom: 10px;
}

.section-intro {
    margin-bottom: 22px;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.panel.soft {
    background: #eef4f9;
}

.text-link {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.accent-section {
    background: linear-gradient(180deg, #edf2f7 0%, #f4f7fb 100%);
    border-top: 1px solid #dde5ef;
    border-bottom: 1px solid #dde5ef;
}

.page-top {
    padding-bottom: 18px;
}

.case-list {
    display: grid;
    gap: 20px;
}

.case-card {
    border-left: 5px solid #b8ccdc;
}

.tag-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 0;
}

.tag-list li {
    border: 1px solid #cad6e2;
    background: #f1f6fb;
    color: #425167;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.9rem;
}

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

.contact-form label {
    font-weight: 700;
    color: #445262;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #d1d9e3;
    border-radius: 8px;
    padding: 10px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #c9dceb;
    border-color: #7d9fbb;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #f8fafe 0%, #eff3f8 100%);
    margin-top: 30px;
}

.footer-inner {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.footer-name {
    color: #1b2a3b;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    font-weight: 700;
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    padding: 0 0 18px;
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .section-space {
        padding: 62px 0;
    }

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

    .hero-card,
    .panel,
    .case-card {
        padding: 20px;
    }

    .hero-card {
        display: block;
    }

    .media-content {
        max-width: 100%;
        padding-left: 0;
    }

    .menu-toggle {
        display: inline-block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 4%;
        width: min(78vw, 280px);
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 8px;
        box-shadow: var(--shadow-md);
        z-index: 1001;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 10px 12px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1120px, 94%);
    }

    .section-space {
        padding: 52px 0;
    }

    .lead {
        font-size: 1rem;
    }

    .button-group .btn {
        width: 100%;
        text-align: center;
    }

    .hero {
        background:
            radial-gradient(circle at 82% 5%, #dbe6f2 0%, rgba(219, 230, 242, 0.18) 45%, transparent 72%),
            linear-gradient(180deg, #eef3f9 0%, #f7f9fc 100%);
    }

    .footer-inner {
        gap: 10px;
    }

    .footer-links {
        gap: 10px;
    }

    .copyright {
        font-size: 0.8rem;
    }
}
