/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --bg: #0a0f0e;
  --surface: #131a18;
  --surface-2: #1a2420;
  --surface-3: #212e2a;
  --text: #edf2f0;
  --text-muted: #f3f5f5;
  --text-subtle: #4d6e68;
  --border: #1e2d29;
  --border-light: #2a3e38;
  --accent: #16b898;
  --accent-hover: #1dd4b0;
  --accent-subtle: rgba(22, 184, 152, 0.10);
  --accent-border: rgba(22, 184, 152, 0.25);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 8px 32px rgba(22, 184, 152, 0.25);

  --transition: 200ms ease;
  --transition-slow: 400ms ease;

  --max-w: 1200px;
  --container-px: clamp(24px, 5vw, 80px);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ─── UTILITIES ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #0e0d0b;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.2);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}
.btn-full { width: 100%; justify-content: center; }

/* ─── NAV ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}
.nav.scrolled {
  background: rgba(14, 13, 11, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex-shrink: 0;
}
.logo-mark { border-radius: 7px; flex-shrink: 0; }
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text);
}
.logo-name em {
  font-style: normal;
  color: var(--accent);
}
.logo-name img { display: block; }
.logo-tagline {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  padding-left: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-mobile-cta {
  display: none;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,13,11,0.2) 0%, rgba(14,13,11,0.55) 40%, rgba(14,13,11,0.88) 100%),
    linear-gradient(90deg, rgba(14,13,11,0.5) 0%, transparent 20%);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 96px;
  padding-bottom: 80px;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--accent-border);
  background: #edf2f0;
  background-blend-mode: color-dodge;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease 0.2s both;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.35s both;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.5s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
  animation: fadeUp 0.8s ease 0.65s both;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.8s ease 0.8s both;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(240, 235, 224, 0.6);
  letter-spacing: 0.02em;
}
.trust-dot { color: rgba(240, 235, 224, 0.25); font-size: 18px; }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(0.7); }
}

/* ─── SECTION BASE ──────────────────────────────────────── */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── HOW IT WORKS ──────────────────────────────────────── */
.how-it-works { background: var(--surface); }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.step {
  flex: 1;
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition-slow);
}
.step:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.7;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.step-arrow {
  color: var(--accent);
  opacity: 0.4;
  flex-shrink: 0;
  margin-top: 72px;
}

/* ─── SERVICES ──────────────────────────────────────────── */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.services-loading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 80px 0;
}
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition-slow), box-shadow var(--transition-slow);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.service-image {
  position: relative;
  width: 100%;
  height: 176px;
  flex-shrink: 0;
  background: var(--surface-2);
  overflow: hidden;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}
.service-card:hover .service-image img {
  transform: scale(1.04);
}
.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(19,26,24,0.65) 100%);
  pointer-events: none;
}
.service-days-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(22, 184, 152, 0.674);
  color: #0b4102;
  border: 1px solid rgba(22, 184, 152, 0.572);
  backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 3;
}
.service-days-badge.soon {
  background: rgba(156, 255, 64, 0.782);
  color: #083b03;
  border-color: rgba(2, 51, 13, 0.661);
}
.service-days-badge.urgent {
  background: rgba(255, 82, 82, 0.81);
  color: #4b0606;
  border-color: rgba(255, 82, 82, 0.35);
}
.service-days-badge.ended {
  background: rgba(253, 253, 253, 0.948);
  color: #0e0b0b;
  border-color: rgba(13, 12, 12, 0.593);
}
.service-icon-wrap {
  padding: 0 24px;
  margin-top: -24px;
  position: relative;
  z-index: 2;
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1.5px solid var(--accent-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.service-body {
  padding: 14px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.service-partner {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  margin-top: -2px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}
.service-price {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}
.service-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}
.service-spots {
  margin-bottom: 20px;
}
.spots-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.spots-bar {
  height: 4px;
  background: var(--surface-3);
  border-radius: 4px;
  overflow: hidden;
}
.spots-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 1s ease;
}
.service-success-msg {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.service-card .btn {
  width: 100%;
  justify-content: center;
}

/* ─── MONTHLY SERVICES ───────────────────────────────────── */
:root {
  --monthly: #d4880e;
  --monthly-hover: #f59e0b;
  --monthly-subtle: rgba(212, 136, 14, 0.10);
  --monthly-border: rgba(212, 136, 14, 0.28);
  --monthly-shadow: 0 8px 32px rgba(212, 136, 14, 0.18);
}
.monthly-section {
  background: #0c1312;
  position: relative;
  isolation: isolate;
  border-top: 0px solid rgba(212, 136, 14, 0.15);
  border-bottom: 0px solid rgba(212, 136, 14, 0.15);
}
.monthly-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 40%, rgba(212, 136, 14, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 60%, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.monthly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.monthly-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.monthly-card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.monthly-days-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--surface-3);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.monthly-days-badge.urgent { background: rgba(220,53,69,0.12); color: #f87171; border-color: rgba(220,53,69,0.25); }
.monthly-days-badge.soon   { background: var(--monthly-subtle); color: var(--monthly); border-color: var(--monthly-border); }
.monthly-days-badge.ended  { background: rgba(100,100,100,0.12); color: var(--text-subtle); border-color: var(--border); }
.monthly-card:hover {
  border-color: var(--monthly-border);
  box-shadow: var(--monthly-shadow);
}

.monthly-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--monthly-subtle);
  border: 1px solid var(--monthly-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--monthly);
  flex-shrink: 0;
}

.monthly-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.monthly-freq-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--monthly-subtle);
  border: 1px solid var(--monthly-border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--monthly);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}
