/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --terra-50:  #fdf0ec;
    --terra-100: #fce4da;
    --terra-200: #f8c4b4;
    --terra-300: #f2a088;
    --terra-400: #e87456;
    --terra-500: #B85C38;
    --terra-600: #a04d2e;
    --terra-700: #844026;
    --terra-800: #6d3520;
    --terra-900: #5a2c1b;
    --sand-50:   #fefcf8;
    --sand-100:  #faf5ed;
    --sand-200:  #f3e8d8;
    --sand-300:  #e8d5bc;
    --sand-400:  #d4b896;
    --sand-500:  #bfa078;
    --sand-600:  #a6855e;
    --sand-700:  #8a6e4e;
    --sand-800:  #715a40;
    --sand-900:  #5c4a35;
    --neutral-50:  #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #eeeeee;
    --neutral-300: #e0e0e0;
    --neutral-400: #bdbdbd;
    --neutral-500: #9e9e9e;
    --neutral-600: #757575;
    --neutral-700: #616161;
    --neutral-800: #424242;
    --neutral-900: #212121;
    --neutral-950: #141414;

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

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 48px rgba(0,0,0,0.14), 0 8px 16px rgba(0,0,0,0.08);

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

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

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background: var(--sand-50);
    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; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 600; }

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--terra-500);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--terra-500);
    color: #fff;
    padding: 12px 24px;
}
.btn-primary:hover { background: var(--terra-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
    background: transparent;
    color: var(--terra-500);
    border: 2px solid var(--terra-500);
    padding: 10px 22px;
}
.btn-outline:hover { background: var(--terra-500); color: #fff; }
.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    padding: 10px 22px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1.0625rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 252, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-200);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
}
.logo em { font-style: italic; color: var(--terra-500); font-weight: 500; }
.logo-mark { color: var(--terra-500); }

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-list a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: color var(--transition);
    position: relative;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terra-500);
    transition: width var(--transition);
}
.nav-list a:hover { color: var(--terra-500); }
.nav-list a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neutral-800);
    transition: all var(--transition);
    border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--sand-50);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--sand-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

/* ── Hero ── */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--sand-50) 0%, var(--terra-50) 50%, var(--sand-100) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--terra-100) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--sand-200) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 92, 56, 0.1);
    color: var(--terra-700);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--neutral-950);
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero-headline em {
    color: var(--terra-500);
    font-style: normal;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    min-height: 500px;
}

.hero-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-card--main {
    width: 100%;
    aspect-ratio: 5/6;
    position: relative;
}
.hero-card--main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}
.hero-card-label {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
}

/* Stat Cards */
.stat-card {
    position: absolute;
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--terra-500);
    line-height: 1;
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-600);
    font-weight: 500;
}
.stat-card--1 {
    top: 20px;
    right: -20px;
}
.stat-card--2 {
    bottom: 120px;
    left: -24px;
}
.stat-card--3 {
    bottom: -16px;
    right: 20px;
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; min-height: 360px; }
    .hero-card--main { aspect-ratio: 4/3; }
    .stat-card--1 { right: 10px; top: 10px; }
    .stat-card--2 { left: 10px; }
    .stat-card--3 { right: 10px; bottom: -10px; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 60px; }
    .hero-visual { min-height: 280px; }
    .stat-card { padding: 12px 14px; }
    .stat-number { font-size: 1.375rem; }
    .stat-label { font-size: 0.75rem; }
    .stat-card--1 { right: 4px; top: 4px; }
    .stat-card--2 { left: 4px; bottom: 80px; }
    .stat-card--3 { right: 4px; bottom: -8px; }
}

/* ── Section Shared ── */
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terra-500);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--neutral-950);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    max-width: 600px;
    line-height: 1.7;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-desc { margin: 0 auto; }

/* ── Services ── */
.services {
    padding: 96px 0;
    background: #fff;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--sand-50);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--terra-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border-radius: var(--radius-md);
    color: var(--terra-500);
    margin-bottom: 20px;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--terra-500);
    color: #fff;
}
.service-title {
    font-size: 1.1875rem;
    color: var(--neutral-900);
    margin-bottom: 10px;
}
.service-desc {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ── About ── */
.about {
    padding: 96px 0;
    background: var(--sand-50);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 13/15;
}
.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 96px;
    height: 96px;
    background: var(--terra-500);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0.2;
}
.about-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.75;
    margin-bottom: 16px;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
}
.about-feature svg { color: var(--terra-500); flex-shrink: 0; }

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { order: -1; }
}

/* ── Gallery ── */
.gallery {
    padding: 96px 0;
    background: #fff;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(184,92,56,0.3));
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── Testimonials ── */
.testimonials {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--terra-900) 0%, var(--terra-700) 100%);
    color: #fff;
}
.testimonials .section-tag { color: var(--terra-200); }
.testimonials .section-title { color: #fff; }
.testimonials .section-desc { color: var(--terra-200); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}
.testimonial-quote {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--terra-300);
    opacity: 0.5;
    margin-bottom: -12px;
}
.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
    margin-bottom: 24px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--terra-400);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #fff;
}
.author-detail {
    font-size: 0.8125rem;
    color: var(--terra-200);
}

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ── CTA Banner ── */
.cta-banner {
    padding: 80px 0;
    background: var(--sand-100);
    border-top: 1px solid var(--sand-200);
    border-bottom: 1px solid var(--sand-200);
}
.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--neutral-950);
    margin-bottom: 16px;
}
.cta-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    margin-bottom: 32px;
    line-height: 1.7;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Contact ── */
.contact {
    padding: 96px 0 0;
    background: #fff;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}
.contact-desc {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; }
.contact-item-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--terra-500);
}
.contact-item dd {
    font-size: 1rem;
    color: var(--neutral-700);
    line-height: 1.6;
}
.contact-item a {
    color: var(--neutral-700);
    transition: color var(--transition);
}
.contact-item a:hover { color: var(--terra-500); }

/* Contact Form */
.contact-form-wrap {
    background: var(--sand-50);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-xl);
    padding: 36px;
}
.form-title {
    font-size: 1.375rem;
    color: var(--neutral-950);
    margin-bottom: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--sand-300);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terra-400);
    box-shadow: 0 0 0 3px rgba(184,92,56,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: var(--radius-md);
    color: #166534;
    font-size: 0.9375rem;
    font-weight: 500;
}

.map-wrap {
    border-top: 1px solid var(--sand-200);
}
.map-wrap iframe {
    width: 100%;
    height: 320px;
    filter: saturate(0.8) contrast(1.05);
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Footer ── */
.site-footer {
    background: var(--neutral-950);
    color: var(--neutral-400);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.9375rem;
    color: var(--neutral-400);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--terra-300); }
.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 4px;
}
.footer-contact a {
    color: var(--neutral-400);
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--terra-300); }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--neutral-500);
}
.footer-bottom a { color: var(--neutral-500); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--terra-300); }

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── 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);
    }
}
