:root {
  --bg: #120f2e;
  --panel: rgba(23, 20, 58, 0.84);
  --text: #f8f6ff;
  --muted: #c5bfec;
  --line: rgba(218, 206, 255, 0.28);
  --accent: #ffcd43;
  --accent-2: #ff5c93;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Karla", sans-serif;
  background: #120f2e;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 8% -8%, rgba(255, 205, 67, 0.28), transparent 34%),
    radial-gradient(circle at 92% 108%, rgba(255, 92, 147, 0.24), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 14px, transparent 14px 30px),
    linear-gradient(150deg, #100d27, #1a1450 56%, #120f2e);
}

.container {
  width: min(1220px, 94vw);
  margin: 0 auto;
}

.site-header {
  padding: 1.1rem 0 0.6rem;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.8rem;
  align-items: center;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0.05em;
}

.menu-toggle { display: none; }

.nav-links {
  justify-self: end;
  display: flex;
  gap: 0.55rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.38rem 0.58rem;
  border-radius: 9px;
  font-size: 0.84rem;
}

.hero {
  margin-top: 0.5rem;
  min-height: 64vh;
  display: grid;
  align-content: center;
}

.badge,
.eyebrow {
  display: inline-block;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.hero-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 0.9rem;
}

h1,
h2,
h3 { margin: 0; }

h1,
h2,
.card h3,
.process-list h3 {
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.4rem, 8vw, 6.1rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.lead {
  margin: 1rem 0 1.2rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.62rem 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #ffe89c);
  color: #2e2200;
  border-color: transparent;
}

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  display: grid;
  gap: 0.55rem;
}

.hero-stats article,
.card,
.process-list article,
.review-grid blockquote,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  padding: 1rem;
}

.hero-stats article:nth-child(2) {
  border-color: rgba(255, 92, 147, 0.6);
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
  color: var(--accent);
}

.hero-stats span,
.card p,
.process-list p,
.review-grid blockquote,
.contact-panel p { color: var(--muted); }

.section { margin-top: 1rem; }
.section-head { margin-bottom: 0.65rem; }

.card-grid,
.process-list,
.review-grid { display: grid; gap: 0.65rem; }
.card-grid.three,
.process-list,
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card:nth-child(1) { transform: skewX(-2deg); }
.card:nth-child(2) { transform: skewX(2deg); }

.card strong { color: var(--accent); }

.process-list article {
  position: relative;
  overflow: hidden;
}

.process-list article::after {
  content: "";
  position: absolute;
  inset: auto -20px -20px auto;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(255, 92, 147, 0.3), transparent 70%);
}

.review-grid blockquote {
  margin: 0;
  border-left: 4px solid rgba(255, 205, 67, 0.7);
  line-height: 1.6;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  background: linear-gradient(140deg, rgba(36, 20, 75, 0.9), rgba(19, 18, 60, 0.9));
}

.contact-form { display: grid; gap: 0.5rem; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 5, 26, 0.5);
  color: var(--text);
  padding: 0.62rem 0.72rem;
  font: inherit;
}

.contact-form textarea { min-height: 86px; resize: vertical; }

footer {
  padding: 2rem 0 2.2rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #2f1f59;
  color: var(--text);
  border: 1px solid rgba(255, 205, 67, 0.45);
  border-radius: 10px;
  padding: 0.64rem 0.88rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 220ms ease;
}

.toast.show { opacity: 1; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(18px); transition: 440ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 4vw;
    top: 58px;
    flex-direction: column;
    background: #1b1a49;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.7rem;
  }

  .nav-links.open { display: flex; }

  .hero-grid,
  .card-grid.three,
  .process-list,
  .review-grid,
  .contact-panel { grid-template-columns: 1fr; }

  .card,
  .card:nth-child(2) { transform: none; }
}

/* EXTRA PAGES */
.extra-page .site-header {
  margin-bottom: 0.2rem;
}

.subhero {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel, var(--paper, rgba(255, 255, 255, 0.08)));
}

.subhero h1 {
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(1.8rem, 5vw, 3.1rem);
}

.subhero p {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

.pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.65rem;
}

.pricing-mode {
  display: inline-flex;
  gap: 0.45rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.mode-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.mode-btn.active {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.12);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: var(--panel, var(--paper, rgba(255, 255, 255, 0.08)));
}

.price-card h3 {
  margin: 0 0 0.4rem;
}

.price-card p {
  margin: 0;
  color: var(--muted);
  min-height: 2.8em;
}

.price-card strong {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 1.35rem;
}

.calc-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: var(--panel, var(--paper, rgba(255, 255, 255, 0.08)));
}

.calc-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: end;
}

.calc-form label {
  display: grid;
  gap: 0.32rem;
  font-size: 0.9rem;
}

.calc-form select,
.calc-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.58rem 0.66rem;
  background: rgba(255, 255, 255, 0.75);
  color: inherit;
  font: inherit;
}

.calc-result {
  margin: 0.65rem 0 0;
  color: var(--muted);
  opacity: 0.75;
}

.calc-result.show {
  opacity: 1;
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel, var(--paper, rgba(255, 255, 255, 0.08)));
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  padding: 0.8rem 0.9rem;
  cursor: pointer;
}

.faq-item.open .faq-question {
  border-bottom-color: var(--line);
}

.faq-answer {
  display: none;
  padding: 0.72rem 0.9rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

@media (max-width: 860px) {
  .pricing-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .calc-form {
    grid-template-columns: 1fr;
  }
}
