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

:root {
    --terracotta: #C47251;
    --terracotta-dark: #A85D3F;
    --terracotta-light: #D4917A;
    --sand: #F5F0EB;
    --sand-dark: #E8E0D8;
    --sand-light: #FAF8F5;
    --charcoal: #2A2522;
    --charcoal-light: #4A423D;
    --warm-gray: #8A7E76;
    --warm-gray-light: #B8ADA5;
    --white: #FFFFFF;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--sand-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(42, 37, 34, 0.06);
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    display: flex;
    align-items: center;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--white);
    transition: color 0.4s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    position: relative;
}

.nav.scrolled .nav-links a {
    color: var(--charcoal-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav.scrolled .nav-links a:hover {
    color: var(--terracotta);
}

.nav-cta {
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 22px;
    transition: all 0.3s ease !important;
}

.nav.scrolled .nav-cta {
    color: var(--terracotta) !important;
    border-color: var(--terracotta) !important;
}

.nav-cta:hover {
    background: var(--terracotta) !important;
    border-color: var(--terracotta) !important;
    color: var(--white) !important;
}

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav.scrolled .nav-toggle span {
    background: var(--charcoal);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--sand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

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

.mobile-menu-cta {
    margin-top: 12px;
    font-family: var(--font-body);
    font-size: 0.85rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    color: var(--terracotta) !important;
    border: 1px solid var(--terracotta);
    padding: 12px 32px;
}

.mobile-menu-contact {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 2;
}

.mobile-menu-contact a {
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.mobile-menu-contact a:hover {
    color: var(--terracotta);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    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, 37, 34, 0.72) 0%,
        rgba(42, 37, 34, 0.55) 50%,
        rgba(196, 114, 81, 0.3) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-inner {
    max-width: 680px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-headline br {
    display: none;
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
    opacity: 0;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border: 1px solid var(--terracotta);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.btn-full {
    width: 100%;
}

/* ===== Section Shared ===== */
.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.section-line {
    width: 48px;
    height: 1px;
    background: var(--terracotta);
    margin-bottom: 32px;
}

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

.section-header {
    max-width: 560px;
    margin-bottom: 72px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--sand-dark);
    border: 1px solid var(--sand-dark);
}

.service-card {
    background: var(--sand-light);
    padding: 48px 36px;
    transition: all 0.5s var(--ease-out);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.5s var(--ease-out);
}

.service-card:hover::before {
    width: 100%;
}

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

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--terracotta);
    margin-bottom: 28px;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover .service-icon {
    transform: translateY(-4px);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--warm-gray);
    font-weight: 300;
}

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

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.about-image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--terracotta);
    border-radius: 2px;
    z-index: -1;
}

.about-content {
    max-width: 480px;
}

.about-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--warm-gray);
    font-weight: 300;
    margin-bottom: 20px;
}

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

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

.stat-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--charcoal);
}

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--sand-dark);
}

/* ===== Why Us ===== */
.why {
    padding: 120px 0;
    background: var(--sand);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.why-item {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--sand-dark);
    transition: all 0.4s var(--ease-out);
}

.why-item:hover {
    border-color: var(--terracotta-light);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(196, 114, 81, 0.08);
}

.why-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--terracotta-light);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.why-item:hover .why-number {
    color: var(--terracotta);
}

.why-item h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.why-item p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--warm-gray);
    font-weight: 300;
}

/* ===== CTA ===== */
.cta {
    position: relative;
    padding: 120px 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, 37, 34, 0.8) 0%,
        rgba(196, 114, 81, 0.6) 100%
    );
}

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.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-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--warm-gray);
    font-weight: 300;
    margin-bottom: 48px;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 400;
}

.contact-detail a {
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 400;
    transition: color 0.3s ease;
}

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

/* Form */
.contact-form-wrap {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--sand-dark);
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--charcoal);
    background: var(--sand-light);
    border: 1px solid var(--sand-dark);
    padding: 14px 16px;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 2px;
    -webkit-appearance: 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(196, 114, 81, 0.08);
}

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

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

.form-group select {
    cursor: pointer;
    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='M6 8L1 3H11L6 8Z' fill='%238A7E76'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 16px;
}

.form-success.active {
    display: flex;
}

.success-icon {
    color: var(--terracotta);
    margin-bottom: 8px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--charcoal);
}

.form-success p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    font-weight: 300;
    line-height: 1.7;
}

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

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

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    line-height: 1.8;
    margin-top: 16px;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

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

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    transition: color 0.3s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    line-height: 1.8;
}

.footer-contact a {
    font-size: 0.85rem;
    color: var(--terracotta-light);
    font-weight: 400;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .contact-grid {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-headline br {
        display: block;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 36px 28px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image img {
        height: 360px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .why {
        padding: 80px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .cta {
        padding: 80px 0;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}
