/*
Theme Name: El Kamal Group
Theme URI: http://localhost/kamalgp
Author: KG El Kamal Group
Description: قالب تعريفي وتسويقي فاخر لشركة الكمال جروب للاستثمار والتطوير العقاري
Version: 1.0.0
Text Domain: elkamal
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy-darker: #050d18;
  --navy-dark: #0b192c;
  --navy-primary: #12243e;
  --navy-light: #1e3e62;
  --navy-surface: #172c47;
  --gold-main: #c59b27;
  --gold-light: #f1c75d;
  --gold-dark: #967417;
  --gold-gradient: linear-gradient(135deg, #f1c75d 0%, #c59b27 50%, #967417 100%);
  --gold-subtle: rgba(197, 155, 39, 0.15);
  --white: #ffffff;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --whatsapp: #25d366;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 25px rgba(197, 155, 39, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

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

html {
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  scroll-behavior: smooth;
  background-color: var(--navy-darker);
  color: var(--white);
  overflow-x: hidden;
  width: 100%;
}

body {
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  background-color: var(--navy-darker);
  color: var(--gray-200);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header & Navigation */
.site-topbar {
  background: rgba(5, 13, 24, 0.95);
  border-bottom: 1px solid rgba(197, 155, 39, 0.15);
  padding: 8px 0;
  font-size: 13px;
  color: var(--gray-300);
}
.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-info a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-300);
}
.topbar-info a:hover {
  color: var(--gold-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197, 155, 39, 0.2);
  padding: 14px 0;
  transition: var(--transition);
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  height: 58px;
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.brand-title {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.brand-name span {
  color: var(--gold-light);
}
.brand-tagline {
  font-size: 11px;
  color: var(--gold-main);
  font-weight: 600;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-200);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 12px;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: calc(100% - 24px);
}

.header-actions, .header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-toggle {
  display: none;
  background: rgba(197, 155, 39, 0.12);
  border: 1.5px solid var(--gold-main);
  color: var(--gold-light);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-toggle:hover {
  background: var(--gold-gradient);
  color: #0b192c;
  transform: scale(1.05);
}
.mobile-only-contact {
  display: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}
.btn-gold {
  background: var(--gold-gradient);
  color: #0b192c;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.5);
  color: #000;
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--gold-main);
}
.btn-outline-gold:hover {
  background: var(--gold-main);
  color: #0b192c;
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  background: radial-gradient(circle at 80% 20%, rgba(30, 62, 98, 0.45) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(197, 155, 39, 0.12) 0%, transparent 50%),
              var(--navy-darker);
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(197, 155, 39, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-subtle);
  border: 1px solid rgba(197, 155, 39, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 17px;
  color: var(--gray-300);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}
.stat-item h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.stat-item p {
  font-size: 13px;
  color: var(--gray-400);
}

.hero-visual {
  position: relative;
}
.hero-card-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border: 1px solid rgba(197, 155, 39, 0.3);
  background: var(--navy-primary);
}
.hero-card-featured img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-card-featured:hover img {
  transform: scale(1.04);
}
.hero-card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-main);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}
.hero-card-info {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(to top, rgba(5, 13, 24, 0.95) 0%, rgba(5, 13, 24, 0.7) 60%, transparent 100%);
  padding: 28px 24px 20px;
}
.hero-card-info h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.hero-card-info p {
  font-size: 13px;
  color: var(--gray-300);
}

/* Sections General */
.section {
  padding: 90px 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-badge {
  display: inline-block;
  background: var(--gold-subtle);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid rgba(197, 155, 39, 0.25);
}
.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.section-title span {
  color: var(--gold-light);
}
.section-subtitle {
  font-size: 16px;
  color: var(--gray-300);
  line-height: 1.8;
}

/* Flagship: Mall El Kamal Plaza */
.flagship-section {
  background: linear-gradient(180deg, var(--navy-darker) 0%, var(--navy-dark) 50%, var(--navy-darker) 100%);
  border-top: 1px solid rgba(197, 155, 39, 0.15);
  border-bottom: 1px solid rgba(197, 155, 39, 0.15);
}
.flagship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 60px;
}
.flagship-video-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border: 1.5px solid rgba(197, 155, 39, 0.35);
  background: #000;
}
.flagship-video-box video {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.flagship-content h3 {
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.flagship-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
  background: rgba(197, 155, 39, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}
.flagship-desc {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 24px;
}
.flagship-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-surface);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  font-weight: 600;
}
.feature-item i {
  color: var(--gold-light);
}

