/* ========== Design tokens from original ========== */
:root {
  --bg: #070605;
  --surface: #12100e;
  --line: #3a3128;
  --fg: #f6efe4;
  --muted: #cbbba6;
  --amber: #e4c48a;
  --amber-deep: #c4924a;
  --paper: #f7f4ef;
  --paper-ink: #2c241c;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.font-serif { font-family: var(--font-serif); }
.text-center { text-align: center; }

/* ========== Buttons & pills ========== */
.gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: linear-gradient(180deg, #f0d7a4, #c9964d);
  color: #1a120c;
  box-shadow: 0 8px 24px rgb(201 150 77 / 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gold-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgb(201 150 77 / 0.4); }
.gold-btn.full { width: 100%; padding: 0.85rem; }

.btn-outline {
  border: 1px solid rgb(228 196 138 / 0.7);
  color: var(--amber);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-outline:hover { background: rgb(228 196 138 / 0.12); transform: translateY(-1px); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.pill:hover { transform: translateY(-2px); filter: brightness(1.08); }
.pill-tg { background: #2aabee; color: #fff; }
.pill-max { background: #5b4dff; color: #fff; }
.pill-call { background: #22a45a; color: #fff; }
.header__actions .pill,
.hero__cta .pill { width: 2.25rem; height: 2.25rem; padding: 0; }
.hero__cta .pill { width: auto; padding: 0.55rem 1rem; }
.pill-max span { font-size: 0.7rem; font-weight: 700; }

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  border-bottom: 1px solid rgb(58 49 40 / 0.6);
  background: rgb(7 6 5 / 0.8);
  backdrop-filter: blur(12px);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}
.logo {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(228 196 138 / 0.4);
  color: var(--amber);
  flex-shrink: 0;
}
.nav { display: none; gap: 1.25rem; font-size: 0.875rem; color: var(--muted); }
.nav-link { position: relative; transition: color 0.2s; }
.nav-link:hover, .nav-link.is-on { color: var(--fg); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px; width: 0;
  background: var(--amber);
  transition: width 0.25s ease;
}
.nav-link:hover::after, .nav-link.is-on::after { width: 100%; }
.header__actions { display: none; align-items: center; gap: 0.75rem; margin-left: auto; }
.header__phone { font-size: 0.875rem; font-weight: 600; }
.burger {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 25;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1rem;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-menu nav a { font-size: 1rem; color: var(--muted); }
.mobile-menu__phone { font-size: 1.125rem; font-weight: 600; color: var(--amber); }
.mobile-menu__pills { display: flex; gap: 0.5rem; }
.mobile-menu__pills .pill { padding: 0.5rem 1rem; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken 36s ease-in-out infinite alternate;
  transform-origin: 68% 45%;
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(7 6 5 / 0.88) 0%, rgb(7 6 5 / 0.55) 46%, rgb(7 6 5 / 0.2) 100%),
    linear-gradient(180deg, rgb(7 6 5 / 0.45) 0%, transparent 22%, transparent 70%, rgb(7 6 5 / 0.92) 100%);
}
.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92vh;
  padding: 4rem 1rem;
}
.hero__text { max-width: 36rem; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
}
.hero__offer {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.875rem);
  color: var(--amber);
  line-height: 1.3;
}
.hero__benefits {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
@media (min-width: 640px) {
  .hero__benefits { grid-template-columns: 1fr 1fr; }
}
.hero__benefits p { display: flex; gap: 0.5rem; align-items: flex-start; }
.hero__benefits svg { color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.hero__hours {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.hero__hours svg { color: var(--amber); }
.hero__cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.hero__appraiser {
  margin-top: 1.25rem;
  display: flex;
  width: 100%;
  max-width: 28rem;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  border: 1px solid rgb(228 196 138 / 0.5);
  background: rgb(7 6 5 / 0.5);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  text-align: left;
  transition: border-color 0.25s, background 0.25s;
}
.hero__appraiser:hover { border-color: var(--amber); background: rgb(7 6 5 / 0.7); }
.hero__appraiser strong { display: block; font-weight: 600; }
.hero__appraiser em { font-style: normal; font-size: 0.875rem; color: var(--muted); }
.hero__appraiser svg { color: var(--amber); flex-shrink: 0; }

/* USP glass */
.usp {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 1rem;
}
@media (min-width: 640px) { .usp { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .usp { grid-template-columns: repeat(4, 1fr); } }
.usp__item {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
}
.usp__item svg { color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.usp__item strong { display: block; font-size: 0.875rem; font-weight: 600; }
.usp__item span { font-size: 0.75rem; color: var(--muted); }

.glass {
  background: rgb(12 10 8 / 0.62);
  border: 1px solid rgb(228 196 138 / 0.28);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.35), inset 0 1px 0 rgb(255 255 255 / 0.04);
  backdrop-filter: blur(10px);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s ease forwards;
}
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.38s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* ========== Sections ========== */
.section { padding: 4rem 0; }
.panel {
  background:
    linear-gradient(180deg, rgb(18 14 11 / 0.78), rgb(10 8 7 / 0.88)),
    url("../images/hero.jpg") center/cover;
  border: 1px solid rgb(228 196 138 / 0.16);
  border-radius: 1.5rem;
  padding: 1.5rem;
}
@media (min-width: 768px) { .panel { padding: 2rem; } }
.panel h2, .section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 600;
}
.section-sub {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Steps */
.steps {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step-line::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    transform-origin: left;
    animation: draw 1.4s ease 0.3s both;
  }
}
@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.steps li { text-align: center; position: relative; z-index: 1; }
.ring-icon {
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  border: 1px solid var(--amber);
  display: grid;
  place-items: center;
  margin: 0 auto;
  background: rgb(7 6 5 / 0.65);
  color: var(--amber);
  box-shadow: 0 0 0 6px rgb(7 6 5 / 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ring-icon:hover {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgb(228 196 138 / 0.25);
}
.steps__title { margin-top: 1rem; font-size: 0.875rem; font-weight: 600; }
.steps__time { font-size: 0.75rem; color: var(--amber); }
.steps__desc { margin-top: 0.5rem; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }

/* About */
.stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(228 196 138 / 0.2);
  background: rgb(0 0 0 / 0.25);
}
.stat__val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--amber);
  line-height: 1.2;
}
.stat__label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

.about__sub {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
}
.appraisers {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) { .appraisers { grid-template-columns: 1fr 1fr; } }
.appraiser {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgb(228 196 138 / 0.2);
  background: rgb(0 0 0 / 0.3);
}
.appraiser img {
  width: 100px;
  height: 100px;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgb(228 196 138 / 0.4);
  flex-shrink: 0;
}
.appraiser h4 { font-size: 1.125rem; margin-bottom: 0.15rem; }
.appraiser__exp { display: block; font-size: 0.8rem; color: var(--amber); margin-bottom: 0.5rem; }
.appraiser p { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.25rem; }
.appraiser blockquote {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted);
  border-left: 2px solid var(--amber);
  padding-left: 0.75rem;
}

.mission {
  margin-top: 2.5rem;
  text-align: center;
  padding: 1.75rem;
  border-radius: 1rem;
  border: 1px solid rgb(228 196 138 / 0.3);
  background: rgb(228 196 138 / 0.06);
}
.mission h3 { font-size: 1.25rem; color: var(--amber); margin-bottom: 0.5rem; }
.mission > p { font-size: 0.875rem; color: var(--muted); max-width: 28rem; margin: 0 auto 1.25rem; }
.mission__partners { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.partner { display: flex; align-items: center; gap: 0.75rem; text-align: left; }
.partner__icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  background: rgb(228 196 138 / 0.15);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.partner span { font-size: 0.875rem; color: var(--muted); line-height: 1.35; }

/* Reviews */
.reviews {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.28);
  display: flex;
  flex-direction: column;
}
.review__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.review__badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgb(44 36 28 / 0.1);
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
}
.review__stars { color: #c4924a; letter-spacing: 1px; font-size: 0.85rem; }
.review-card p { font-size: 0.9rem; line-height: 1.55; flex: 1; margin-bottom: 0.75rem; }
.review-card time { font-size: 0.75rem; color: #7a6e62; }

/* FAQ */
.faq-panel { width: 100%; }
.faq-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  border-radius: 0.75rem;
  border: 1px solid rgb(58 49 40 / 0.8);
  background: rgb(7 6 5 / 0.45);
  overflow: hidden;
}
.faq-item summary {
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--amber);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 1rem 0.85rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}
.contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.contact__overlay {
  position: absolute;
  inset: 0;
  background: rgb(7 6 5 / 0.8);
}
.contact__grid {
  position: relative;
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact__info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 3vw, 3rem);
  font-weight: 600;
}
.contact__offer {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--amber);
}
.contact__desc { margin-top: 1rem; max-width: 28rem; font-size: 0.875rem; color: var(--muted); }
.contact__phone {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
}
.contact__phone:hover { color: var(--amber); }
.contact__pills { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact__pills .pill { padding: 0.55rem 1rem; }
.contact__or { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.contact__guarantees {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
}
@media (min-width: 640px) { .contact__guarantees { grid-template-columns: repeat(3, 1fr); } }
.contact__guarantees p { display: flex; align-items: center; gap: 0.5rem; }
.contact__guarantees svg { color: var(--amber); flex-shrink: 0; }

/* Form */
.form {
  border-radius: 1.5rem;
  border: 1px solid rgb(228 196 138 / 0.25);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  box-shadow: 0 25px 50px rgb(0 0 0 / 0.4);
}
.form h3 {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}
.form label { font-size: 0.875rem; color: var(--muted); display: block; }
.req { color: var(--amber); }
.field {
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 10px;
  border: 1px solid rgb(228 196 138 / 0.25);
  background: rgb(0 0 0 / 0.35);
  padding: 0.75rem 0.9rem;
  color: var(--fg);
  outline: none;
  font-size: 0.95rem;
}
.field:focus { border-color: var(--amber); }
.drop {
  border: 1px dashed rgb(228 196 138 / 0.45);
  background: rgb(255 255 255 / 0.02);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  display: block;
}
.drop:hover, .drop.dragover {
  border-color: var(--amber);
  background: rgb(228 196 138 / 0.06);
}
.drop svg { margin: 0 auto; color: var(--amber); }
.drop__title { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: var(--fg); }
.drop__hint { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--muted); }
.file-list { display: flex; flex-direction: column; gap: 0.35rem; }
.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgb(0 0 0 / 0.3);
  padding: 0.4rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
}
.file-item button { color: var(--muted); font-size: 1.1rem; line-height: 1; }
.file-item button:hover { color: #e74c3c; }
.form-label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.form__note { text-align: center; font-size: 0.75rem; color: var(--muted); }
.form__success {
  /* hidden attribute must override display:flex */
  position: absolute;
  inset: 0;
  background: var(--surface);
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 2rem;
}
.form__success svg { color: var(--amber); }
.form__success p { font-size: 1.125rem; font-weight: 600; }
.form__success span { font-size: 0.875rem; color: var(--muted); }
.form__success[hidden] { display: none !important; }
[hidden] { display: none !important; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 1.5rem 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}
@media (min-width: 768px) {
  .footer__inner { flex-direction: row; align-items: center; }
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--amber);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer__nav a:hover { color: var(--fg); }
.footer__phone { font-weight: 600; color: var(--fg); }
@media (min-width: 768px) { .footer__phone { margin-left: auto; } }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.7);
  backdrop-filter: blur(4px);
}
.modal__box {
  position: relative;
  width: 100%;
  max-width: 24rem;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
}
.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--muted);
  line-height: 1;
}
.modal__close:hover { color: var(--fg); }
.modal__box h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}
.modal__box > p {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.modal__box label { display: block; font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }

/* Desktop header */
@media (min-width: 768px) {
  .burger { display: none; }
  .header__actions { display: flex; }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__img, .reveal, .step-line::before { animation: none; }
  .reveal { opacity: 1; transform: none; }
}


/* form success hard hide */
.form__success[hidden],
#form-success[hidden],
#modal-success[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
