:root {
    --primary: #0F2A4A;      /* Deep Navy */
    --secondary: #C5A880;    /* Muted Gold/Champagne */
    --secondary-hover: #b0946d;
    --text-dark: #2D3748;
    --text-light: #718096;
    --bg-light: #F7FAFC;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 42, 74, 0.15);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 40px; }
.w-100 { width: 100%; }
.bg-light { background-color: var(--bg-light); }

/* Typography */
h1, h2, h3, h4 { color: var(--primary); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3rem; margin-bottom: 20px; }
h2 { font-size: 2.2rem; margin-bottom: 15px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
.subtitle { color: var(--secondary); font-weight: 500; font-size: 1.1rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.highlight { color: var(--secondary); }
p { color: var(--text-light); margin-bottom: 15px; }
.fine-print { font-size: 0.8rem; color: #A0AEC0; font-style: italic; border-top: 1px solid #E2E8F0; padding-top: 15px; margin-top: 15px; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}
.btn-primary { background-color: var(--secondary); color: var(--white); }
.btn-primary:hover { background-color: var(--secondary-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background-color: var(--primary); color: var(--white); }
.btn-large { padding: 15px 30px; font-size: 1.1rem; }

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.nav-logo { height: 65px; object-fit: contain; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--secondary); }
.nav-contact { display: flex; align-items: center; gap: 20px; }
.phone-link { color: var(--primary); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--primary); margin: 5px 0; transition: 0.3s; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15,42,74,0.03) 0%, rgba(15,42,74,0.08) 100%);
    padding: 80px 0;
    overflow: hidden;
}
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-content { flex: 1.2; }
.badge { display: inline-block; background: var(--primary); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.hero-trust { display: flex; align-items: center; gap: 15px; margin-top: 30px; border-top: 1px solid #E2E8F0; padding-top: 20px; }
.hero-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--secondary); }
.hero-trust strong { display: block; color: var(--primary); font-size: 1.1rem; }
.hero-trust span { color: var(--text-light); font-size: 0.9rem; }

/* Hero Form (Lead Capture) */
.hero-form-wrapper { flex: 0.8; }
.hero-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border-top: 6px solid var(--secondary);
}
.hero-form h3 { font-size: 1.6rem; text-align: center; }
.hero-form p { text-align: center; font-size: 0.9rem; margin-bottom: 25px; }

/* Forms & Inputs */
input, select, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: #F7FAFC;
    transition: border-color 0.3s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--secondary); background: var(--white); }
textarea { resize: vertical; }

/* Sections */
.section { padding: 90px 0; }
.section-header { max-width: 600px; margin: 0 auto 50px; }

/* About Grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.main-bio-img { width: 100%; border-radius: 8px; box-shadow: var(--shadow-md); }
.experience-badge { position: absolute; bottom: -20px; right: -20px; background: var(--primary); color: white; padding: 25px; border-radius: 8px; box-shadow: var(--shadow-lg); text-align: center; border-bottom: 4px solid var(--secondary); }
.experience-badge .number { display: block; font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--secondary); }
.experience-badge .text { font-size: 0.8rem; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.service-card { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow-sm); border: 1px solid #E2E8F0; transition: transform 0.3s, box-shadow 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.custom-list { list-style: none; margin-bottom: 20px; }
.custom-list li { position: relative; padding-left: 25px; margin-bottom: 12px; color: var(--text-light); }
.custom-list li::before { content: "✓"; position: absolute; left: 0; color: var(--secondary); font-weight: bold; }

/* Limited Services Banner */
.limited-services-banner { display: flex; align-items: center; justify-content: space-between; background: var(--primary); padding: 40px; border-radius: 8px; color: var(--white); gap: 40px; }
.limited-services-banner h3 { color: var(--white); }
.limited-services-banner p { color: #E2E8F0; margin-bottom: 0; }
.ls-cta { flex-shrink: 0; }
.limited-services-banner .btn-secondary { color: var(--white); border-color: var(--white); }
.limited-services-banner .btn-secondary:hover { background: var(--white); color: var(--primary); }

/* CMA Form Specifics */
.cma-form-container { max-width: 900px; margin: 0 auto; background: var(--white); padding: 50px; border-radius: 12px; box-shadow: var(--shadow-lg); border-top: 6px solid var(--secondary); }
.form-section-title { font-size: 1.2rem; border-bottom: 1px solid #E2E8F0; padding-bottom: 10px; margin-bottom: 20px; color: var(--primary); }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.form-grid-4 { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 20px; }
.input-group label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--primary); font-size: 0.95rem; }
.input-group select { appearance: none; background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230F2A4A%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right .7rem top 50%; background-size: .65rem auto; }

