:root {
    --primary: #2563EB;
    /* Royal Blue */
    --primary-dark: #1E40AF;
    /* Dark Blue */
    --secondary: #475569;
    /* Slate 600 */
    --background: #FFFFFF;
    /* White */
    --surface: #F8FAFC;
    /* Slate 50 */
    --surface-dark: #0F172A;
    /* Slate 900 */
    --text-main: #0F172A;
    /* Slate 900 */
    --text-muted: #64748B;
    /* Slate 500 */
    --accent: #38BDF8;
    /* Sky 400 */
    --border: #E2E8F0;
    /* Slate 200 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--background);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.4s;
}

header.scrolled .logo {
    color: var(--primary-dark);
}

.logo span {
    color: var(--accent);
}

header.scrolled .logo span {
    color: var(--primary);
}

.header-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.phone-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

header.scrolled .phone-link {
    color: var(--text-main);
}

.phone-link:hover {
    color: var(--accent);
}

header.scrolled .phone-link:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
    padding: 12px 28px;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--surface-dark);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero {
    background-image: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.7)), url('assets/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 0 100px;
}

.hero-eyebrow {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 28px;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-title span {
    color: var(--accent);
    font-style: italic;
}

.hero-description {
    font-size: 1.15rem;
    color: #CBD5E1;
    max-width: 540px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 70px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem;
    color: #FFFFFF;
    line-height: 1;
}

.stat-label {
    color: var(--accent);
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Intro Section */
.intro {
    padding: 120px 0;
    background: var(--background);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.intro-label {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.intro-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 28px;
}

.intro-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.intro-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.intro-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: white;
}

.feature-icon svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 3;
}

.intro-feature span {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

.intro-image-container {
    position: relative;
}

.intro-image {
    width: 100%;
    aspect-ratio: 4/3;
    background-image: url('assets/intro-work.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-image-accent {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary);
    z-index: -1;
    opacity: 0.2;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--surface);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main);
    line-height: 1.2;
}

.section-title.dark {
    color: var(--text-main);
}

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

.service-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    padding: 45px 35px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    background: #FFFFFF;
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 8px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    stroke-width: 1.5;
    fill: none;
}

.service-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
}

/* Why Us */
.why-us {
    padding: 120px 0;
    background: var(--background);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.why-card {
    display: flex;
    gap: 24px;
}

.why-number {
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    color: var(--primary);
    line-height: 1;
    opacity: 0.2;
}

.why-content h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.why-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* Process */
.process {
    padding: 120px 0;
    background: var(--surface);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 70px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #E2E8F0;
    z-index: 1;
}

.process-step {
    text-align: center;
    flex: 1;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 70px;
    height: 70px;
    background: #FFFFFF;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    background: var(--primary);
    color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.step-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Portfolio */
.portfolio {
    padding: 120px 0;
    background: #FFFFFF;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.portfolio-item {
    aspect-ratio: 1;
    background: #E2E8F0;
    /* Fallback */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;
}

.lazy-bg {
    background-image: none;
    background-color: #E2E8F0;
    transition: opacity 0.5s ease-in-out;
}

.portfolio-item::before {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: #FFFFFF;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover::after {
    opacity: 1;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: var(--surface);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    padding: 45px;
    border-radius: 8px;
    transition: 0.3s;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.testimonial-quote {
    font-family: 'DM Serif Display', serif;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.1;
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: #FFFFFF;
}

.author-info h4 {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Areas */
.areas {
    padding: 100px 0;
    background: #FFFFFF;
}

.areas-content {
    text-align: center;
}

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

.area-tag {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.area-tag:hover,
.area-tag.active {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.areas-map-container {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

@media (max-width: 900px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .areas-list {
        justify-content: center;
    }

    .areas-map-container {
        height: 300px;
        margin-top: 20px;
    }
}

/* FAQ */
.faq {
    padding: 120px 0;
    background: var(--surface);
}

.faq-grid {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 28px 0;
    background: none;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding-bottom: 28px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* CTA */
.cta {
    padding: 120px 0;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #FFFFFF;
    margin-bottom: 20px;
}

.cta-subtitle {
    color: #BFDBFE;
    font-size: 1.1rem;
    margin-bottom: 50px;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.cta .btn-primary {
    background: #FFFFFF;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
    background: #F1F5F9;
    transform: translateY(-2px);
}

.cta .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
}

.cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    text-align: center;
}

.contact-label {
    color: #93C5FD;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-value {
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 500;
}

.contact-value a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: #BFDBFE;
}

/* Footer */
footer {
    padding: 50px 0;
    background: var(--surface-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: #FFFFFF;
}

.footer-logo span {
    color: var(--primary);
}

.footer-text {
    color: var(--secondary);
    font-size: 0.85rem;
}

/* Sticky */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sticky-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.sticky-btn.call {
    background: var(--primary);
}

.sticky-btn.whatsapp {
    background: #25d366;
}

.sticky-btn:hover {
    transform: scale(1.1);
}

.sticky-btn svg {
    width: 26px;
    height: 26px;
    fill: white;
}

/* Media Queries */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        text-align: left;
        display: flex;
        gap: 24px;
        align-items: flex-start;
    }

    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {

    .services-grid,
    .why-us-grid,
    .testimonials-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-contact {
        flex-direction: column;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .phone-link {
        display: none;
    }
}