/* ============================================
   سعد النشوان العقارية — Public Website CSS
   Premium Real Estate Design System
   ============================================ */

/* --- Font Face --- */
@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Bold.otf') format('opentype');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Medium.otf') format('opentype');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/OTF/TheYearofHandicrafts-Regular.otf') format('opentype');
    font-weight: 400;
    font-display: swap;
}

/* --- Root Variables --- */
:root {
    --primary: #4A6B5D;
    --primary-dark: #3D5A4E;
    --primary-light: #5E8370;
    --primary-pale: #EDF2EF;
    --primary-glow: rgba(74, 107, 93, 0.15);
    --accent: #C8A96E;
    --accent-light: #D4BC8B;
    --white: #FFFFFF;
    --off-white: #FAFBFA;
    --bg-soft: #F5F7F6;
    --bg-section: #F0F3F1;
    --text-dark: #1A2E23;
    --text: #2C3E35;
    --text-medium: #5A6B63;
    --text-light: #8A9B93;
    --border: #E2E8E5;
    --border-light: #EEF1EF;
    --shadow-sm: 0 2px 8px rgba(74, 107, 93, 0.06);
    --shadow: 0 4px 20px rgba(74, 107, 93, 0.08);
    --shadow-lg: 0 12px 40px rgba(74, 107, 93, 0.12);
    --shadow-xl: 0 20px 60px rgba(74, 107, 93, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'IBM Plex Sans Arabic', sans-serif;
    --font-body: 'IBM Plex Sans Arabic', sans-serif;
    --header-height: 95px;
}

/* --- Global Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    height: var(--header-height);
}
.site-header.scrolled {
    box-shadow: var(--shadow);
    height: 78px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-logo img {
    height: 90px;
    width: auto;
    transition: var(--transition);
}
.site-header.scrolled .header-logo img { height: 65px; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.main-nav a {
    padding: 10px 22px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    border-radius: 10px;
    position: relative;
    letter-spacing: 0;
}
.main-nav a:hover {
    color: var(--primary);
    background: var(--primary-pale);
}
.main-nav a.active {
    color: var(--primary);
    background: var(--primary-pale);
    font-weight: 700;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-medium);
    direction: ltr;
}
.header-phone i { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   HERO SECTION — Premium Full-Screen Design
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: var(--header-height);
}

/* Background Image */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* Gradient Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(26, 46, 35, 0.88) 0%,
        rgba(61, 90, 78, 0.75) 40%,
        rgba(74, 107, 93, 0.60) 70%,
        rgba(94, 131, 112, 0.50) 100%
    );
}

/* Decorative geometric pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(200, 169, 110, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
}

/* Bottom Wave Transition */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* Hero Layout */
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1240px;
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
    min-height: calc(100vh - var(--header-height));
}

/* Hero Text */
.hero-text {
    color: var(--white);
    text-align: center;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 169, 110, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 22px;
    border-radius: 100px;
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(200, 169, 110, 0.3);
    animation: fadeSlideRight 0.8s ease 0.2s both;
}
.hero-badge i { color: var(--accent-light); font-size: 11px; }

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 22px;
    animation: fadeSlideRight 0.8s ease 0.4s both;
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    color: rgba(255,255,255,0.78);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.9;
    animation: fadeSlideRight 0.8s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeSlideRight 0.8s ease 0.8s both;
}

/* Hero Visual Card */
.hero-visual {
    position: relative;
    animation: fadeSlideLeft 1s ease 0.5s both;
}

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 169, 110, 0.06) 0%, transparent 60%);
    animation: cardShimmer 8s ease infinite;
}

@keyframes cardShimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10%, 10%); }
}

.hero-card-img {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 260px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.hero-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
}
.hero-card-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.hero-card-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 4px;
}
.hero-card-info p i { font-size: 11px; }
.hero-card-price {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-light);
    text-align: left;
    direction: ltr;
}
.hero-card-price small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
}