/* Calculator */
.calc-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; background: var(--primary); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.calc-text { padding: 50px; color: white; }
.calc-text h2 { color: white; }
.calc-text p { color: #E2E8F0; }
.calc-box { background: var(--white); padding: 50px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.calc-result { margin-top: 25px; font-size: 1.8rem; font-weight: 700; color: var(--primary); text-align: center; border-top: 2px dashed #E2E8F0; padding-top: 20px; }

/* Footer */
.footer { background: #0A192F; color: white; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-logo { height: 50px; background: white; padding: 8px; border-radius: 4px; margin-bottom: 20px; }
.footer h4 { color: white; margin-bottom: 20px; font-size: 1.2rem; }
.footer p, .footer a { color: #A0AEC0; text-decoration: none; transition: 0.3s; }
.footer a:hover { color: var(--secondary); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }

/* Association Logos */
.association-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 30px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 30px; }
.association-logos img { height: 50px; object-fit: contain; background: white; padding: 5px; border-radius: 4px; }

.footer-bottom { text-align: center; color: #718096; font-size: 0.9rem; }

/* GDPR Cookie Banner */
.cookie-banner { position: fixed; bottom: -100%; left: 0; width: 100%; background: var(--white); box-shadow: 0 -4px 15px rgba(0,0,0,0.1); padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 9999; transition: bottom 0.5s ease-in-out; border-top: 4px solid var(--secondary); }
.cookie-banner.show { bottom: 0; }
.cookie-content { flex: 1; margin-right: 30px; }
.cookie-content h4 { color: var(--primary); margin-bottom: 5px; font-size: 1.1rem; }
.cookie-content p { color: var(--text-dark); font-size: 0.9rem; margin: 0; }
.cookie-content a { color: var(--secondary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 15px; }
.cookie-decline { background-color: transparent; color: var(--text-light); border-color: var(--text-light); }
.cookie-decline:hover { background-color: #f1f1f1; color: var(--text-dark); }

/* --- FEATURED PROPERTY OVERHAUL --- */
.featured-card { 
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    background: var(--white); 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: var(--shadow-lg); 
    border: 1px solid #E2E8F0;
    max-width: 900px; 
    margin: 0 auto; 
    padding: 20px;
    gap: 30px;
}
.featured-img { 
    width: 500px; 
    height: 500px; 
    object-fit: cover; 
    border-radius: 8px;
    flex-shrink: 0; /* Prevents the image from shrinking */
}
.featured-info { 
    flex: 1;
    padding: 20px;
}
.featured-info h3 { margin-bottom: 5px; font-size: 1.6rem; }
.featured-info .price { font-size: 1.4rem; color: var(--secondary); font-weight: 700; margin-bottom: 15px; }
.featured-info .custom-list { margin-bottom: 25px; }

@media (max-width: 900px) {
    .featured-card { flex-direction: column; padding: 20px; }
    .featured-img { width: 100%; height: 300px; } /* Scales down on mobile */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    .hero-container, .about-grid, .services-grid, .calc-wrapper, .limited-services-banner { flex-direction: column; grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-trust { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .calc-wrapper { gap: 0; }
    .calc-text, .calc-box, .cma-form-container { padding: 40px 20px; }
    .form-grid-3, .form-grid-4 { grid-template-columns: 1fr; gap: 0; }
    .cookie-banner { flex-direction: column; text-align: center; }
    .cookie-content { margin-right: 0; margin-bottom: 15px; }
}

@media (max-width: 900px) {
    .featured-card { grid-template-columns: 1fr; }
    .featured-img { height: 280px; max-height: 280px; } /* Landscape banner on mobile */
    .featured-info { padding: 30px 20px; }
}

@media (max-width: 768px) {
    .nav-links, .nav-contact .phone-link { display: none; }
    .hamburger { display: block; }
    .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); padding: 20px; box-shadow: var(--shadow-md); }
    .hero { padding: 40px 0; }
    .experience-badge { bottom: -10px; right: 10px; padding: 15px; }
    .experience-badge .number { font-size: 2rem; }
}