/* ==========================================================================
   Wax On Digital
   Palette: ink #14110c, cream #faf6ee, gold #f6c453 to #e08e2b
   ========================================================================== */

:root {
  --ink: #14110c;
  --ink-soft: #241f16;
  --cream: #faf6ee;
  --cream-dim: #efe7d8;
  --gold: #f6c453;
  --gold-deep: #e08e2b;
  --text: #2b251b;
  --text-muted: #6b6353;
  --text-on-dark: #f3ecdd;
  --text-on-dark-muted: #b3a98f;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

img, svg { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  white-space: nowrap;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(224, 142, 43, 0.35);
}
.btn--gold:hover { box-shadow: 0 10px 28px rgba(224, 142, 43, 0.5); }

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn--small { padding: 0.5rem 1.3rem; font-size: 0.9rem; }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 17, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(246, 196, 83, 0.15);
}
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.nav__logo span, .footer__brand span { color: var(--text-on-dark); }
.nav__logo em, .footer__brand em { color: var(--gold); font-style: normal; }
.nav__mark { width: 34px; height: 34px; flex-shrink: 0; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav__links a {
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--gold); }
.nav__links .btn { color: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 75% 20%, rgba(224, 142, 43, 0.18), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--text-on-dark);
  padding: 7.5rem 1.5rem 8.5rem;
  overflow: hidden;
  text-align: center;
}
.hero__rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(120vw, 1000px);
  transform: translate(-50%, -50%);
  opacity: 0.9;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: clamp(2.5rem, 6.5vw, 4.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.shine {
  background: linear-gradient(110deg, var(--gold-deep) 20%, #ffe9b0 40%, var(--gold) 50%, #ffe9b0 60%, var(--gold-deep) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine {
  to { background-position: -200% center; }
}
.hero__sub {
  font-size: 1.2rem;
  color: var(--text-on-dark-muted);
  max-width: 620px;
  margin: 0 auto 2.4rem;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(243, 236, 221, 0.4);
  border-radius: 999px;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold);
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
}

/* Spinning rings */
.spin-slow, .spin-slower {
  transform-origin: 50% 50%;
  animation: spin 40s linear infinite;
}
.spin-slower { animation-duration: 70s; }
.reverse { animation-direction: reverse; }
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Marquee ===== */
.marquee {
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(20, 17, 12, 0.15);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.marquee__track i { font-size: 0.5rem; font-style: normal; opacity: 0.5; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section { padding: 6rem 1.5rem; }
.section__inner { max-width: 1160px; margin: 0 auto; }
.section__kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.section--dark .section__kicker { color: var(--gold); }
.section__title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin-bottom: 1.2rem;
}
.section__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section--dark {
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(224, 142, 43, 0.12), transparent 55%),
    var(--ink);
  color: var(--text-on-dark);
}
.section--dark .section__lead { color: var(--text-on-dark-muted); }

/* ===== Service cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid rgba(20, 17, 12, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20, 17, 12, 0.12);
  border-color: rgba(224, 142, 43, 0.45);
}
.card__icon {
  width: 44px;
  height: 44px;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.card p { color: var(--text-muted); font-size: 0.98rem; }

/* ===== Steps ===== */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: rgba(250, 246, 238, 0.05);
  border: 1px solid rgba(246, 196, 83, 0.2);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  position: relative;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.step:hover {
  border-color: rgba(246, 196, 83, 0.55);
  background: rgba(250, 246, 238, 0.08);
}
.step__num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.8rem;
  letter-spacing: -0.03em;
}
.step h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; }
.step p { color: var(--text-on-dark-muted); font-size: 0.97rem; }

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.stat {
  background: linear-gradient(160deg, #fff 0%, var(--cream-dim) 100%);
  border: 1px solid rgba(20, 17, 12, 0.08);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.stat p { color: var(--text-muted); font-size: 0.95rem; }

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  border-top: 2px solid rgba(20, 17, 12, 0.08);
  padding-top: 3rem;
}
.value h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}
.value p { color: var(--text-muted); font-size: 0.97rem; padding-left: 1rem; }

/* ===== Contact ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact .section__lead { margin-bottom: 2rem; }
.contact__points {
  list-style: none;
  margin-bottom: 2rem;
}
.contact__points li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.8rem;
  color: var(--text-on-dark-muted);
}
.contact__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 8px;
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}
.contact__email { color: var(--text-on-dark-muted); }
.contact__email a { color: var(--gold); font-weight: 700; }

.form {
  background: rgba(250, 246, 238, 0.05);
  border: 1px solid rgba(246, 196, 83, 0.25);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.form__row { margin-bottom: 1.3rem; }
.form label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  color: var(--text-on-dark);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(246, 196, 83, 0.3);
  background: rgba(20, 17, 12, 0.5);
  color: var(--text-on-dark);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input::placeholder,
.form textarea::placeholder { color: rgba(179, 169, 143, 0.55); }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(246, 196, 83, 0.2);
}
.form textarea { resize: vertical; }
.form__submit { width: 100%; margin-top: 0.4rem; font-size: 1.05rem; }
.form__privacy {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  text-align: center;
}
.form__privacy a { color: var(--gold); }

/* ===== Footer ===== */
.footer {
  background: #0d0b08;
  color: var(--text-on-dark-muted);
  padding: 3rem 1.5rem;
}
.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.footer__links a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer__links a:hover { color: var(--gold); }
.footer__cookie-btn {
  background: none;
  border: none;
  color: var(--text-on-dark-muted);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
}
.footer__cookie-btn:hover { color: var(--gold); }
.footer__legal { font-size: 0.85rem; width: 100%; }

/* ===== Cookie consent banner ===== */
.consent {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 150;
  display: flex;
  justify-content: center;
}
.consent__inner {
  background: var(--ink);
  color: var(--text-on-dark);
  border: 1px solid rgba(246, 196, 83, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  padding: 1.5rem 1.8rem;
  max-width: 720px;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}
.consent__text { flex: 1 1 320px; }
.consent__text h2 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.consent__text p { font-size: 0.9rem; color: var(--text-on-dark-muted); }
.consent__text a { color: var(--gold); }
.consent__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.consent__actions .btn { padding: 0.6rem 1.3rem; font-size: 0.9rem; }
.consent__actions .btn--ghost { color: var(--text-on-dark); }

/* ===== Inner pages (privacy, thanks) ===== */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}
.page h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.page h2 { font-size: 1.4rem; font-weight: 800; margin: 2.2rem 0 0.7rem; }
.page p, .page li { color: var(--text-muted); margin-bottom: 0.9rem; }
.page ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.page a { color: var(--gold-deep); font-weight: 600; }
.page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0 1.5rem;
}
.page th, .page td {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(20, 17, 12, 0.12);
  vertical-align: top;
}
.page th { background: var(--cream-dim); }
.page--center {
  text-align: center;
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.page--center .btn { margin-top: 1.5rem; }
.thanks-mark {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.8rem;
  color: var(--gold-deep);
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spin-slow, .spin-slower, .marquee__track, .shine, .hero__scroll span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .step { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .section { padding: 4.5rem 1.25rem; }
  .hero { padding: 5.5rem 1.25rem 7rem; }
}
@media (max-width: 620px) {
  .nav__links { gap: 1rem; }
  .nav__links a:not(.btn) { display: none; }
  .hero__sub { font-size: 1.05rem; }
  .form { padding: 1.6rem 1.3rem; }
}
