/* ============================================
   ENVASES MICROONDA LLC - Premium Real Estate
   Main Stylesheet
   ============================================ */

/* ============ CSS VARIABLES ============ */
:root {
    --gold: #c6a962;
    --gold-light: #dbc07a;
    --gold-dark: #a08230;
    --gold-gradient: linear-gradient(135deg, #dbc07a, #c6a962, #a08230);
    --dark: #111827;
    --dark-2: #1e293b;
    --dark-3: #0c1524;
    --charcoal: #1f2937;
    --text: #374151;
    --text-light: #6b7280;
    --white: #ffffff;
    --off-white: #fafaf8;
    --cream: #f9f8f5;
    --light-gray: #f3f2ef;
    --border: #e8e6e1;
    --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.04), 0 20px 60px rgba(0,0,0,0.1);
    --shadow-gold: 0 4px 20px rgba(198, 169, 98, 0.25);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', -apple-system, sans-serif;
    --font-logo: 'Cormorant Garamond', Georgia, serif;
    --font-accent: 'Montserrat', sans-serif;
}

/* ============ RESET & BASE ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

/* ============ PRELOADER ============ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    margin-bottom: 24px;
    animation: logoFloat 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.loader-brand {
    color: var(--white);
    font-family: var(--font-logo);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 6px;
}

.loader-tagline {
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 6px;
    margin-top: 8px;
}

.loader-bar {
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0;
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 2px;
    animation: loadBar 1.5s ease-in-out forwards;
}

@keyframes loadBar {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ============ NAVIGATION ============ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 16px 0;
}

#navbar.scrolled {
    background: rgba(17, 24, 39, 0.98);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    padding: 8px 0;
    box-shadow: 0 1px 0 rgba(198, 169, 98, 0.1), 0 8px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---- LOGO ---- */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    z-index: 1001;
}

.logo:hover .logo-icon svg {
    transform: scale(1.05);
}

.logo-icon svg {
    transition: transform 0.35s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    display: block;
    font-family: var(--font-logo);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.1;
    color: var(--white);
    text-transform: uppercase;
}

.logo-divider {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold);
    margin: 5px 0;
}

.logo-sub {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.6rem;
    letter-spacing: 4px;
    color: var(--gold);
    font-weight: 500;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: all 0.35s ease;
    transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: transparent;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 20px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    background: var(--gold);
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.5px;
    font-family: var(--font-accent);
}

.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============ HERO SECTION ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(17, 24, 39, 0.7) 0%,
        rgba(17, 24, 39, 0.5) 40%,
        rgba(17, 24, 39, 0.6) 70%,
        rgba(17, 24, 39, 0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(198, 169, 98, 0.1);
    border: 1px solid rgba(198, 169, 98, 0.25);
    color: var(--gold);
    padding: 8px 26px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-accent);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 30px 50px;
    background: rgba(255, 255, 255, 0.04);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gold);
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: var(--gold);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.slider-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 5px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 34px;
    border-radius: 6px;
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 38px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============ SECTION HEADERS ============ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-tag.center {
    justify-content: center;
}

.section-tag.light {
    color: var(--gold-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-subtitle.light {
    color: rgba(255, 255, 255, 0.6);
}

.section-header {
    margin-bottom: 60px;
}

.section-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto 0;
}

.section-header.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* ============ ABOUT SECTION ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-main:hover img {
    transform: scale(1.05);
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--dark);
    color: var(--white);
    padding: 22px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    border: 1px solid rgba(198,169,98,0.2);
}

.exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
}

.exp-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.about-text {
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 0.98rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}

.about-feature i {
    color: var(--gold);
    font-size: 1.1rem;
}

.about-cta {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.about-phone {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-icon {
    width: 50px;
    height: 50px;
    background: rgba(200, 164, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
}

.phone-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.phone-number {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.05rem;
}

.phone-number:hover {
    color: var(--gold);
}

/* ============ SERVICES SECTION ============ */
.services {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: var(--dark);
    border-color: var(--dark);
}

.service-card.featured h3,
.service-card.featured p {
    color: var(--white);
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.7);
}

.service-card.featured .service-icon {
    background: rgba(200, 164, 94, 0.2);
}

.service-card.featured .service-link {
    color: var(--gold);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(198,169,98,0.08), rgba(198,169,98,0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(198,169,98,0.15);
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--gold);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 14px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    gap: 12px;
}

/* ============ PROPERTIES SECTION ============ */
.property-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    border-radius: 4px;
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(198,169,98,0.2);
}

.property-card.hidden {
    display: none;
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.property-badge.sale {
    background: rgba(46, 125, 50, 0.9);
}

.property-badge.rent {
    background: rgba(21, 101, 192, 0.9);
}

.property-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(26, 26, 46, 0.9);
    color: var(--gold);
    padding: 8px 18px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.property-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.property-card:hover .property-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
    font-size: 0.9rem;
}

.action-btn:hover {
    background: var(--gold);
    color: var(--white);
}

.property-details {
    padding: 24px;
}

.property-location {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.property-location i {
    margin-right: 4px;
}

.property-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 16px;
    font-weight: 600;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-bottom: 16px;
}

.property-features span {
    font-size: 0.82rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-features i {
    color: var(--gold);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.property-agent {
    display: flex;
    align-items: center;
    gap: 10px;
}

.property-agent img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.property-agent span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--charcoal);
}

/* ============ WHY CHOOSE US ============ */
.why-us {
    position: relative;
    overflow: hidden;
}

.why-us-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.why-us-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.93), rgba(15, 52, 96, 0.9));
}

