
:root {
    --bg-primary: #F5F3EE;
    --bg-secondary: #E8E3DA;
    --dark: #1B1B1A;
    --text-main: #2A2927;
    --text-muted: #706C65;
    --accent: #A48962;
    --light: #FFFFFF;
    --font-main: 'Inter', Arial, sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 400; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
.lead { font-size: 1.25rem; color: var(--text-muted); }
.muted, .text-muted { color: var(--text-muted); }
.accent { color: var(--accent); }
.light { color: var(--light); }
.opacity-50 { opacity: 0.5; }

.label-text {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
    font-weight: 600; display: block; margin-bottom: 0.5rem;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 8rem 0; }
.pt-0 { padding-top: 0; } .pb-0 { padding-bottom: 0; }
.pt-4 { padding-top: 2rem; } .pb-4 { padding-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.p-4 { padding: 2rem; }
.w-100 { width: 100%; } .h-100 { height: 100%; }
.text-center { text-align: center; }
.flex-gap { display: flex; gap: 1rem; flex-wrap: wrap; }
.flex-between { display: flex; justify-content: space-between; }
.flex-column { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.hidden { display: none; }
.cursor-pointer { cursor: pointer; }
.border { border: 1px solid var(--bg-secondary); }
.border-top { border-top: 1px solid var(--bg-secondary); }
.border-bottom { border-bottom: 1px solid var(--bg-secondary); }
.pr-4 { padding-right: 2rem; }
.clean-list { list-style-position: inside; color: var(--text-muted); }
.clean-list li { margin-bottom: 0.5rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.direction-rtl > div:first-child { order: 2; }
.direction-rtl > div:last-child { order: 1; }

@media (max-width: 900px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
    .direction-rtl > div:first-child, .direction-rtl > div:last-child { order: unset; }
    .pr-4 { padding-right: 0; }
}

.btn {
    display: inline-block; padding: 1rem 2rem; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500;
    text-decoration: none; transition: var(--transition); cursor: pointer;
    border: 1px solid transparent; text-align: center;
}
.btn.small { padding: 0.75rem 1.5rem; }
.btn-primary { background-color: var(--dark); color: var(--light); }
.btn-primary:hover { background-color: var(--accent); }
.btn-secondary { background-color: var(--light); color: var(--dark); }
.btn-secondary:hover { background-color: var(--bg-secondary); }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background-color: var(--dark); color: var(--light); }

.navbar {
    position: fixed; top: 0; width: 100%; background: rgba(245, 243, 238, 0.95);
    backdrop-filter: blur(10px); z-index: 1000;
    transition: padding 0.3s ease, border-bottom 0.3s ease; border-bottom: 1px solid transparent;
    padding: 1.5rem 0;
}
.navbar.scrolled { padding: 1rem 0; border-bottom: 1px solid var(--bg-secondary); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 5%; display: flex; justify-content: space-between; align-items: center; }
.logo { text-decoration: none; color: var(--dark); }
.logo-main { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.05em; }
.logo-sub { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-links .btn-nav { border: 1px solid var(--dark); padding: 0.5rem 1rem; }
.nav-links .btn-nav:hover { background: var(--dark); color: var(--light); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-menu-btn .bar { width: 25px; height: 2px; background: var(--dark); transition: 0.3s; }
.mobile-menu {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--bg-primary); padding: 2rem 5%; border-bottom: 1px solid var(--bg-secondary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.mobile-menu.active { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu a { text-decoration: none; color: var(--dark); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 900px) { .nav-links { display: none; } .mobile-menu-btn { display: flex; } }

.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--light); padding: 0 5%; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(27,27,26,0.6), rgba(27,27,26,0.8)); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { color: var(--light); margin: 1.5rem 0; }
.hero p { font-size: 1.25rem; color: #E8E3DA; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-indicator { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); z-index: 2; text-align: center; }
.scroll-line { width: 1px; height: 50px; background: rgba(255,255,255,0.3); margin: 1rem auto 0; position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: var(--light); animation: scrollLine 2s infinite ease-in-out; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--bg-secondary); border-bottom: 1px solid var(--bg-secondary); padding: 3rem 5%; }
.stat-item { padding: 0 2rem; border-right: 1px solid var(--bg-secondary); }
.stat-item:last-child { border-right: none; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem 5%; border: none; } .stat-item { border-right: none; padding: 0; } }

.img-box, .property-img-placeholder { background-color: var(--bg-secondary); width: 100%; aspect-ratio: 4/3; border-radius: 4px; }
.about-image-placeholder.large .img-box { aspect-ratio: 16/9; }
.service-row .img-box { aspect-ratio: 16/10; }

.process-card, .value-card, .category-card { background: var(--light); padding: 3rem 2rem; border: 1px solid var(--bg-secondary); transition: var(--transition); }
.process-card:hover, .value-card:hover, .category-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: var(--accent); }

.property-card { border: 1px solid var(--bg-secondary); background: var(--light); }
.property-info { padding: 2rem; }

.location-card { background: var(--light); padding: 3rem; border: 1px solid var(--bg-secondary); }

.review-box { background: var(--light); border: 1px solid var(--bg-secondary); padding: 4rem; text-align: center; }

.contact-form { background: var(--light); padding: 3rem; border: 1px solid var(--bg-secondary); }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid var(--bg-secondary); background: var(--bg-primary); font-family: var(--font-main); font-size: 1rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-success { margin-top: 1rem; padding: 1rem; background: #e6f4ea; color: #1e4620; border: 1px solid #cce8d6; font-size: 0.9rem; }

.footer { background: var(--dark); color: var(--light); padding: 6rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; max-width: 1400px; margin: 0 auto; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 4rem; }
.footer h3, .footer h4 { color: var(--light); }
.footer-brand h3 { margin-bottom: 1rem; }
.footer-links a, .footer-legal a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.3s; }
.footer-links a:hover, .footer-legal a:hover { color: var(--accent); }
.footer-contact p { color: var(--text-muted); margin-bottom: 0.5rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 2rem auto 0; color: var(--text-muted); font-size: 0.85rem; flex-wrap: wrap; gap: 1rem; }
.footer-legal { display: flex; gap: 2rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-up { animation: fadeUpAnim 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeUpAnim { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }

#back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 50px; height: 50px; background: var(--dark); color: var(--light); border: none; cursor: pointer; opacity: 0; pointer-events: none; transition: 0.3s; z-index: 99; }
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--accent); }
