/* ===== Design tokens ===== */
:root {
  --color-bg: #121212;
  --color-bg-deep: #0a0a0a;
  --color-surface: #1a1a1a;
  --color-border: #292929;
  --color-text: #f2f2f2;
  --color-text-muted: #9ca3af;
  --color-text-faint: #6b7280;
  --color-accent: #a9bdb0;
  --color-accent-dim: #8a9a8b;
  --color-accent-tint: #c5d2c8;
  --color-accent-text: #121212;

  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container-width: 1360px;
  --radius: 6px;
}

/* ===== Reset ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

[id] { scroll-margin-top: 100px; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

@media (max-width: 760px) {
  .container { padding: 0 24px; }
}

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }

p { color: var(--color-text-muted); }

section { padding: 100px 0; }

/* ===== Eyebrow labels ===== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-faint);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--color-text-faint); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ''; display: block; width: 28px; height: 1px; background: var(--color-text-faint); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn::after { content: '\2197'; font-size: 0.9em; }
.btn-plain { }
.btn-plain::after { content: none; }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-text);
}
.btn-primary:hover { background: var(--color-accent-tint); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }

.btn-sm { padding: 11px 22px; font-size: 0.72rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.logo::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px 2px rgba(169, 189, 176, 0.7), 0 0 14px 4px rgba(169, 189, 176, 0.35);
  animation: logo-dot-glow 2.6s ease-in-out infinite;
}
@keyframes logo-dot-glow {
  0%, 100% { box-shadow: 0 0 6px 2px rgba(169, 189, 176, 0.7), 0 0 14px 4px rgba(169, 189, 176, 0.35); }
  50% { box-shadow: 0 0 9px 3px rgba(169, 189, 176, 0.9), 0 0 20px 6px rgba(169, 189, 176, 0.5); }
}
.logo span { color: var(--color-accent); font-weight: 600; margin-left: 4px; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}
.nav-links a:not(.btn):hover,
.nav-links a.active { color: var(--color-text); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-deep);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) {
    width: 100%;
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
  }
  .nav-actions { flex-direction: column; align-items: stretch; padding: 16px 24px; gap: 12px; }
  .nav-actions .btn { justify-content: center; }
}

/* ===== Hero ===== */
.hero {
  padding: 90px 0 80px;
  background:
    linear-gradient(180deg, rgba(18,18,18,0.2), rgba(18,18,18,1) 85%),
    radial-gradient(circle at 75% 15%, rgba(169,189,176,0.08), transparent 55%);
}

.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { color: var(--color-accent); }

.hero .lede {
  font-size: 1.1rem;
  margin: 0 0 32px;
  max-width: 52ch;
}

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-actions .fine-print { color: var(--color-text-faint); font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }

/* ===== Marble quote section ===== */
.marble-section {
  position: relative;
  padding: 140px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.marble-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(169,189,176,0.16), transparent 60%),
    linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0.7));
}
.marble-section .container { position: relative; z-index: 1; }
.marble-section .eyebrow { justify-content: center; color: var(--color-text-muted); }
.marble-quote {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--color-text);
  font-weight: 500;
  max-width: 22ch;
  margin: 0 auto;
  line-height: 1.4;
}

/* ===== Photo placeholder blocks (fallback) ===== */
.photo-placeholder {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  background: repeating-linear-gradient(
    45deg,
    var(--color-surface),
    var(--color-surface) 10px,
    var(--color-bg-deep) 10px,
    var(--color-bg-deep) 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding: 24px;
  min-height: 260px;
}
.photo-placeholder.tall { min-height: 420px; }
.photo-placeholder.square { aspect-ratio: 1 / 1; min-height: 0; }

/* ===== Icon badges ===== */
.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(18,18,18,0.6);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  margin-bottom: 24px;
}
.icon-badge svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }

/* ===== Section heading ===== */
.section-heading { max-width: 640px; margin-bottom: 56px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading p { margin-top: 12px; font-size: 1.05rem; }

.bg-alt { background: var(--color-bg-deep); }

/* ===== Grids ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-3 > * { min-width: 0; width: 100%; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }

/* ===== Package / service cards ===== */
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.service-card-flagship {
  border-color: var(--color-accent-dim);
  box-shadow: 0 0 0 1px var(--color-accent-dim);
}
.service-card .badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background: var(--color-accent);
  color: var(--color-accent-text);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 999px;
}
.service-card .eyebrow { margin-bottom: 12px; }
.service-card .eyebrow::before { display: none; }
.service-card h3 { color: var(--color-text); margin-bottom: 10px; }
.service-card .tagline { font-size: 0.95rem; margin-bottom: 24px; }
.service-card hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0 0 24px;
}
.service-card ul { margin-bottom: 32px; flex-grow: 1; }
.service-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-muted);
  padding: 7px 0;
  font-size: 0.92rem;
}
.service-card ul li svg { flex-shrink: 0; margin-top: 3px; width: 15px; height: 15px; stroke: var(--color-accent); fill: none; }

