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

:root {
    --plum-50:  #f5f0f6;
    --plum-100: #ece0eb;
    --plum-200: #d9bfd6;
    --plum-300: #be92b8;
    --plum-400: #a06499;
    --plum-500: #8a4478;
    --plum-600: #6b3a6e;
    --plum-700: #562d56;
    --plum-800: #3f203f;
    --plum-900: #2a1529;
    --amber-50:  #fdf6e8;
    --amber-100: #fbebcd;
    --amber-200: #f8d69a;
    --amber-300: #f0b960;
    --amber-400: #e8a032;
    --amber-500: #d4943a;
    --amber-600: #b87a28;
    --amber-700: #8c5a1c;
    --amber-800: #5e3c11;
    --amber-900: #3a240a;
    --neutral-50:  #fafafa;
    --neutral-100: #f4f4f5;
    --neutral-200: #e4e4e7;
    --neutral-300: #d4d4d8;
    --neutral-400: #a1a1aa;
    --neutral-500: #71717a;
    --neutral-600: #52525b;
    --neutral-700: #3f3f46;
    --neutral-800: #27272a;
    --neutral-900: #18181b;
    --neutral-950: #09090b;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
    --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

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

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

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

a { color: var(--plum-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--plum-700); }

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

.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--plum-700); color: #fff;
    padding: 8px 16px; border-radius: var(--radius-sm);
    z-index: 200; font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* ── Typography ──────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--neutral-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }
p { color: var(--neutral-600); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
    padding: 12px 28px; border-radius: var(--radius-sm);
    border: 2px solid transparent; cursor: pointer;
    transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
    background: var(--plum-600); color: #fff;
    border-color: var(--plum-600);
}
.btn-primary:hover {
    background: var(--plum-700); border-color: var(--plum-700);
    color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent; color: var(--plum-600);
    border-color: var(--plum-600);
}
.btn-outline:hover {
    background: var(--plum-600); color: #fff;
}
.btn-ghost {
    background: transparent; color: #fff;
    border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
    background: rgba(255,255,255,.1); border-color: #fff; color: #fff;
}
.btn-nav {
    background: var(--amber-500); color: var(--neutral-900);
    border-color: var(--amber-500); font-size: 0.88rem; padding: 10px 20px;
}
.btn-nav:hover {
    background: var(--amber-600); border-color: var(--amber-600);
    color: var(--neutral-900);
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Section Tags ────────────────────────────────────── */
.section-tag {
    display: inline-block;
    font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--amber-700); background: var(--amber-50);
    border: 1px solid var(--amber-200);
    padding: 5px 14px; border-radius: 50px; margin-bottom: 16px;
}
.section-desc { color: var(--neutral-500); font-size: 1.05rem; max-width: 560px; margin-top: 12px; }

