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

html {
    scroll-behavior: smooth;
}

:root {
    --cream: #faf8f3;
    --beige: #f5f1ea;
    --warm-accent: #c9956b;
    --warm-light: #e8d4c4;
    --dark-text: #2d2620;
    --warm-text: #4a423d;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--cream);
}

/* Utilities */
.container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-spacing {
    padding: 5rem 0;
}

h2 {
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--dark-text);
}

h3, h4 {
    font-weight: 600;
}

/* Navigation */
nav {
    border-bottom: 1px solid rgba(201, 149, 107, 0.2);
    position: sticky;
    top: 0;
    background: var(--cream);
    z-index: 100;
    backdrop-filter: blur(8px);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
}

nav h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--dark-text);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--warm-text);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}

nav a:hover {
    color: var(--warm-accent);
}

/* Hero */
.hero {
    padding: 6rem 0;
}

.hero h2 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 45rem;
    font-weight: 600;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--dark-text) 0%, var(--warm-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--warm-text);
    max-width: 35rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background-color: var(--warm-accent);
    color: white;
    padding: 0.875rem 2.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(201, 149, 107, 0.2);
}

.btn:hover {
    background-color: #b8856a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 149, 107, 0.3);
}

/* Services Section */
.services-bg {
    background-color: var(--beige);
    border-top: 1px solid rgba(201, 149, 107, 0.1);
    border-bottom: 1px solid rgba(201, 149, 107, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-weight: 600;
}

.service-card p {
    color: var(--warm-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-card li {
    color: var(--warm-text);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    opacity: 0.9;
}

.service-link {
    color: var(--warm-accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    color: #b8856a;
    transform: translateX(2px);
}

/* Case Studies */
.case-study {
    border-bottom: 1px solid rgba(201, 149, 107, 0.1);
    padding-bottom: 5rem;
    margin-bottom: 5rem;
}

.case-study:last-child {
    border-bottom: none;
}

.case-study h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.case-study-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
    color: var(--warm-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-study-content p {
    color: var(--warm-text);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.case-study-image {
    background-color: var(--beige);
    border-radius: 0.75rem;
    border: 1px solid rgba(201, 149, 107, 0.15);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0.5rem;
}

/* Process */
.process-bg {
    background-color: var(--beige);
    border-top: 1px solid rgba(201, 149, 107, 0.1);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.process-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 600;
}

.process-item p {
    color: var(--warm-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

.process-info {
    background: linear-gradient(135deg, #3d342e 0%, #2d2620 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 0.75rem;
    margin-top: 3rem;
    border: 1px solid rgba(201, 149, 107, 0.2);
}

.process-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.process-info .value {
    color: #f0dcc8;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* About */
.about p {
    color: var(--warm-text);
    margin-bottom: 1.25rem;
    max-width: 45rem;
    line-height: 1.8;
    font-size: 1rem;
}

.about-tech {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 149, 107, 0.2);
}

.about-tech p:first-child {
    color: var(--warm-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.about-tech p:last-child {
    font-size: 0.95rem;
    color: var(--warm-text);
}

/* Contact Section */
.contact-bg {
    background: linear-gradient(135deg, #3d342e 0%, #2d2620 100%);
    color: white;
}

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

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item p:first-child {
    font-weight: 600;
    color: #f0dcc8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-item a:hover {
    color: #f0dcc8;
    text-decoration: underline;
}

/* Form */
.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(240, 220, 200, 0.2);
    border-radius: 0.5rem;
    padding: 0.875rem;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(240, 220, 200, 0.4);
    box-shadow: 0 0 0 3px rgba(201, 149, 107, 0.1);
}

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

.submit-btn {
    width: 100%;
    background-color: white;
    color: #1a1a1a;
    font-weight: 600;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: #f0f0f0;
}

.form-success {
    background-color: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #d1fae5;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: none;
}

.form-success.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.testimonial {
    background-color: var(--beige);
    border-left: 3px solid var(--warm-accent);
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 0.375rem;
}

.testimonial p {
    margin: 0;
    color: var(--warm-text);
    line-height: 1.7;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    border-top: 1px solid rgba(201, 149, 107, 0.1);
    background-color: var(--beige);
    padding: 2rem 0;
    text-align: center;
    color: var(--warm-text);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero h2 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid,
    .case-study-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


    .section-spacing {
        padding: 3rem 0;
    }

    .case-study h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 1rem;
    }

    .hero h2 {
        font-size: 1.75rem;
        line-height: 1.3;
        max-width: 90%;
    }

    .hero p {
        font-size: 0.95rem;
        max-width: 95%;
    }
}

/* Fade-in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* For case studies */
.case-study {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.case-study.visible {
    opacity: 1;
    transform: translateY(0);
}