/* ============================================================
   CSS CUSTOM PROPERTIES — matching the original design tokens
============================================================ */
:root {
  --background: hsl(220, 20%, 97%);
  --foreground: hsl(222, 47%, 11%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222, 47%, 11%);
  --primary: hsl(245, 75%, 55%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(220, 14%, 96%);
  --muted: hsl(220, 14%, 96%);
  --muted-foreground: hsl(220, 9%, 46%);
  --accent: hsl(262, 83%, 58%);
  --border: hsl(220, 13%, 91%);
  --input: hsl(220, 13%, 91%);
  --ring: hsl(245, 75%, 55%);
  --destructive: hsl(0, 84%, 60%);
  --radius: 0.625rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.03), 0 1px 3px 0 rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.05);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: hsl(220, 9%, 46%, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: hsl(220, 9%, 46%, 0.5); }

/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */
.font-display { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.gradient-text {
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) { .section { padding: 7rem 0; } }

.bg-background { background: var(--background); }
.bg-muted { background: var(--muted); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: hsl(245, 75%, 48%); }

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--muted); }

.btn-outline-white {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   SECTION HEADERS
============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: hsl(245, 75%, 55%, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   ANIMATIONS — Scroll reveal
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero animations */
.animate-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.animate-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER
============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#site-header.scrolled {
  background: hsl(220, 20%, 97%, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) { .header-inner { height: 5rem; } }

/* Logo */
.logo-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.logo-icon-sm {
  width: 2rem;
  height: 2rem;
}

.logo-accent { color: var(--primary); }
.logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) { .desktop-nav { display: flex; } }

.desktop-nav button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.desktop-nav button:hover { color: var(--foreground); background: var(--muted); }
.desktop-nav .nav-cta { margin-left: 0.75rem; }

/* Mobile toggle */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background 0.15s;
}
.mobile-menu-btn:hover { background: var(--muted); }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

/* Mobile Nav */
.mobile-nav {
  display: none;
  overflow: hidden;
  background: hsl(220, 20%, 97%, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open { display: block; animation: slideDown 0.25s ease; }

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

.mobile-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav-inner button {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  text-align: left;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav-inner button:hover { color: var(--foreground); background: var(--muted); }
.mobile-nav-inner .btn-primary { margin-top: 0.5rem; color: #fff; }
.mobile-nav-inner .btn-primary:hover { color: #fff; background: hsl(245, 75%, 48%); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-inner { max-width: 48rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 42rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

/* ============================================================
   SERVICES
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: hsl(245, 75%, 55%, 0.2);
  transform: translateY(-2px);
}

.service-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}
.service-icon-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: hsl(245, 75%, 55%, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-body { padding: 1.5rem; }
.service-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.service-card:hover .service-title { color: var(--primary); }
.service-desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  padding: 0.25rem 0.625rem;
  border-radius: calc(var(--radius) - 4px);
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ============================================================
   ABOUT
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.about-image-wrap { position: relative; }
.about-image-frame {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
}
.about-image-frame img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.about-badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsl(245, 75%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.about-badge-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.125rem; }
.about-badge-sub { color: var(--muted-foreground); font-size: 0.875rem; }

.about-text { padding-top: 1.5rem; }
@media (min-width: 1024px) { .about-text { padding-top: 0; } }
.about-p { color: var(--muted-foreground); font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

.value-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.value-item:hover { background: var(--muted); }
.value-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: hsl(245, 75%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.value-title { font-weight: 500; font-size: 0.875rem; margin-bottom: 0.125rem; }
.value-desc { color: var(--muted-foreground); font-size: 0.75rem; line-height: 1.5; }

/* ============================================================
   STATS
============================================================ */
.stats-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, hsl(245,75%,25%), hsl(255,65%,35%) 50%, hsl(262,83%,35%));
  overflow: hidden;
}

@media (min-width: 768px) { .stats-section { padding: 6rem 0; } }

.stats-decorative {
  position: absolute;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  filter: blur(60px);
}
.stats-blob-1 { top: 2.5rem; left: 2.5rem; width: 16rem; height: 16rem; }
.stats-blob-2 { bottom: 2.5rem; right: 2.5rem; width: 20rem; height: 20rem; }

.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}
.stats-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}
.stats-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
}
.stat-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
}
.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ============================================================
   PROCESS
============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-card {
  position: relative;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
  height: 100%;
}
.process-card:hover { border-color: hsl(245,75%,55%,0.2); box-shadow: var(--shadow-lg); }

.process-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.process-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(245, 75%, 55%, 0.2);
}
.process-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: hsl(245, 75%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.process-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.process-desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Connector line between steps on desktop */
.process-connector {
  display: none;
}
@media (min-width: 1024px) {
  .process-connector {
    display: block;
    position: absolute;
    top: 50%;
    right: -0.75rem;
    width: 1.5rem;
    height: 0;
    border-top: 2px dashed var(--border);
    transform: translateY(-50%);
  }
}

/* ============================================================
   CASE STUDY
============================================================ */
.case-study-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}
@media (min-width: 768px) { .case-study-card { padding: 3rem; } }

.case-study-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .case-study-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.case-study-active {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #16a34a;
  margin-bottom: 0.5rem;
}
.active-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: #22c55e;
}
.case-study-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
}
.case-study-sub { color: var(--muted-foreground); margin-top: 0.25rem; }
.case-study-period {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .case-study-metrics { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .case-study-metrics { grid-template-columns: repeat(5, 1fr); } }

.metric-item {
  text-align: center;
  padding: 1rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--muted);
  transition: background 0.2s;
}
.metric-item:hover { background: hsl(220, 14%, 91%); }
.metric-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius);
  background: hsl(245,75%,55%,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.metric-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--primary);
}
.metric-label {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.case-study-quote {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--muted);
  border: 1px solid var(--border);
}
.quote-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: italic;
}
.quote-author {
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.75rem;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 3rem; } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact-info-sub { color: var(--muted-foreground); font-size: 0.875rem; }

.contact-details { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--muted);
  transition: background 0.2s;
}
.contact-detail-item:hover { background: hsl(220, 14%, 91%); }
.contact-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: hsl(245,75%,55%,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.detail-label { font-size: 0.875rem; font-weight: 500; }
.detail-value { color: var(--muted-foreground); font-size: 0.875rem; }

.owner-card {
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, hsl(245,75%,55%,0.05), hsl(262,83%,58%,0.05));
  border: 1px solid hsl(245,75%,55%,0.1);
}
.owner-label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; }
.owner-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
}
.owner-note { color: var(--muted-foreground); font-size: 0.875rem; margin-top: 0.5rem; }

/* Contact Form */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .contact-card { padding: 2rem; } }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}
.form-group input,
.form-group textarea {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-foreground); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 2px hsl(245,75%,55%,0.15);
}
.form-group input:hover,
.form-group textarea:hover { border-color: hsl(245,75%,55%,0.5); }
.form-group textarea { resize: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }

.form-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: hsl(0, 84%, 60%, 0.1);
  color: hsl(0, 84%, 45%);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.form-privacy { font-size: 0.75rem; color: var(--muted-foreground); max-width: 20rem; }

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* Success state */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }
}

.footer-brand { max-width: 24rem; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-tagline { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.65; }

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links nav button {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
  text-align: left;
}
.footer-links nav button:hover { color: var(--foreground); }

.btn-back-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: var(--muted);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s;
  align-self: flex-start;
}
.btn-back-top:hover { background: hsl(220, 14%, 90%); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
.footer-bottom p { color: var(--muted-foreground); font-size: 0.75rem; }
