/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'DM Sans', sans-serif;
    color: #3D2B1F;
    background: #FDF8F4;
    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; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
    --terracotta: #C0603A;
    --terracotta-dark: #A84E2C;
    --terracotta-light: #D4845E;
    --sand: #F5E6D3;
    --sand-light: #FDF8F4;
    --sand-dark: #E8D5C0;
    --brown: #3D2B1F;
    --brown-light: #5C4033;
    --cream: #FFF9F5;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(61,43,31,0.06);
    --shadow-md: 0 4px 20px rgba(61,43,31,0.08);
    --shadow-lg: 0 8px 40px rgba(61,43,31,0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--terracotta);
    border-radius: 2px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--brown);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.0625rem;
    color: var(--brown-light);
    max-width: 560px;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn--primary {
    background: var(--terracotta);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(192,96,58,0.3);
}
.btn--primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(192,96,58,0.4);
}
.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline:hover {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
}
.btn--white {
    background: var(--white);
    color: var(--terracotta);
    box-shadow: var(--shadow-md);
}
.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn--full { width: 100%; justify-content: center; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253,248,244,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192,96,58,0.08);
    transition: var(--transition);
}
.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-size: 1.125rem;
    font-weight: 600;
    color: var(--brown);
}
.logo-icon { color: var(--terracotta); }
.logo-accent { color: var(--terracotta); }
.logo--light { color: var(--white); }
.logo--light .logo-accent { color: var(--sand); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--brown-light);
    transition: var(--transition);
    position: relative;
}
.nav-link:hover { color: var(--terracotta); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }
.nav-link--cta {
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
    background: var(--terracotta-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
}

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

/* ===== MOBILE NAV ===== */
.mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253,248,244,0.98);
    backdrop-filter: blur(16px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--brown);
    transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--terracotta); }
.mobile-nav-link--cta {
    margin-top: 8px;
    background: var(--terracotta);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    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(61,43,31,0.72) 0%,
        rgba(61,43,31,0.45) 50%,
        rgba(192,96,58,0.3) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 720px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--sand);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.hero-badge svg { opacity: 0.8; }
.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-headline em {
    font-style: italic;
    color: var(--sand);
}
.hero-sub {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: rgba(253,248,244,0.85);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(253,248,244,0.8);
    font-size: 0.875rem;
    font-weight: 500;
}
.trust-item svg { color: var(--sand); opacity: 0.7; }
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(253,248,244,0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--sand-light);
}
.services .container { text-align: center; }
.services .section-desc { margin: 0 auto 56px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(192,96,58,0.15);
}
.service-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192,96,58,0.08);
    border-radius: var(--radius-md);
    color: var(--terracotta);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-card-icon {
    background: var(--terracotta);
    color: var(--white);
}
.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.9375rem;
    color: var(--brown-light);
    line-height: 1.65;
}

/* ===== PROJECTS ===== */
.projects {
    padding: 100px 0;
    background: var(--white);
}
.projects .container { text-align: center; }
.projects .section-desc { margin: 0 auto 56px; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--sand-light);
    transition: var(--transition);
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.project-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover .project-img img {
    transform: scale(1.05);
}
.project-info {
    padding: 24px 28px;
    text-align: left;
}
.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: rgba(192,96,58,0.08);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}
.project-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 8px;
}
.project-info p {
    font-size: 0.9375rem;
    color: var(--brown-light);
    line-height: 1.6;
}

/* ===== WHY US ===== */
.why-us {
    padding: 100px 0;
    background: var(--sand-light);
}
.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.why-us-images {
    position: relative;
}
.why-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.why-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.why-img-float {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--sand-light);
}
.why-img-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.why-us-content .section-desc { margin-bottom: 36px; }
.why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.why-feature {
    display: flex;
    gap: 16px;
}
.why-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192,96,58,0.08);
    border-radius: var(--radius-sm);
    color: var(--terracotta);
}
.why-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 4px;
}
.why-feature p {
    font-size: 0.9375rem;
    color: var(--brown-light);
    line-height: 1.6;
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-content .section-desc { margin-bottom: 20px; }
.about-body {
    font-size: 1rem;
    color: var(--brown-light);
    line-height: 1.75;
    margin-bottom: 36px;
}
.about-stats {
    display: flex;
    gap: 40px;
}
.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--terracotta);
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--brown-light);
    line-height: 1.4;
}
.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    padding: 80px 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(61,43,31,0.78) 0%, rgba(192,96,58,0.6) 100%);
}
.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.cta-text {
    font-size: 1.0625rem;
    color: rgba(253,248,244,0.85);
    line-height: 1.7;
    margin-bottom: 32px;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--sand-light);
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-info .section-desc { margin-bottom: 36px; }
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192,96,58,0.08);
    border-radius: var(--radius-sm);
    color: var(--terracotta);
}
.contact-detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brown);
    margin-bottom: 4px;
}
.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--brown-light);
    transition: var(--transition);
}
.contact-detail a:hover { color: var(--terracotta); }

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brown);
    letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: var(--brown);
    background: var(--sand-light);
    transition: var(--transition);
    outline: none;
    width: 100%;
}
.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(192,96,58,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; 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' fill='none'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%23C0603A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: var(--terracotta);
}
.form-success.show { display: flex; }
.form-success svg { color: var(--terracotta); }
.form-success p { font-size: 1rem; color: var(--brown-light); line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
    background: var(--brown);
    color: var(--sand);
    padding: 64px 0 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(245,230,211,0.65);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sand);
    margin-bottom: 16px;
}
.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.9375rem;
    color: rgba(245,230,211,0.6);
    margin-bottom: 10px;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--sand); }
.footer-col p { line-height: 1.6; }
.footer-bottom {
    border-top: 1px solid rgba(245,230,211,0.12);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(245,230,211,0.4);
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

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

@media (max-width: 768px) {
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .hero-content { padding: 100px 24px 60px; }
    .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust { gap: 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .why-us-layout { grid-template-columns: 1fr; }
    .why-us-images { order: -1; max-width: 480px; }
    .why-img-float { right: -8px; bottom: -16px; }
    .about-layout { grid-template-columns: 1fr; }
    .about-image { order: -1; max-width: 480px; margin: 0 auto; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .services, .projects, .why-us, .about, .contact { padding: 64px 0; }
    .about-stats { flex-direction: column; gap: 20px; }
    .footer-links { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; justify-content: center; }
}
