/* ============================================================
   MAVI EMLAK — Design System
   Aesthetic: Architectural Luxury / Editorial Real Estate
   Fonts: Syne (display) + DM Sans (body)
   Palette: Navy → Blue → Gold accents
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; border: none; outline: none; background: none; }

/* ---------- CSS Variables ---------- */
:root {
  /* Brand */
  --navy-900: #071a2f;
  --navy-800: #0C2D48;
  --navy-700: #1A5276;
  --blue-600: #2471A3;
  --blue-500: #2E86C1;
  --blue-400: #5DADE2;
  --blue-300: #85C1E9;
  --blue-200: #AED6F1;
  --blue-100: #D6EAF8;
  --blue-50:  #EBF5FB;
  --gold-500: #D4A843;
  --gold-400: #E2C06E;
  --gold-300: #F0D98E;
  --gold-100: #FBF3DC;

  /* Neutrals */
  --gray-900: #1B1B1B;
  --gray-800: #2D2D2D;
  --gray-700: #4A4A4A;
  --gray-600: #5E5E5E;
  --gray-500: #717171;
  --gray-400: #9E9E9E;
  --gray-300: #B0B0B0;
  --gray-200: #D4D4D4;
  --gray-100: #F0F0F0;
  --gray-50:  #F8FAFC;
  --white:    #FFFFFF;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 140px);
  --container-px: clamp(20px, 4vw, 40px);
  --max-w: 1200px;
  --max-w-narrow: 900px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.5s;
  --duration-fast: 0.3s;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 12px rgba(12,45,72,0.06);
  --shadow-card-hover: 0 12px 40px rgba(12,45,72,0.12);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ---------- Base Typography ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-lg { font-size: 1.125rem; line-height: 1.8; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--dark {
  background: var(--navy-800);
  color: rgba(255,255,255,0.85);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--light {
  background: var(--gray-50);
}

.section--blue {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: rgba(255,255,255,0.85);
}
.section--blue h2,
.section--blue h3 {
  color: var(--white);
}

/* ---------- Section Headers ---------- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold-500);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.8;
}

.section--dark .section-subtitle,
.section--blue .section-subtitle {
  color: rgba(255,255,255,0.65);
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header--center {
  text-align: center;
}
.section-header--center .section-eyebrow {
  justify-content: center;
}
.section-header--center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-px);
  transition: background var(--duration-fast) ease, box-shadow var(--duration-fast) ease, padding var(--duration-fast) ease;
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--duration-fast) ease;
}

.nav.scrolled .nav-inner {
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}
.nav-logo img {
  height: 44px;
  width: auto;
  transition: height var(--duration-fast) ease;
}
.nav.scrolled .nav-logo img {
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.8);
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-link.active {
  color: var(--white);
}

.nav.scrolled .nav-link {
  color: var(--gray-600);
}
.nav.scrolled .nav-link:hover {
  color: var(--navy-800);
  background: var(--gray-100);
}
.nav.scrolled .nav-link.active {
  color: var(--navy-800);
}

/* On subpages with light hero, nav starts dark */
.nav--dark .nav-link {
  color: var(--gray-600);
}
.nav--dark .nav-link:hover {
  color: var(--navy-800);
  background: var(--gray-100);
}
.nav--dark .nav-link.active {
  color: var(--navy-800);
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--blue-500);
  color: var(--white) !important;
  transition: background var(--duration-fast) ease, transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46,134,193,0.3);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--duration-fast) ease, opacity var(--duration-fast) ease;
}
.nav.scrolled .nav-toggle span,
.nav--dark .nav-toggle span {
  background: var(--navy-800);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,26,47,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}
.nav-mobile.open {
  display: flex;
  opacity: 1;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  padding: 12px 24px;
  transition: color var(--duration-fast) ease;
}
.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--white);
}

/* ============================================================
   HERO — Homepage
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 70%, var(--blue-600) 100%);
  padding: 120px 0 80px;
}

/* Geometric pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(255,255,255,0.015) 120px,
      rgba(255,255,255,0.015) 121px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 120px,
      rgba(255,255,255,0.015) 120px,
      rgba(255,255,255,0.015) 121px
    );
  pointer-events: none;
}

/* Decorative circles */
.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,134,193,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--gold-400);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  max-width: 700px;
}

