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

:root {
    --terracotta: #A0522D;
    --terracotta-dark: #7D3F1F;
    --terracotta-light: #C4784F;
    --sand: #E8D5C0;
    --sand-light: #F5EDE3;
    --sand-lighter: #FBF7F3;
    --sand-dark: #C4A882;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --cream: #FAF6F1;
    --white: #FFFFFF;
    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.1);
    --shadow-lg: 0 8px 32px rgba(44, 36, 32, 0.12);
    --radius: 4px;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--charcoal);
    color: var(--white);
    padding: 8px 16px;
    z-index: 1000;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 16px;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 246, 241, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(160, 82, 45, 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: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--charcoal);
    font-family: var(--font-serif);
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1.3;
}

.logo:hover {
    color: var(--charcoal);
}

.logo em {
    font-style: italic;
    color: var(--terracotta);
}

.logo-icon {
    color: var(--terracotta);
    flex-shrink: 0;
}

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

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.nav-link {
    color: var(--charcoal-light);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 4px 0;
    position: relative;
}

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

.nav-link:hover {
    color: var(--terracotta);
}

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

.nav-cta .btn-nav-cta {
    font-size: 0.8125rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    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(-1px);
    box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

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

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 36, 32, 0.92) 0%,
        rgba(44, 36, 32, 0.75) 50%,
        rgba(125, 63, 31, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding: 60px 0;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 20px;
    padding: 6px 14px;
    border: 1px solid rgba(232, 213, 192, 0.3);
    border-radius: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-headline em {
    color: var(--sand);
    font-style: italic;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 600px;
}

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

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.trust-item svg {
    color: var(--sand-dark);
    flex-shrink: 0;
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--charcoal);
    margin-bottom: 16px;
}

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

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

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

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid rgba(160, 82, 45, 0.08);
    transition: all var(--transition);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--sand-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    margin-bottom: 20px;
    transition: all var(--transition);
}

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

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

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

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

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

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

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-eyebrow {
    text-align: left;
}

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

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

.about-values {
    margin-top: 32px;
    display: grid;
    gap: 14px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--charcoal);
    line-height: 1.5;
}

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

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

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

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.7;
}

.cta-actions {
    flex-shrink: 0;
}

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

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid rgba(160, 82, 45, 0.08);
    position: relative;
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--sand);
    position: absolute;
    top: 16px;
    left: 24px;
    pointer-events: none;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.75;
    color: var(--charcoal);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-footer {
    border-top: 1px solid var(--sand);
    padding-top: 16px;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-style: normal;
    color: var(--charcoal-light);
    font-weight: 500;
}

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

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

.contact-info {
    display: grid;
    gap: 28px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--sand-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

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

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

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

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

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(160, 82, 45, 0.08);
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

.form-group {
    display: grid;
    gap: 6px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--charcoal-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--sand);
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background: var(--sand-lighter);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--charcoal-light);
    text-align: center;
    margin-top: 4px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--terracotta);
    margin: 0 auto 16px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

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

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

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

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

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--sand-dark);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

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

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

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

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(250, 246, 241, 0.98);
        backdrop-filter: blur(8px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 24px 24px;
        border-bottom: 1px solid rgba(160, 82, 45, 0.1);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(160, 82, 45, 0.08);
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        margin-top: 8px;
    }

    .nav-cta .btn-nav-cta {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }
}

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

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

    .about-image-wrap {
        max-height: 400px;
    }

    .about-content .section-eyebrow,
    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-desc {
        text-align: center;
    }

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

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

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

    .hero-content {
        padding: 40px 0;
    }

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

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

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

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

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

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

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

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