/* ============================================
   VARIABLES
============================================ */
:root {
    --plum-900: #1a0f1e;
    --plum-800: #2d1a33;
    --plum-700: #3d2247;
    --plum-600: #5a2d6b;
    --plum-500: #6B3A6E;
    --plum-400: #8a5294;
    --plum-300: #b07db8;
    --plum-200: #d4b5d8;
    --plum-100: #f0e0f4;
    --plum-50:  #f9f2fc;

    --amber-600: #b87800;
    --amber-500: #d4920b;
    --amber-400: #e8a817;
    --amber-300: #f0c04a;
    --amber-200: #f7d97a;
    --amber-100: #fdf0c4;
    --amber-50:  #fefce8;

    --neutral-900: #0f172a;
    --neutral-800: #1e293b;
    --neutral-700: #334155;
    --neutral-600: #475569;
    --neutral-500: #64748b;
    --neutral-400: #94a3b8;
    --neutral-300: #cbd5e1;
    --neutral-200: #e2e8f0;
    --neutral-100: #f1f5f9;
    --neutral-50:  #f8fafc;
    --white: #ffffff;

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

    --shadow-sm: 0 1px 2px rgba(26,15,30,0.06);
    --shadow-md: 0 4px 16px rgba(26,15,30,0.08);
    --shadow-lg: 0 8px 32px rgba(26,15,30,0.12);
    --shadow-xl: 0 16px 48px rgba(26,15,30,0.16);

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

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background: var(--white);
    line-height: 1.6;
    -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; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 0.75rem 1.5rem;
    background: var(--plum-600);
    color: var(--white);
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* ============================================
   TYPOGRAPHY
============================================ */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 0.75rem;
}

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

.section-sub {
    font-size: 1.05rem;
    color: var(--neutral-600);
    max-width: 560px;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--plum-500);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(107,58,110,0.3);
}
.btn-primary:hover {
    background: var(--plum-600);
    box-shadow: 0 4px 16px rgba(107,58,110,0.4);
    transform: translateY(-1px);
}

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

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   HEADER
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow var(--transition);
}
.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;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--plum-500);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--neutral-900);
}

/* NAV */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu li a {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: all var(--transition);
}
.nav-menu li a:hover {
    color: var(--plum-500);
    background: var(--plum-50);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-right: -0.5rem;
}
.nav-toggle:hover { background: var(--neutral-100); }
.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--neutral-700);
    position: relative;
    transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--neutral-700);
    left: 0;
    transition: all var(--transition);
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ============================================
   HERO
============================================ */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(135deg, var(--plum-50) 0%, var(--white) 50%, var(--amber-50) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin-bottom: 1rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--neutral-900);
    margin-bottom: 1.5rem;
}

.hero-headline .accent {
    color: var(--plum-500);
    display: inline;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-200);
}

.stat { display: flex; flex-direction: column; }
.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--plum-500);
    line-height: 1;
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-top: 0.25rem;
}
.stat-divider {
    width: 1px;
    background: var(--neutral-200);
    align-self: stretch;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-image-accent {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255,255,255,0.15);
    pointer-events: none;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--amber-300);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(40px);
    pointer-events: none;
}

/* ============================================
   ABOUT
============================================ */
.about {
    padding: 7rem 0;
    background: var(--white);
}

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

.about-image {
    position: relative;
}

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

.about-image-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--neutral-800);
}

.badge-icon {
    color: var(--plum-500);
    flex-shrink: 0;
}

.about-content .section-title { margin-bottom: 1.5rem; }
.about-content p {
    color: var(--neutral-600);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.about-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--neutral-700);
}

.about-list li svg {
    color: var(--amber-500);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   SERVICES
============================================ */
.services {
    padding: 7rem 0;
    background: var(--neutral-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header .section-sub { margin: 0 auto; }

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-100);
    transition: all var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--plum-200);
}

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--plum-500);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.75rem;
}

.service-card > p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--neutral-700);
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--amber-400);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   AREAS
============================================ */
.areas {
    padding: 7rem 0;
    background: var(--white);
}

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

.area-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}
.area-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.area-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.area-card-content {
    padding: 1.25rem;
}

.area-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.375rem;
}

.area-card-content p {
    font-size: 0.875rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials {
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-700) 100%);
    color: var(--white);
}

.testimonials .section-eyebrow { color: var(--amber-300); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-header { margin-bottom: 4rem; }

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

.testimonial-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: all var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--amber-400);
    margin-bottom: 1.25rem;
}

.testimonial-card blockquote {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
}
.testimonial-card footer cite {
    font-style: normal;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--amber-300);
}

/* ============================================
   CTA BANNER
============================================ */
.cta-banner {
    padding: 5rem 0;
    background: var(--neutral-900);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.cta-title { color: var(--white); margin-bottom: 0.75rem; }
.cta-text {
    font-size: 1.05rem;
    color: var(--neutral-400);
    line-height: 1.7;
    max-width: 520px;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT
============================================ */
.contact {
    padding: 7rem 0;
    background: var(--neutral-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info .section-title { margin-bottom: 1rem; }
.contact-info > p {
    color: var(--neutral-600);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-item-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neutral-500);
}
.contact-item a, .contact-item address {
    font-size: 1rem;
    color: var(--plum-500);
    font-style: normal;
    line-height: 1.6;
}
.contact-item a:hover { color: var(--plum-600); text-decoration: underline; }

.contact-map { border-radius: var(--radius-md); overflow: hidden; }

/* FORM */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-100);
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: var(--white);
    transition: all var(--transition);
    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(107,58,110,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--neutral-400); }

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

.form-note {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-top: 0.75rem;
    text-align: center;
}

/* Success state */
.form-success {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.form-success .success-icon { color: #16a34a; }
.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--neutral-900);
}
.form-success p { color: var(--neutral-600); font-size: 0.9375rem; }
.form-success .btn { margin-top: 0.5rem; }

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a {
    font-size: 0.9375rem;
    color: var(--neutral-400);
    transition: color var(--transition);
}
.footer-nav a:hover { color: var(--amber-400); }

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.8;
}
.footer-contact a { color: var(--amber-400); transition: color var(--transition); }
.footer-contact a:hover { color: var(--amber-300); }

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

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--neutral-500);
}

/* ============================================
   ANIMATIONS
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .hero-grid { gap: 2.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; justify-self: center; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-menu li a { padding: 0.75rem 1rem; font-size: 1rem; }

    .hero-grid { grid-template-columns: 1fr; padding: 2.5rem 0 4rem; }
    .hero-image { order: -1; }
    .hero-image-wrapper { border-radius: var(--radius-lg); }
    .hero-image-wrapper img { height: 400px; }
    .hero-stats { gap: 1.5rem; }

    .about-grid { grid-template-columns: 1fr; }
    .about-image { max-width: 480px; }
    .about-image img { height: 420px; }
    .about-image-badge { right: 12px; bottom: -12px; }

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

    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-grid .testimonial-card:last-child { grid-column: span 1; max-width: 100%; }

    .cta-grid { grid-template-columns: 1fr; }
    .cta-actions { justify-content: flex-start; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .stat-divider { display: none; }
    .areas-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 1.5rem; }
}
