/* ===== CSS VARIABLES ===== */
:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7c3aed;
    --plum-800: #6b21a8;
    --plum-900: #581c87;

    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #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;

    --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-800);
    background: var(--neutral-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--neutral-700);
}

/* ===== UTILITY ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-700);
    color: white;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    background: var(--plum-800);
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}

.btn-amber {
    background: var(--amber-500);
    color: var(--neutral-900);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-amber:hover {
    background: var(--amber-600);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    color: var(--plum-700);
    border: 2px solid var(--plum-200);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: white;
    border-color: var(--plum-400);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

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

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--neutral-500);
    max-width: 520px;
    line-height: 1.7;
}

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

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(233, 213, 255, 0.4);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--plum-700);
}

.logo svg {
    color: var(--plum-600);
}

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

.nav a {
    padding: 8px 18px;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--neutral-600);
    border-radius: var(--radius-xl);
    transition: all 0.25s ease;
}

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

.nav .btn {
    margin-left: 8px;
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 0.25s ease;
}

.mobile-toggle:hover {
    background: var(--plum-50);
}

.hamburger {
    position: relative;
    width: 22px;
    height: 16px;
    display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger::before { top: 0; }
.hamburger span { top: 7px; }
.hamburger::after { bottom: 0; }

.mobile-toggle[aria-expanded="true"] .hamburger::before {
    top: 7px;
    transform: rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    padding: 120px 0 0;
    background: linear-gradient(135deg, var(--plum-50) 0%, #fff7ed 50%, var(--amber-50) 100%);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-wave {
    margin-top: -1px;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--plum-700);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--plum-200);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--neutral-900);
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--plum-600) 0%, var(--plum-400) 50%, var(--amber-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--neutral-500);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plum-700);
}

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

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--plum-200);
}

/* Hero image */
.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(124, 58, 237, 0.15);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--neutral-800);
    animation: float 3s ease-in-out infinite;
}

.hero-floating-card svg {
    color: var(--plum-600);
    flex-shrink: 0;
}

.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

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

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
    border-color: var(--plum-100);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    color: var(--accent);
    transition: transform 0.3s ease;
}

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

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

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

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: white;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.12);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5/6;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.about-experience {
    position: absolute;
    top: -20px;
    right: 30px;
    background: linear-gradient(135deg, var(--plum-700), var(--plum-600));
    color: white;
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.3);
}

.about-experience .exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience .exp-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.about-content .section-title {
    margin-top: 8px;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--neutral-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--neutral-700);
    font-weight: 500;
}

.feature-check {
    color: var(--plum-600);
    flex-shrink: 0;
}

/* ===== CTA STRIP ===== */
.cta-strip {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--plum-700) 0%, var(--plum-800) 60%, #4c1d95 100%);
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-strip::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
}

.cta-actions {
    flex-shrink: 0;
}

/* ===== AREAS ===== */
.areas {
    padding: 100px 0;
    background: var(--neutral-50);
}

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

.area-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--neutral-700);
    border: 1px solid var(--neutral-200);
    transition: all 0.25s ease;
}

.area-item:hover {
    border-color: var(--plum-300);
    color: var(--plum-700);
    background: var(--plum-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.08);
}

.area-item svg {
    color: var(--plum-500);
    flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--plum-50) 0%, white 100%);
}

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

.contact-desc {
    font-size: 1.0625rem;
    color: var(--neutral-500);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

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

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

.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neutral-400);
    margin-bottom: 4px;
}

.contact-item p, .contact-item a {
    font-size: 1rem;
    color: var(--neutral-700);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--plum-600);
    text-decoration: underline;
}

/* Form */
.contact-form-wrap {
    background: white;
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
    border: 1px solid var(--plum-100);
}

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

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: var(--neutral-50);
    transition: all 0.25s ease;
    outline: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: var(--plum-700);
}

.form-success svg {
    color: var(--plum-500);
}

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

/* ===== FOOTER ===== */
.site-footer {
    background: var(--neutral-900);
    color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding: 80px 0 48px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand .logo svg {
    color: var(--plum-400);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s ease;
}

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

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

.footer-contact p {
    font-size: 0.9375rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

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

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

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--plum-100);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav a {
        width: 100%;
        padding: 14px 18px;
    }

    .nav .btn {
        margin-left: 0;
        justify-content: center;
    }

    .hero {
        padding: 100px 0 0;
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-bottom: 60px;
    }

    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-stats {
        gap: 20px;
    }

    .services {
        padding: 80px 0;
    }

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

    .service-card {
        padding: 28px 24px;
    }

    .about {
        padding: 80px 0;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-img-secondary {
        right: -10px;
        bottom: -20px;
    }

    .about-experience {
        top: -10px;
        right: 10px;
    }

    .cta-strip {
        padding: 60px 0;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .areas {
        padding: 80px 0;
    }

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

    .contact {
        padding: 80px 0;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 60px 0 36px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

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

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