/* Floating decorative elements */
.hero-float-badge {
    position: absolute;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    z-index: 3;
    animation: floatBadge 4s ease-in-out infinite;
}
.hero-float-badge i {
    font-size: 18px;
    color: var(--accent-light);
}
.hero-float-badge.badge-top {
    top: 30%;
    left: -30px;
    animation-delay: 0s;
}
.hero-float-badge.badge-bottom {
    bottom: 140px;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Stats Bar */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    padding: 0 24px 32px;
}
.hero-stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    overflow: hidden;
}
.hero-stat {
    padding: 22px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    transition: var(--transition);
}
.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.12);
}
.hero-stat:hover {
    background: rgba(255,255,255,0.06);
}
.hero-stat-icon {
    font-size: 22px;
    color: var(--accent-light);
    margin-bottom: 8px;
}
.hero-stat h4 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 2px;
}
.hero-stat p {
    font-size: 12px;
    opacity: 0.7;
}

/* Hero Animations */
@keyframes fadeSlideRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Transparent header on hero */
.site-header.header-transparent {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.site-header.header-transparent .main-nav a {
    color: rgba(255,255,255,0.85);
}
.site-header.header-transparent .main-nav a:hover,
.site-header.header-transparent .main-nav a.active {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}
.site-header.header-transparent .header-phone {
    color: rgba(255,255,255,0.8);
}
.site-header.header-transparent .header-phone i { color: var(--accent-light); }
.site-header.header-transparent .mobile-menu-btn { color: var(--white); }
.site-header.header-transparent .header-logo img {
    filter: brightness(0) invert(1);
}

/* When scrolled, revert to solid */
.site-header.header-transparent.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}
.site-header.header-transparent.scrolled .main-nav a {
    color: var(--text);
}
.site-header.header-transparent.scrolled .main-nav a:hover,
.site-header.header-transparent.scrolled .main-nav a.active {
    color: var(--primary);
    background: var(--primary-pale);
}
.site-header.header-transparent.scrolled .header-phone {
    color: var(--text-medium);
}
.site-header.header-transparent.scrolled .header-phone i { color: var(--primary); }
.site-header.header-transparent.scrolled .mobile-menu-btn { color: var(--primary); }
.site-header.header-transparent.scrolled .header-logo img {
    filter: none;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-bottom: 160px;
    }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .hero-float-badge { display: none; }
    .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding-bottom: 0; }
    .hero-inner { padding: 100px 20px 180px; gap: 30px; }
    .hero h1 { font-size: 28px; }
    .hero-visual { display: none; }
    .hero-stats-inner { grid-template-columns: repeat(2, 1fr); border-radius: 14px; }
    .hero-stat { padding: 16px 12px; }
    .hero-stat h4 { font-size: 20px; }
    .hero-stats-bar { padding: 0 16px 20px; }
}

@media (max-width: 480px) {
    .hero-inner { padding: 90px 16px 160px; }
    .hero h1 { font-size: 24px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    line-height: 1.4;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 107, 93, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 107, 93, 0.35);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: var(--white);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
}
.btn-accent {
    background: var(--accent);
    color: var(--white);
}
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: var(--radius); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ============================================
   SECTION STYLING
   ============================================ */
.section {
    padding: 90px 0;
}
.section-alt {
    background: var(--bg-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0;
}
.section-tag::before,
.section-tag::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary);
    opacity: 0.3;
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.3;
}

.section-desc {
    font-size: 16px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   PROPERTY CARDS
   ============================================ */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.property-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.property-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.property-card:hover .property-card-img img {
    transform: scale(1.08);
}

.property-card-badges {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 8px;
}
.property-badge {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}
.badge-sale {
    background: rgba(74, 107, 93, 0.9);
    color: var(--white);
}
.badge-rent {
    background: rgba(200, 169, 110, 0.9);
    color: var(--white);
}
.badge-featured {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent);
}

.property-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-card-type {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}
.property-card-title:hover { color: var(--primary); }

.property-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}
.property-card-location i { color: var(--primary); font-size: 12px; }

.property-card-specs {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}
.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-medium);
}
.spec-item i {
    color: var(--primary);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.property-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-top: 1px solid var(--border-light);
    background: var(--off-white);
}

