:root {
    --bg-color: #f5f5f7;
    --bg-alt: #ffffff;
    --accent: #1f6feb;
    --accent-soft: rgba(31, 111, 235, 0.08);
    --text-main: #111827;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --danger: #dc2626;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-pill: 999px;
    --container-width: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* HEADER */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(245, 245, 247, 0.9);
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 20%, #60a5fa, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.55);
}

.logo-text-main {
    font-weight: 600;
    font-size: 16px;
}

.logo-text-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

nav a {
    color: var(--text-muted);
    padding: 4px 0;
    position: relative;
}

nav a:hover,
nav a:focus {
    color: var(--text-main);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 999px;
    transition: width 0.2s ease;
}

nav a:hover::after,
nav a:focus::after {
    width: 100%;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.phone {
    font-weight: 600;
    white-space: nowrap;
}

.btn,
button.btn {
    border-radius: var(--radius-pill);
    border: none;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(31, 111, 235, 0.4);
}

.btn-outline:hover {
    background: var(--accent-soft);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

/* HERO */

.hero {
    padding: 34px 0 42px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero-card {
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    padding: 26px 24px 26px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.hero-tagline {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    margin-bottom: 14px;
}

.hero-pill {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    color: #1e3a8a;
    border: 1px solid rgba(129, 140, 248, 0.5);
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.hero-note {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-note strong {
    color: var(--text-main);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dot-muted {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #9ca3af;
}

.hero-side-card {
    background: radial-gradient(circle at top left, #eff6ff, #e5f2ff, #e5e7eb);
    border-radius: var(--radius-xl);
    padding: 20px 18px 18px;
    border: 1px solid rgba(209, 213, 219, 0.8);
    position: relative;
    overflow: hidden;
}

.hero-side-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.hero-side-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.hero-side-list {
    margin: 0 0 14px;
    padding-left: 18px;
    font-size: 12px;
    color: var(--text-main);
}

.hero-side-list li + li {
    margin-top: 4px;
}

.hero-side-foot {
    font-size: 11px;
    color: var(--text-muted);
}

.highlight-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(22, 163, 74, 0.07);
    color: #166534;
    border: 1px solid rgba(74, 222, 128, 0.6);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

/* SECTION GENERIC */

section {
    padding: 18px 0 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
}

.section-title {
    font-size: 20px;
    margin: 0 0 4px;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 480px;
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 16px 16px 14px;
    border: 1px solid var(--border);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.service-title {
    font-size: 15px;
    font-weight: 600;
}

.service-text {
    font-size: 13px;
    color: var(--text-muted);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.service-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #4b5563;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
}

.service-price {
    font-weight: 500;
}

.link-more {
    font-size: 12px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* SPLIT SECTIONS */

.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 22px;
}

.split-card {
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(209, 213, 219, 0.8);
}

.split-heading {
    font-size: 18px;
    margin: 0 0 6px;
}

.split-lead {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    font-size: 13px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.check-list li + li {
    margin-top: 6px;
}

.check-icon {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 6px;
    background: rgba(22, 163, 74, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #166534;
}

.stage-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.stage-pill {
    flex: 1 1 180px;
    min-width: 160px;
    padding: 8px 9px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px dashed #e5e7eb;
    font-size: 12px;
}

.stage-title {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4b5563;
    margin-bottom: 3px;
}

.note-small {
    font-size: 11px;
    color: var(--text-muted);
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: center;
}

.about-text p {
    font-size: 13px;
    margin: 0 0 8px;
}

.about-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.about-chip {
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: #eff6ff;
    font-size: 11px;
    color: #1d4ed8;
}

.about-card {
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    padding: 16px 16px 14px;
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4ed8, #38bdf8);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.avatar-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eff6ff;
    font-weight: 700;
    font-size: 22px;
}

.avatar-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.avatar-name {
    font-size: 15px;
    font-weight: 600;
}

.avatar-role {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.about-list {
    font-size: 12px;
    margin: 0 0 6px;
    padding-left: 16px;
    color: #4b5563;
}

/* CASES */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.case-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 14px 14px 12px;
    border: 1px solid var(--border);
    font-size: 12px;
}

.case-label {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 4px;
}

.case-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.case-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.case-block-title {
    font-weight: 600;
    margin-top: 4px;
}

/* FAQ */

.faq-list {
    display: grid;
    gap: 8px;
}

.faq-item {
    background: var(--bg-alt);
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    padding: 11px 14px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
}

.faq-question span {
    font-weight: 500;
}

.faq-toggle {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6b7280;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 14px;
    font-size: 12px;
    color: var(--text-muted);
    transition: max-height 0.18s ease, padding-bottom 0.18s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding-bottom: 10px;
}

.faq-item.active .faq-toggle {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* CONTACTS */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 20px;
}

.contact-card {
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: grid;
    gap: 10px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}

.field label {
    font-weight: 500;
}

.field span {
    font-size: 11px;
    color: var(--text-muted);
}

.input,
textarea {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 8px 9px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    min-height: 40px;
}

textarea {
    min-height: 90px;
}

.input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.form-footer-note {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
}

.contact-info-card {
    background: transparent;
    border-radius: var(--radius-xl);
    padding: 10px 0;
    font-size: 13px;
}

.contact-row {
    margin-bottom: 8px;
}

.contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-value {
    font-weight: 500;
}

.messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 4px;
}

.messenger-pill {
    padding: 5px 9px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    font-size: 11px;
    color: #374151;
    background: #f9fafb;
}

/* FOOTER */

footer {
    padding: 16px 0 18px;
    font-size: 11px;
    color: var(--text-muted);
}

.footer-inner {
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .hero-grid,
    .split-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 20px;
    }

    nav {
        display: none;
    }

    .header-inner {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .cases-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card,
    .hero-side-card {
        padding: 18px 16px 16px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    button.btn {
        justify-content: center;
        width: 100%;
    }

    .hero-card,
    .hero-side-card,
    .split-card,
    .about-card,
    .contact-card {
        border-radius: 18px;
    }
}
/* THANK YOU PAGE */

.thankyou {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 40px 0 60px;
}

.thankyou-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--bg-alt);
    border-radius: 24px;
    padding: 26px 24px 22px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(209, 213, 219, 0.8);
}

.thankyou-card h1 {
    margin: 0 0 10px;
    font-size: 22px;
}

.thankyou-card p {
    font-size: 13px;
    color: var(--text-main);
    margin: 0 0 8px;
}

.thankyou-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.thankyou-card ul {
    margin: 8px 0 12px;
    padding-left: 18px;
    font-size: 13px;
}

.thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

@media (max-width: 480px) {
    .thankyou-card {
        border-radius: 18px;
        padding: 22px 18px 18px;
    }
}
