@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --ink: #0e171b;
  --ink-light: #1e282d;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --paper: #f8faf9;
  --surface: #ffffff;
  --gold: #d4af37;
  --gold-hover: #c49d29;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --line: #e2e8e5;
  --dark: #12191d;
  --dark-surface: #1a2328;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(14, 23, 27, 0.04);
  --shadow-md: 0 12px 30px rgba(14, 23, 27, 0.08);
  --shadow-lg: 0 25px 60px rgba(14, 23, 27, 0.12);
  --shadow-hover: 0 20px 45px rgba(14, 23, 27, 0.15);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.3s var(--ease-smooth);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.top.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  gap: 12px;
  align-items: center;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.brand:hover .brandmark {
  transform: rotate(6deg) scale(1.08);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

.brandmark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink), #2b383f);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: var(--transition);
}

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

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

.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s var(--ease-smooth);
}

.nav nav a:hover {
  color: var(--ink);
}

.nav nav a:hover::after {
  width: 100%;
}

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

.navbtn {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.navbtn:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ink), #1c272d);
  color: white;
  border: 0;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(14, 23, 27, 0.25);
}

.btn-primary:hover::before {
  left: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 60px 0 90px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-soft);
  color: #9b7921;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  position: relative;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 32px;
}

/* SEARCH TABS & BOX */
.search-container {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition);
}

.search-container:hover {
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tab-btn {
  background: transparent;
  border: 0;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--paper);
  color: var(--ink);
}

.tab-btn.active {
  background: var(--ink);
  color: white;
}

.searchbox {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr auto;
  gap: 12px;
  align-items: center;
}

.search-field {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid transparent;
  transition: var(--transition);
}

.search-field:focus-within {
  background: white;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.search-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.search-field input,
.search-field select {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  cursor: pointer;
}

.search-btn {
  height: 52px;
  padding: 0 24px;
  background: var(--ink);
  color: white;
  border: 0;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background: #25333a;
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(14, 23, 27, 0.25);
}

.search-btn svg {
  transition: transform 0.3s ease;
}

.search-btn:hover svg {
  transform: translateX(3px);
}

/* HERO SHOWCASE CARD */
.hero-card-wrap {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-smooth), box-shadow 0.6s var(--ease-smooth);
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-6px);
  box-shadow: 0 35px 80px rgba(14, 23, 27, 0.22);
}

.hero-photo-wrap {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1200&q=85');
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-smooth);
}

.hero-card:hover .hero-photo {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 23, 27, 0.1) 0%, rgba(14, 23, 27, 0.75) 100%);
}

.hero-float-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.hero-float-badge span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

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

.hero-card-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  color: white;
  z-index: 2;
}

.hero-card-bottom .tag {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.hero-card-bottom h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-card-bottom p {
  color: #d1d5db;
  font-size: 14px;
  margin-bottom: 12px;
}

.hero-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 12px;
}

.hero-price {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.hero-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
}

.hero-view-btn {
  background: white;
  color: var(--ink);
  border: 0;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.hero-view-btn:hover {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.05);
}

/* QUICK STATS STRIP */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.stat-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.stat-item strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  font-family: 'Playfair Display', serif;
}

.stat-item span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* ==========================================================================
   SECTIONS & HEADERS
   ========================================================================== */
.section {
  padding: 100px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 20px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 16px;
  margin-top: 8px;
  max-width: 520px;
}

/* FILTER PILLS */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: white;
  border: 1px solid var(--line);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.filter-pill.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  box-shadow: 0 4px 12px rgba(14, 23, 27, 0.2);
}

