/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

: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: #581c87;
    --plum-950: #3b0764;

    --amber-50:  #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;

    --gray-50:  #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --gray-950: #0a0a0a;

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

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-800);
    background: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

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

ul { list-style: none; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--plum-700);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 1rem;
}

/* ── Container ────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Header ───────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.logo-mark {
    color: var(--plum-700);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.01em;
}

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

.btn-nav {
    background: var(--plum-700) !important;
    color: #fff !important;
    font-weight: 500 !important;
    margin-left: 0.5rem;
}
.btn-nav:hover {
    background: var(--plum-800) !important;
    color: #fff !important;
}

/* Nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}
.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Buttons ──────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8125rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-700);
    color: #fff;
    box-shadow: 0 2px 8px rgba(126,34,206,0.25);
}
.btn-primary:hover {
    background: var(--plum-800);
    box-shadow: 0 4px 16px rgba(126,34,206,0.35);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--plum-700);
    border: 1px solid var(--plum-200);
}
.btn-ghost:hover {
    background: var(--plum-50);
    border-color: var(--plum-400);
}

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

/* ── Hero ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--plum-900) 0%,
        var(--plum-700) 30%,
        var(--plum-600) 50%,
        var(--amber-600) 80%,
        var(--amber-400) 100%
    );
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(88,28,135,0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245,158,11,0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding-top: 2rem;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-300);
    margin-bottom: 1.5rem;
}

.hero-tagline::before,
.hero-tagline::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--amber-400);
    opacity: 0.5;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 500;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline .accent {
    color: var(--amber-300);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: var(--amber-500);
    color: var(--gray-900);
    box-shadow: 0 4px 20px rgba(245,158,11,0.4);
}
.hero-actions .btn-primary:hover {
    background: var(--amber-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245,158,11,0.5);
}

.hero-actions .btn-ghost {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.hero-actions .btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.hero-scroll-hint svg {
    animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ── Section shared ───────────────────────────────── */
.section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: 0.875rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── Services ─────────────────────────────────────── */
.services {
    background: var(--gray-50);
}

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

.service-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--plum-50);
    color: var(--plum-700);
    margin-bottom: 1.25rem;
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: var(--plum-100);
}

.service-card h3 {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.625rem;
    letter-spacing: -0.01em;
}

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

/* ── About ────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 60%;
    height: 40%;
    background: linear-gradient(135deg, var(--plum-200), var(--amber-200));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.6;
}

.about-content {
    max-width: 480px;
}

.about-body {
    font-size: 1.0625rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-details {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.about-detail {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.5rem;
    align-items: baseline;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
}

.about-detail:last-of-type {
    border-bottom: none;
}

.about-detail dt {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
}

.about-detail dd {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ── Why Us ───────────────────────────────────────── */
.why-us {
    background: var(--gray-950);
    color: #fff;
}

.why-us .section-label {
    color: var(--amber-400);
}

.why-us .section-title {
    color: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.why-item {
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.03);
    transition: all 0.3s ease;
}

.why-item:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.why-number {
    display: block;
    font-size: 3rem;
    font-weight: 600;
    font-family: var(--font-serif);
    color: var(--plum-500);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.why-item h3 {
    font-size: 1.1875rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.why-item p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
}

/* ── CTA Banner ───────────────────────────────────── */
.cta-banner {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--plum-800) 0%,
        var(--plum-600) 50%,
        var(--amber-500) 100%
    );
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta {
    background: #fff;
    color: var(--plum-800);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}
.btn-cta:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-cta-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* ── Contact ──────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-detail dt {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
}

.contact-detail dd {
    font-size: 1.0625rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.contact-detail a {
    color: var(--plum-700);
    transition: color 0.2s;
}
.contact-detail a:hover {
    color: var(--plum-600);
    text-decoration: underline;
}

/* Form */
.contact-form-wrap {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--gray-800);
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

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

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

.form-note {
    font-size: 0.8125rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 2.5rem;
}

.form-success svg {
    color: var(--plum-500);
    margin: 0 auto 1.25rem;
}

.form-success h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ── Footer ───────────────────────────────────────── */
.site-footer {
    background: var(--gray-950);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 0;
}

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

.footer-brand .logo {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--amber-400);
}

.footer-address p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
}

.footer-bottom {
    padding: 1.5rem 0;
}

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

/* ── Scroll reveal (progressive enhancement) ─────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: #fff;
        border-left: 1px solid var(--gray-200);
        padding: 5rem 1.5rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .main-nav.open {
        transform: translateX(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    .main-nav a {
        padding: 0.75rem 0.875rem;
    }
    .btn-nav {
        margin-left: 0 !important;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    .section {
        padding: 5rem 0;
    }

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

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        height: 400px;
    }

    .about-image-accent {
        display: none;
    }

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

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

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

    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-actions {
        flex-direction: column;
    }
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

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

    .hero-headline {
        font-size: 2rem;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }
}