.hero h1 span {
  color: var(--blue-300);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Decorative shape */
.hero-shape {
  position: absolute;
  bottom: -80px;
  right: -40px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  z-index: 1;
}
.hero-shape::before {
  content: '';
  position: absolute;
  top: 40px; left: 40px; right: 40px; bottom: 40px;
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 50%;
}

/* ============================================================
   HERO — Subpages
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 50%, var(--navy-700) 100%);
  padding: clamp(120px, 16vw, 180px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 120px,
      rgba(255,255,255,0.015) 120px,
      rgba(255,255,255,0.015) 121px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 120px,
      rgba(255,255,255,0.015) 120px,
      rgba(255,255,255,0.015) 121px
    );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
}

.page-hero .section-eyebrow {
  margin-bottom: 16px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast) ease;
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb .separator {
  font-size: 0.7rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(46,134,193,0.25);
}
.btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46,134,193,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--blue-500);
  border: 1.5px solid var(--blue-500);
}
.btn-outline:hover {
  background: var(--blue-500);
  color: var(--white);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,168,67,0.3);
}

.btn-dark {
  background: var(--navy-800);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-900);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn .icon {
  font-size: 1.15em;
  transition: transform var(--duration-fast) ease;
}
.btn:hover .icon {
  transform: translateX(3px);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 32px;
  transition: all var(--duration) var(--ease-out);
  position: relative;
}

.card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: background var(--duration-fast) ease;
}

.card:hover .card-icon {
  background: var(--blue-100);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Gold accent line on hover */
.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease-out);
}
.card:hover::after {
  transform: scaleX(1);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

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

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

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  z-index: 10;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--gray-100);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number .accent {
  color: var(--blue-500);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ============================================================
   PROPERTY CARDS
   ============================================================ */
.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--duration) var(--ease-out);
}

.property-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.property-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.property-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.4);
}

.property-img-placeholder.img-1 {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--blue-500) 100%);
}
.property-img-placeholder.img-2 {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-300) 100%);
}
.property-img-placeholder.img-3 {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--blue-600) 100%);
}

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.property-badge.sale {
  background: var(--blue-500);
  color: var(--white);
}
.property-badge.rent {
  background: var(--gold-500);
  color: var(--white);
}

.property-body {
  padding: 24px;
}

.property-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 4px;
}

.property-location {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-features {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  margin-bottom: 16px;
}

.property-feature {
  font-size: 0.8rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-800);
}

.property-price .currency {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
}

/* Property highlight tags (quality attributes) */
.property-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.property-highlight-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================================
   STEPS / PROCESS
   ============================================================ */
.steps {
  display: grid;
  gap: 24px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--duration) var(--ease-out);
}

.step:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-card);
}

.step-num {
  counter-increment: step;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 6px;
}

.step p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--duration) var(--ease-out);
}

.blog-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.3);
}

