/* ----- GLOBAL MODERN RESET ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #13293D;
    line-height: 1.5;
    overflow-x: hidden;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}
h1 { font-size: 3.2rem; line-height: 1.1; }
h2 { font-size: 2.6rem; margin-bottom: 1rem; }
h3 { font-size: 1.7rem; margin-bottom: 0.75rem; }
p { color: #3e5a6b; font-weight: 400; font-size: 1.05rem; }

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

.btn {
    display: inline-block;
    background: #0f3d5e;
    color: white;
    font-weight: 600;
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 12px 22px rgba(15,61,94,0.12);
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.btn i { margin-right: 8px; }
.btn:hover {
    background: #1a567c;
    transform: translateY(-3px);
    box-shadow: 0 20px 25px rgba(15,61,94,0.2);
}
.btn-outline {
    background: transparent;
    color: #0f3d5e;
    border: 2px solid #0f3d5e;
    box-shadow: none;
}
.btn-outline:hover {
    background: #0f3d5e;
    color: white;
}

/* ----- HEADER (clean, light) ----- */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #0f3d5e;
    letter-spacing: -0.02em;
}
.logo span {
    color: #e57a44;
}
.nav-links {
    display: flex;
    gap: 2.4rem;
    align-items: center;
    font-weight: 500;
}
.nav-links a {
    color: #1f3c4c;
    transition: 0.2s;
    font-size: 1.02rem;
}
.nav-links a:hover {
    color: #e57a44;
}
.lang-toggle {
    display: flex;
    gap: 6px;
    background: #f0f4f8;
    padding: 5px;
    border-radius: 50px;
}
.lang-btn {
    background: transparent;
    border: none;
    padding: 7px 16px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    color: #3e566b;
    transition: 0.15s;
}
.lang-btn.active {
    background: white;
    color: #0f3d5e;
    box-shadow: 0 4px 8px rgba(0,0,0,0.02);
}
.mobile-menu-icon { display: none; font-size: 1.9rem; color: #0f3d5e; cursor: pointer; }

/* ----- HERO ----- */
.hero-simple {
    padding: 80px 0 90px;
    background: white;
}
.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.hero-content {
    flex: 1.2;
}
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: #0a2a3b;
    max-width: 700px;
}
.hero-content p {
    font-size: 1.25rem;
    color: #3e6a7c;
    margin-bottom: 2rem;
    max-width: 550px;
}
.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}
.stat-item h4 {
    font-size: 2rem;
    color: #0f3d5e;
    margin-bottom: 0.2rem;
}
.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #5f7d8b;
    margin-bottom: 0;
}
.hero-image {
    flex: 0.9;
    border-radius: 32px;
    height: 440px;
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=85');
    background-size: cover;
    background-position: center;
    box-shadow: 0 25px 40px -18px rgba(0,0,0,0.12);
    border: 1px solid rgba(229,122,68,0.1);
    transition: transform 0.4s ease;
}
.hero-image:hover {
    transform: scale(1.01);
}

/* ----- BANNER ----- */
.normal-banner {
    background: white;
    padding: 14px 0;
    border-bottom: 1px solid rgba(229,122,68,0.1);
    border-top: 1px solid rgba(229,122,68,0.03);
    text-align: center;
    width: 100%;
}
.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 0.98rem;
    font-weight: 500;
    color: #1f4c5e;
}
.banner-content i {
    color: #e57a44;
    margin-right: 8px;
}
.banner-highlight {
    background: #fef1ea;
    padding: 6px 18px;
    border-radius: 50px;
    color: #b1421d;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

/* ----- SERVICES ----- */
.section {
    padding: 100px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    color: #0a2a3b;
    display: inline-block;
    position: relative;
}
.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 4px;
    background: linear-gradient(90deg, #e57a44, transparent);
    border-radius: 4px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}
.service-card {
    background: white;
    border: 1px solid #f0f5f9;
    padding: 40px 28px;
    border-radius: 32px;
    box-shadow: 0 12px 30px -8px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: #e57a44;
    box-shadow: 0 25px 35px -10px rgba(229,122,68,0.08);
}
.service-card i {
    font-size: 2.8rem;
    color: #e57a44;
    margin-bottom: 24px;
}
.service-card h3 { color: #0f3d5e; }

/* ----- GROUP COMPANIES ----- */
.group-companies {
    background: #fafdff;
    padding: 80px 0;
    border-top: 1px solid #ecf3f7;
}
.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.company-card {
    background: white;
    border-radius: 28px;
    padding: 32px 20px 28px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.02);
    border: 1px solid #ecf3f7;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.company-card:hover {
    border-color: #e57a44;
    background: #fffcf9;
    transform: translateY(-5px);
    box-shadow: 0 20px 28px -8px rgba(229,122,68,0.12);
}
.company-logo {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}
.company-card:hover .company-logo {
    transform: scale(1.02);
}
.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.company-card h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: #0f3d5e;
}
.company-card p {
    font-size: 0.92rem;
    color: #4f6f7f;
    margin-top: 4px;
}

