:root {
    --terracotta: #C05A3A;
    --terracotta-dark: #A04828;
    --terracotta-light: #D4755A;
    --sand: #F5E6D3;
    --sand-light: #FBF5ED;
    --sand-dark: #E8D5BE;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --cream: #FFF9F4;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.08);
    --shadow-md: 0 8px 24px rgba(44, 36, 32, 0.12);
    --shadow-lg: 0 16px 48px rgba(44, 36, 32, 0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--sand-light);
    overflow-x: hidden;
}

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

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

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

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--terracotta);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus {
    top: 16px;
}

/* Geometric Background */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    background: var(--terracotta);
    top: -200px;
    right: -150px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    background: var(--terracotta);
    bottom: 20%;
    left: -100px;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--terracotta);
    opacity: 0.04;
    top: 40%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-square {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--terracotta);
    opacity: 0.04;
    bottom: 10%;
    right: 10%;
    transform: rotate(45deg);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(251, 245, 237, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 90, 58, 0.1);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(251, 245, 237, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--charcoal);
    z-index: 101;
}

.logo-text {
    font-weight: 400;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.938rem;
    color: var(--charcoal-light);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--terracotta);
    background: rgba(192, 90, 58, 0.08);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.938rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--sand);
    border-color: var(--sand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

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

.desktop-only { display: flex; }
.mobile-only { display: none; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.85) 0%,
        rgba(44, 36, 32, 0.6) 50%,
        rgba(192, 90, 58, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
    padding-bottom: 80px;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192, 90, 58, 0.2);
    border: 1px solid rgba(192, 90, 58, 0.4);
    color: var(--sand);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge svg {
    opacity: 0.8;
}

.hero-headline {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: clamp(1.063rem, 2vw, 1.25rem);
    color: rgba(245, 230, 211, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.813rem;
    color: rgba(245, 230, 211, 0.7);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(245, 230, 211, 0.2);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(192, 90, 58, 0.12);
    color: var(--terracotta);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.063rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* Services */
.services {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--sand);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid rgba(192, 90, 58, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--terracotta);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(192, 90, 58, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.service-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.938rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* About */
.about {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--sand-light);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--sand-light);
}

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

.about-badge {
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--terracotta);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.063rem;
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    list-style: none;
    margin-top: 32px;
    display: grid;
    gap: 12px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--charcoal);
}

.about-features svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

/* CTA Banner */
.cta-banner {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--terracotta);
    overflow: hidden;
}

.cta-inner {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -100px;
    left: -80px;
}

.cta-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.063rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* Process */
.process {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--sand);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: var(--radius-md);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--terracotta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.938rem;
    color: var(--charcoal-light);
    line-height: 1.7;
}

.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 68px;
}

.process-connector::before {
    content: '';
    width: 40px;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--terracotta) 0px,
        var(--terracotta) 8px,
        transparent 8px,
        transparent 16px
    );
}

/* Contact */
.contact {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--sand-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-text {
    font-size: 1.063rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.938rem;
    color: var(--charcoal);
}

.contact-item svg {
    color: var(--terracotta);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: var(--charcoal);
    transition: var(--transition);
}

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

.contact-map {
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(192, 90, 58, 0.08);
}

.contact-form h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--charcoal-light);
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    color: var(--charcoal);
    background: var(--sand-light);
    transition: var(--transition);
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(192, 90, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0a090;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(192, 90, 58, 0.1);
    color: var(--terracotta-dark);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-top: 16px;
}

/* Footer */
.site-footer {
    background: var(--charcoal);
    color: var(--sand);
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.938rem;
    color: rgba(245, 230, 211, 0.65);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.938rem;
    color: rgba(245, 230, 211, 0.65);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

.footer-contact p {
    font-size: 0.938rem;
    color: rgba(245, 230, 211, 0.65);
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(245, 230, 211, 0.65);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 211, 0.1);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.813rem;
    color: rgba(245, 230, 211, 0.4);
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--terracotta);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
}

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--sand-light);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 8px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        z-index: 100;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1.063rem;
    }

    .hero-content {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-num {
        font-size: 1.375rem;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        max-width: 480px;
    }

    .about-img-accent {
        right: -10px;
        bottom: -30px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .process-connector {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }
}

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