/* ── Header ──────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,250,250,.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

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

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { flex-shrink: 0; }
.logo-text {
    font-family: var(--font-body); font-weight: 700; font-size: 1.1rem;
    color: var(--neutral-900); letter-spacing: -0.02em;
}
.logo-accent { color: var(--plum-600); }

.main-nav ul {
    display: flex; list-style: none; gap: 32px; align-items: center;
}
.main-nav a:not(.btn) {
    font-size: 0.9rem; font-weight: 500; color: var(--neutral-600);
    position: relative;
}
.main-nav a:not(.btn)::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--plum-600);
    transition: width var(--transition);
}
.main-nav a:not(.btn):hover { color: var(--plum-600); }
.main-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 24px; position: relative;
}
.nav-toggle-bar {
    display: block; width: 100%; height: 2px;
    background: var(--neutral-700); border-radius: 2px;
    position: absolute; left: 0;
    transition: all var(--transition);
}
.nav-toggle-bar:nth-child(1) { top: 0; }
.nav-toggle-bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle-bar:nth-child(3) { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    top: 50%; transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    bottom: 50%; transform: translateY(50%) rotate(-45deg);
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
    padding-top: 72px;
    background: linear-gradient(135deg, var(--plum-50) 0%, var(--neutral-50) 50%, var(--amber-50) 100%);
    min-height: 90vh; display: flex; align-items: center;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.hero-content { padding: 40px 0; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.82rem; font-weight: 600; color: var(--plum-600);
    background: rgba(107,58,110,.08); padding: 6px 14px;
    border-radius: 50px; margin-bottom: 24px;
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--amber-500); display: block;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.3); }
}

.hero h1 { margin-bottom: 20px; color: var(--neutral-900); }
.hero-desc {
    font-size: 1.1rem; color: var(--neutral-500);
    line-height: 1.75; margin-bottom: 32px; max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
    display: flex; gap: 0; align-items: center;
    padding-top: 32px; border-top: 1px solid var(--neutral-200);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-family: var(--font-heading); font-size: 1.8rem;
    font-weight: 700; color: var(--plum-600); line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--neutral-500); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.stat-divider {
    width: 1px; height: 40px; background: var(--neutral-200);
    margin: 0 24px; flex-shrink: 0;
}

.hero-image { position: relative; }
.hero-img-wrap {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); position: relative; z-index: 1;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 640/720; }
.hero-img-accent {
    position: absolute; top: -20px; right: -20px;
    width: 120px; height: 120px; border-radius: var(--radius-lg);
    background: var(--amber-400); z-index: 0; opacity: .3;
}

/* ── Services ────────────────────────────────────────── */
.services { padding: 100px 0; background: var(--neutral-50); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 12px; }
.section-header .section-desc { margin-left: auto; margin-right: auto; }

.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff; border-radius: var(--radius-md);
    padding: 32px 28px; border: 1px solid var(--neutral-200);
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.service-icon {
    width: 52px; height: 52px; border-radius: var(--radius-sm);
    background: var(--plum-50); color: var(--plum-600);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; color: var(--neutral-900); }
.service-card p { font-size: 0.92rem; line-height: 1.7; color: var(--neutral-500); }

/* ── About ───────────────────────────────────────────── */
.about { padding: 100px 0; background: #fff; }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.about-image { position: relative; }
.about-img-main {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; aspect-ratio: 560/640; object-fit: cover; }
.about-img-float {
    position: absolute; bottom: -30px; right: -30px;
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 4px solid #fff;
}
.about-img-float img { width: 100%; aspect-ratio: 280/200; object-fit: cover; }

.about-content .section-tag { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 20px; }
.about-content > p {
    margin-bottom: 16px; font-size: 1rem; line-height: 1.8;
    color: var(--neutral-600);
}
.about-values { margin-top: 32px; display: grid; gap: 16px; }
.value-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 16px; background: var(--plum-50);
    border-radius: var(--radius-sm);
}
.value-icon { color: var(--amber-600); flex-shrink: 0; margin-top: 2px; }
.value-item span:last-child {
    font-size: 0.92rem; color: var(--neutral-700); font-weight: 500;
}

/* ── Capabilities ────────────────────────────────────── */
.capabilities { padding: 100px 0; background: var(--plum-900); }
.capabilities .section-tag { background: rgba(212,148,58,.15); color: var(--amber-300); border-color: rgba(212,148,58,.3); }
.capabilities-header { text-align: center; margin-bottom: 60px; }
.capabilities-header h2 { color: #fff; }
.capabilities-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.capability {
    padding: 32px 28px; border-radius: var(--radius-md);
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    transition: all var(--transition);
}
.capability:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(212,148,58,.3);
    transform: translateY(-4px);
}
.capability-num {
    font-family: var(--font-heading); font-size: 2.4rem;
    font-weight: 700; color: var(--amber-500); line-height: 1;
    margin-bottom: 12px;
}
.capability h3 {
    font-family: var(--font-body); font-size: 1.05rem;
    font-weight: 600; color: #fff; margin-bottom: 8px;
}
.capability p { font-size: 0.88rem; color: var(--plum-200); line-height: 1.7; }

