:root {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --primary-50: #eff6ff;
  --primary-300: #93c5fd;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --success: #16a34a;
  --warning: #f97316;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.is-nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: var(--muted);
}

.muted.small {
  font-size: 0.85rem;
}

.is-hidden {
  display: none !important;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.85rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.language-selector label {
  font-size: 0.85rem;
  font-weight: 600;
}

.language-selector select {
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 0.85rem;
  min-height: 34px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-dark);
  letter-spacing: 0.2px;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  font-size: 0.92rem;
}

.nav-icon-link {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--card);
  width: 36px;
  height: 36px;
  border-radius: 999px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  position: relative;
}

.header-actions form {
  margin: 0;
}

.nav-links,
.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.nav-menu-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav-menu-title {
  font-weight: 700;
  font-size: 1rem;
}

.nav-menu-close {
  border: 1px solid var(--border);
  background: var(--card);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1900;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-links {
  margin-right: auto;
}

.nav-greeting {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.lang-switch {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--card);
}

.nav-toggle-icon {
  width: 16px;
  height: 2px;
  background: var(--text);
  position: relative;
  display: inline-block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--text);
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.site-main {
  padding: 40px 0 64px;
}

.auth-body {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.auth-body .site-main {
  padding: 32px 0 56px;
}

.auth-body .site-header {
  background: var(--card);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.auth-shell {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: min(640px, 100%);
  padding: 32px;
}

.auth-header {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.auth-header h1 {
  margin: 0;
  font-size: 2rem;
}

.auth-secondary {
  margin: 8px 0 0;
  text-align: center;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.trust-line {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.form-stack {
  display: grid;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.field-hint {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.input-with-toggle {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-toggle input {
  width: 100%;
  padding-right: 80px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.toggle-password:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.6);
  outline-offset: 2px;
  border-radius: 6px;
}

.account-type-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.account-type-card {
  cursor: pointer;
}

.account-type-card input {
  position: absolute;
  opacity: 0;
}

.account-type-content {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.account-type-title {
  font-weight: 700;
  color: var(--text);
}

.account-type-description {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}

.account-type-card input:checked + .account-type-content {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
  background: #eef2ff;
}

.account-type-card input:focus-visible + .account-type-content {
  outline: 2px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}

.company-field.is-hidden {
  display: none;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--muted);
}

.checkbox-field input {
  margin-top: 4px;
}

.button.full {
  width: 100%;
  justify-content: center;
}

.validation-summary-message {
  display: none;
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.form-has-errors .validation-summary-message {
  display: block;
}

.hero,
.page-hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px;
  margin-bottom: 32px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.page-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.hero h1,
.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.trust-strip {
  position: relative;
  margin: 32px calc(50% - 50vw) 44px;
  padding: 42px clamp(24px, 5vw, 72px);
  background: linear-gradient(120deg, #1f0000 0%, #7f1d1d 45%, #dc2626 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  animation: trustPulse 4s ease-in-out infinite;
}

.trust-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.trust-strip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}

.trust-strip-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: trustHeadline 0.6s ease-out both;
}

.trust-strip-punchline {
  margin: 0 0 10px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.trust-strip-subhead {
  margin: 0 0 14px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  opacity: 0.95;
}

.trust-strip-body {
  display: grid;
  gap: 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.trust-strip-body p {
  margin: 0;
}

.trust-strip-emphasis {
  font-weight: 900;
  text-transform: uppercase;
  color: #fef08a;
  text-shadow: 0 0 12px rgba(254, 240, 138, 0.6);
}

.trust-strip-nonnegotiable {
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.9;
}

.trust-strip-badges {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-weight: 700;
}

.trust-strip-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.trust-strip-authority {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.9;
}

.trust-strip-final {
  margin: 4px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.85;
}

.trust-strip-actions {
  margin-top: 4px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.trust-strip-cta {
  background: #fff;
  color: #7f1d1d;
  border-color: #fff;
  padding: 12px 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 16px 32px rgba(127, 29, 29, 0.45);
  animation: ctaPulse 3.6s ease-in-out infinite;
}

.trust-strip-cta:hover {
  background: #fee2e2;
  border-color: #fee2e2;
}

.trust-strip-cta-badge {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.9;
}

.howitworks-commitment {
  margin: 6px 0 0;
  color: #dc2626;
  font-weight: 700;
}

.section {
  margin-bottom: 40px;
  scroll-margin-top: 120px;
}

.contact-section {
  margin-top: 24px;
}

.contact-container {
  max-width: 1120px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.contact-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.contact-benefits {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--text);
}

.contact-benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact-benefits li::before {
  content: "•";
  color: var(--primary);
  font-weight: 700;
}

.contact-card {
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.contact-form-actions {
  display: flex;
  justify-content: flex-start;
}

.button.is-loading,
.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.button.secondary:disabled {
  background: #3b82f6;
  border-color: #3b82f6;
  opacity: 0.82;
}

.button.with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.completion-pay-icon {
  font-size: 0.95em;
  line-height: 1;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.6rem;
}

.founder-section {
  background: #ffffff;
  margin-top: 32px;
}

.founder-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 24px;
  align-items: center;
}

.founder-photo {
  flex: 0 0 auto;
}

.founder-photo img,
.founder-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.founder-photo img {
  object-fit: cover;
  border: 3px solid #f1f5f9;
  display: block;
}

.founder-photo-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #334155;
  font-weight: 700;
  font-size: 2rem;
  border: 3px solid #f1f5f9;
}

.founder-details h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.founder-role {
  margin: 0 0 12px;
  font-weight: 600;
  color: #475569;
}

.founder-linkedin {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  text-decoration: none;
  font-weight: 600;
  color: #0a66c2;
  cursor: pointer;
}

.founder-linkedin:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.founder-linkedin-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.founder-linkedin-text,
.founder-linkedin-subtext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.founder-linkedin-subtext {
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
}

.founder-linkedin-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@media (max-width: 720px) {
  .founder-card {
    flex-direction: column;
    text-align: center;
  }

  .founder-linkedin {
    align-items: center;
  }
}

.video-section {
  margin: 0 calc(50% - 50vw) 44px;
  padding: 96px 0;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.22), transparent 55%),
    linear-gradient(145deg, #0b1220 0%, #05070c 50%, #000 100%);
  color: #fff;
}

.video-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px);
  display: grid;
  gap: 24px;
  text-align: center;
}

.video-section-heading {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.video-section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.02em;
}

.video-section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 760px;
}

.video-frame {
  position: relative;
  width: min(92%, 1140px);
  margin: 0 auto;
  padding-top: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-section-filter {
  margin: 0 auto;
  max-width: 760px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.8);
}

.video-section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.3);
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.video-section-cta:hover {
  border-color: rgba(226, 232, 240, 0.75);
  background: rgba(30, 41, 59, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.highlight {
  background: #eef2ff;
  padding: 32px;
  border-radius: 20px;
}

.split {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.two-columns {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three-columns {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.timeline {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.timeline-step {
  display: grid;
  gap: 8px;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e0e7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.refund-note {
  margin-top: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.card.subtle {
  background: #f8fafc;
}

.card h3 {
  margin-top: 0;
}

.example-card {
  background: #f8fafc;
}

.badge {
  background: #e0e7ff;
  color: #3730a3;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge.project-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge.project-status.project-status-complete {
  background: #dcfce7;
  color: #166534;
}

.badge.project-status.project-status-construction {
  background: #ffedd5;
  color: #9a3412;
}

.badge.project-status.project-status-planned {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge.project-status.project-status-unknown {
  background: #e2e8f0;
  color: #334155;
}

.badge.neutral {
  background: #e2e8f0;
  color: #334155;
}

.pillar-guides {
  border-color: #c7d2fe;
  background: #f8faff;
}

.guide-badge {
  margin-left: 6px;
  vertical-align: middle;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--primary);
  font-weight: 600;
  text-align: center;
}

.deal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.developer-deals-table th,
.developer-deals-table td {
  vertical-align: middle;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
}

.developer-deals-table {
  border-collapse: collapse;
  width: 100%;
}

.developer-deals-table thead th {
  background: #f8fafc;
}

.developer-deals-table.table-striped tbody tr:nth-of-type(odd) {
  background: #f9fafb;
}

.developer-deals-table.table-hover tbody tr:hover {
  background: #f1f5f9;
}

.developer-deals-table .deal-actions {
  gap: 8px;
  align-items: stretch;
  flex-direction: column;
}

.developer-deals-table .deal-actions .button {
  width: 100%;
  min-width: 180px;
}

.developer-deals-table .badge.status-pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  display: inline-block;
}

.developer-deals-table .badge[data-status="status-active"] {
  background: #dcfce7;
  color: #166534;
}

.developer-deals-table .badge[data-status="status-draft"] {
  background: #e5e7eb;
  color: #4b5563;
}

.developer-deals-table .badge[data-status="status-expired"] {
  background: #fee2e2;
  color: #991b1b;
}

.developer-deals-table .badge[data-status="status-pending"] {
  background: #fef9c3;
  color: #854d0e;
}

.developer-deals-table .badge[data-status="status-group-complete"] {
  background: #fef3c7;
  color: #92400e;
}

.developer-deals-table .deal-actions-column,
.developer-deals-table .deal-actions-cell {
  width: 280px;
}

.developer-deals-table .deal-clarifications-column,
.developer-deals-table .deal-clarifications-cell {
  width: 38%;
}

.deal-progress-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 8px;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.clarifications-list {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: #64748b;
}

.participants-table-section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 24px;
}

.participants-table-card {
  width: 100%;
}

.participants-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 12px 0 18px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.participants-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
}

.participants-summary-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.participants-summary-value {
  font-weight: 600;
  color: #0f172a;
}

.participants-progress {
  margin-top: 8px;
  height: 6px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.participants-progress-bar {
  height: 100%;
  background: #22c55e;
  border-radius: inherit;
  transition: width 0.2s ease-in-out;
}

.participants-progress-label {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.participants-table-wrapper {
  width: 100%;
}

.participants-table {
  width: 100%;
  border-collapse: collapse;
}

.participants-table th,
.participants-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
}

.participants-table thead th {
  background: #f8fafc;
  color: #1f2937;
  font-weight: 700;
}

.participants-table tbody td {
  border-bottom: 1px solid #e5e7eb;
}

.participants-table tbody tr:last-child td {
  border-bottom: none;
}

.participants-status-cell {
  white-space: nowrap;
}

.affiliate-commissions-card h2 {
  margin-top: 0;
}

.affiliate-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.affiliate-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.affiliate-table th,
.affiliate-table td {
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}

.affiliate-table thead th {
  background: #f8fafc;
  color: #1f2937;
  font-weight: 700;
}

.affiliate-table tbody td {
  border-top: 1px solid #e5e7eb;
}

.affiliate-table tbody tr:hover {
  background: #f8fafc;
}

.affiliate-table__number {
  text-align: right;
  white-space: nowrap;
}

.badge--status {
  display: inline-flex;
  align-items: center;
}

.badge--pending {
  background: #ffedd5;
  color: #9a3412;
}

.badge--approved {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge--ready {
  background: #fef9c3;
  color: #a16207;
}

.badge--paid {
  background: #dcfce7;
  color: #166534;
}

.badge--rejected {
  background: #fee2e2;
  color: #991b1b;
}

.badge--neutral {
  background: #e2e8f0;
  color: #334155;
}

.affiliate-empty-state {
  border: 1px dashed #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.affiliate-empty-state__icon {
  font-size: 1.6rem;
}

.affiliate-empty-state__text {
  margin: 0;
  color: #64748b;
  font-weight: 600;
}

.participants-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.participants-header-icon {
  font-size: 0.85rem;
  opacity: 0.7;
}

.participant-status-badge {
  display: inline-flex;
  align-items: center;
}

.participant-status-badge[data-status="paid"] {
  background: #dcfce7;
  color: #166534;
}

.participant-status-badge[data-status="reserved"] {
  background: #ffedd5;
  color: #9a3412;
}

.participant-status-badge[data-status="expired"] {
  background: #fee2e2;
  color: #991b1b;
}

.participants-tooltip {
  border-bottom: 1px dotted #94a3b8;
  cursor: help;
}

.participants-empty-state {
  padding: 24px;
  border-radius: 12px;
  border: 1px dashed #e2e8f0;
  background: #f8fafc;
  text-align: center;
}

.participants-empty-state h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.clarifications-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: #475569;
}

.clarifications-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.clarifications-card li + li {
  margin-top: 6px;
}

.clarifications-title {
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 6px;
}

.clarifications-title::before {
  content: "ℹ";
  display: inline-block;
  color: #4f46e5;
}

.offer-separator-row td {
  padding: 16px 0;
  border: none;
  background: transparent;
}

.offer-separator {
  border-top: 1px solid #e5e7eb;
  width: 100%;
}

.deal-action-status {
  font-size: 0.8rem;
  color: #15803d;
  font-weight: 600;
  text-align: center;
}

.deal-action-helper {
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}

.deal-action-tooltip {
  position: relative;
  display: inline-flex;
  width: 100%;
}

.deal-action-tooltip:focus-visible {
  outline: 2px solid #c7d2fe;
  border-radius: 12px;
}

.deal-action-tooltip__content {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, -4px);
  background: #0f172a;
  color: #f8fafc;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.deal-action-tooltip__content::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #0f172a transparent transparent;
}

.deal-action-tooltip:hover .deal-action-tooltip__content,
.deal-action-tooltip:focus-visible .deal-action-tooltip__content {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .participants-table-section {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  .developer-deals-table.is-stacked thead {
    display: none;
  }

  .developer-deals-table.is-stacked tr,
  .developer-deals-table.is-stacked td {
    display: block;
    width: 100%;
  }

  .developer-deals-table.is-stacked td + td {
    margin-top: 12px;
  }
}

.helper-text {
  margin-top: 6px;
  font-size: 0.85rem;
}

.button.primary {
  background: var(--primary);
  color: white;
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
}

.button.secondary:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.button.ghost {
  color: var(--primary);
  background: transparent;
}

.button.small {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.button.nav-pill,
.button.btn-cta-primary {
  border-radius: 999px;
  transition: all 160ms ease;
}

.button.nav-pill {
  background: transparent;
  border-color: var(--primary-300);
  color: var(--primary-600);
  font-weight: 400;
}

.button.nav-pill:not(.nav-pill--active):hover {
  background: var(--primary-50);
  border-color: var(--primary-500);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.button.btn-cta-primary {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #fff;
}

.button.btn-cta-primary:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
  transform: translateY(-1px);
}

.button.nav-pill--active {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #fff;
  font-weight: 600;
}

.button.nav-pill--active:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #fff;
}

.button.nav-pill:focus-visible,
.button.btn-cta-primary:focus-visible,
.button.nav-pill--active:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .button.nav-pill,
  .button.btn-cta-primary {
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .button.nav-pill:not(.nav-pill--active):hover,
  .button.btn-cta-primary:hover,
  .button.nav-pill--active:hover {
    transform: none;
  }
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

.list {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--muted);
}

.section-actions {
  margin-top: 16px;
}

.steps {
  padding-left: 20px;
  color: var(--muted);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  margin-bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 600;
}

.deals-hero {
  padding: 28px 32px;
  gap: 24px;
}

.deals-hero-content h1 {
  margin-bottom: 8px;
}

.deals-hero-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.deals-section {
  margin-bottom: 60px;
}

.page-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.filters {
  align-self: start;
  position: sticky;
  top: 96px;
}

.filters-accordion {
  border: none;
  background: transparent;
}

.filters-accordion summary {
  display: none;
  cursor: pointer;
  list-style: none;
}

.filters-accordion summary::-webkit-details-marker {
  display: none;
}

.filters-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  margin-top: 16px;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.filters select,
.filters input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.filters-card select,
.filters-card input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background: #fff;
}

.filters-card select {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.filter-search {
  grid-column: span 2;
}

.filter-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.results-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.sort-field select {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
}

.deal-card h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.deal-card-media {
  border-radius: 16px;
  overflow: hidden;
  background: #eef2ff;
  margin-bottom: 16px;
  height: 180px;
}

.deal-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.deals-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.premium-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.premium-card .deal-card-media {
  margin-bottom: 0;
  border-radius: 16px 16px 0 0;
  height: auto;
  aspect-ratio: 16 / 10;
  position: relative;
}

.deal-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.discount-badge {
  background: #1d4ed8;
  color: #fff;
}

.verified-badge {
  background: #dcfce7;
  color: #166534;
}

.deal-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 26px 26px;
  flex: 1;
}

.deal-location {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.deal-description {
  margin: 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.deal-progress {
  margin-top: 6px;
}

.deal-progress + .deal-progress {
  margin-top: 14px;
}

.deal-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.deal-progress-dates {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.time-progress .progress {
  margin-bottom: 0;
}

.time-progress.warning .progress-bar {
  background: #f59e0b;
}

.time-progress.expired .progress-bar {
  background: #ef4444;
}

.deal-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.skeleton-card {
  border-color: #e2e8f0;
  box-shadow: none;
}

.skeleton-block,
.skeleton-line {
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 40%, #e2e8f0 80%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}

.skeleton-block {
  border-radius: 16px 16px 0 0;
  aspect-ratio: 16 / 10;
}

.skeleton-line {
  height: 12px;
  border-radius: 8px;
}

.skeleton-title {
  height: 18px;
  width: 70%;
}

.skeleton-short {
  width: 50%;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@keyframes trustPulse {
  0%,
  100% {
    box-shadow: 0 18px 36px rgba(185, 28, 28, 0.25);
  }
  50% {
    box-shadow: 0 22px 44px rgba(239, 68, 68, 0.4);
  }
}

@keyframes trustHeadline {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 16px 32px rgba(127, 29, 29, 0.45);
  }
  50% {
    box-shadow: 0 22px 40px rgba(255, 255, 255, 0.35);
  }
}

.deal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.deal-metrics,
.deal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.deal-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.deal-summary--stacked {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deal-summary--stacked .deal-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.deal-summary--stacked .deal-summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.deal-summary--stacked .deal-summary-label {
  font-weight: 600;
  color: var(--muted);
}

.deal-summary--stacked .deal-summary-value {
  font-weight: 400;
}

.deal-media {
  display: grid;
  gap: 16px;
}

.deal-hero {
  border-radius: 20px;
  overflow: hidden;
  background: #e2e8f0;
  height: 360px;
}

.deal-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.deal-hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.deal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.deal-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
}

.img-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  padding: 24px;
}

.img-modal.is-open {
  display: flex;
}

.img-modal__img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transform: scale(1);
  transition: transform 0.2s ease;
}

.img-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 28px;
  line-height: 44px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.img-modal__controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: grid;
  gap: 8px;
  z-index: 1;
}

.img-modal__control {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 24px;
  line-height: 44px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.deal-cta {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.group-fee-table {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.group-fee-table h4 {
  margin: 0;
  font-size: 0.95rem;
}

.group-fee-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.group-fee-table th,
.group-fee-table td {
  text-align: left;
  padding: 6px 4px;
  border-bottom: 1px solid var(--border);
}

.group-fee-table tbody tr.next-slot td {
  background: #eaf2ff;
}

.group-fee-table tbody tr.next-slot td:first-child {
  border-left: 3px solid #2563eb;
  padding-left: 6px;
  font-weight: 600;
}

.group-fee-table .slot-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.group-fee-table tbody tr:last-child td {
  border-bottom: 0;
}

.progress {
  background: #e2e8f0;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-bar {
  background: var(--primary);
  height: 100%;
}

.empty-state {
  text-align: center;
  padding: 40px;
  border: 1px dashed var(--border);
  border-radius: 16px;
  background: #f8fafc;
}

.empty-state-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.faq,
.legal {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.form-grid input.readonly-field {
  background: #f1f5f9;
  color: var(--muted);
}

.form-grid textarea {
  min-height: 120px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-section {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.form-section__header h3 {
  margin: 0;
}

.form-section__header p {
  margin: 4px 0 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.payment-structure-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-structure-bar.preview {
  margin-top: 8px;
}

.payment-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 600;
}

.payment-warning {
  font-weight: 600;
}

.deal-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deal-preview-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.deal-preview-short {
  font-weight: 600;
}

.deal-preview-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.deal-preview-section h3 {
  margin-bottom: 8px;
}

.deal-preview-apartments {
  display: grid;
  gap: 12px;
}

.deal-preview-apartment {
  padding: 16px;
  box-shadow: none;
}

.deal-preview-apartment__title {
  font-weight: 700;
  margin-bottom: 8px;
}

.deal-preview-apartment__row {
  margin-bottom: 4px;
}

.deal-preview-apartment__savings {
  color: #15803d;
}

.contact-confirmation {
  margin: 12px 0 0;
  color: var(--success);
  font-weight: 600;
}

.validation-summary,
.field-error {
  color: #dc2626;
  font-size: 0.85rem;
}

.validation-summary:empty {
  display: none;
}

.alert.success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: var(--success);
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.deal-join-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.deal-join-summary-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.deal-join-summary-location {
  font-size: 0.85rem;
  color: #6b7280;
}

.kv-list {
  margin-top: 12px;
}

.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}

.kv-label {
  font-size: 13px;
  color: #6b7280;
}

.kv-value {
  font-size: 14px;
  color: #111827;
}

.kv-value--primary {
  font-size: 17px;
  font-weight: 600;
  color: #0b5ed7;
}

.highlight-row {
  background: rgba(13, 110, 253, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 6px 0;
}

.kv-divider {
  border-top: 1px solid #e5e7eb;
}

.section-gap {
  margin-top: 36px;
}

.section-gap .grid {
  margin-top: 16px;
}

.card-pad {
  padding: 22px;
}

.discount-note {
  background: #e7f1ff;
  border-left: 4px solid #0b5ed7;
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #1f2937;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.discount-note strong {
  font-weight: 600;
}

.discount-note p {
  margin: 0;
}

.apt-card {
  padding: 20px;
}

.apt-details {
  margin-top: 8px;
  color: #6b7280;
  font-size: 13px;
}

.apt-prices {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.apt-kv {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.apt-kv .label {
  color: #6b7280;
  font-size: 13px;
}

.apt-kv .value {
  color: #111827;
  font-size: 14px;
}

.price-deal {
  font-weight: 600;
  color: #0b5ed7;
}

.price-public {
  color: #111827;
}

.save-badge {
  color: #198754;
  font-weight: 600;
}

@media (max-width: 768px) {
  .deal-join-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .kv-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .kv-value {
    width: 100%;
  }

  .highlight-row {
    width: 100%;
  }

  .section-gap .grid {
    gap: 18px;
  }
}

.alert.info {
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  color: #0c4a6e;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.alert.info .alert-icon {
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 2px;
}

.alert.info .alert-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.alert.info strong {
  color: #075985;
}

.location-card .location-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-placeholder .map-box {
  background: #e2e8f0;
  border-radius: 12px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-top: 12px;
}

.breadcrumbs {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
}

.breadcrumbs a {
  color: var(--primary);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}

.auth-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 20px 0 32px;
  background: transparent;
}

.auth-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.auth-footer-links {
  display: flex;
  gap: 16px;
}

.auth-footer a {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-card .price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 12px 0;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 18px 36px rgba(30, 58, 138, 0.18);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 24px;
  background: var(--card);
}

.footer-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    z-index: 2000;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .header-left {
    flex: 1;
  }

  .nav-icon-link {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 92vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 16px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0;
    box-shadow: -12px 0 32px rgba(15, 23, 42, 0.2);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 2001;
    overflow-y: auto;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-menu-header {
    display: flex;
  }

  .nav-links,
  .nav-auth {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-menu .button,
  .nav-auth form,
  .nav-auth .nav-greeting {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .nav-auth form {
    display: flex;
  }

  .hero,
  .page-hero {
    padding: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-actions {
    flex-direction: row;
    align-items: stretch;
  }

  .filter-search {
    grid-column: span 1;
  }

  .deals-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .deals-hero-chips {
    justify-content: flex-start;
  }
}

@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    order: 1;
  }

  .contact-copy {
    order: 2;
  }

  .filters {
    position: static;
  }

  .filters-accordion summary {
    display: inline-flex;
  }

  .filters-accordion[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 20;
  }

  .filters-card {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(360px, 85vw);
    margin: 0;
    border-radius: 0 16px 16px 0;
    overflow-y: auto;
    z-index: 30;
  }
}

@media (max-width: 768px) {
  .deals-grid {
    grid-template-columns: 1fr;
  }

  .deal-stats {
    grid-template-columns: 1fr;
  }
}


.home-guides {
    padding: 80px 20px;
    background: #f8f9fb;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 24px;
}

.guide-card {
    background: white;
    padding: 24px;
    border-radius: 10px;
    text-decoration: none;
    color: #111;
    border: 1px solid #eee;
    transition: all .2s ease;
}

    .guide-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .guide-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .guide-card p {
        font-size: 14px;
        color: #666;
    }

.read-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
}

