/* CSS 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: #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;
    
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
}

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

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    color: var(--stone-800);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--stone-900);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

h4 {
    font-size: 1rem;
    font-weight: 500;
}

/* Section Styles */
.section-tag {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    margin-bottom: var(--space-md);
}

.section-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--plum-400), var(--amber-400));
    margin-bottom: var(--space-xl);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--plum-700);
    color: #ffffff;
    border: 1px solid var(--plum-700);
}

.btn-primary:hover {
    background: var(--plum-800);
    border-color: var(--plum-800);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(126, 34, 206, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--stone-700);
    border: 1px solid var(--stone-300);
}

.btn-outline:hover {
    border-color: var(--plum-400);
    color: var(--plum-700);
}

.btn-small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-light {
    background: #ffffff;
    color: var(--plum-800);
    border: 1px solid #ffffff;
}

.btn-light:hover {
    background: var(--plum-50);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--stone-100);
    transition: all 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--stone-900);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-menu a {
    font-size: 0.9375rem;
    color: var(--stone-600);
}

.nav-menu a:hover {
    color: var(--plum-600);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--stone-700);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: var(--space-3xl);
    background: linear-gradient(135deg, var(--plum-50) 0%, #ffffff 50%, var(--amber-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-md);
    display: block;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--stone-900);
    margin-bottom: var(--space-md);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-value {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--stone-900);
}

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

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--stone-200);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 200px 200px 20px 20px;
    position: relative;
    z-index: 1;
}

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--plum-200);
    border-radius: 200px 200px 20px 20px;
    z-index: 0;
}

/* Services Section */
.services {
    padding: var(--space-3xl) 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    padding: var(--space-xl);
    border: 1px solid var(--stone-200);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--plum-200);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(126, 34, 206, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--plum-50);
    color: var(--plum-700);
    margin-bottom: var(--space-md);
}

.service-card h3 {
    margin-bottom: var(--space-xs);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.6;
}

/* Why Us Section */
.why-us {
    padding: var(--space-3xl) 0;
    background: var(--stone-50);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.why-content .section-tag,
.why-content .section-title {
    text-align: left;
}

.why-content .section-line {
    margin-bottom: var(--space-xl);
}

.why-intro {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.why-feature {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.why-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--plum-600);
    margin-top: 0.125rem;
}

.why-feature h4 {
    margin-bottom: 0.25rem;
    color: var(--stone-900);
}

.why-feature p {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.5;
}

.why-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 16px;
}

/* Process Section */
.process {
    padding: var(--space-3xl) 0;
    background: #ffffff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.process-step {
    position: relative;
    padding: var(--space-lg);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: 0;
    width: 1px;
    height: calc(100% - 80px);
    background: var(--stone-200);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--plum-200);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.step-content h3 {
    margin-bottom: var(--space-xs);
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-800) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(251, 191, 36, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

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

.cta h2 {
    color: #ffffff;
    font-family: var(--font-serif);
    margin-bottom: var(--space-md);
}

.cta p {
    color: var(--plum-200);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--stone-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
}

.contact-info .section-line {
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

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

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--stone-900);
}

.contact-item p,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.6;
}

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

/* Contact Form */
.contact-form-wrapper {
    background: #ffffff;
    padding: var(--space-xl);
    border-radius: 16px;
    border: 1px solid var(--stone-200);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--stone-200);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--stone-800);
    background: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--plum-400);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    text-align: center;
    color: var(--plum-700);
}

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

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

/* Footer */
.footer {
    padding: var(--space-3xl) 0 var(--space-lg);
    background: var(--stone-900);
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: var(--stone-400);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4,
.footer-hours h4 {
    color: #ffffff;
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-links ul,
.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-hours li span {
    font-size: 0.9375rem;
    color: var(--stone-400);
}

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

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
}

.footer-hours span:last-child {
    color: var(--stone-400);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--stone-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--stone-500);
}

.footer-bottom a {
    color: var(--stone-400);
}

.footer-bottom a:hover {
    color: var(--plum-400);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--stone-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-trust {
        flex-wrap: wrap;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-image img {
        height: 500px;
    }
    
    .why-image img {
        height: 400px;
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .process-step,
    .why-feature {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .service-card.visible,
    .process-step.visible,
    .why-feature.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