/* ----- ABOUT ----- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.about-image {
    border-radius: 32px;
    height: 460px;
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=85');
    background-size: cover;
    background-position: center;
    box-shadow: 0 25px 40px -18px rgba(0,0,0,0.1);
    border: 1px solid rgba(229,122,68,0.1);
    transition: transform 0.4s ease;
}
.about-image:hover {
    transform: scale(1.01);
}
.badge-modern {
    background: #e57a44;
    color: white;
    padding: 10px 22px;
    border-radius: 40px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ----- TESTIMONIALS ----- */
.testimonials {
    background: #f7fcff;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background: white;
    padding: 35px 30px;
    border-radius: 32px;
    border-bottom: 5px solid #e57a44;
    box-shadow: 0 6px 16px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}
.testimonial-card i {
    color: #e57a44;
    font-size: 2rem;
    margin-bottom: 16px;
    opacity: 0.5;
}
.client-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid #e57a44;
}
.testimonial-company-icon {
    position: absolute;
    bottom: 20px; right: 25px;
    font-size: 2.8rem;
    color: #0f3d5e;
    opacity: 0.06;
    pointer-events: none;
}

/* ----- CONTACT ----- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    padding: 60px;
    border-radius: 48px;
    border: 1px solid #f0f6fa;
    align-items: center;
}
.contact-image {
    border-radius: 28px;
    height: 340px;
    background-image: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=85');
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.06);
    border: 1px solid rgba(229,122,68,0.1);
}
.contact-detail i {
    font-size: 1.9rem;
    color: #e57a44;
    width: 40px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px 24px;
    border: 1px solid #e7f0f5;
    border-radius: 60px;
    font-size: 1rem;
    background: white;
    transition: 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: #e57a44;
    outline: none;
    box-shadow: 0 0 0 3px rgba(229,122,68,0.05);
}
.contact-form textarea { border-radius: 30px; }

/* ----- FOOTER ----- */
footer {
    background: #0a2a3b;
    color: white;
    padding: 60px 0 30px;
}
.footer-links a { color: #b0d4e0; }
.footer-links a:hover { color: #e57a44; }

/* ----- LANGUAGE SWITCH ----- */
.lang-pt .en-text, .lang-en .pt-text { display: none; }
body.lang-en .en-text { display: inline-block; }
body.lang-pt .pt-text { display: inline-block; }
body.lang-pt .en-text { display: none; }
body.lang-en .pt-text { display: none; }

/* ----- RESPONSIVE ----- */
@media (max-width: 1000px) {
    .hero-grid { flex-direction: column; }
    .hero-content h1 { font-size: 2.8rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .contact-image { height: 280px; }
}
@media (max-width: 800px) {
    .nav-links { display: none; }
    .mobile-menu-icon { display: block; }
    .hero-stats { gap: 25px; flex-wrap: wrap; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .group-grid { grid-template-columns: 1fr; }
}


/* Property Page Enhancements */

/* Filter Section */
.filter-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.filter-section select,
.filter-section input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.filter-section select:focus,
.filter-section input:focus {
    outline: none;
    border-color: #e57a44;
}

.filter-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(229,122,68,0.15);
}

.property-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: white;
    color: #0f3d5e;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.badge.featured {
    background: #e57a44;
    color: white;
}

.badge.status {
    background: #0f3d5e;
    color: white;
}

.property-photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    backdrop-filter: blur(5px);
}

.property-content {
    padding: 20px;
}

.property-type {
    color: #e57a44;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.property-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f3d5e;
    margin-bottom: 10px;
    line-height: 1.4;
}

.property-location {
    color: #6c7e8a;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-location i {
    color: #e57a44;
    font-size: 0.9rem;
}

.property-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c7e8a;
    font-size: 0.9rem;
}

.property-detail i {
    color: #e57a44;
}

.property-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f3d5e;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 8px;
    background: white;
    color: #0f3d5e;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #e57a44;
    color: white;
    border-color: #e57a44;
}

.pagination .active {
    background: #e57a44;
    color: white;
    border-color: #e57a44;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.no-results i {
    font-size: 4rem;
    color: #e57a44;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 2rem;
    color: #0f3d5e;
    margin-bottom: 10px;
}

.no-results p {
    color: #6c7e8a;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-actions {
        justify-content: stretch;
    }
    
    .filter-actions .btn,
    .filter-actions .btn-reset {
        flex: 1;
        text-align: center;
    }
    
    .property-details {
        flex-wrap: wrap;
    }
}