/* ===== CSS Custom Properties ===== */
:root {
    --charcoal-900: #0f0f0f;
    --charcoal-800: #1a1a1a;
    --charcoal-700: #2d2d2d;
    --charcoal-600: #3d3d3d;
    --charcoal-500: #4a4a4a;
    --charcoal-400: #6b6b6b;
    --charcoal-300: #9a9a9a;
    --charcoal-200: #c8c8c8;
    --charcoal-100: #e8e8e8;
    --charcoal-50: #f5f5f5;
    
    --coral-600: #e8553a;
    --coral-500: #ff6b4a;
    --coral-400: #ff8566;
    --coral-300: #ffa088;
    --coral-200: #ffc4b5;
    --coral-100: #ffe5df;
    --coral-50: #fff5f2;
    
    --white: #ffffff;
    --black: #000000;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2);
}

/* ===== 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);
    color: var(--charcoal-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal-900);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--charcoal-500);
    max-width: 600px;
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral-500);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 107, 74, 0.3);
}

.btn-primary:hover {
    background: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 74, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal-800);
    border: 1.5px solid var(--charcoal-200);
}

.btn-outline:hover {
    border-color: var(--coral-500);
    color: var(--coral-500);
}

.btn-full {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-accent {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral-500);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--charcoal-800);
}

.navbar.scrolled .logo-text {
    color: var(--charcoal-900);
}

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

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal-600);
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--coral-500);
}

.nav-cta {
    background: var(--charcoal-800);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--coral-500) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--charcoal-800);
    transition: all 0.3s ease;
    display: block;
}

.navbar.scrolled .hamburger {
    background: var(--charcoal-900);
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: var(--charcoal-900);
    padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--coral-400), var(--coral-600));
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #6366f1, #4f46e5);
    bottom: -5%;
    left: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--coral-300), var(--coral-500));
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grain-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--coral-200);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-subheadline {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ===== Services ===== */
.services {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    padding: var(--space-xl);
    background: var(--charcoal-50);
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--charcoal-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-50);
    border-radius: var(--radius-sm);
    color: var(--coral-500);
    margin-bottom: var(--space-md);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--coral-500);
    color: var(--white);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: var(--space-sm);
}

.service-description {
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    line-height: 1.7;
}

/* ===== About ===== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--charcoal-50);
}

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

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

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--coral-100);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: var(--space-lg);
}

.about-text {
    font-size: 1.0625rem;
    color: var(--charcoal-500);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

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

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-50);
    border-radius: var(--radius-sm);
    color: var(--coral-500);
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 0.25rem;
}

.value-desc {
    font-size: 0.875rem;
    color: var(--charcoal-400);
}

/* ===== Why Us ===== */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.why-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

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

.why-card {
    padding: var(--space-xl);
    background: var(--charcoal-50);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.why-card:hover {
    background: var(--charcoal-800);
}

.why-card:hover .why-number {
    color: var(--coral-400);
}

.why-card:hover .why-title {
    color: var(--white);
}

.why-card:hover .why-text {
    color: rgba(255, 255, 255, 0.6);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--charcoal-100);
    line-height: 1;
    margin-bottom: var(--space-md);
    transition: color 0.3s ease;
}

.why-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: var(--space-sm);
    transition: color 0.3s ease;
}

.why-text {
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    line-height: 1.7;
    transition: color 0.3s ease;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--charcoal-900);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--charcoal-900) 0%, #1a1a2e 50%, var(--charcoal-800) 100%);
}

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

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

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

/* ===== Contact ===== */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--charcoal-50);
}

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

.contact-info .section-title {
    margin-bottom: var(--space-md);
}

.contact-text {
    font-size: 1.0625rem;
    color: var(--charcoal-500);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

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

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

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--coral-500);
    box-shadow: var(--shadow-sm);
}

.contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--charcoal-400);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1rem;
    color: var(--charcoal-800);
}

.contact-value a {
    color: var(--charcoal-800);
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: var(--coral-500);
}

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

.contact-form-wrapper {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal-600);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal-800);
    background: var(--charcoal-50);
    border: 1.5px solid var(--charcoal-100);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--coral-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

.form-input::placeholder {
    color: var(--charcoal-300);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    text-align: center;
    gap: var(--space-md);
}

.form-success.show {
    display: flex;
}

.success-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-50);
    border-radius: 50%;
    color: var(--coral-500);
}

.form-success p {
    font-size: 1rem;
    color: var(--charcoal-600);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--charcoal-900);
    padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer-logo {
    margin-bottom: var(--space-md);
    display: inline-block;
}

.footer-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-md);
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

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

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--coral-400);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-note {
    font-size: 0.8125rem !important;
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-lg);
        padding: var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right 0.4s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.125rem;
        color: var(--charcoal-800);
    }
    
    .hero {
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .stat-divider {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
