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

:root {
    --terra-50: #FDF0E7;
    --terra-100: #F9DCC8;
    --terra-200: #F2B89A;
    --terra-300: #E8916A;
    --terra-400: #D4704A;
    --terra-500: #C0603A;
    --terra-600: #A84E2E;
    --terra-700: #8B3D24;
    --terra-800: #6E301D;
    --terra-900: #4A1F12;

    --sand-50: #FDFCFA;
    --sand-100: #FAF6F0;
    --sand-200: #F3EBDD;
    --sand-300: #E8D9C4;
    --sand-400: #D4BCA0;
    --sand-500: #B8997A;
    --sand-600: #967758;
    --sand-700: #765C42;
    --sand-800: #5A4634;
    --sand-900: #3D3025;

    --white: #FFFFFF;
    --black: #1A1210;
    --gray-50: #FAFAFA;
    --gray-100: #F4F4F4;
    --gray-200: #E8E8E8;
    --gray-300: #D1D1D1;
    --gray-400: #A0A0A0;
    --gray-500: #6B6B6B;
    --gray-600: #4A4A4A;
    --gray-700: #2D2D2D;

    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(26, 18, 16, 0.06), 0 1px 2px rgba(26, 18, 16, 0.04);
    --shadow-md: 0 4px 16px rgba(26, 18, 16, 0.08), 0 2px 6px rgba(26, 18, 16, 0.04);
    --shadow-lg: 0 12px 40px rgba(26, 18, 16, 0.10), 0 4px 12px rgba(26, 18, 16, 0.05);
    --shadow-xl: 0 24px 60px rgba(26, 18, 16, 0.12);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-700);
    background-color: var(--sand-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 250, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(192, 96, 58, 0.08);
    transition: box-shadow var(--transition);
}

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

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--terra-700);
}

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

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

.nav-list a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: color var(--transition), background var(--transition);
}

.nav-list a:hover {
    color: var(--terra-600);
    background: var(--terra-50);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--terra-700);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

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

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

.btn-sm {
    padding: 9px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 34px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(160deg, rgba(74, 31, 18, 0.82) 0%, rgba(139, 61, 36, 0.72) 50%, rgba(168, 78, 46, 0.65) 100%),
        url('https://images.pexels.com/photos/8834044/pexels-photo-8834044.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1200') center / cover no-repeat;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 80%, rgba(192, 96, 58, 0.25) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(244, 145, 89, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra-200);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(242, 184, 154, 0.35);
    border-radius: var(--radius-full);
    background: rgba(242, 184, 154, 0.08);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title br {
    display: none;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(253, 240, 231, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(253, 240, 231, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

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

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terra-500);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-700);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.015em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

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

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

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terra-200);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--terra-50);
    color: var(--terra-600);
    margin-bottom: 22px;
    transition: all var(--transition);
}

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

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
}

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

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

.about-images {
    position: relative;
}

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

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

.about-img-float {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-img-float 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: 1.05rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 44px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--terra-600);
}

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

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

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: auto;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 31, 18, 0.2) 0%, transparent 40%);
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: var(--radius-md);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ========== REVIEWS ========== */
.reviews {
    padding: 110px 0;
    background: var(--white);
}

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

.review-card {
    background: var(--sand-50);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--sand-200);
    position: relative;
    transition: all var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--terra-200);
}

.review-quote {
    color: var(--terra-300);
    margin-bottom: 20px;
}

.review-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--gray-600);
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-700);
}

/* ========== CONTACT ========== */
.contact {
    padding: 110px 0;
    background: var(--terra-700);
    color: var(--white);
}

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

.contact .section-eyebrow {
    color: var(--terra-300);
}

.contact .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 18px;
}

.contact-text {
    font-size: 1.05rem;
    color: rgba(253, 240, 231, 0.7);
    line-height: 1.75;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(253, 240, 231, 0.1);
    color: var(--terra-200);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--terra-300);
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.6;
}

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

.contact .btn-primary {
    background: var(--white);
    color: var(--terra-700);
    border-color: var(--white);
}

.contact .btn-primary:hover {
    background: var(--terra-100);
    border-color: var(--terra-100);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ========== CONTACT FORM ========== */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-700);
    background: var(--sand-50);
    border: 2px solid var(--sand-200);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

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

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: #E8F5E9;
    border-radius: var(--radius-md);
    color: #2E7D32;
    font-size: 0.95rem;
}

.form-success svg {
    flex-shrink: 0;
    color: #4CAF50;
}

/* ========== MAP ========== */
.map-section {
    height: 380px;
    filter: saturate(0.7) contrast(1.05);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gray-700);
    color: rgba(253, 240, 231, 0.7);
    padding: 80px 0 0;
}

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

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

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(253, 240, 231, 0.6);
    transition: color var(--transition);
}

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

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

.footer-contact a {
    color: rgba(253, 240, 231, 0.7);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(253, 240, 231, 0.1);
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(253, 240, 231, 0.4);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    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);
    }

    .about-grid {
        gap: 50px;
    }

    .contact-grid {
        gap: 50px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 252, 250, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--sand-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list a {
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: var(--radius-md);
        width: 100%;
    }

    .nav-list .btn-primary {
        text-align: center;
        margin-top: 8px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
    }

    .hero-title br {
        display: block;
    }

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

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

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

    .about-stats {
        gap: 28px;
    }

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

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

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

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

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

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

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

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

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

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

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

    .about-img-float {
        right: 0;
        bottom: -20px;
    }
}

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

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

@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}