.monthly-card-partner {
  font-size: 12px;
  font-weight: 500;
  color: var(--monthly);
  margin-top: -4px;
}

.monthly-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.monthly-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.monthly-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.monthly-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.monthly-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

.monthly-card-footer .btn { font-size: 13px; padding: 10px 20px; }
.monthly-card-footer .monthly-btn-primary { background: var(--monthly); color: #0e0d0b; }
.monthly-card-footer .monthly-btn-primary:hover { background: var(--monthly-hover); box-shadow: var(--monthly-shadow); }
.monthly-card-footer .monthly-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--monthly-border);
  color: var(--monthly);
}
.monthly-card-footer .monthly-btn-ghost:hover {
  background: var(--monthly-subtle);
  box-shadow: var(--monthly-shadow);
}

/* spots bar */
.monthly-spots { display: flex; flex-direction: column; gap: 6px; }
.monthly-spots-bar {
  height: 5px;
  background: var(--surface-3);
  border-radius: 100px;
  overflow: hidden;
}
.monthly-spots-fill {
  height: 100%;
  background: var(--monthly);
  border-radius: 100px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

/* success / fully booked */
.monthly-success-msg {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--monthly);
  background: var(--monthly-subtle);
  border: 1px solid var(--monthly-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

@media (max-width: 640px) {
  .monthly-grid { grid-template-columns: 1fr; }
  .monthly-card-footer { flex-direction: column; align-items: flex-start; }
  .monthly-card-footer .btn { width: 100%; justify-content: center; }
}

/* ─── STATS ─────────────────────────────────────────────── */
.stats { background: var(--surface); }
.stats-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.stats-content .section-label { text-align: left; }
.stats-content h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 20px;
}
.stats-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition-slow);
}
.stat-box:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── RESERVE CTA ───────────────────────────────────────── */
.reserve-cta {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  text-align: center;
}
.reserve-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.reserve-cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14,13,11,0.82);
}
.reserve-cta-content {
  position: relative;
  z-index: 1;
}
.reserve-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
}
.reserve-cta p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  padding-bottom: 64px;
}
.footer-logo {
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-col a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-link-btn {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.footer-link-btn:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-subtle);
}
.footer-admin-link {
  color: var(--text-subtle);
  transition: color var(--transition);
}
.footer-admin-link:hover { color: var(--text-muted); }

/* ─── MODAL ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition-slow);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.modal-close:hover {
  background: var(--surface-3);
  color: var(--text);
}
.modal-header {
  margin-bottom: 32px;
}
.modal-header h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.modal-header p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── FORM ──────────────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group:last-of-type { margin-bottom: 24px; }
label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.required { color: var(--accent); }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 16px;
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
input::placeholder,
textarea::placeholder { color: var(--text-subtle); }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2388a8a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
select option { background: var(--surface-2); }
textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.label-note {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-subtle);
  margin-left: 4px;
  font-style: italic;
}

/* ─── UPLOAD ZONE ───────────────────────────────────────── */
.upload-zone {
  position: relative;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.upload-zone:hover,
.upload-zone:focus-within,
.upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-subtle);
  color: var(--text);
}
.upload-zone svg { opacity: 0.5; transition: opacity var(--transition); }
.upload-zone:hover svg,
.upload-zone.drag-over svg { opacity: 1; color: var(--accent); }
.upload-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.upload-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  z-index: 0;
}
.upload-browse {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.upload-hint {
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}
.upload-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.preview-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}
.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.preview-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
  z-index: 2;
}
.preview-remove:hover { background: var(--accent); }

/* ─── CAPTCHA ───────────────────────────────────────────── */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.captcha-question-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 11px 16px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: 0.05em;
  white-space: nowrap;
  min-width: 100px;
  justify-content: center;
}
.captcha-equals {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 400;
}
.captcha-input {
  width: 80px !important;
  text-align: center;
  font-size: 18px !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.captcha-refresh-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
}
.captcha-refresh-btn:hover {
  background: var(--surface-3);
  color: var(--accent);
  border-color: var(--accent-border);
}

