/* Frosted floating nav */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding: 1rem 1rem 0;
}

.site-nav {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px rgba(148, 163, 184, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: var(--accent-grad);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.brand-text {
  font-size: 1rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cyan-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  min-height: 44px;
}

.nav-phone:hover {
  color: var(--cyan-dark);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: white;
  cursor: pointer;
}

.nav-drawer {
  display: none;
  position: fixed;
  inset: 5.5rem 1rem auto;
  z-index: 49;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.nav-drawer.open {
  display: grid;
  gap: 0.25rem;
}

.nav-drawer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-weight: 500;
}

.nav-drawer a:hover {
  background: var(--cyan-soft);
  color: var(--cyan-dark);
}

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

  .nav-phone {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cyan);
  color: white;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  background: var(--cyan-dark);
}

.btn-dark {
  background: var(--ink);
  color: white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  border-radius: 0.75rem;
  padding-inline: 1.15rem;
}

.btn-dark:hover {
  background: var(--cyan-dark);
}

.btn-ghost {
  background: white;
  color: #334155;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--cyan-border);
  color: var(--cyan-dark);
  background: #f8fafc;
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

/* Pills & chips */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-full);
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-border);
  color: #0e7490;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
}

.pill-dot::before,
.pill-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--cyan);
}

.pill-dot::before {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.4rem 0.95rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: white;
  color: var(--ink-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip:hover,
.chip.is-active {
  background: var(--cyan-soft);
  border-color: var(--cyan-border);
  color: var(--cyan-dark);
}

/* Cards */
.card {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-media img,
.zoom-media:hover img {
  transform: scale(1.05);
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-white {
  background: white;
  border-block: 1px solid var(--line-soft);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-lead {
  margin-top: 0.65rem;
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.85rem;
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
}

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

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

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

/* Forms */
.form-stack {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: white;
  color: var(--ink);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
  outline: none;
}

.help {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}

.error-text {
  color: #be123c;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  border-radius: 3rem 3rem 0 0;
  padding: 4.5rem 0 2rem;
  margin-top: 2rem;
}

.site-footer h3,
.site-footer h4 {
  color: white;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.footer-meta {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #64748b;
}

.footer-meta a:hover {
  color: var(--cyan);
}

.disclaimer {
  width: min(100% - 2rem, var(--container));
  margin: 1rem auto 2rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-lg);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

/* Motion helpers: never hide content with opacity 0 (dynamic cards used to stay blank) */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-motion .reveal {
  transform: translateY(12px);
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
  filter: saturate(0.96);
}

html.js-motion .reveal.is-visible {
  transform: none;
  filter: none;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  overflow: visible;
  fill: none;
  stroke: currentColor;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-xl {
  width: 2.5rem;
  height: 2.5rem;
}

.icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--cyan-soft);
  color: var(--cyan);
  flex-shrink: 0;
}

.badge-demo {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero {
  padding: 8.5rem 0 3.5rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.page-hero p {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  text-align: start;
  padding: 0.95rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.price-table td {
  color: var(--ink);
  font-weight: 500;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-pill {
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.step-pill.is-active {
  background: var(--cyan-soft);
  color: var(--cyan-dark);
}

.step-pill.is-done {
  background: #ecfdf5;
  color: #047857;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--ink-muted);
}