.blog-img-1 { background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 100%); }
.blog-img-2 { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.blog-img-3 { background: linear-gradient(135deg, #7c2d12 0%, #ea580c 100%); }
.blog-img-4 { background: linear-gradient(135deg, #581c87 0%, #a855f7 100%); }

.blog-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.blog-card-date {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 8px;
  line-height: 1.35;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-500);
  margin-top: 16px;
  transition: gap var(--duration-fast) ease;
}

.blog-card:hover .blog-card-link {
  gap: 10px;
}

/* ============================================================
   BLOG ARTICLE
   ============================================================ */
.article-content {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: var(--section-py) var(--container-px);
}

.article-content h2 {
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.article-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article-content h3 {
  margin: 32px 0 12px;
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-700);
}

.article-content .lead {
  font-size: 1.15rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}

/* Article specific components */
.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.article-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  background: var(--white);
}

.article-card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.article-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.article-card p {
  font-size: 0.9rem !important;
  color: var(--gray-500);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.article-table th {
  text-align: left;
  background: var(--navy-800);
  color: var(--white);
  font-weight: 600;
  padding: 12px 16px;
}
.article-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.article-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.article-table tr:nth-child(even) td {
  background: var(--blue-50);
}

.article-warning {
  background: #FEF9E7;
  border: 1px solid #F9E79F;
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
}
.article-warning p {
  font-size: 0.95rem !important;
  color: var(--gray-700);
  margin: 0;
}

.article-highlight {
  background: linear-gradient(135deg, var(--blue-50), rgba(212,168,67,0.06));
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 24px 0;
}

.article-highlight h4 {
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.article-highlight p {
  font-size: 0.95rem !important;
  margin-bottom: 8px;
}

.article-steps {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.article-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue-500);
}

.article-step-num {
  width: 40px;
  height: 40px;
  background: var(--blue-500);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-step h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.article-step p {
  font-size: 0.9rem !important;
  color: var(--gray-600);
  margin: 0;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue-500);
  flex-shrink: 0;
  transition: transform var(--duration-fast) ease;
}
.faq-item.open .faq-q::after {
  content: '−';
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-top: 12px;
}

.faq-a p {
  font-size: 0.95rem;
}

.article-disclaimer {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 40px 0 0;
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.article-legal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.legal-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-100);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--blue-100);
  position: absolute;
  top: 8px;
  left: 28px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

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

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(46,134,193,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23717171' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--blue-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-800);
}

.contact-info-value a {
  color: var(--navy-800);
  transition: color var(--duration-fast) ease;
}
.contact-info-value a:hover {
  color: var(--blue-500);
}

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-400);
  font-size: 0.9rem;
  border: 2px dashed var(--gray-200);
}
.map-placeholder .map-icon {
  font-size: 2.5rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,134,193,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.55);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast) ease, padding-left var(--duration-fast) ease;
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact-item .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  transition: color var(--duration-fast) ease;
}
.footer-bottom a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--duration-fast) ease;
}
.footer-social a:hover {
  background: var(--blue-500);
  color: var(--white);
}

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

.about-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--blue-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.2);
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--duration) var(--ease-out);
}

.value-card:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
}

/* ============================================================
   SERVICES PAGE SPECIFICS
   ============================================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-100);
}

.service-detail:nth-child(even) {
  direction: rtl;
}
.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-visual {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.3);
}

.service-visual-1 { background: linear-gradient(135deg, var(--navy-800) 0%, var(--blue-500) 100%); }
.service-visual-2 { background: linear-gradient(135deg, #065f46 0%, #10b981 100%); }
.service-visual-3 { background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-300) 100%); }
.service-visual-4 { background: linear-gradient(135deg, #7c2d12 0%, #ea580c 100%); }
.service-visual-5 { background: linear-gradient(135deg, #581c87 0%, #a855f7 100%); }
.service-visual-6 { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); }

.service-content h3 {
  margin-bottom: 12px;
}

.service-content p {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.service-list li::before {
  content: '✓';
  color: var(--blue-500);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stagger.active > *:nth-child(1) { transition-delay: 0s; }
.stagger.active > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.active > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.active > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.active > *:nth-child(5) { transition-delay: 0.32s; }
.stagger.active > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.active > * {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entrance */
.hero-enter {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEnter 0.8s var(--ease-out) forwards;
}

.hero-enter:nth-child(1) { animation-delay: 0.1s; }
.hero-enter:nth-child(2) { animation-delay: 0.2s; }
.hero-enter:nth-child(3) { animation-delay: 0.35s; }
.hero-enter:nth-child(4) { animation-delay: 0.5s; }
.hero-enter:nth-child(5) { animation-delay: 0.65s; }

@keyframes heroEnter {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold-500); }
.text-blue { color: var(--blue-500); }
.text-white { color: var(--white); }
.bg-gold-line {
  display: inline-block;
  width: 48px;
  height: 3px;
  background: var(--gold-500);
  border-radius: 2px;
}

.gold-divider {
  width: 48px;
  height: 3px;
  background: var(--gold-500);
  border-radius: 2px;
  margin: 24px 0;
}

.gold-divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .about-grid {
    gap: 40px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-detail:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after { display: none; }

  .card-grid,
  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    text-align: center;
  }

  .step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 20px;
  }

  .step-num {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .article-step {
    grid-template-columns: 40px 1fr;
  }

  .section-header {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .stats-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    padding: 24px 12px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .property-features {
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-badge {
    font-size: 0.65rem;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .nav, .footer, .cta-section { display: none; }
  .hero, .page-hero {
    background: var(--navy-800) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    min-height: auto;
    padding: 40px 0;
  }
  .section { page-break-inside: avoid; }
  body { font-size: 12px; }
}
