/* ===== Custom Properties ===== */
:root {
    --color-terracotta: #B85C38;
    --color-terracotta-dark: #8B4528;
    --color-terracotta-light: #D4845A;
    --color-sand: #F5E6D3;
    --color-sand-light: #FBF5ED;
    --color-sand-dark: #D4B896;
    --color-cream: #FFF9F2;
    --color-bark: #3D2B1F;
    --color-bark-light: #5C4033;
    --color-text: #2C1810;
    --color-text-muted: #6B4C3B;
    --color-white: #FFFFFF;
    --color-border: rgba(184, 92, 56, 0.15);
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(61, 43, 31, 0.06), 0 1px 2px rgba(61, 43, 31, 0.04);
    --shadow-md: 0 4px 16px rgba(61, 43, 31, 0.08), 0 2px 4px rgba(61, 43, 31, 0.04);
    --shadow-lg: 0 12px 40px rgba(61, 43, 31, 0.12), 0 4px 12px rgba(61, 43, 31, 0.06);
    --shadow-xl: 0 24px 60px rgba(61, 43, 31, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
    list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 249, 242, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

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

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

.nav__logo-text {
    color: var(--color-terracotta);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__links a {
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition);
    position: relative;
}

.nav__links a:not(.btn):hover {
    color: var(--color-terracotta);
}

.nav__links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-terracotta);
    border-radius: 1px;
    transition: width var(--transition);
}

.nav__links a:not(.btn):hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    transition: background var(--transition);
}

.nav__toggle:hover {
    background: var(--color-sand);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.938rem;
    border-radius: var(--radius-xl);
    padding: 12px 28px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(184, 92, 56, 0.3);
}

.btn--primary:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 92, 56, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--color-terracotta);
    border: 2px solid var(--color-terracotta);
}

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

.btn--white {
    background: var(--color-white);
    color: var(--color-terracotta);
    box-shadow: var(--shadow-md);
}

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

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

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

.btn--sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.063rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ===== Section Shared ===== */
.section-tag {
    display: inline-block;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta);
    background: rgba(184, 92, 56, 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section-tag--light {
    color: var(--color-sand);
    background: rgba(255, 255, 255, 0.15);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-title--light {
    color: var(--color-white);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.section-desc--light {
    color: rgba(255, 255, 255, 0.8);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ===== Hero ===== */
.hero {
    padding: 120px 0 80px;
    background: var(--color-cream);
    overflow: hidden;
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-terracotta);
    background: rgba(184, 92, 56, 0.1);
    padding: 8px 18px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
}

.hero__headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-bark);
}

.hero__sub {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

.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.938rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

/* Hero Visual */
.hero__visual {
    position: relative;
    min-height: 560px;
}

.hero__img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    height: 520px;
}

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

.hero__img-float {
    position: absolute;
    bottom: -30px;
    left: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 240px;
    border: 4px solid var(--color-cream);
}

.hero__img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__img-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 180px;
    border: 4px solid var(--color-cream);
}

.hero__img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__stats {
    position: absolute;
    bottom: 40px;
    right: -30px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat {
    text-align: center;
}

.stat__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-terracotta);
    line-height: 1;
}

.stat__label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

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

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

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

.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border);
}

.card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card__body {
    font-size: 0.938rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

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

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

.about__img-stack {
    position: relative;
}

.about__img-stack img {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about__img-badge {
    position: absolute;
    bottom: -20px;
    left: 24px;
    background: var(--color-terracotta);
    color: var(--color-white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.938rem;
    box-shadow: var(--shadow-md);
}

.about__content .section-tag {
    margin-bottom: 16px;
}

.about__content .section-title {
    margin-bottom: 24px;
}

.about__body {
    font-size: 1.063rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__highlights {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--color-text);
}

.highlight svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== Why Us ===== */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-bark) 0%, var(--color-bark-light) 100%);
}

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

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.why-card__num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(232, 165, 124, 0.3);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card__title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.why-card__body {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
}

/* ===== CTA Banner ===== */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-dark) 100%);
}

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

.cta-banner__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: 12px;
}

.cta-banner__text {
    font-size: 1.063rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    line-height: 1.7;
}

.cta-banner__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--color-sand-light);
}

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

.contact__info .section-tag {
    margin-bottom: 16px;
}

.contact__info .section-title {
    margin-bottom: 16px;
}

.contact__desc {
    font-size: 1.063rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

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

.contact-detail__icon {
    width: 48px;
    height: 48px;
    background: rgba(184, 92, 56, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail__label {
    display: block;
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.contact-detail__value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

.contact-detail__link {
    color: var(--color-terracotta);
    transition: color var(--transition);
}

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

.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Form */
.contact__form-wrap {
    width: 100%;
}

.contact__form-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.contact__form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact__form-sub {
    font-size: 0.938rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.938rem;
    color: var(--color-text);
    background: var(--color-sand-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--color-terracotta);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(184, 92, 56, 0.1);
}

.form-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 24 24' fill='none' stroke='%236B4C3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

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

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

.form-success.show {
    display: block;
}

.form-success__icon {
    width: 72px;
    height: 72px;
    background: rgba(45, 106, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.form-success__text {
    font-size: 0.938rem;
    color: var(--color-text-muted);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bark);
    padding: 64px 0 0;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.footer__links a {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

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

.footer__contact p {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer__contact a {
    color: var(--color-sand);
    transition: color var(--transition);
}

.footer__contact a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Mobile Menu ===== */
.mobile-overlay {
    display: none;
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__grid {
        gap: 48px;
    }
    
    .hero__visual {
        min-height: 440px;
    }
    
    .hero__img-main {
        height: 420px;
    }
    
    .hero__img-float {
        width: 200px;
        left: -20px;
        bottom: -20px;
    }
    
    .hero__img-accent {
        width: 140px;
        right: -10px;
    }
    
    .hero__stats {
        right: -10px;
        bottom: 30px;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 249, 242, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
        box-shadow: var(--shadow-lg);
    }
    
    .nav__links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero__visual {
        min-height: 360px;
        order: -1;
    }
    
    .hero__img-main {
        height: 320px;
    }
    
    .hero__img-float {
        width: 160px;
        left: 10px;
        bottom: -10px;
    }
    
    .hero__img-accent {
        width: 120px;
        top: -10px;
        right: 10px;
    }
    
    .hero__stats {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        justify-content: flex-start;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        justify-content: center;
    }
    
    .hero__trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .services {
        padding: 72px 0;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .about {
        padding: 72px 0;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__img-stack img {
        height: 360px;
    }
    
    .about__highlights {
        grid-template-columns: 1fr;
    }
    
    .why-us {
        padding: 72px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        padding: 60px 0;
    }
    
    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-banner__actions {
        justify-content: center;
    }
    
    .contact {
        padding: 72px 0;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact__form-card {
        padding: 28px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: 2rem;
    }
    
    .hero__img-float,
    .hero__img-accent {
        display: none;
    }
    
    .hero__visual {
        min-height: 280px;
    }
    
    .hero__img-main {
        height: 280px;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