.property-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}
.property-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.service-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}
.about-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.about-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 120px;
    height: 120px;
    border: 4px solid var(--primary);
    border-radius: var(--radius);
    opacity: 0.2;
    z-index: -1;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.stat-item {
    text-align: center;
}
.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--primary);
    line-height: 1;
}
.stat-item span {
    font-size: 13px;
    color: var(--text-light);
    display: block;
    margin-top: 6px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.contact-info-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-pale);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}
.contact-info-card h4 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.contact-info-card p {
    font-size: 13px;
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}
.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    transition: var(--transition-fast);
    direction: rtl;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
textarea.form-control { min-height: 120px; resize: vertical; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, var(--primary-dark), #2D463B);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand img {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--white);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    opacity: 0.7;
    transition: var(--transition-fast);
}
.footer-links a:hover { opacity: 1; color: var(--accent-light); transform: translateX(-4px); }
.footer-links a i { font-size: 10px; }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    opacity: 0.8;
}
.footer-contact-item i { color: var(--accent-light); width: 16px; }

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}
.footer-cr {
    font-size: 12px;
    opacity: 0.5;
    direction: ltr;
}

/* Footer Licenses Bar */
.footer-licenses-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
}
.footer-licenses-bar .footer-license-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    position: relative;
}
.footer-licenses-bar .footer-license-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -16px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.12);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

/* ============================================
   PROPERTY DETAIL PAGE
   ============================================ */
.property-hero {
    margin-top: var(--header-height);
    background: var(--bg-soft);
    padding: 40px 0;
}

.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    border-radius: var(--radius);
    overflow: hidden;
    height: 500px;
}
.gallery-main {
    height: 500px;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius) 0 0 var(--radius);
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-main:hover img { transform: scale(1.03); }

.gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 500px;
}
.gallery-side-img {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    height: 100%;
    min-height: 0;
}
.gallery-side-img:first-child {
    border-radius: 0 var(--radius) 0 0;
}
.gallery-side-img:last-child {
    border-radius: 0 0 var(--radius) 0;
}
.gallery-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-side-img:hover img { transform: scale(1.05); }
.gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    backdrop-filter: blur(2px);
}

/* Property Info */
.property-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 36px;
    padding: 40px 0;
}

.property-detail-header {
    margin-bottom: 30px;
}
.property-detail-header .property-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}
.property-detail-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 34px);
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.property-detail-header .location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 15px;
}
.property-detail-header .location i { color: var(--primary); }

.property-detail-price {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 16px;
}
.property-detail-price small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

.property-specs-bar {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    margin: 24px 0;
    border: 1px solid var(--border-light);
}
.spec-box {
    display: flex;
    align-items: center;
    gap: 10px;
}
.spec-box-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}
.spec-box-info span {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}
.spec-box-info strong {
    font-size: 15px;
    color: var(--text-dark);
}

.detail-section {
    margin-bottom: 36px;
}
.detail-section h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-pale);
}
.detail-section p {
    color: var(--text-medium);
    line-height: 2;
    white-space: pre-line;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--off-white);
    border-radius: var(--radius-xs);
    font-size: 14px;
    color: var(--text);
    border: 1px solid var(--border-light);
}
.feature-item i {
    color: var(--primary);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Sidebar CTA */
.property-sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    position: sticky;
    top: calc(var(--header-height) + 20px);
}
.property-sidebar-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

/* Video Section */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-top: 12px;
}
.video-container iframe, .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { right: 20px; }
.lightbox-next { left: 20px; }

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
}
.filter-bar select, .filter-bar input {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    min-width: 140px;
    flex: 1;
}
.filter-bar select:focus, .filter-bar input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    margin-top: var(--header-height);
    padding: 16px 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border-light);
}
.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner i { font-size: 10px; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    margin-top: var(--header-height);
    background: linear-gradient(160deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
}
.about-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 14px;
}
.about-hero p {
    font-size: 17px;
    opacity: 0.8;
}