.why-us .container {
    position: relative;
    z-index: 2;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: var(--transition);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    border-color: rgba(198, 169, 98, 0.3);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(200, 164, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon i {
    font-size: 1.8rem;
    color: var(--gold);
}

.why-card h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.why-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============ CERTIFICATIONS SECTION ============ */
.certifications {
    background: var(--white);
}

.cert-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.cert-card {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 45px;
    margin-bottom: 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gold);
}

.cert-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.cert-icon-wrap {
    width: 90px;
    height: 90px;
    min-width: 90px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.cert-icon-wrap i {
    font-size: 2.2rem;
    color: var(--white);
}

.cert-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.cert-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.cert-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.cert-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--charcoal);
    font-weight: 500;
}

.cert-meta i {
    color: var(--gold);
}

.cert-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--border);
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    transform: translateY(-2px);
}

.cert-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cert-badge-item {
    text-align: center;
    padding: 28px 16px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.cert-badge-item:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.cert-badge-item i {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}

.cert-badge-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}

@media (max-width: 768px) {
    .cert-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .cert-meta {
        justify-content: center;
    }

    .cert-actions {
        justify-content: center;
    }

    .cert-badges {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============ TEAM SECTION ============ */
.team {
    background: var(--off-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(transparent, rgba(26, 26, 46, 0.8));
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--gold);
}

.team-info {
    padding: 24px;
    text-align: center;
}

.team-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.team-info span {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 500;
}

.team-info p {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-top: 12px;
    line-height: 1.7;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    background: var(--cream);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 50px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.12;
    line-height: 1;
}

@media (min-width: 768px) {
    .testimonial-card {
        min-width: 50%;
        margin: 0 15px;
    }
    .testimonial-track {
        gap: 0;
    }
}

.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--gold);
    font-size: 1.1rem;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.testimonial-author h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 600;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.test-btn {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
    font-size: 0.9rem;
}

.test-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.test-dots {
    display: flex;
    gap: 8px;
}

.test-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.test-dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 5px;
}

/* ============ CTA BANNER ============ */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.92), rgba(15, 52, 96, 0.88));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    margin-bottom: 35px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline.light {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-outline.light:hover {
    background: var(--white);
    color: var(--dark);
}

/* ============ CONTACT SECTION ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background: var(--off-white);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(200, 164, 94, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-card a {
    color: var(--gold);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--gold-dark);
}

.text-sm {
    font-size: 0.8rem !important;
    color: var(--text-light);
}

.contact-socials {
    display: flex;
    gap: 12px;
    padding-top: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
}

.contact-form {
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 30px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    background: var(--off-white);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-light);
    margin-top: 16px;
}

.form-note i {
    color: var(--gold);
    margin-right: 4px;
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.65);
    padding-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon svg {
    width: 38px;
    height: 38px;
}

.footer-logo .logo-main {
    color: var(--white);
    font-family: var(--font-logo);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-logo .logo-sub {
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 0.55rem;
    letter-spacing: 4px;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    font-size: 0.85rem;
}

.footer-socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-col ul a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--gold);
    margin-top: 4px;
    min-width: 16px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--gold);
    padding-left: 0 !important;
}

.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--gold);
}

.footer-license {
    font-size: 0.82rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--dark);
    color: var(--gold);
    border: 1px solid rgba(198,169,98,0.3);
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* ============ ANIMATIONS ============ */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in:nth-child(1) { animation-delay: 0.2s; }
.animate-fade-in:nth-child(2) { animation-delay: 0.4s; }
.animate-fade-in:nth-child(3) { animation-delay: 0.6s; }
.animate-fade-in:nth-child(4) { animation-delay: 0.8s; }
.animate-fade-in:nth-child(5) { animation-delay: 1s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============ FORM SUCCESS MESSAGE ============ */
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-light);
}

/* ============ RESPONSIVE DESIGN ============ */

/* Tablet */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 25px;
        padding: 25px 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        padding: 25px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slider-controls {
        bottom: 70px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .about-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .testimonial-card {
        padding: 30px 20px;
        min-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-img-secondary {
        right: 10px;
        bottom: -20px;
        width: 160px;
    }

    .about-experience-badge {
        top: -10px;
        left: -10px;
        padding: 15px;
    }

    .exp-number {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .property-features {
        gap: 10px;
    }

    .property-features span {
        font-size: 0.78rem;
    }
}