/* ─── HONEYPOT ──────────────────────────────────────────── */
.f-honeypot { display: none !important; }

.form-error {
  background: rgba(220, 60, 60, 0.1);
  border: 1px solid rgba(220, 60, 60, 0.25);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  color: #f08080;
  margin-bottom: 16px;
}
.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-subtle);
  margin-top: 16px;
  line-height: 1.5;
}

/* ─── SUCCESS VIEW ──────────────────────────────────────── */
.modal-success {
  text-align: center;
  padding: 32px 0;
}
.success-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.modal-success h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.modal-success p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-layout { grid-template-columns: 1fr; gap: 48px; }
  .stats-content h2, .stats-content .section-label { text-align: center; }
  .stats-desc { text-align: center; }
  .stats-content .btn { display: block; margin: 0 auto; width: fit-content; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-desktop-cta { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(14,13,11,0.97);
    backdrop-filter: blur(16px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open .nav-link {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 16px;
  }
  .nav-links.open .nav-mobile-cta {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .nav-mobile-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 14px 20px;
  }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 32px 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-box { padding: 24px 20px; }
  .stat-num { font-size: 36px; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ─── FOCUS STYLES ──────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ─── AI ESTIMATOR SECTION ───────────────────────────────── */
.estimator-section {
  position: relative;
  overflow: hidden;
}
.estimator-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(22,184,152,0.07) 0%, transparent 70%);
  top: 50%; left: 20%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* AI label pill in section header */
.est-ai-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,184,152,0.10);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Glowing nav link */
.nav-link-ai {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent) !important;
}

/* 2-column layout */
.estimator-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}

/* Panels */
.estimator-input,
.estimator-results {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ── Upload zone ── */
.est-upload-zone {
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--surface-2);
  transition: border-color var(--transition), background var(--transition);
  position: relative;
  margin-bottom: 12px;
}
.est-upload-zone:hover,
.est-upload-zone.drag-over {
  border-color: var(--accent-border);
  background: var(--accent-subtle);
}
.est-upload-zone:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.est-upload-icon {
  color: var(--accent);
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.est-upload-text { font-size: 13.5px; color: var(--text-muted); }
.est-upload-hint { font-size: 11.5px; color: var(--text-subtle); margin-top: 5px; }

/* Thumbnail strip */
.est-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.est-preview-item {
  position: relative;
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.est-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.est-preview-remove {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: #fff;
  cursor: pointer;
}
.est-preview-item:hover .est-preview-remove { opacity: 1; }

/* Submit */
.est-submit-btn { width: 100%; justify-content: center; gap: 8px; margin-top: 8px; }
.est-disclaimer {
  font-size: 11px;
  color: var(--text-subtle);
  text-align: center;
  line-height: 1.55;
  margin-top: 10px;
}

/* ── Results panel ── */
.estimator-results {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

/* Placeholder */
.est-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 10px;
}
.est-placeholder-icon { color: var(--accent); opacity: 0.25; margin-bottom: 4px; }
.est-placeholder p { font-size: 15px; color: var(--text-muted); }
.est-placeholder-hint { font-size: 13px !important; color: var(--text-subtle) !important; max-width: 300px; line-height: 1.55 !important; }

/* Loading */
.est-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 48px;
}
.est-loading p { font-size: 14px; color: var(--text-muted); }
.est-loading-hint { font-size: 12px !important; color: var(--text-subtle) !important; }
.est-loading-dots { display: flex; gap: 6px; }
.est-loading-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: est-bounce 1.2s ease-in-out infinite;
}
.est-loading-dots span:nth-child(2) { animation-delay: 0.18s; }
.est-loading-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes est-bounce {
  0%, 80%, 100% { transform: scale(0.55); opacity: 0.35; }
  40% { transform: scale(1); opacity: 1; }
}

/* Result content */
.est-result {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: est-fadein 0.4s ease;
}
@keyframes est-fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Result header — the big cost number */
.est-result-header {
  background: var(--surface-2);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.est-result-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.est-service-name { font-size: 12px; color: var(--text-subtle); margin-bottom: 6px; }
.est-total-range {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.est-range-note {
  font-size: 10px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 5px;
}

/* AI summary */
.est-summary {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 12px 16px;
  border-left: 2px solid var(--accent-border);
  background: var(--surface-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Breakdown table */
.est-breakdown {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.est-breakdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid var(--border);
  background: var(--surface-3);
}
.est-breakdown-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-subtle);
  font-size: 11px;
}
.est-items { padding: 2px 0; }
.est-item + .est-item { border-top: 1px solid rgba(255,255,255,0.03); }

.est-item-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--transition);
}
.est-item-check:hover { background: rgba(255,255,255,0.02); }