.about-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    padding: 70px 0;
}
.about-detail-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.about-detail-content p {
    color: var(--text-medium);
    margin-bottom: 18px;
    line-height: 2;
    font-size: 15px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.value-card {
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition);
}
.value-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.value-card i {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}
.value-card h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.value-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   SUCCESS/ALERT MESSAGES
   ============================================ */
.alert-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.4s ease;
    box-shadow: var(--shadow-lg);
}
.alert-toast.success { background: #27AE60; }
.alert-toast.error { background: #E74C3C; }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CONTRACTS PAGE
   ============================================ */

/* Contracts Hero */
.contracts-hero {
    position: relative;
    margin-top: var(--header-height);
    padding: 80px 0 60px;
    background: linear-gradient(160deg, var(--primary-dark), var(--primary), var(--primary-light));
    overflow: hidden;
}
.contracts-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(200, 169, 110, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(0,0,0,0.1) 0%, transparent 50%);
}

.contracts-hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.contracts-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 169, 110, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 24px;
    border-radius: 100px;
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(200, 169, 110, 0.3);
}
.contracts-hero-badge i { font-size: 14px; }

.contracts-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 18px;
}

.contracts-hero p {
    font-size: 16px;
    opacity: 0.85;
    line-height: 1.9;
    max-width: 580px;
    margin: 0 auto;
}

/* License Badges Bar */
.licenses-bar {
    background: var(--white);
    padding: 0;
    position: relative;
    z-index: 5;
}
.licenses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: -30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.license-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    position: relative;
    transition: var(--transition);
}
.license-badge:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}
.license-badge:hover {
    background: var(--primary-pale);
}

.license-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.license-info span {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
}
.license-info strong {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Contract Type Cards */
.contract-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.contract-type-card {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 32px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}
.contract-card-glow {
    position: absolute;
    top: -60%;
    right: -30%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}
.contract-type-card:hover .contract-card-glow {
    opacity: 1;
}
.contract-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.contract-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-pale), rgba(74, 107, 93, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary);
    transition: var(--transition);
}
.contract-card-icon.commercial {
    background: linear-gradient(135deg, rgba(200, 169, 110, 0.15), rgba(200, 169, 110, 0.25));
    color: var(--accent);
}
.contract-type-card:hover .contract-card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}
.contract-type-card:hover .contract-card-icon.commercial {
    background: var(--accent);
    color: var(--white);
}

.contract-type-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.contract-type-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

.contract-card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.contract-card-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
    justify-content: center;
}
.contract-card-features i {
    color: var(--primary);
    font-size: 14px;
}

.contract-card-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary-pale);
    color: var(--primary);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.contract-type-card:hover .contract-card-action {
    background: var(--primary);
    color: var(--white);
}

/* Contract Details Section */
.contract-detail-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.contract-detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: var(--off-white);
    border-bottom: 1px solid var(--border-light);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-medium);
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.back-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-pale);
}

.contract-detail-title {
    display: flex;
    align-items: center;
    gap: 16px;
}
.contract-detail-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
}
.contract-detail-icon.commercial {
    background: rgba(200, 169, 110, 0.15);
    color: var(--accent);
}
.contract-detail-title h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.contract-detail-title p {
    font-size: 13px;
    color: var(--text-light);
}

/* Contract Tabs */
.contract-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-light);
    padding: 0 32px;
}
.contract-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}
.contract-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: var(--transition);
}
.contract-tab:hover {
    color: var(--primary);
}
.contract-tab.active {
    color: var(--primary);
    font-weight: 600;
}
.contract-tab.active::after {
    transform: scaleX(1);
}

/* Tab Content */
.contract-tab-content {
    display: none;
    padding: 32px;
    animation: tabFadeIn 0.4s ease;
}
.contract-tab-content.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.requirement-card {
    position: relative;
    padding: 28px 24px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.requirement-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-pale);
}

.requirement-number {
    position: absolute;
    top: -12px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(74, 107, 93, 0.3);
}

.requirement-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.requirement-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}
.requirement-list li i {
    color: var(--primary);
    font-size: 12px;
    margin-top: 5px;
    flex-shrink: 0;
}