/* ===== Who-we-serve cards ===== */
.niche-card {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-surface);
}
.niche-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.niche-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18,18,18,0.35), rgba(18,18,18,0.65));
}
.niche-photo .icon-badge { position: relative; z-index: 1; margin-bottom: 0; background: rgba(18,18,18,0.7); }
.niche-body { padding: 28px 28px 32px; }
.niche-body h3 { margin-bottom: 16px; }
.niche-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-text-muted);
  padding: 6px 0;
  font-size: 0.9rem;
}
.niche-body ul li svg { flex-shrink: 0; margin-top: 3px; width: 14px; height: 14px; stroke: var(--color-accent); fill: none; }

/* ===== FAQ / accordion ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}
.faq-grid > * { min-width: 0; width: 100%; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .toggle-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-text-muted);
}
.accordion-item[open] summary .toggle-icon::before { content: '\2212'; }
.accordion-item:not([open]) summary .toggle-icon::before { content: '\002B'; }
.accordion-item .accordion-body { padding: 0 0 24px; max-width: 60ch; }

/* ===== Payment box ===== */
.payment-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.payment-box p { margin-bottom: 28px; }
.qr-frame {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 16px;
}
.qr-frame img { width: 220px; height: 220px; }
.payment-box .qr-caption {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  margin-bottom: 28px;
  word-break: break-all;
}

/* ===== Forms ===== */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-faint);
}
.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  padding: 10px 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-text-faint); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-field textarea { resize: vertical; min-height: 120px; border: 1px solid var(--color-border); padding: 12px; }

.pill-choice-group { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-choice {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-body);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.pill-choice:hover { border-color: var(--color-accent); color: var(--color-text); }
.pill-choice.selected { border-color: var(--color-accent); color: var(--color-text); background: rgba(169,189,176,0.1); }

.form-status {
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: 6px;
  display: none;
}
.form-status.visible { display: block; }
.form-status.success { background: rgba(169, 189, 176, 0.12); color: var(--color-accent-tint); border: 1px solid rgba(169,189,176,0.3); }
.form-status.error { background: rgba(231, 76, 60, 0.12); color: #e88a80; border: 1px solid rgba(231,76,60,0.3); }

.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--color-accent);
  color: var(--color-accent-text);
  text-align: center;
  padding: 72px 0;
}
.cta-banner h2 { color: var(--color-accent-text); }
.cta-banner p { color: rgba(18,18,18,0.7); margin-bottom: 28px; }
.cta-banner .btn-outline {
  border-color: var(--color-accent-text);
  color: var(--color-accent-text);
}
.cta-banner .btn-outline:hover {
  background: var(--color-accent-text);
  color: var(--color-accent);
}

