/* ===== CUSTOM PROPERTIES ===== */
:root {
    --terracotta: #C0603A;
    --terracotta-dark: #A84E2C;
    --terracotta-light: #D4846A;
    --sand: #F5EDE4;
    --sand-light: #FDF8F3;
    --sand-dark: #E8DDD2;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #7A6E66;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.08);
    --shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    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: var(--terracotta);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--terracotta-dark);
}

.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;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 96, 58, 0.3);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--terracotta);
    transform: translateY(-2px);
}

.btn-secondary.dark {
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.btn-secondary.dark:hover {
    background: var(--charcoal);
    color: var(--sand-light);
}

.btn-nav {
    background: var(--terracotta);
    color: var(--white);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 14px;
}

.btn-nav:hover {
    background: var(--terracotta-dark);
    color: var(--white);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

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

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

.btn-light:hover {
    background: var(--sand);
    color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--terracotta);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 96, 58, 0.1);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--charcoal);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.logo-icon {
    flex-shrink: 0;
}

/* ===== NAVIGATION ===== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

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

.nav-menu a:not(.btn-nav) {
    color: var(--charcoal-light);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--transition);
}

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

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/7285920/pexels-photo-7285920.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    opacity: 0.4;
}

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

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

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

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--sand-light);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(253, 248, 243, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(253, 248, 243, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.trust-item svg {
    color: var(--terracotta-light);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

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

/* ===== SECTION COMMON ===== */
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    background: rgba(192, 96, 58, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 600px;
    line-height: 1.7;
}

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

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

/* ===== SERVICES ===== */
.services {
    background: var(--sand);
    padding: 100px 0;
}

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

.service-card {
    background: var(--sand-light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(192, 96, 58, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

.service-desc {
    color: var(--warm-gray);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    background: var(--sand-light);
    padding: 100px 0;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--terracotta);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.15;
}

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

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

.about-text {
    color: var(--charcoal-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0 40px;
}

.stat {
    text-align: center;
    padding: 20px 12px;
    background: var(--sand);
    border-radius: var(--radius-md);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--warm-gray);
}

/* ===== GALLERY ===== */
.gallery {
    background: var(--sand);
    padding: 100px 0;
}

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5/4;
    background: var(--sand-dark);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== PROCESS ===== */
.process {
    background: var(--sand-light);
    padding: 100px 0;
}

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

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--terracotta-light);
    opacity: 0.4;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--terracotta);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
}

.step-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

.step-desc {
    color: var(--warm-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: var(--charcoal);
    padding: 80px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--sand-light);
    margin-bottom: 12px;
}

.cta-text {
    color: rgba(253, 248, 243, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--sand);
    padding: 100px 0;
}

.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 {
    margin-bottom: 16px;
}

.contact-text {
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

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

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--warm-gray);
    font-size: 15px;
    line-height: 1.6;
}

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

.contact-item a:hover {
    color: var(--terracotta-dark);
    text-decoration: underline;
}

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

/* ===== CONTACT FORM ===== */
.contact-form-card {
    background: var(--sand-light);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(192, 96, 58, 0.08);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-subtitle {
    color: var(--warm-gray);
    font-size: 15px;
    margin-bottom: 32px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--charcoal);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--sand-dark);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 32px;
    background: rgba(192, 96, 58, 0.06);
    border-radius: var(--radius-lg);
    margin-top: 20px;
}

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

.form-success p {
    color: var(--charcoal-light);
    font-size: 15px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--charcoal);
    color: rgba(253, 248, 243, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(253, 248, 243, 0.1);
}

.logo-footer {
    margin-bottom: 16px;
}

.logo-text-light {
    color: var(--sand-light);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(253, 248, 243, 0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sand-light);
    margin-bottom: 20px;
}

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

.footer-links a,
.footer-contact a {
    color: rgba(253, 248, 243, 0.6);
    font-size: 14px;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--terracotta-light);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(253, 248, 243, 0.4);
}

.footer-bottom a {
    color: rgba(253, 248, 243, 0.5);
}

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

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

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

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

    .nav-menu a:not(.btn-nav) {
        font-size: 17px;
        padding: 12px 16px;
        width: 100%;
    }

    .nav-menu .btn-nav {
        margin-top: 16px;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(44, 36, 32, 0.5);
        z-index: 99;
    }

    .nav-overlay.active {
        display: block;
    }
}

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

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

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

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

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

    .about-image img {
        height: 400px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        justify-content: center;
    }

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

    .contact-form-card {
        padding: 32px 24px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero-title {
        font-size: 1.75rem;
    }

    .services, .about, .gallery, .process, .contact {
        padding: 64px 0;
    }

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

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