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

:root {
    --primary: #1e56a0;
    --primary-dark: #143f73;
    --primary-light: #3a7bd5;
    --secondary: #0d2f5c;
    --ink: #101828;
    --text-light: #667085;
    --bg-light: #f8fafc;
    --bg-dark: #0d1b2e;
    --bg-darker: #081020;
    --white: #ffffff;
    --border: #e4e7ec;
    --success: #16a34a;
    --gradient: linear-gradient(135deg, #1e56a0 0%, #3a7bd5 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ========== Slogan ========== */
.slogan {
    position: relative;
    padding: 150px 0 90px;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    text-align: center;
    overflow: hidden;
}

.slogan::before {
    content: "";
    position: absolute;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 560px;
    background: radial-gradient(ellipse at center, rgba(58, 123, 213, 0.20) 0%, rgba(58, 123, 213, 0) 60%);
    pointer-events: none;
}

.slogan-eyebrow {
    position: relative;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
}

.slogan-text {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    letter-spacing: 0.005em;
    text-wrap: balance;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 8px 28px rgba(0, 0, 0, 0.35);
}

.slogan-divider {
    position: relative;
    width: 64px;
    height: 2px;
    margin: 34px auto 26px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
}

.slogan-sub {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 16, 32, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.logo-text {
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--primary-light);
}

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

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    transition: color 0.2s;
}

.header-phone:hover {
    color: var(--primary-light);
}

.phone-icon {
    width: 16px;
    height: 16px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(30, 86, 160, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(58, 123, 213, 0.4);
}

.btn-white {
    background: var(--white);
    color: var(--secondary);
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.btn-block {
    width: 100%;
}

/* ========== Split Section ========== */
.split-section {
    display: flex;
    padding-top: 72px;
    min-height: 100vh;
}

.split-column {
    flex: 1;
    padding: 80px 48px;
}

.split-left {
    background: var(--bg-light);
}

.split-right {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.split-content {
    max-width: 560px;
    margin: 0 auto;
}

/* ========== Section Elements ========== */
.section-badge {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.badge-light {
    background: rgba(30, 86, 160, 0.08);
    color: var(--primary);
    border: 1px solid rgba(30, 86, 160, 0.15);
}

.badge-dark {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.title-dark {
    color: var(--secondary);
}

.title-light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.subtitle-dark {
    color: var(--text-light);
}

.subtitle-light {
    color: rgba(255, 255, 255, 0.65);
}

/* ========== Service Lists ========== */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.25s ease;
}

.service-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 12px 32px rgba(30, 86, 160, 0.1);
    transform: translateY(-2px);
}

.service-item-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.split-left .service-icon {
    background: rgba(30, 86, 160, 0.08);
    color: var(--primary);
}

.service-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.3;
}

.service-item > p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.service-item ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
}

.service-item ul li {
    position: relative;
    padding-left: 18px;
    font-size: 0.86rem;
    color: var(--text-light);
}

.service-item ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

/* Dark service items */
.service-item-dark {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-item-dark:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.service-item-dark .service-icon {
    background: rgba(58, 123, 213, 0.2);
    color: var(--primary-light);
}

.service-item-dark h3 {
    color: var(--white);
}

.service-item-dark > p {
    color: rgba(255, 255, 255, 0.6);
}

.service-item-dark ul li {
    color: rgba(255, 255, 255, 0.6);
}

.service-item-dark ul li::before {
    background: var(--primary-light);
}

.service-item-featured {
    position: relative;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.18) 0%, rgba(30, 86, 160, 0.12) 100%);
    border-color: rgba(58, 123, 213, 0.4);
}

.service-item-featured:hover {
    border-color: var(--primary-light);
}

.service-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--gradient);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.price-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

.price-value {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ========== About ========== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-photo {
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.about-photo-frame {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(160deg, #ffffff 0%, #e8eef6 100%);
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(16, 44, 84, 0.14);
}

.about-photo-frame::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(26, 84, 163, 0.16);
    pointer-events: none;
}

.about-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.about-photo-caption {
    margin-top: 18px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 8px 24px rgba(16, 44, 84, 0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-photo-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
}

.about-photo-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

.about-lead {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-stat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.about-stat-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 0.82rem;
    color: var(--text-light);
}

.about-soft {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.about-soft h4 {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-soft-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.about-soft-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
}

.about-soft-item svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.about-soft-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(30, 86, 160, 0.06);
    border-radius: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.92rem;
}

.about-soft-note svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========== Articles ========== */
.articles {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-header .section-badge {
    margin-bottom: 16px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.article-card {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.article-card:hover {
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
    transform: translateY(-4px);
    border-color: rgba(30, 86, 160, 0.2);
}

.article-image {
    width: 180px;
    min-height: 220px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-image svg {
    width: 40px;
    height: 40px;
    opacity: 0.9;
}

.article-image-1 { background: linear-gradient(160deg, #1e56a0, #3a7bd5); }
.article-image-2 { background: linear-gradient(160deg, #143f73, #1e56a0); }
.article-image-3 { background: linear-gradient(160deg, #3a7bd5, #6aa5e8); }
.article-image-4 { background: linear-gradient(160deg, #0d2f5c, #1e56a0); }

.article-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.article-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.35;
    margin-bottom: 10px;
}

.article-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: gap 0.2s;
}

.article-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.article-link:hover svg {
    transform: translateX(4px);
}

/* ========== Featured Article (ЭТН) ========== */
.article-featured {
    padding: 100px 0;
    background: linear-gradient(150deg, #0d1b2e 0%, #081020 100%);
}

.featured-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 56px;
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.featured-date {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 16px;
}

.featured-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 32px;
    max-width: 900px;
}

.featured-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 900px;
}

.featured-text .featured-lead {
    margin-bottom: 24px;
}

.featured-text h4 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 28px 0 16px;
}

.featured-text ul {
    list-style: none;
    margin-bottom: 16px;
}

.featured-text ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.featured-text ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-light);
}

/* ========== Contact ========== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-title {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--secondary);
    margin-bottom: 12px;
}

.contact-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(30, 86, 160, 0.08);
    color: var(--primary);
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.contact-detail-value {
    display: block;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

a.contact-detail-value:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ink);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #98a2b3;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(58, 123, 213, 0.15);
}

.form-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
}

/* ========== Footer ========== */
.footer {
    background: var(--bg-darker);
    color: var(--white);
    padding: 72px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-column ul a:hover {
    color: var(--white);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contacts a,
.footer-contacts span {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-contacts a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
    .split-column {
        padding: 64px 32px;
    }
}

@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .split-section {
        flex-direction: column;
        min-height: auto;
    }

    .split-column {
        padding: 64px 32px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-phone {
        display: none;
    }

    .slogan {
        padding: 130px 0 70px;
    }

    .slogan-text {
        font-size: 1.9rem;
    }

    .slogan-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.24em;
    }

    .header-btn {
        padding: 10px 16px;
        font-size: 0.88rem;
    }

    .split-column {
        padding: 56px 20px;
    }

    .split-content {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.7rem;
    }

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

    .article-card {
        flex-direction: column;
    }

    .article-image {
        width: 100%;
        min-height: 120px;
    }

    .featured-card {
        padding: 32px 24px;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}