:root {
  --bg: #020617;
  --bg-alt: #020617;
  --bg-soft: #0b1120;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --accent-strong: #0ea5e9;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.26);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --container-width: 1200px;
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 42%, #020617 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 20%,
    #e5f4ff 0,
    #38bdf8 38%,
    #0f172a 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.4);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  color: #020617;
}

.brand-text-main {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  font-size: 0.75rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  transition: width 0.18s ease-out;
}

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

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

.nav-cta {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.22),
    transparent 60%
  );
  cursor: pointer;
  transition: all 0.18s ease-out;
  color: var(--text);
}

.nav-cta:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.8);
}

/* HERO */
.hero {
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.7rem 0.2rem 0.2rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin-bottom: 1.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.tag-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 30%,
    #e5f4ff 0,
    #38bdf8 40%,
    #0f172a 100%
  );
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.6);
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-highlight {
  background-image: linear-gradient(to right, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.6;
  margin-bottom: 1.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.btn {
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(
    circle at top left,
    #38bdf8 0,
    #0ea5e9 35%,
    #0369a1 100%
  );
  color: #0b1120;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 65px rgba(56, 189, 248, 0.45);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 1);
  transform: translateY(-1px);
}

.btn-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-meta span strong {
  color: var(--text);
  font-size: 0.9rem;
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 1.7rem 1.7rem 1.4rem;
  background: radial-gradient(
      circle at top,
      rgba(56, 189, 248, 0.16),
      transparent 55%
    ),
    linear-gradient(to bottom, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-num {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 0.4rem;
}

.hero-num span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.2rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.3rem;
}

.pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
}

.pill-accent {
  background: var(--accent-soft);
  border-color: rgba(56, 189, 248, 0.7);
  color: #e0f2fe;
}

.hero-gradient-orbit {
  position: absolute;
  inset: auto -80px -80px auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle at 10% 10%,
    rgba(56, 189, 248, 0.25),
    transparent 60%
  );
  opacity: 0.9;
  pointer-events: none;
}

.hero-caption {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* SECTION BASE */
section {
  padding: 3.2rem 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.1rem;
}

.section-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.section-title {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 32rem;
  line-height: 1.6;
}

/* SERVICES */
.services {
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.18),
    rgba(2, 6, 23, 1)
  );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.2rem;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(
    to bottom right,
    rgba(15, 23, 42, 0.98),
    rgba(15, 23, 42, 1)
  );
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.card-body {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.card-list {
  padding-left: 1rem;
  margin: 0.2rem 0 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.card-list li {
  margin-bottom: 0.2rem;
}

.card-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.7rem;
}

.card-tag {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* PROPERTY TYPES */
.property-types {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.98), #020617);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.chip-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(
    circle at top left,
    rgba(15, 23, 42, 0.7),
    rgba(2, 6, 23, 1)
  );
  padding: 0.9rem 1rem;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 90px;
}

.chip-title {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.chip-sub {
  color: var(--muted);
  font-size: 0.75rem;
}

/* CLOSINGS */
.closings-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
}

.deal-highlight {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: radial-gradient(
      circle at 0 0,
      rgba(56, 189, 248, 0.18),
      transparent 55%
    ),
    #020617;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.deal-amount {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 0.2rem;
}

.deal-type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.deal-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.deal-meta span {
  display: inline-block;
  margin-right: 0.75rem;
}

.deal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.7);
  color: #e0f2fe;
  margin-bottom: 0.7rem;
}

.deal-list {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 1rem;
}

.deal-list li {
  margin-bottom: 0.3rem;
}

.deal-link {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.deal-link:hover {
  text-decoration: underline;
}

.timeline {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.96);
  padding: 1rem 1.2rem;
  max-height: 260px;
  overflow-y: auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.6rem 0.9rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-bullet {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.65);
}

.timeline-main {
  font-size: 0.84rem;
  font-weight: 500;
}

.timeline-sub {
  font-size: 0.76rem;
  color: var(--muted);
}

.timeline-pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* INSIGHTS + ABOUT */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.6rem;
}

.insight-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.98);
  padding: 1.1rem 1.2rem 1rem;
  margin-bottom: 0.9rem;
}

.insight-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.insight-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.insight-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.insight-body {
  font-size: 0.8rem;
  color: var(--muted);
}

.about-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(
      circle at top,
      rgba(79, 70, 229, 0.22),
      transparent 55%
    ),
    rgba(15, 23, 42, 0.98);
  padding: 1.3rem 1.4rem 1.1rem;
}

.about-body {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.about-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-metric span {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 0.15rem;
  color: #e5e7eb;
}

/* CONTACT */
.contact {
  border-top: 1px solid rgba(31, 41, 55, 1);
  padding-bottom: 3.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.7rem;
}

.contact-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.12),
      transparent 55%
    ),
    #020617;
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  border-radius: 0.9rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.55rem 0.8rem;
  background: rgba(15, 23, 42, 0.96);
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5);
  background: rgba(15, 23, 42, 1);
}

.field input.error,
.field select.error,
.field textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.5);
}

.field .error-message {
  font-size: 0.7rem;
  color: #ef4444;
  margin-top: 0.2rem;
}

.form-message {
  padding: 1rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  display: none;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  display: block;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.contact-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 0.35rem;
}

.contact-list span {
  color: var(--text);
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(31, 41, 55, 1);
  padding: 1.4rem 0 1.6rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

/* Vapi widget positioning */
vapi-widget {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  z-index: 9999 !important;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner,
  .closings-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    gap: 2.2rem;
  }

  .hero-card {
    order: -1;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  section {
    padding: 2.6rem 0;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 540px) {
  .services-grid,
  .property-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