/* Floor Plans Showcase */
.plans-wrapper {
  background: var(--navy-primary);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(197, 155, 39, 0.25);
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}
.plans-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}
.plan-tab-btn {
  background: var(--navy-surface);
  color: var(--gray-300);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.plan-tab-btn:hover {
  color: var(--gold-light);
  border-color: var(--gold-main);
}
.plan-tab-btn.active {
  background: var(--gold-gradient);
  color: var(--navy-dark);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.35);
}
.plan-panel {
  display: none;
  text-align: center;
}
.plan-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}
.plan-preview {
  position: relative;
  display: inline-block;
  max-width: 900px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(197, 155, 39, 0.2);
  cursor: pointer;
}
.plan-preview img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: #fff;
  transition: transform 0.4s ease;
}
.plan-preview:hover img {
  transform: scale(1.02);
}
.plan-overlay-cta {
  position: absolute;
  inset: 0;
  background: rgba(11, 25, 44, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.plan-preview:hover .plan-overlay-cta {
  opacity: 1;
}

/* About & Leadership Cards */
.about-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 155, 39, 0.5) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(197, 155, 39, 0.15) !important;
}
.leader-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 155, 39, 0.55) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(197, 155, 39, 0.2) !important;
}

/* Projects Showcase & Filter */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  background: var(--navy-surface);
  color: var(--gray-300);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-btn:hover {
  color: var(--gold-light);
  border-color: var(--gold-main);
}
.filter-btn.active {
  background: var(--gold-gradient);
  color: var(--navy-dark);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(197, 155, 39, 0.35);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}
.project-card {
  background: var(--navy-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 155, 39, 0.4);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(197, 155, 39, 0.15);
}
.project-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  cursor: pointer;
}
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-card-media img {
  transform: scale(1.06);
}
.project-card-media .media-overlay-zoom {
  position: absolute;
  inset: 0;
  background: rgba(11, 25, 44, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}
.project-card:hover .project-card-media .media-overlay-zoom {
  opacity: 1;
}
.project-card-media .media-overlay-zoom i {
  font-size: 32px;
  color: var(--gold-light);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transform: scale(0.85);
  transition: transform 0.3s ease;
}
.project-card:hover .project-card-media .media-overlay-zoom i {
  transform: scale(1);
}
.project-card-media .gallery-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(11, 25, 44, 0.88);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 155, 39, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  transition: var(--transition);
}
.project-card:hover .project-card-media .gallery-badge {
  background: var(--gold-gradient);
  color: var(--navy-dark);
}
.project-location-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(197, 155, 39, 0.3);
}
.project-scope-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--gold-gradient);
  color: var(--navy-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}
.project-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.project-card-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}
.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}
.project-view-link {
  color: var(--gold-light);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-view-link:hover {
  gap: 10px;
  color: var(--white);
}

/* 3D Renders Gallery Carousel / Grid */
.renders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.render-item {
  position: relative;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.render-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.render-item:hover img {
  transform: scale(1.08);
}
.render-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 25, 44, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.render-item:hover .render-overlay {
  opacity: 1;
}

/* Units & Opportunities Section */
.units-section {
  background: var(--navy-dark);
}
.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.unit-card {
  background: var(--navy-primary);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  border: 1px solid rgba(197, 155, 39, 0.2);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.unit-card .btn {
  margin-top: auto;
}
.unit-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-main);
  box-shadow: var(--shadow-gold);
}
#unit-baron:target {
  animation: baronCardGlow 2.5s ease-out;
}
@keyframes baronCardGlow {
  0% { box-shadow: 0 0 0 4px var(--gold-main), 0 10px 30px rgba(197, 155, 39, 0.4); transform: scale(1.02); }
  50% { box-shadow: 0 0 0 4px var(--gold-light), 0 10px 35px rgba(197, 155, 39, 0.5); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 0 transparent; transform: scale(1); }
}
.unit-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--gold-subtle);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.unit-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.unit-desc {
  font-size: 13.5px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 18px;
}
.unit-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--gray-300);
}
.unit-features li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.unit-features li::before {
  content: '✓';
  color: var(--gold-light);
  font-weight: 800;
}
.unit-features li[style*="25d366"]::before {
  color: #25d366;
}

/* Inquiry / Booking Form */
.booking-section {
  position: relative;
  background: radial-gradient(circle at center, rgba(30, 62, 98, 0.4) 0%, var(--navy-darker) 70%);
}
.booking-card {
  background: rgba(18, 36, 62, 0.85);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1.5px solid rgba(197, 155, 39, 0.3);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  max-width: 960px;
  margin: 0 auto;
}
.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-200);
}
.form-control {
  background: rgba(11, 25, 44, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.2);
}
textarea.form-control {
  min-height: 110px;
  resize: vertical;
}
.booking-actions-group {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-booking-submit {
  flex: 1;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
}
.btn-booking-wa {
  padding: 12px 22px;
  font-size: 14.5px;
  font-weight: 700;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  background: var(--whatsapp);
  color: #fff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: pulseWhatsapp 2s infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  color: #fff;
}
@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.form-alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.6;
}
.form-alert.success {
  background: rgba(37, 211, 102, 0.15);
  border: 1.5px solid var(--whatsapp);
  color: #a3e635;
}
.form-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1.5px solid #ef4444;
  color: #fca5a5;
}

