/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #2C1810;
    background: #FDF6EE;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Custom Properties ── */
:root {
    --terracotta: #B85D38;
    --terracotta-dark: #9A4B2C;
    --terracotta-light: #D4845E;
    --sand: #FDF6EE;
    --sand-dark: #F0E4D4;
    --sand-mid: #E8D5C0;
    --brown-dark: #2C1810;
    --brown-mid: #4A3228;
    --brown-light: #6B5344;
    --cream: #FFF9F3;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --container: 1200px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(44,24,16,0.06);
    --shadow-md: 0 8px 30px rgba(44,24,16,0.10);
    --shadow-lg: 0 20px 60px rgba(44,24,16,0.14);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ── */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253,246,238,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(184,93,56,0.08);
    transition: var(--transition);
}
#main-header.scrolled {
    background: rgba(253,246,238,0.97);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brown-dark);
}
.logo-icon { color: var(--terracotta); }
.logo-light { color: var(--white); }

#main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}
#main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brown-mid);
    transition: color var(--transition);
    position: relative;
}
#main-nav a:not(.nav-cta):hover { color: var(--terracotta); }
#main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width var(--transition);
}
#main-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
    background: var(--terracotta-dark);
    transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--brown-dark);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
#hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--sand);
    position: relative;
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(184,93,56,0.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(184,93,56,0.04) 0%, transparent 50%);
    pointer-events: none;
}
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.eyebrow-line {
    width: 40px;
    height: 2px;
    background: var(--terracotta);
    flex-shrink: 0;
}
.eyebrow-line span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--brown-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--brown-light);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    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,93,56,0.3);
}
.btn-secondary {
    background: transparent;
    color: var(--brown-dark);
    border-color: var(--brown-dark);
}
.btn-secondary:hover {
    background: var(--brown-dark);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--terracotta);
    border-color: var(--terracotta);
}
.btn-outline:hover {
    background: var(--terracotta);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}
.hero-card-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(transparent, rgba(44,24,16,0.8));
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
}
.hero-stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1;
}
.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--brown-light);
    line-height: 1.4;
}
.stat-card-1 {
    bottom: 180px;
    left: -20px;
}
.stat-card-2 {
    bottom: 80px;
    left: 20px;
}
.stat-card-3 {
    top: 40px;
    left: -10px;
}

/* ── Section Shared ── */
section { padding: 100px 0; }
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--brown-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--brown-light);
    line-height: 1.7;
}

/* ── Services ── */
#services {
    background: var(--cream);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition);
    border: 1px solid rgba(184,93,56,0.06);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(184,93,56,0.15);
}
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(184,93,56,0.08);
    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: 700;
    color: var(--brown-dark);
    margin-bottom: 12px;
}
.service-desc {
    font-size: 0.92rem;
    color: var(--brown-light);
    line-height: 1.65;
    margin-bottom: 20px;
}
.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.service-features li {
    font-size: 0.85rem;
    color: var(--brown-mid);
    padding-left: 18px;
    position: relative;
}
.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--terracotta-light);
}

/* ── About ── */
#about { background: var(--sand); }
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-images {
    position: relative;
    height: 680px;
}
.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: -40px;
    width: 55%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid var(--sand);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-accent {
    position: absolute;
    top: -20px;
    right: 40px;
    color: var(--terracotta);
    opacity: 0.3;
}
.about-content { max-width: 480px; }
.about-text {
    font-size: 1rem;
    color: var(--brown-light);
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--sand-mid);
    border-bottom: 1px solid var(--sand-mid);
}
.about-stat { display: flex; flex-direction: column; gap: 6px; }
.about-stat-number {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--terracotta);
    line-height: 1.3;
}
.about-stat-label {
    font-size: 0.82rem;
    color: var(--brown-light);
    line-height: 1.5;
}

/* ── Why Us ── */
#why-us { background: var(--brown-dark); color: var(--white); }
.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.why-content .section-eyebrow { color: var(--terracotta-light); }
.why-content .section-title { color: var(--white); }
.why-content .section-subtitle { color: rgba(255,255,255,0.6); }
.why-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}
.why-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.why-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(184,93,56,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta-light);
    flex-shrink: 0;
    margin-top: 2px;
}
.why-item-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}
.why-item-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
}
.why-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 700px;
}
.why-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ── Gallery ── */
#gallery { background: var(--cream); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius);
    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.04); }
.gallery-item-large { grid-column: span 7; height: 380px; }
.gallery-item:not(.gallery-item-wide) { height: 240px; }
.gallery-item-wide { grid-column: span 12; height: 280px; }

/* ── Contact ── */
#contact { background: var(--sand); }
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-desc {
    font-size: 1rem;
    color: var(--brown-light);
    line-height: 1.7;
    margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 28px; }
.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(184,93,56,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}
.contact-detail-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brown-light);
    margin-bottom: 4px;
}
.contact-detail-value {
    font-size: 0.95rem;
    color: var(--brown-dark);
    line-height: 1.6;
}
.contact-detail-value a {
    color: var(--terracotta);
    transition: color var(--transition);
}
.contact-detail-value a:hover { color: var(--terracotta-dark); }

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(184,93,56,0.06);
}
.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown-dark);
    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: 0.82rem;
    font-weight: 600;
    color: var(--brown-mid);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--sand-mid);
    border-radius: var(--radius);
    background: var(--sand);
    color: var(--brown-dark);
    transition: border-color var(--transition), background var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--brown-light); opacity: 0.6; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%236B5344' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }

.form-success {
    text-align: center;
    padding: 40px 20px;
    color: var(--brown-dark);
}
.form-success svg { color: #2E7D32; margin: 0 auto 16px; }
.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.form-success p { color: var(--brown-light); font-size: 0.95rem; }

/* ── Footer ── */
#footer {
    background: var(--brown-dark);
    color: var(--white);
    padding: 80px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--terracotta-light); }
.footer-contact p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 8px;
}
.footer-contact a { color: var(--terracotta-light); transition: color var(--transition); }
.footer-contact a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ── 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) {
    .hero-layout { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { height: 480px; order: -1; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-eyebrow { justify-content: center; }
    .about-layout { grid-template-columns: 1fr; gap: 48px; }
    .about-images { height: 480px; }
    .about-content { max-width: 100%; }
    .why-layout { grid-template-columns: 1fr; gap: 48px; }
    .why-visual { height: 400px; order: -1; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    section { padding: 72px 0; }
    .nav-toggle { display: flex; }
    #main-nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(253,246,238,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(184,93,56,0.1);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        pointer-events: none;
    }
    #main-nav ul.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-item-large { grid-column: span 12; height: 260px; }
    .gallery-item:not(.gallery-item-wide) { height: 200px; }
    .gallery-item-wide { grid-column: span 12; height: 200px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 32px 24px; }
    .hero-visual { height: 400px; }
    .stat-card-1 { bottom: 120px; left: 0; }
    .stat-card-2 { bottom: 40px; left: 10px; }
    .stat-card-3 { top: 20px; left: 0; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .about-img-secondary { right: -10px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; width: 100%; }
    .hero-visual { height: 340px; }
    .hero-stat-card { padding: 14px 18px; }
    .stat-number { font-size: 1.4rem; }
    .about-stats { flex-direction: column; gap: 24px; }
}