/* ── Why Us ──────────────────────────────────────────── */
.why-us { padding: 100px 0; background: var(--neutral-50); }
.why-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.why-content .section-tag { margin-bottom: 16px; }
.why-content h2 { margin-bottom: 16px; }
.why-intro { font-size: 1.05rem; line-height: 1.8; margin-bottom: 36px; color: var(--neutral-500); }
.why-list { display: grid; gap: 20px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item-marker {
    width: 32px; height: 32px; flex-shrink: 0;
    background: var(--amber-400); border-radius: 50%;
    margin-top: 2px; position: relative;
}
.why-item-marker::after {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--neutral-900);
}
.why-item h4 { margin-bottom: 4px; color: var(--neutral-800); }
.why-item p { font-size: 0.9rem; line-height: 1.65; }
.why-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-image img { width: 100%; aspect-ratio: 520/680; object-fit: cover; }

/* ── CTA Banner ──────────────────────────────────────── */
.cta-banner { padding: 80px 0; background: var(--plum-700); }
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-tag { background: rgba(212,148,58,.2); color: var(--amber-300); border-color: rgba(212,148,58,.4); margin-bottom: 20px; }
.cta-inner h2 { color: #fff; margin-bottom: 16px; }
.cta-inner > p { color: var(--plum-200); font-size: 1.05rem; margin-bottom: 36px; line-height: 1.75; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Contact ─────────────────────────────────────────── */
.contact { padding: 100px 0; background: #fff; }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 36px; line-height: 1.75; }

.contact-details { display: grid; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: var(--plum-50); color: var(--plum-600);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-item strong {
    display: block; font-size: 0.78rem; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--neutral-400); margin-bottom: 4px;
    font-weight: 600;
}
.contact-item p { font-size: 0.95rem; color: var(--neutral-700); line-height: 1.6; }
.contact-item a { color: var(--plum-600); }
.contact-item a:hover { color: var(--plum-700); }

.contact-form-wrap {
    background: var(--neutral-50); border-radius: var(--radius-lg);
    padding: 40px; border: 1px solid var(--neutral-200);
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-note { font-size: 0.88rem; color: var(--neutral-400); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.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: 11px 14px; border: 1px solid var(--neutral-300);
    border-radius: var(--radius-sm); font-family: var(--font-body);
    font-size: 0.92rem; color: var(--neutral-800);
    background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--plum-400);
    box-shadow: 0 0 0 3px rgba(107,58,110,.1);
}
.form-group textarea { resize: vertical; }
.form-success {
    display: flex; align-items: center; gap: 10px;
    margin-top: 16px; padding: 14px 16px;
    background: #ecfdf5; color: #065f46;
    border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500;
}

/* ── Map ─────────────────────────────────────────────── */
.map-section { background: var(--neutral-100); }
.map-container { border-radius: 0; overflow: hidden; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--neutral-900); padding: 60px 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p { color: var(--neutral-400); font-size: 0.9rem; margin-top: 16px; line-height: 1.75; max-width: 300px; }
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body); font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--neutral-400); margin-bottom: 16px; font-weight: 600;
}
.footer-links ul,
.footer-contact ul { list-style: none; display: grid; gap: 10px; }
.footer-links a,
.footer-contact a {
    font-size: 0.9rem; color: var(--neutral-300);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--amber-400); }
.footer-contact li:not(:last-child) a { margin-bottom: 2px; }
.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding: 20px 0; text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--neutral-500); }

/* ── Scroll Reveal (progressive enhancement) ─────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .why-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-image { order: -1; max-width: 500px; }
    .hero-content { padding: 20px 0; }
    .services-grid,
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-img-float { right: 16px; bottom: -20px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; z-index: 110; }
    .main-nav {
        position: fixed; top: 0; right: 0;
        width: 280px; height: 100vh;
        background: #fff; padding: 80px 32px 32px;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 105;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul {
        flex-direction: column; gap: 20px; align-items: flex-start;
    }
    .main-nav a:not(.btn) { font-size: 1.05rem; }
    .main-nav .btn-nav { margin-top: 16px; width: 100%; justify-content: center; }
    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .stat-divider { display: none; }
    .services-grid,
    .capabilities-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .contact-form-wrap { padding: 24px; }
}
