/* Evermark Real Estate & Property Management - Core Design System */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

section[id], div[id], footer[id] {
  scroll-margin-top: 90px;
}

:root {
  --navy: #0B2748;
  --navy-dark: #07192F;
  --navy-light: #163E70;
  --gold: #B8924B;
  --gold-hover: #9E7B3A;
  --gold-light: #F4ECE0;
  --white: #FFFFFF;
  --off-white: #F7F7F4;
  --charcoal: #151A20;
  --muted: #5A6573;
  --border: #E5E8EC;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11, 39, 72, 0.04);
  --shadow: 0 6px 24px rgba(11, 39, 72, 0.07);
  --shadow-hover: 0 12px 36px rgba(11, 39, 72, 0.12);
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --container: 1240px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-en);
  background-color: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

[dir="rtl"] body, body.rtl {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

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

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

.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.lang-switch:hover {
  border-color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--off-white);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Slide-out Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  box-shadow: -8px 0 32px rgba(11, 39, 72, 0.18);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 85px 28px 36px;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

[dir="rtl"] .mobile-drawer {
  right: auto;
  left: -100%;
  box-shadow: 8px 0 32px rgba(11, 39, 72, 0.18);
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.is-active {
  right: 0;
}

[dir="rtl"] .mobile-drawer.is-active {
  left: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 47, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.mobile-drawer-nav .nav-link {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

.mobile-drawer-nav .nav-link:hover {
  color: var(--gold);
}

.drawer-contact-box {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Concierge Hero Section */
.hero-section {
  position: relative;
  background-color: var(--off-white);
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  background: var(--gold-light);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.6;
}

/* Concierge Widget */
.concierge-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.intent-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.intent-tab {
  background: none;
  border: none;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-radius: 30px;
  transition: var(--transition);
  white-space: nowrap;
}

.intent-tab.active {
  background: var(--navy);
  color: var(--white);
}

.intent-tab:hover:not(.active) {
  background: var(--off-white);
  color: var(--navy);
}

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

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 39, 72, 0.08);
}

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4/3;
  position: relative;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}

[dir="rtl"] .hero-badge-float {
  left: auto;
  right: 24px;
  border-left: none;
  border-right: 4px solid var(--gold);
}

.hero-badge-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.hero-badge-desc {
  font-size: 12px;
  color: var(--muted);
}

/* Responsive Grid Layout Helpers */
.responsive-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.responsive-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.responsive-four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Trust Proof Points */
.trust-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 18px;
}

.trust-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.trust-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Solutions Section */
.solutions-section {
  padding: 80px 0;
  background: var(--white);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-sub {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.solution-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--white);
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--navy-light);
}

.solution-card-img {
  height: 220px;
  overflow: hidden;
}

.solution-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.solution-card:hover .solution-card-img img {
  transform: scale(1.05);
}

.solution-card-body {
  padding: 24px;
}

.solution-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.solution-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.solution-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.solution-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.solution-link:hover {
  color: var(--gold);
}

/* How It Works (4 Steps) */
.how-section {
  padding: 80px 0;
  background: var(--off-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Owner & Corporate Callouts */
.cta-banner-section {
  padding: 60px 0 80px;
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cta-banner-card {
  background: var(--navy);
  color: var(--white);
  padding: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cta-banner-card.secondary {
  background: var(--off-white);
  color: var(--charcoal);
  border: 1px solid var(--border);
}

.cta-banner-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner-card.secondary h3 {
  color: var(--navy);
}

.cta-banner-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 28px;
}

/* Regulatory Compliance & Footer */
.site-footer {
  background: var(--navy-dark);
  color: #C0C8D2;
  padding-top: 60px;
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
  height: 44px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--gold);
}

.regulatory-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
  margin: 32px 0 20px;
}

.regulatory-title {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.regulatory-text {
  font-size: 12px;
  line-height: 1.6;
  color: #A0ACB9;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #C0C8D2;
}

.footer-credit a {
  color: var(--gold);
  font-weight: 600;
  transition: var(--transition);
}

.footer-credit a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Floating Quick Actions */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 28px;
}

/* ==========================================================================
   MULTI-DEVICE RESPONSIVE BREAKPOINTS (Mobile, Tablet, Laptop, Desktop)
   ========================================================================== */

/* Laptops & Tablets Landscape (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets Portrait & Medium Screens (<= 992px) */
@media (max-width: 992px) {
  .site-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .header-actions .btn-outline {
    display: none;
  }
  .header-actions .btn-primary {
    padding: 8px 14px;
    font-size: 13px;
  }
  .responsive-two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .responsive-three-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .responsive-four-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Screens (<= 640px - iPhone, Samsung, etc.) */
@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header-inner {
    height: 68px;
  }
  .brand-logo img {
    height: 38px;
  }
  .header-actions .btn {
    display: none;
  }
  .hero-section {
    padding: 36px 0 50px;
  }
  .hero-title {
    font-size: 28px;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .concierge-card {
    padding: 20px 16px;
  }
  .intent-tabs {
    gap: 6px;
    margin-bottom: 18px;
  }
  .intent-tab {
    padding: 6px 14px;
    font-size: 13px;
  }
  .brief-form {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .form-control {
    font-size: 16px; /* Prevents auto zoom on mobile browsers */
    height: 46px;
  }
  .solutions-grid,
  .steps-grid,
  .trust-grid,
  .responsive-three-col,
  .responsive-four-col {
    grid-template-columns: 1fr;
  }
  .cta-banner-card {
    padding: 28px 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .floating-whatsapp {
    bottom: 18px;
    right: 18px;
    padding: 10px 16px;
    font-size: 13px;
  }
  [dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 18px;
  }
}