/* ===== Testimonial ===== */
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.testimonial p.quote {
  font-size: 1.2rem;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial .attribution {
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* ===== Page header (interior pages) ===== */
.page-header {
  padding: 72px 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-header p { max-width: 60ch; margin: 12px auto 0; }

/* ===== About page ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-grid > * { min-width: 0; width: 100%; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.credentials-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.credentials-list li svg { flex-shrink: 0; width: 16px; height: 16px; stroke: var(--color-accent); fill: none; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-grid > * { min-width: 0; width: 100%; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-info .label {
  display: block;
  color: var(--color-text-faint);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-info .value { color: var(--color-text); font-weight: 600; }

/* ===== Calendly embed ===== */
.calendly-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
  font-size: 0.85rem;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .copyright { color: var(--color-text-faint); letter-spacing: 0.5px; text-transform: uppercase; font-size: 0.78rem; }
.site-footer .social { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer .social a { color: var(--color-text-muted); font-weight: 600; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.5px; }
.site-footer .social a:hover { color: var(--color-accent); }

/* ===== Overview cards (home "What We Do") ===== */
.overview-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.overview-card:hover {
  border-color: var(--color-accent-dim);
  transform: translateY(-2px);
}
.overview-card .index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.overview-card h3 { color: var(--color-text); margin-bottom: 10px; }
.overview-card p { font-size: 0.92rem; }

/* ===== Process steps ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.process-grid > * { min-width: 0; width: 100%; }
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.process-step .index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.process-step h3 { color: var(--color-text); font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; }

/* ===== Service detail blocks (Services page) ===== */
.service-detail {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 48px;
  margin-bottom: 28px;
}
.badge-tag {
  display: inline-block;
  border: 1px solid var(--color-accent-dim);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.service-detail h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.service-detail > p.tagline { max-width: 70ch; font-size: 1.02rem; margin-bottom: 32px; }
.service-detail .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin-bottom: 32px;
}
.service-detail .feature-grid > * { min-width: 0; width: 100%; }
@media (max-width: 700px) { .service-detail .feature-grid { grid-template-columns: 1fr; } }
.service-detail .feature-item { display: flex; gap: 12px; align-items: flex-start; }
.service-detail .feature-item .dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--color-accent-dim);
  margin-top: 3px;
}
.service-detail .feature-item strong { display: block; color: var(--color-text); font-size: 0.98rem; margin-bottom: 4px; }
.service-detail .feature-item span { color: var(--color-text-muted); font-size: 0.88rem; }

/* ===== Work-with-us layout ===== */
.work-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.work-grid > * { min-width: 0; width: 100%; }
@media (max-width: 900px) { .work-grid { grid-template-columns: 1fr; } }

.side-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.side-card h3 { color: var(--color-text); font-size: 1.05rem; margin-bottom: 10px; }
.side-card p { font-size: 0.9rem; }
.side-card ol { margin: 0; padding-left: 18px; color: var(--color-text-muted); font-size: 0.9rem; }
.side-card ol li { padding: 4px 0; }
.side-card.quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 0.92rem;
  font-weight: 600;
}
.side-card.quick-links a:last-child { border-bottom: none; }

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 500px) { .checkbox-grid { grid-template-columns: 1fr; } }
label.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}
.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.form-field select {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
}
.form-field select:focus { outline: none; border-color: var(--color-accent); }

.form-note { font-size: 0.8rem; color: var(--color-text-faint); margin-top: -6px; }
.form-note a { color: var(--color-accent); text-decoration: underline; }

/* ===== FAQ floating widget ===== */
.faq-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
}
.faq-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-text);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}
.faq-toggle:hover { transform: translateY(-2px); }
.faq-toggle svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.faq-toggle .icon-close { display: none; }
.faq-widget.open .faq-toggle .icon-chat { display: none; }
.faq-widget.open .faq-toggle .icon-close { display: block; }

.faq-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 340px;
  height: 480px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  overflow: hidden;
}
.faq-widget.open .faq-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.faq-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.faq-panel-header h4 { color: var(--color-text); font-size: 0.95rem; margin: 0; }
.faq-panel-header span { color: var(--color-text-faint); font-size: 0.72rem; }

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg { display: flex; }
.chat-msg-bot { justify-content: flex-start; }
.chat-msg-user { justify-content: flex-end; }
.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
}
.chat-msg-bot .chat-bubble {
  background: var(--color-bg-deep);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
}
.chat-msg-user .chat-bubble {
  background: var(--color-accent);
  color: var(--color-accent-text);
  border-bottom-right-radius: 4px;
}
.chat-msg-error .chat-bubble {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e88a80;
}

.chat-typing .chat-bubble { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.chat-typing .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-text-faint);
  animation: chat-typing-bounce 1.2s infinite ease-in-out;
}
.chat-typing .dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.chat-suggestions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px 12px;
  flex-shrink: 0;
}
.chat-suggestions[hidden] { display: none; }
.faq-question-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.faq-question-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}
.chat-input-row input {
  flex: 1;
  background: var(--color-bg-deep);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.86rem;
}
.chat-input-row input:focus { outline: none; border-color: var(--color-accent); }
.chat-input-row input::placeholder { color: var(--color-text-faint); }
.chat-send-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-text);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.chat-send-btn:hover { background: var(--color-accent-tint); }
.chat-send-btn:disabled { opacity: 0.5; cursor: default; }
.chat-send-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

@media (max-width: 500px) {
  .faq-panel { width: calc(100vw - 48px); height: 70vh; }
}