.est-item-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
  position: relative;
}
.est-item-check input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.est-item-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1.5px;
  width: 5px; height: 9px;
  border: 2px solid #0a0f0e;
  border-left: none;
  border-top: none;
  transform: rotate(45deg);
}
.est-item-name { flex: 1; font-size: 13.5px; color: var(--text); }
.est-item-range {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.est-item-note {
  font-size: 11px;
  color: var(--text-subtle);
  padding: 0 16px 9px calc(16px + 16px + 10px);
  line-height: 1.5;
}
.est-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--surface-3);
  color: var(--text-muted);
}
#est-adjusted-total { color: var(--accent); font-size: 15px; }

/* Considerations */
.est-considerations {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.est-considerations-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}
.est-considerations-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.est-considerations-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.est-considerations-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
}

/* Result CTA */
.est-result-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.est-result-cta .btn { flex: 1; justify-content: center; min-width: 130px; }

/* Responsive */
@media (max-width: 860px) {
  .estimator-layout { grid-template-columns: 1fr; }
  .estimator-results { min-height: 300px; }
  .est-breakdown-hint { display: none; }
}

/* ─── SERVICE PARTNER SECTION ───────────────────────────── */
/* ── Contractor teaser (replaces full partner section on homepage) ── */
.contractor-teaser { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.contractor-teaser-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 16px 0; }
.contractor-teaser-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.contractor-teaser-copy p { color: var(--text-muted); max-width: 480px; font-size: 1rem; line-height: 1.6; }
.contractor-teaser-cta { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 700px) { .contractor-teaser-inner { flex-direction: column; align-items: flex-start; } }

.partner-section { position: relative; }

.partner-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

/* Left pitch */
.partner-pitch h2 { margin-bottom: 16px; }
.partner-pitch-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.partner-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.partner-benefits li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.benefit-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.partner-benefits li strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.partner-benefits li span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Right form card */
.partner-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.partner-form-header { margin-bottom: 24px; }
.partner-form-header h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.partner-form-header p { font-size: 13px; color: var(--text-muted); }

/* Success state (reuses modal-success styles) */
.partner-form-card .modal-success { padding: 40px 0; }

/* Partner form — specialties checkbox grid */
.specialties-loading { font-size: 13px; color: var(--text-muted); }
.specialties-grid { display: flex; flex-direction: column; gap: 12px; }
.specialties-group { display: flex; flex-direction: column; gap: 6px; }
.specialties-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}
.specialties-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.specialty-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  transition: border-color 150ms, background 150ms, color 150ms;
  user-select: none;
}
.specialty-pill input { display: none; }
.specialty-pill:has(input:checked) {
  border-color: var(--accent);
  background: rgba(22, 184, 152, 0.08);
  color: var(--accent);
}

@media (max-width: 860px) {
  .partner-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── CHAT WIDGET ────────────────────────────────────────── */
#chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

#chat-bubble {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #0e0d0b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(22,184,152,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#chat-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(22,184,152,0.55);
}
#chat-bubble:active { transform: translateY(0); }

.chat-unread {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.chat-panel {
  width: 360px;
  max-height: 540px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.25s ease;
}
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #0e0d0b;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.chat-agent-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.chat-agent-status {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.chat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
.chat-close-btn {
  color: var(--text-muted);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.chat-close-btn:hover { color: var(--text); background: var(--surface-3); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }

.chat-msg { display: flex; }
.chat-msg-user  { justify-content: flex-end; }
.chat-msg-assistant { justify-content: flex-start; }

.chat-bubble {
  max-width: 80%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
}
.chat-msg-user .chat-bubble {
  background: var(--accent);
  color: #0e0d0b;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.chat-msg-assistant .chat-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
}
.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: chatDot 1.2s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-cta {
  padding: 8px 14px 4px;
  flex-shrink: 0;
}
.chat-cta-btn {
  width: 100%;
  justify-content: center;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--radius);
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.chat-input:focus { border-color: var(--accent); }
.chat-input::placeholder { color: var(--text-subtle); }
.chat-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #0e0d0b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform 0.15s;
}
.chat-send-btn:hover { background: var(--accent-hover); transform: scale(1.05); }
.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

@media (max-width: 480px) {
  #chat-widget { bottom: 16px; right: 16px; }
  .chat-panel {
    width: calc(100vw - 32px);
    max-height: 70vh;
    border-radius: var(--radius);
  }
}

/* ─── REDUCED MOTION ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { animation: none; }
  [data-animate] { opacity: 1; transform: none; }
}
