/* ===== RESET & TOKENS ===== */
:root {
  --bg: #0c0b1a;
  --bg-deep: #07061a;
  --surface: #15133a;
  --surface-light: #1e1c4a;
  --ink: #ede8f0;
  --ink-2: #b0a9c4;
  --ink-3: #7a7299;
  --gold: #d4a843;
  --gold-dark: #b8912e;
  --gold-soft: #2a2540;
  --accent: #7b68ee;
  --line: #2a2540;
  --radius-card: 16px;
  --radius-btn: 10px;
  --shadow-card: 0 4px 30px rgba(80, 60, 180, .12);
  --container: 1140px;
  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 500; }
h3 { font-size: 1.2rem; font-weight: 500; }

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

.section { padding: 80px 0; }

.eyebrow {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--radius-btn);
  background: var(--gold); color: #0c0b1a;
  font-family: var(--font-heading); font-size: .9rem; font-weight: 600;
  border: none; cursor: pointer; transition: all .25s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--gold-dark); color: #0c0b1a; transform: translateY(-1px); box-shadow: 0 8px 25px rgba(212,168,67,.25); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 27px; border-radius: var(--radius-btn);
  background: transparent; color: var(--gold);
  font-family: var(--font-heading); font-size: .9rem; font-weight: 500;
  border: 1.5px solid var(--gold); cursor: pointer; transition: all .25s;
  text-decoration: none;
}
.btn-secondary:hover { background: rgba(212,168,67,.1); }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,11,26,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--container); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.header__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.header__logo { font-size: 1.6rem; }
.header__name strong { display: block; font-family: var(--font-heading); font-size: .95rem; font-weight: 600; }
.header__name small { font-size: .75rem; color: var(--ink-3); }
.header__nav { display: flex; gap: 28px; }
.header__nav a { color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.header__nav a:hover { color: var(--gold); }
.header__cta { padding: 8px 20px; font-size: .8rem; }
@media (max-width: 860px) {
  .header__nav { display: none; }
  .header__inner { padding: 10px 16px; }
}

/* ===== HERO ===== */
.hero {
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
  background: url('images/hero-bg.png') center/cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(12,11,26,0.4), rgba(12,11,26,0.75) 70%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(123,104,238,.12), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero__kicker { font-size: .95rem; color: var(--gold); margin-bottom: 16px; }
.hero__subtitle { font-size: 1.1rem; color: var(--ink-2); margin: 20px 0 32px; line-height: 1.7; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 48px; }
.hero__stat strong { display: block; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 600; color: var(--gold); }
.hero__stat { font-size: .85rem; color: var(--ink-3); }
@media (max-width: 600px) {
  .hero { padding: 60px 0 50px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn-secondary { text-align: center; }
}

/* ===== SERVICES ===== */
.services { background: var(--bg-deep); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .25s, transform .25s;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.service-card__icon { color: var(--gold); margin-bottom: 4px; }
.service-card h3 { font-size: 1.1rem; }
.service-card p { font-size: .9rem; color: var(--ink-2); flex: 1; }
.service-card__time { font-size: .8rem; color: var(--ink-3); font-family: var(--font-heading); font-weight: 500; }
.service-card--cta {
  justify-content: center; align-items: center; text-align: center;
  border-style: dashed; border-color: var(--gold);
}
.service-card--cta h3 { font-size: 1rem; }
.service-card--cta p { font-size: .85rem; flex: 0; }
.service-card--cta .btn-primary { margin-top: 8px; }
@media (max-width: 860px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ===== GALLERY ===== */
.gallery { background: var(--bg); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.gallery__item {
  margin: 0; border-radius: var(--radius-card); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.gallery__item:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 8px 30px rgba(212,168,67,.15); }
.gallery__img { width: 100%; height: 240px; object-fit: cover; display: block; }
.gallery__caption {
  padding: 14px 18px; font-family: var(--font-heading); font-size: .85rem;
  font-weight: 500; color: var(--ink); text-align: center;
}
@media (max-width: 860px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__img { height: 200px; }
}

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(7,6,26,.94); align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox__content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox__content img { max-width: 90vw; max-height: 85vh; border-radius: 12px; display: block; }
.lightbox__close {
  position: absolute; top: -2.5rem; right: 0; background: none; border: none;
  color: var(--gold); font-size: 2rem; cursor: pointer; line-height: 1; padding: .25rem;
  opacity: .8; transition: opacity .2s;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(212,168,67,.12); border: none; color: var(--gold);
  font-size: 2rem; cursor: pointer; width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: .8; transition: opacity .2s, background .2s;
}
.lightbox__prev:hover, .lightbox__next:hover { opacity: 1; background: rgba(212,168,67,.22); }
.lightbox__prev { left: -4rem; }
.lightbox__next { right: -4rem; }
@media (max-width: 640px) {
  .lightbox__prev { left: .5rem; width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox__next { right: .5rem; width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox__close { top: -2rem; font-size: 1.5rem; }
}

/* ===== WHY ===== */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why__text p { color: var(--ink-2); margin-bottom: 16px; }
.why__features { display: flex; flex-direction: column; gap: 20px; }
.why__feature { display: flex; gap: 16px; padding: 18px; background: var(--surface); border-radius: var(--radius-card); border: 1px solid var(--line); }
.why__feature-badge {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; color: var(--gold);
  flex-shrink: 0; width: 42px; text-align: center;
}
.why__feature strong { display: block; font-family: var(--font-heading); font-size: .95rem; font-weight: 500; margin-bottom: 4px; }
.why__feature p { font-size: .85rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) {
  .why__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ===== PROCESS ===== */
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.process__step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 32px 24px; text-align: center;
}
.process__step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft);
  color: var(--gold); font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.process__step h3 { margin-bottom: 8px; }
.process__step p { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 740px) {
  .process__steps { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== PRICE ===== */
.price { background: var(--bg-deep); }
.price__subtitle { color: var(--ink-2); margin-bottom: 36px; }
.price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 32px 24px; display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.price-card--featured { border-color: var(--gold); }
.price-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #0c0b1a; font-family: var(--font-heading);
  font-size: .75rem; font-weight: 600; padding: 4px 16px; border-radius: 20px;
}
.price-card h3 { font-size: 1.15rem; }
.price-card p { font-size: .9rem; color: var(--ink-2); }
.price-card__amount {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 600; color: var(--gold);
  margin: 4px 0;
}
.price-card ul { list-style: none; padding: 0; }
.price-card li {
  font-size: .85rem; color: var(--ink-2); padding: 6px 0 6px 22px;
  position: relative;
}
.price-card li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.price-card .btn-primary { margin-top: auto; }
.price__extras { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; padding: 24px; background: var(--surface); border-radius: var(--radius-card); border: 1px solid var(--line); justify-content: center; }
.price__extra { font-size: .9rem; color: var(--ink-2); }
.price__extra strong { color: var(--ink); font-family: var(--font-heading); font-weight: 500; }
@media (max-width: 860px) {
  .price__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ===== FAQ ===== */
.faq__list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; max-width: 780px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden;
}
.faq__item summary {
  padding: 20px 24px; font-family: var(--font-heading); font-size: .95rem; font-weight: 500;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-size: 1.3rem; color: var(--gold); font-weight: 300;
  transition: transform .3s; margin-left: 12px; flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 20px; font-size: .9rem; color: var(--ink-2); }

/* ===== CONTACT FORM ===== */
.contact-form__wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 48px;
}
.contact-form__info p { color: var(--ink-2); margin-bottom: 24px; }
.contact-form__contacts { display: flex; flex-direction: column; gap: 12px; }
.contact-form__contact { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.contact-form__contact svg { color: var(--gold); flex-shrink: 0; }
.contact-form__form { display: flex; flex-direction: column; gap: 16px; }
.contact-form__field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; color: var(--ink-2); }
.contact-form__field input,
.contact-form__field textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  background: var(--bg-deep); border: 1px solid var(--line);
  color: var(--ink); font-family: var(--font-body); font-size: .9rem;
  transition: border-color .2s;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus { outline: none; border-color: var(--gold); }
.contact-form__note { font-size: .75rem; color: var(--ink-3); margin-top: -4px; }
@media (max-width: 740px) {
  .contact-form__wrapper { grid-template-columns: 1fr; padding: 28px 20px; gap: 28px; }
}

/* ===== CONTACTS ===== */
.contacts { background: var(--bg-deep); }
.contacts__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
}
.contacts__card-text p { color: var(--ink-2); margin-bottom: 16px; }
.contacts__links { display: flex; gap: 14px; margin-top: 24px; }
.contacts__card-details {
  display: flex; flex-direction: column; gap: 12px; font-size: .9rem; color: var(--ink-2);
  justify-content: center;
}
.contacts__card-details strong { color: var(--ink); font-weight: 500; }
@media (max-width: 740px) {
  .contacts__card { grid-template-columns: 1fr; padding: 28px 20px; }
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--line); padding: 32px 24px; text-align: center;
  font-size: .85rem; color: var(--ink-3);
}
.footer__demo { margin-top: 6px; font-size: .8rem; }
