/* ===== CUSTOM PROPERTIES ===== */
: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: #4a148c;
    --plum-950: #2d0a52;

    --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;

    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

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

    --shadow-sm: 0 1px 3px rgba(74, 20, 140, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(74, 20, 140, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(74, 20, 140, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 60px rgba(74, 20, 140, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);

    --transition-fast: 0.2s ease;
    --transition-med: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-800);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
address { font-style: normal; }

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

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum-800);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus {
    top: 16px;
    outline: 2px solid var(--amber-400);
    outline-offset: 2px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--plum-950);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

.btn-amber {
    background: var(--amber-500);
    color: var(--gray-900);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-amber:hover {
    background: var(--amber-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-plum {
    background: var(--plum-700);
    color: #fff;
    box-shadow: 0 4px 14px rgba(126, 34, 206, 0.3);
}
.btn-plum:hover {
    background: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 34, 206, 0.4);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--plum-800);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== 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);
    border-bottom: 1px solid rgba(74, 20, 140, 0.06);
    transition: box-shadow var(--transition-fast);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

/* ===== LOGO ===== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo svg { color: var(--plum-700); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-primary {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--plum-900);
    letter-spacing: -0.02em;
}
.logo-secondary {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--plum-600);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logo-light .logo-primary { color: #fff; }
.logo-light .logo-secondary { color: var(--plum-200); }
.logo-light svg { color: var(--plum-300); }

/* ===== NAV ===== */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}
.main-nav a {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}
.main-nav a:hover {
    color: var(--plum-700);
    background: var(--plum-50);
}

/* ===== NAV TOGGLE ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--plum-800);
    border-radius: 2px;
    transition: all var(--transition-fast);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--plum-950);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/5994627/pexels-photo-5994627.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1280');
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 10, 82, 0.88) 0%,
        rgba(74, 20, 140, 0.78) 50%,
        rgba(107, 33, 168, 0.70) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: var(--amber-300);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-headline {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-headline .text-accent {
    color: var(--amber-400);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 500;
}
.trust-item svg { color: var(--amber-400); flex-shrink: 0; }

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(8px); }
    60% { transform: translateX(-50%) translateY(4px); }
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--plum-600);
    background: var(--plum-50);
    border: 1px solid var(--plum-200);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    letter-spacing: -0.015em;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--gray-50);
}
.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(--gray-200);
    transition: all var(--transition-med);
}
.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    color: var(--plum-700);
    margin-bottom: 20px;
    transition: all var(--transition-fast);
}
.service-card:hover .service-icon {
    background: var(--plum-700);
    color: #fff;
}
.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--plum-900);
}
.service-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: #fff;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
}
.about-image-wrap img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: var(--amber-200);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.6;
}
.about-content .section-tag { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 20px; text-align: left; }
.about-intro {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-content > p:last-of-type {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 32px;
}

.about-values { display: flex; flex-direction: column; gap: 20px; }
.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.value-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--amber-100);
    border-radius: var(--radius-md);
    color: var(--amber-700);
}
.value-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--plum-900);
    margin-bottom: 2px;
}
.value-item span {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-950) 100%);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.cta-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 12px;
}
.cta-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    max-width: 520px;
}

/* ===== LOCATION ===== */
.location {
    padding: 100px 0;
    background: var(--gray-50);
}
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.location-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}
.info-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-md);
}
.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    color: var(--plum-700);
}
.info-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--plum-900);
    margin-bottom: 4px;
}
.info-card p, .info-card a {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}
.info-card a:hover { color: var(--plum-700); text-decoration: underline; }

.location-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}
.map-placeholder {
    background: linear-gradient(135deg, var(--plum-100), var(--plum-200));
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: 320px;
    justify-content: center;
}
.map-placeholder svg { color: var(--plum-500); opacity: 0.7; }
.map-placeholder p {
    font-size: 1rem;
    color: var(--plum-800);
    font-weight: 500;
    line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: #fff;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info .section-title { margin-bottom: 16px; text-align: left; }
.contact-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 32px;
}
.contact-desc a { color: var(--plum-700); font-weight: 600; }
.contact-desc a:hover { text-decoration: underline; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
    font-size: 0.95rem;
}
.detail-item svg { color: var(--plum-500); flex-shrink: 0; }
.detail-item a { color: var(--plum-700); font-weight: 600; }
.detail-item a:hover { text-decoration: underline; }

/* ===== FORM ===== */
.contact-form {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--plum-900);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-800);
    background: #fff;
    transition: all var(--transition-fast);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group textarea { resize: vertical; min-height: 100px; }
.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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-md);
    color: #065f46;
    font-weight: 500;
    font-size: 15px;
    margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success svg { color: #10b981; flex-shrink: 0; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--plum-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}
.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #fff;
    margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--amber-400); }
.footer-contact address p {
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.footer-contact a { color: var(--amber-400); }
.footer-contact a:hover { text-decoration: underline; }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: #fff;
        box-shadow: var(--shadow-xl);
        padding: 100px 32px 40px;
        transform: translateX(100%);
        transition: transform var(--transition-med);
        z-index: 999;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .main-nav a {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: var(--radius-md);
    }
    .main-nav .btn-amber {
        text-align: center;
        margin-top: 12px;
        justify-content: center;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-med);
    }
    .mobile-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .hero-content { padding: 120px 24px 100px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .hero-trust { gap: 20px; }

    .services { padding: 72px 0; }
    .services-grid { grid-template-columns: 1fr; }

    .about { padding: 72px 0; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-wrap img { height: 320px; }
    .about-accent { display: none; }
    .about-content .section-title { text-align: center; }
    .about-content .section-tag { display: block; text-align: center; }

    .cta-banner { padding: 60px 0; }
    .cta-inner { flex-direction: column; text-align: center; }

    .location { padding: 72px 0; }
    .location-grid { grid-template-columns: 1fr; }

    .contact { padding: 72px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-info .section-title { text-align: center; }
    .contact-info .section-tag { display: block; text-align: center; }
    .contact-desc { text-align: center; }
    .contact-details { align-items: center; }
    .contact-form { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-brand p { margin: 16px auto 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-headline { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
    .service-card { padding: 28px 22px; }
    .contact-form { padding: 20px; }
}
