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

:root {
    --terracotta: #B8563D;
    --terracotta-dark: #9A4430;
    --terracotta-light: #D4806A;
    --sand: #F5EDE4;
    --sand-light: #FAF6F1;
    --sand-dark: #E8DDD2;
    --charcoal: #2A2118;
    --charcoal-light: #4A3F35;
    --cream: #FFFDF9;
    --warm-gray: #8A7E74;
    --warm-gray-light: #B5AAA0;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    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;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 253, 249, 0.97);
    box-shadow: 0 1px 0 var(--sand-dark);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream);
    background: var(--terracotta);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.site-header.scrolled .logo-mark {
    color: var(--cream);
    background: var(--terracotta);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.01em;
    transition: color var(--transition);
}

.site-header.scrolled .logo-text {
    color: var(--charcoal);
}

/* NAV */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cream);
    transition: color var(--transition);
    position: relative;
}

.site-header.scrolled .nav-menu a {
    color: var(--charcoal-light);
}

.nav-menu a:hover {
    color: var(--terracotta-light);
}

.site-header.scrolled .nav-menu a:hover {
    color: var(--terracotta);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--terracotta-light);
    transition: width var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--terracotta) !important;
    color: var(--cream) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.8125rem !important;
    letter-spacing: 0.06em !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--terracotta-dark) !important;
    transform: translateY(-1px);
}

/* MOBILE NAV */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: var(--transition);
}

.site-header.scrolled .hamburger {
    background: var(--charcoal);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 33, 24, 0.82) 0%,
        rgba(42, 33, 24, 0.65) 50%,
        rgba(184, 86, 61, 0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-top: 80px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta-light);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 253, 249, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
}

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

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

.btn-outline-light {
    background: transparent;
    color: var(--cream);
    border-color: rgba(255, 253, 249, 0.5);
}

.btn-outline-light:hover {
    background: var(--cream);
    color: var(--charcoal);
    border-color: var(--cream);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* HERO SCROLL */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 253, 249, 0.6);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

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

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal);
    letter-spacing: -0.02em;
}

.section-title.light {
    color: var(--cream);
}

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

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

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(42, 33, 24, 0.08);
    border-color: var(--sand-dark);
    background: var(--cream);
}

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--terracotta);
    margin-bottom: 24px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

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

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

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

.about-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.about-image:hover img {
    transform: scale(1.03);
}

.about-content {
    padding: 20px 0;
}

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

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--sand-dark);
}

.stat {
    flex: 1;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.stat-divider {
    width: 1px;
    background: var(--sand-dark);
    align-self: stretch;
}

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

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

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

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

.gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 2; }
.gallery-item:nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 1 / 5; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 5 / 9; grid-row: 2 / 3; }
.gallery-item:nth-child(6) { grid-column: 9 / 13; grid-row: 2 / 3; }

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0;
    background: var(--charcoal);
}

.testimonials .section-eyebrow {
    color: var(--terracotta-light);
}

.testimonials .section-title {
    color: var(--cream);
}

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

.testimonial-card {
    padding: 40px 32px;
    background: rgba(255, 253, 249, 0.05);
    border: 1px solid rgba(255, 253, 249, 0.08);
    border-radius: 16px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 253, 249, 0.08);
    transform: translateY(-4px);
}

.testimonial-quote {
    color: var(--terracotta-light);
    margin-bottom: 20px;
}

.testimonial-quote svg {
    width: 40px;
    height: 40px;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 253, 249, 0.8);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0.04em;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 33, 24, 0.88) 0%,
        rgba(184, 86, 61, 0.7) 100%
    );
}

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

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

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

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

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

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--terracotta);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

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

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

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

.contact-hours {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--sand-dark);
}

.contact-hours h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 16px;
}

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

.contact-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
    color: var(--warm-gray);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sand-dark);
}

.contact-hours li span:last-child {
    font-weight: 500;
    color: var(--charcoal-light);
}

/* FORM */
.contact-form-wrap {
    background: var(--cream);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(42, 33, 24, 0.06);
}

.contact-form-wrap h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background: var(--sand-light);
    border: 1.5px solid var(--sand-dark);
    border-radius: 10px;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-light);
}

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

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
    text-align: center;
}

.form-success svg {
    width: 56px;
    height: 56px;
    color: var(--terracotta);
}

.form-success p {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--charcoal);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--charcoal);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 64px;
}

.footer-brand .logo-text {
    color: var(--cream);
}

.footer-brand p {
    margin-top: 20px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 253, 249, 0.5);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 253, 249, 0.5);
    transition: color var(--transition);
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 253, 249, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 253, 249, 0.3);
    text-align: center;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-grid {
        gap: 48px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

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

    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(42, 33, 24, 0.97);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition), visibility var(--transition);
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu a {
        font-size: 1.25rem;
        color: var(--cream) !important;
    }

    .nav-cta {
        font-size: 1rem !important;
        padding: 14px 32px !important;
    }

    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

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

    .hero-actions .btn {
        text-align: center;
    }

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

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

    .about-image {
        aspect-ratio: 16/10;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

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

    .gallery-item:nth-child(1) { grid-column: 1 / -1; }
    .gallery-item:nth-child(2) { grid-column: 1 / 2; }
    .gallery-item:nth-child(3) { grid-column: 2 / 3; }
    .gallery-item:nth-child(4) { grid-column: 1 / 2; }
    .gallery-item:nth-child(5) { grid-column: 2 / 3; }
    .gallery-item:nth-child(6) { grid-column: 1 / -1; }

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }

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

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

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

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

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

    .footer-brand {
        grid-column: auto;
    }
}

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

    .services,
    .about,
    .gallery,
    .testimonials,
    .contact {
        padding: 80px 0;
    }

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

    .gallery-item:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-item:nth-child(1) {
        grid-column: auto;
    }
}
