/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
    --white: #ffffff;
    --bg: #f8f9fa;
    --surface: #ffffff;
    --border: #e0e0e0;
    --border-light: #f1f3f4;
    --text: #202124;
    --text-sec: #5f6368;
    --text-third: #9aa0a6;
    --blue: #1a73e8;
    --blue-hover: #1765cc;
    --blue-bg: #e8f0fe;
    --blue-light: #d2e3fc;
    --green: #1e8e3e;
    --green-bg: #e6f4ea;
    --yellow: #f9ab00;
    --yellow-bg: #fef7e0;
    --red: #d93025;
    --red-bg: #fce8e6;
    --shadow-1: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --shadow-2: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
    --shadow-3: 0 4px 8px 0 rgba(60,64,67,0.3), 0 8px 16px 4px rgba(60,64,67,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: 'Google Sans', 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Roboto', 'Segoe UI', sans-serif;
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font); }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    height: 64px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    font-family: var(--font);
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.nav-logo span { color: var(--blue); }

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-sec);
    border-radius: 24px;
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
}

.nav-links a:hover {
    background: var(--border-light);
    color: var(--text);
    text-decoration: none;
}

.nav-right { display: flex; align-items: center; gap: 12px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn:hover { text-decoration: none; }

.btn-filled {
    background: var(--blue);
    color: var(--white);
}

.btn-filled:hover {
    background: var(--blue-hover);
    box-shadow: var(--shadow-1);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--blue-bg);
    border-color: var(--blue-light);
}

.btn-text {
    background: none;
    color: var(--blue);
    padding: 10px 12px;
}

.btn-text:hover { background: var(--blue-bg); }

.burger {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.burger:hover { background: var(--border-light); }

.burger svg { color: var(--text-sec); }

.mob-menu {
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
}

.mob-menu.open { display: block; }

.mob-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-sec);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    text-decoration: none;
}

.mob-menu a:hover { background: var(--border-light); }

@media (max-width: 768px) {
    .nav-links, .nav-right .btn-outline { display: none; }
    .burger { display: flex; }
}

/* ===== HERO ===== */
.hero {
    padding: 80px 0 64px;
    text-align: center;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px 6px 10px;
    background: var(--green-bg);
    color: var(--green);
    border-radius: 24px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-chip svg { flex-shrink: 0; }

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero h1 span { color: var(--blue); }

.hero h2 {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-sec);
    margin-bottom: 12px;
    line-height: 1.5;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-sec);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat { text-align: center; }

.hero-stat-num {
    font-family: var(--font);
    font-size: 32px;
    font-weight: 600;
    color: var(--text);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-third);
    margin-top: 2px;
}

/* ===== SECTION ===== */
.section {
    padding: 64px 0;
}

.section-header {
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-header p {
    font-size: 15px;
    color: var(--text-sec);
}

/* ===== NEWS CARDS ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-2);
    border-color: transparent;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.chip {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 4px;
}

.chip-blue { background: var(--blue-bg); color: var(--blue); }
.chip-green { background: var(--green-bg); color: var(--green); }
.chip-yellow { background: var(--yellow-bg); color: #e37400; }

.news-date { font-size: 12px; color: var(--text-third); }

.news-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.35;
}

.news-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-list li {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}

.news-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
}

@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

/* ===== CATALOG CARDS ===== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.cat-card:hover {
    box-shadow: var(--shadow-2);
    border-color: transparent;
}

.cat-img {
    height: 180px;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--text-third);
}

.cat-body { padding: 24px; }

.cat-body h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cat-body p {
    font-size: 13px;
    color: var(--text-sec);
    margin-bottom: 16px;
    line-height: 1.6;
}

@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr; } }

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-text p {
    font-size: 14px;
    color: var(--text-sec);
    margin-bottom: 12px;
    line-height: 1.75;
}

.about-img {
    height: 340px;
    background: var(--border-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-img { height: 240px; }
}

/* ===== CTA ===== */
.cta-box {
    background: var(--blue);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: var(--white);
}

.cta-box h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-box p {
    font-size: 15px;
    opacity: 0.85;
    max-width: 480px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.btn-white {
    background: var(--white);
    color: var(--blue);
    font-family: var(--font);
    font-weight: 500;
}

.btn-white:hover {
    box-shadow: var(--shadow-2);
}

@media (max-width: 768px) { .cta-box { padding: 32px 24px; } }

/* ===== HOW ===== */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.how-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--blue-bg);
    color: var(--blue);
    font-family: var(--font);
    font-weight: 600;
    font-size: 14px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.how-item h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.how-item p {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.65;
}

@media (max-width: 768px) { .how-grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    transition: background var(--transition);
}

.faq-q:hover { background: var(--border-light); }

.faq-q span {
    font-family: var(--font);
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease, padding 300ms ease;
    padding: 0 20px;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 20px 16px;
}

.faq-a p {
    font-size: 13px;
    color: var(--text-sec);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.footer-logo span { color: var(--blue); }

.footer-copy { font-size: 12px; color: var(--text-third); }

.social-row { display: flex; gap: 4px; }

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
}

.social-btn:hover { background: var(--border-light); }

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--text-sec);
}

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.v {
    opacity: 1;
    transform: translateY(0);
}

.rd1 { transition-delay: 0.06s; }
.rd2 { transition-delay: 0.12s; }
.rd3 { transition-delay: 0.18s; }