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

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #4a1a5e;
    --plum-950: #2d0f3d;
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #f59e0b;
    --amber-500: #d97706;
    --amber-600: #b45309;
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px rgba(74, 26, 94, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(74, 26, 94, 0.08), 0 2px 4px -2px rgba(74, 26, 94, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(74, 26, 94, 0.1), 0 4px 6px -4px rgba(74, 26, 94, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(74, 26, 94, 0.12), 0 8px 10px -6px rgba(74, 26, 94, 0.06);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background: var(--neutral-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--plum-100);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--plum-900);
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 700;
}

.nav-logo-accent {
    color: var(--amber-500);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--neutral-700);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--plum-600);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--plum-700);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--plum-700) !important;
    font-weight: 600 !important;
    background: var(--plum-50);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.nav-phone:hover {
    background: var(--plum-100) !important;
    transform: translateY(-1px);
}

.nav-phone::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--plum-900);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO */
.hero {
    position: relative;
    padding: 120px 0 0;
    background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-900) 50%, #3a1050 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 50% at 70% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-card {
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(74, 26, 94, 0.08);
}

.hero-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

.hero-content {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--plum-100);
    color: var(--plum-800);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--plum-700);
    color: #fff;
    box-shadow: 0 4px 12px rgba(126, 34, 206, 0.3);
}

.btn-primary:hover {
    background: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 34, 206, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--neutral-700);
    border: 2px solid var(--neutral-200);
}

.btn-secondary:hover {
    border-color: var(--plum-300);
    color: var(--plum-700);
    background: var(--plum-50);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--neutral-50) 0%, transparent 20%);
    pointer-events: none;
}

/* STATS */
.hero-stats {
    position: relative;
    z-index: 1;
    margin-top: -40px;
    padding-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--plum-50);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--plum-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--plum-700);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-900);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--neutral-500);
    font-weight: 500;
}

/* SECTION STYLES */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plum-600);
    background: var(--plum-100);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-tag-light {
    color: var(--plum-200);
    background: rgba(168, 85, 247, 0.2);
}

.section-tag-dark {
    color: var(--plum-800);
    background: var(--plum-100);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
    color: var(--neutral-900);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-title-light {
    color: #fff;
}

.section-title-dark {
    color: var(--neutral-900);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--neutral-600);
    line-height: 1.7;
    max-width: 600px;
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
}

/* SERVICES */
.services {
    padding: 100px 0;
    background: var(--neutral-50);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--neutral-100);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum-500), var(--amber-400));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--plum-100), var(--plum-50));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* WHY US */
.why-us {
    padding: 100px 0;
    background: #fff;
}

.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-us-content .section-subtitle {
    margin-bottom: 40px;
}

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

.why-item {
    display: flex;
    gap: 16px;
}

.why-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--plum-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum-700);
}

.why-item-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.why-item-text p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

.why-us-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.why-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ABOUT */
.about {
    padding: 100px 0;
    background: var(--neutral-50);
}

.about-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-100);
}

.about-image {
    overflow: hidden;
    min-height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    padding: 56px 56px 56px 0;
}

.about-content .section-subtitle {
    margin-bottom: 20px;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--neutral-700);
}

.about-detail svg {
    flex-shrink: 0;
}

/* SERVICE AREA */
.service-area {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-900) 100%);
    position: relative;
    overflow: hidden;
}

.service-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
}

.service-area .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.area-tags span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

.area-tags span:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* CTA / CONTACT */
.cta {
    padding: 100px 0;
    background: var(--neutral-50);
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--neutral-100);
}

.cta-text {
    padding: 56px;
    background: linear-gradient(135deg, var(--plum-900), var(--plum-800));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-text .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

.cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.cta-contact-item:hover {
    opacity: 0.8;
}

.cta-contact-item svg {
    flex-shrink: 0;
    color: var(--amber-400);
}

.cta-form-wrapper {
    padding: 56px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: var(--font-body);
    color: var(--neutral-800);
    background: var(--neutral-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-400);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--plum-500);
    margin-bottom: 16px;
}

.form-success h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--neutral-600);
    font-size: 0.95rem;
}

/* FOOTER */
.footer {
    background: var(--neutral-900);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo-icon {
    display: flex;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--neutral-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-300);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--neutral-400);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--plum-300);
}

.footer-contact p,
.footer-phone,
.footer-email {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--neutral-400);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-phone:hover,
.footer-email:hover {
    color: var(--plum-300);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--neutral-500);
}

/* MOBILE MENU */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--plum-100);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 0;
    }

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

    .hero-content {
        padding: 40px 28px;
    }

    .hero-image {
        max-height: 280px;
    }

    .hero-image::after {
        background: linear-gradient(to top, var(--neutral-50) 0%, transparent 30%);
    }

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

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

    .why-us-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-image {
        order: -1;
        max-height: 360px;
    }

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

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

    .about-image {
        min-height: 260px;
    }

    .about-content {
        padding: 40px 28px;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-text {
        padding: 40px 28px;
    }

    .cta-form-wrapper {
        padding: 40px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding: 32px 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 20px 16px;
    }

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

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

    .services, .why-us, .about, .service-area, .cta {
        padding: 72px 0;
    }

    .cta-form-wrapper {
        padding: 32px 20px;
    }

    .cta-text {
        padding: 32px 20px;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .stat-card,
    .why-item {
        transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    }
}