/* ==========================================================================
   PROPERTY CARDS & HOVER EFFECTS
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.property-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), border-color 0.4s ease;
  position: relative;
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(212, 175, 55, 0.4);
}

.property-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #eaeded;
}

.property-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-smooth);
}

.property-card:hover .property-img {
  transform: scale(1.08);
}

.property-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge-tag {
  background: rgba(14, 23, 27, 0.75);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}

.badge-tag.sale {
  background: rgba(212, 175, 55, 0.95);
  color: var(--ink);
}

.badge-tag.rent {
  background: rgba(30, 41, 59, 0.9);
  color: #f8fafc;
}

.btn-favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: var(--transition);
  z-index: 2;
}

.btn-favorite:hover {
  transform: scale(1.15);
  background: white;
  color: #ef4444;
}

.btn-favorite.active {
  color: #ef4444;
}

.quick-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 27, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.property-card:hover .quick-view-overlay {
  opacity: 1;
}

.quick-view-pill {
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(10px);
  transition: transform 0.3s var(--ease-smooth);
}

.property-card:hover .quick-view-pill {
  transform: translateY(0);
}

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

.property-type {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.property-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.property-card:hover .property-body h3 {
  color: #b89128;
}

.property-loc {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.property-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
  font-size: 13px;
  color: var(--muted);
}

.meta-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.property-price-wrap {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.property-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}

.property-price small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.dark-section {
  background: var(--dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.dark-section h2 {
  color: white;
}

.dark-section .section-subtitle {
  color: #94a3b8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.service-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-img-wrap {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.service-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-smooth);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 35, 40, 0.2) 0%, rgba(26, 35, 40, 0.85) 100%);
}

.service-num {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(14, 23, 27, 0.7);
  backdrop-filter: blur(8px);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.service-body {
  padding: 24px;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.service-card p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

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

.about-images {
  position: relative;
}

.about-main-img {
  width: 90%;
  height: 420px;
  border-radius: var(--radius-lg);
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1000&q=80');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease-smooth);
}

.about-main-img:hover {
  transform: scale(1.02);
}

.about-sub-img {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 52%;
  height: 220px;
  border-radius: var(--radius-md);
  border: 6px solid var(--paper);
  background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-hover);
  transition: transform 0.5s var(--ease-smooth);
}

.about-sub-img:hover {
  transform: translateY(-6px);
}

.about-exp-badge {
  position: absolute;
  top: -20px;
  right: 40px;
  background: var(--ink);
  color: white;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-align: center;
  animation: float 5s ease-in-out infinite alternate;
}

.about-exp-badge strong {
  display: block;
  font-size: 26px;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
}

.about-exp-badge span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.about-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.about-feat-item span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: #9b7921;
  display: grid;
  place-items: center;
  font-size: 13px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  background: white;
  border-top: 1px solid var(--line);
}

.contact-card {
  background: linear-gradient(135deg, #10171b, #1b2429);
  border-radius: 28px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  color: white;
  box-shadow: var(--shadow-lg);
}

.contact-info h2 {
  color: white;
  margin-bottom: 16px;
}

.contact-info p {
  color: #94a3b8;
  font-size: 16px;
  margin-bottom: 30px;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #cbd5e1;
}

.contact-detail-row .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: white;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8392a5;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b89128);
  color: var(--ink);
  border: 0;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   MODAL / POPUP
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 23, 27, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: white;
  width: min(780px, 95%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s var(--ease-smooth);
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-backdrop.open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(14, 23, 27, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  border: 0;
  border-radius: 50%;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--ink);
  transform: scale(1.1);
}

.modal-img-wrap {
  height: 340px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
}

/* TOAST NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  transform: translateX(120%);
  animation: slideToast 0.4s var(--ease-smooth) forwards;
}

@keyframes slideToast {
  to { transform: translateX(0); }
}

/* FOOTER */
footer {
  background: #090e11;
  color: #8b99a4;
  padding: 40px 0;
  font-size: 14px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cards,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .searchbox {
    grid-template-columns: 1fr 1fr;
  }
  
  .search-btn {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .nav nav {
    display: none;
  }
  
  .hero {
    padding: 30px 0 60px;
  }
  
  .cards,
  .service-grid,
  .stats-strip {
    grid-template-columns: 1fr;
  }
  
  .searchbox {
    grid-template-columns: 1fr;
  }
  
  .contact-card {
    padding: 30px 20px;
  }
  
  .hero-card {
    transform: none;
  }
}