/* Modal / Lightbox Gallery */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 13, 24, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.modal-container {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.modal-media-wrapper {
  position: relative;
  max-width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-media-wrapper img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(197, 155, 39, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: opacity 0.25s ease;
}
.modal-close {
  position: fixed;
  top: 24px;
  left: 28px;
  background: rgba(11, 25, 44, 0.94);
  border: 1.5px solid var(--gold-main);
  color: var(--gold-light);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  z-index: 100005;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}
.modal-close:hover {
  background: var(--gold-gradient);
  color: #0b192c;
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(197, 155, 39, 0.5);
}
.modal-close i {
  font-size: 17px;
}
body.admin-bar .modal-close {
  top: 56px;
}
@media (max-width: 768px) {
  .modal-close {
    top: 16px;
    left: 16px;
    padding: 7px 14px;
    font-size: 13px;
  }
  body.admin-bar .modal-close {
    top: 62px;
  }
}
.modal-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(11, 25, 44, 0.88);
  border: 1.5px solid var(--gold-main);
  color: var(--gold-light);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.modal-nav-btn:hover {
  background: var(--gold-gradient);
  color: #0b192c;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.4);
}
.modal-prev {
  right: -24px;
}
.modal-next {
  left: -24px;
}
@media (max-width: 768px) {
  .modal-prev { right: 8px; width: 42px; height: 42px; font-size: 16px; }
  .modal-next { left: 8px; width: 42px; height: 42px; font-size: 16px; }
  .modal-media-wrapper { max-height: 60vh; }
  .modal-media-wrapper img { max-height: 60vh; }
}
.modal-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-top: 14px;
  padding: 0 12px;
}
.modal-title {
  color: var(--gold-light);
  font-size: 16px;
  font-weight: 700;
}
.modal-counter {
  color: var(--gray-300);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.modal-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  max-width: 90vw;
  overflow-x: auto;
  padding: 6px;
}
.modal-thumb-item {
  width: 60px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: var(--transition);
  flex-shrink: 0;
}
.modal-thumb-item:hover, .modal-thumb-item.active {
  border-color: var(--gold-light);
  opacity: 1;
  transform: scale(1.06);
}

/* Footer */
.site-footer {
  background: var(--navy-darker);
  border-top: 1px solid rgba(197, 155, 39, 0.2);
  padding: 70px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-widget h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-gradient);
}
.footer-widget p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.8;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--gray-300);
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--gold-light);
  padding-right: 6px;
}
.footer-contact-list {
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: var(--gray-300);
}
.footer-contact-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-400);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .flagship-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .renders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .site-topbar {
    display: none;
  }
  .header-booking-btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 25, 44, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(197, 155, 39, 0.25);
    border-bottom: 2px solid var(--gold-main);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
    padding: 20px 16px;
    z-index: 999;
    animation: slideDownMenu 0.28s ease forwards;
  }
  .main-navigation.mobile-active {
    display: flex;
    flex-direction: column;
  }
  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15.5px;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transition: var(--transition);
  }
  .nav-link i {
    width: 22px;
    color: var(--gold-light);
    font-size: 16px;
    text-align: center;
  }
  .nav-link:hover, .nav-link.active {
    background: var(--gold-subtle);
    border-color: var(--gold-main);
    color: var(--gold-light);
    padding-right: 20px;
  }
  .nav-link::after {
    display: none;
  }
  .mobile-only-contact {
    display: block;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .booking-form-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .plans-wrapper {
    padding: 20px;
  }
  .units-grid {
    grid-template-columns: 1fr;
  }
  .about-companies-grid {
    grid-template-columns: 1fr !important;
  }
  .project-card-footer {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-header {
    margin-bottom: 34px;
  }
  .section-title {
    font-size: 26px;
  }
  .hero-section {
    padding: 85px 0 50px;
  }
  .hero-desc {
    font-size: 15.5px;
  }
  .hero-card-featured img {
    height: 340px;
  }
  .booking-card {
    padding: 28px 18px;
  }
  .booking-card h2 {
    font-size: 22px !important;
  }
  .renders-grid {
    grid-template-columns: 1fr;
  }
  .booking-actions-group {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }
  .btn-booking-submit,
  .btn-booking-wa {
    width: 75%;
    max-width: 270px;
    min-width: 215px;
    margin: 0 auto;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 700;
    min-height: 40px;
    white-space: nowrap;
  }
  .floating-whatsapp {
    bottom: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .plan-tab-btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 10px 14px;
  }
  .filter-btn {
    padding: 8px 16px;
    font-size: 12.5px;
  }
  .project-card-body {
    padding: 16px;
  }
  .project-card-title {
    font-size: 17px;
  }
  .unit-card {
    padding: 20px 16px;
  }
  .booking-card {
    padding: 22px 14px;
  }
  .booking-card p {
    font-size: 13px !important;
  }
  .form-control {
    font-size: 14px;
    padding: 11px 14px;
  }
  .booking-actions-group {
    gap: 9px;
    align-items: center;
  }
  .btn-booking-submit,
  .btn-booking-wa {
    width: 70%;
    max-width: 245px;
    min-width: 205px;
    margin: 0 auto;
    padding: 8px 14px;
    font-size: 12.5px;
    min-height: 38px;
    white-space: nowrap;
  }
}

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