/* Steps Timeline */
.steps-timeline {
    position: relative;
    padding-right: 40px;
}
.steps-timeline::before {
    content: '';
    position: absolute;
    right: 16px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 3px;
}

.step-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
}

.step-number {
    position: absolute;
    right: -40px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 0 0 6px var(--bg-soft), 0 4px 12px rgba(74, 107, 93, 0.3);
    z-index: 1;
}

.step-content {
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    flex: 1;
    transition: var(--transition);
}
.step-content:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-pale);
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.step-content p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* WhatsApp CTA */
.contract-cta {
    padding: 32px;
    border-top: 1px solid var(--border-light);
}

.contract-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 36px;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    border-radius: var(--radius);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.contract-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.contract-cta-text h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contract-cta-text h3 i {
    font-size: 26px;
}
.contract-cta-text p {
    font-size: 14px;
    opacity: 0.9;
}

.btn-whatsapp {
    background: var(--white);
    color: #128C7E;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.btn-whatsapp:hover {
    background: #f0faf6;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-whatsapp i {
    font-size: 20px;
}

/* Footer License Items */
.footer-licenses {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-license-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
.footer-license-item i {
    color: var(--accent-light);
    width: 16px;
    text-align: center;
}
.footer-license-item small {
    display: block;
    font-size: 11px;
    opacity: 0.6;
}
.footer-license-item span {
    font-weight: 600;
    color: var(--white);
    font-size: 13px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet / Small Laptop --- */
@media (max-width: 1100px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--white);
        padding: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
        z-index: 999;
    }
    .main-nav.open a {
        font-size: 16px;
        padding: 12px 18px;
        color: var(--text-dark);
    }
    .mobile-menu-btn { display: block; }
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-detail-grid { grid-template-columns: 1fr; }
    .property-detail-grid { grid-template-columns: 1fr; }
    .property-sidebar-card { position: static; }
    .contract-types-grid { max-width: 100%; }
    .contract-cta-inner { flex-direction: column; text-align: center; }
    .contract-cta-text h3 { justify-content: center; }
    .btn-whatsapp { width: 100%; justify-content: center; }
}

/* --- Mobile --- */
@media (max-width: 768px) {
    :root { --header-height: 72px; }
    
    .header-logo img { height: 58px; }
    .header-phone { display: none; }
    
    .hero-inner { padding: 40px 20px; min-height: 70vh; }
    .hero h1 { font-size: 28px; }
    
    .section { padding: 60px 0; }
    .properties-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    
    .property-gallery {
        grid-template-columns: 1fr;
        max-height: 300px;
    }
    .gallery-side { display: none; }
    .gallery-main { height: 300px; }
    
    .property-specs-bar { gap: 16px; }
    .filter-bar { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; justify-content: center; }
    
    .whatsapp-float { bottom: 20px; left: 20px; width: 54px; height: 54px; font-size: 26px; }
    .about-values { grid-template-columns: 1fr; }
    
    /* Contracts responsive */
    .licenses-grid { grid-template-columns: 1fr; margin-top: -20px; }
    .license-badge:not(:last-child)::after { 
        left: 10%; width: 80%; height: 1px; top: auto; bottom: 0; 
    }
    .contract-types-grid { grid-template-columns: 1fr; gap: 20px; }
    .contract-tabs { padding: 0 16px; }
    .contract-tab { padding: 14px 16px; font-size: 13px; }
    .contract-tab-content { padding: 20px 16px; }
    .contract-detail-header { flex-wrap: wrap; padding: 20px 16px; }
    .requirements-grid { grid-template-columns: 1fr; }
    .contract-cta { padding: 20px 16px; }
    .contract-cta-inner { padding: 24px 20px; }
    .contract-cta-text h3 { font-size: 18px; }
    .steps-timeline { padding-right: 30px; }
    .step-number { right: -30px; width: 30px; height: 30px; font-size: 13px; }
    .steps-timeline::before { right: 12px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 24px; }
    .stat-item h3 { font-size: 28px; }
    .property-detail-price { font-size: 26px; }
}

