﻿/* ============================================
   LuxWebDev — Luxury Theme styles
   ============================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --black: #0b0b0d;
  --graphite: #141416;
  --graphite-light: #1c1c20;
  --gold: #c9a227;
  --gold-light: #e0be54;
  --gold-dark: #a8861d;
  --milk: #f6f1e7;
  --text-body: #b9b6ae;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', 'Segoe UI', sans-serif;
  --shadow-gold: 0 18px 45px -12px rgba(201, 162, 39, 0.45);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background-color: var(--black);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--serif); color: var(--milk); }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

::selection { background: var(--gold); color: var(--black); }

/* ---------- Reveal animation ---------- */
/*
 * Контент ВСЕГДА виден. Здесь нет opacity:0 и скрытия.
 * Класс `visible` (добавляется JS) лишь включает плавное смещение,
 * но даже без JS тексты отображаются без каких-либо скрытий.
 */
.reveal {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal { transform: translateY(24px); }
.js .reveal.visible { transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
  color: var(--black);
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 2px;
  padding: 0.7rem 1.8rem;
  box-shadow: var(--shadow-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-gold:hover, .btn-gold:focus {
  color: var(--black);
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 22px 50px -12px rgba(201, 162, 39, 0.55);
}
.btn-outline-light {
  border: 1px solid rgba(246, 241, 231, 0.35);
  color: var(--milk);
  border-radius: 2px;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.8rem;
  transition: all 0.25s ease;
}
.btn-outline-light:hover {
  background: rgba(246, 241, 231, 0.06);
  color: var(--milk);
  border-color: var(--gold);
}
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
#mainNav {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 1.4rem 0;
  z-index: 1030;
}
#mainNav.scrolled {
  background: rgba(11, 11, 13, 0.94);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.brand-mark {
  display: inline-block;
  width: 38px; height: 38px;
  line-height: 36px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 3px;
  margin-right: 0.6rem;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: inline-block;
  margin-right: 0.6rem;
  vertical-align: middle;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--milk);
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.navbar .nav-link {
  color: #cfcbc2;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0.35rem;
  position: relative;
  transition: color 0.25s ease;
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  left: 0.6rem; right: 0.6rem; bottom: 0.2rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--gold); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .btn-gold { margin: 0.5rem 0; }
@media (min-width: 992px) { .navbar .btn-gold { margin: 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero.webp') center/cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 18s ease forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.75) 0%, rgba(11, 11, 13, 0.55) 45%, var(--black) 100%),
    radial-gradient(ellipse at 70% 50%, rgba(201, 162, 39, 0.12), transparent 60%);
}
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.hero-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.45em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.6rem;
}
.hero-title::selection { background: var(--gold); color: var(--black); }
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #cfcbc2;
  max-width: 620px;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b887f;
  max-width: 160px;
}
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 3;
  height: 46px; width: 26px;
  border: 1px solid rgba(246, 241, 231, 0.35);
  border-radius: 14px;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(18px); }
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-dark { background: var(--graphite); }
.section-form { 
  background:
    radial-gradient(ellipse at top, rgba(201, 162, 39, 0.10), transparent 55%),
    var(--black);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.2rem;
}
.section-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-sub { color: var(--text-body); }

/* ---------- Services ---------- */
.service-card {
  background: var(--graphite-light);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  padding: 2.2rem 1.8rem;
  height: 100%;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: var(--shadow-gold);
}
.service-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 1.4rem;
  transition: background 0.35s ease, color 0.35s ease;
}
.service-card:hover .service-icon { background: var(--gold); color: var(--black); }
.service-icon svg { width: 26px; height: 26px; }

/* Заголовок и текст карточек услуг идентичны карточкам преимуществ */
.service-title, .adv-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.7rem; color: var(--milk); }
.service-text, .adv-text { font-size: 0.92rem; line-height: 1.7; margin: 0; color: var(--text-body); }
.service-text { text-align: left; }

/* ---------- Advantages ---------- */
.adv-item { padding: 1.5rem 1rem; border-left: 1px solid rgba(201, 162, 39, 0.3); }
.adv-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ---------- Portfolio ---------- */
.filter-bar {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  padding: 0;
  margin: 0 auto 2.5rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-body);
  border-radius: 30px;
  padding: 0.45rem 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover { color: var(--milk); border-color: var(--gold); }
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}
.portfolio-item { transition: opacity 0.4s ease, transform 0.4s ease; }
.portfolio-item.hide { display: none; }
.portfolio-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  height: 100%;
}
.portfolio-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 13, 0.9) 100%);
  opacity: 0.95;
  transition: opacity 0.4s ease;
}
.portfolio-title {
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.portfolio-tag {
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
  transform: translateY(20px);
  transition: transform 0.4s ease 0.05s;
}
.portfolio-card:hover .portfolio-title,
.portfolio-card:hover .portfolio-tag { transform: none; }

/* Modal */
.modal-content {
  background: var(--graphite-light);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 6px;
}
.modal-title { font-family: var(--serif); font-weight: 600; color: var(--milk); }
.modal-header { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.btn-close { filter: invert(1); }
.work-modal-info { color: var(--text-body); font-size: 0.98rem; }

/* ---------- Process ---------- */
.process-wrap { position: relative; }
.process-row { position: relative; }
.process-row::before {
  content: '';
  position: absolute;
  top: 29px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5), transparent);
}
.process-step { text-align: center; padding: 0 0.8rem; }
.step-circle {
  width: 58px; height: 58px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--graphite-light);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.process-step:hover .step-circle {
  background: var(--gold);
  color: var(--black);
  transform: scale(1.08);
}
.step-title { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.6rem; }
.step-text { font-size: 0.9rem; margin: 0; }
@media (max-width: 767px) {
  .process-row::before { display: none; }
  .process-step { margin-bottom: 2rem; }
}

/* ---------- Form ---------- */
.form-card {
  background: var(--graphite-light);
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 6px;
  padding: 2.8rem 2.4rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.form-card .section-head { margin-bottom: 2rem; }
.form-control, .form-select {
  background-color: var(--graphite);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  color: var(--milk);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
}
.form-control::placeholder { color: #6b675f; }
.form-control:focus, .form-select:focus {
  background-color: var(--graphite);
  color: var(--milk);
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.18);
}
.form-select { background-color: var(--graphite); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23c9a227' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); }
.form-select option { background: var(--graphite); color: var(--milk); }
.form-label {
  color: #cfcbc2;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}
.form-check-input { background-color: var(--graphite); border-color: rgba(255, 255, 255, 0.25); }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.form-check-input:focus { box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.25); }
.form-check-label { font-size: 0.85rem; color: var(--text-body); }
.form-check-label a { color: var(--gold); }

/* Bootstrap validation inline */
.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-control.is-invalid,
.was-validated .form-select.is-invalid {
  border-color: #dc3545 !important;
}
.form-control.is-valid,
.form-select.is-valid {
  border-color: #28a745;
}
.form-control.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.invalid-feedback { font-size: 0.8rem; }

/* ---------- Contacts ---------- */
.section-contacts { background: var(--graphite); }
.contact-item {
  display: block;
  color: var(--text-body);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.contact-item:hover {
  color: var(--milk);
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow-gold);
}
.contact-icon {
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold);
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.4rem; }
.contact-value { color: var(--gold-light); margin: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0 1.5rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer .brand-name { font-size: 1.2rem; }
.footer-social { display: flex; gap: 0.9rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--text-body);
  transition: all 0.3s ease;
}
.footer-social a:hover { color: var(--black); background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.3rem;
}
.footer-copy { color: #cfc9bc; font-size: 0.8rem; margin: 0; }
.footer-link { color: #cfc9bc; font-size: 0.8rem; }
.footer-link:hover { color: var(--gold); }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.footer-bottom-links a {
  color: #b9b3a6;
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-bottom-links a:hover { color: var(--gold); }
.footer-back { color: var(--gold); font-size: 0.85rem; text-decoration: none; }
.footer-back:hover { color: var(--gold-light); }

/* ---------- Subpages (privacy / personal-data) ---------- */
.subpage {
  padding: 8.5rem 0 5rem;
  min-height: 70vh;
}
.breadcrumb-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 1.6rem;
}
.breadcrumb-wrap a { color: var(--gold); text-decoration: none; }
.breadcrumb-wrap a:hover { color: var(--gold-light); }
.breadcrumb-wrap .sep { color: var(--text-body); opacity: 0.6; }
.subpage-title {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--milk);
}
.subpage-date {
  color: #8a857a;
  font-size: 0.85rem;
  margin: 0.4rem 0 2.4rem;
}
.subpage-content {
  background: var(--graphite-light);
  border: 1px solid rgba(201, 162, 39, 0.14);
  border-radius: 8px;
  padding: 2.6rem 3rem;
  color: var(--text-body);
  line-height: 1.7;
}
.subpage-content h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--milk);
  margin: 1.8rem 0 0.8rem;
}
.subpage-content h2:first-child { margin-top: 0; }
.subpage-content p { margin: 0 0 1rem; }
.subpage-content ul { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.subpage-content li { margin-bottom: 0.4rem; }
.subpage-content a { color: var(--gold); }
.subpage-content a:hover { color: var(--gold-light); }
.subpage-content strong { color: var(--milk); }
.subpage-contact {
  margin-top: 2rem !important;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(201, 162, 39, 0.25);
}
@media (max-width: 575.98px) {
  .subpage { padding-top: 7rem; }
  .subpage-title { font-size: 1.9rem; }
  .subpage-content { padding: 1.8rem 1.3rem; }
}

/* ---------- Toast ---------- */
.custom-toast {
  background: var(--graphite-light);
  color: var(--milk);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 1rem 1.3rem;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: 300px;
  margin-bottom: 0.75rem;
  animation: toastIn 0.4s ease;
}
.custom-toast.toast-error { border-left-color: #dc3545; }
.custom-toast.toast-error .toast-icon { color: #dc3545; }
.toast-icon { color: var(--gold); font-size: 1.3rem; line-height: 1; margin-top: 2px; }
.toast-title { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin: 0 0 0.2rem; }
.toast-msg { font-size: 0.85rem; color: var(--text-body); margin: 0; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.toast-hide { opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner.hidden {
  display: none;
}
.cookie-banner__inner {
  background: var(--graphite-light);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.cookie-banner__text { flex: 1 1 280px; }
.cookie-banner__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--milk);
  margin: 0 0 0.3rem;
}
.cookie-banner__desc {
  font-size: 0.85rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.55;
}
.cookie-banner__desc a { color: var(--gold); }
.cookie-banner__desc a:hover { color: var(--gold-light); }
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-banner .btn-sm { padding: 0.45rem 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  #mainNav { padding: 1rem 0; }
  .section { padding: 4.5rem 0; }
  .navbar-collapse {
    background: rgba(11, 11, 13, 0.97);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 0.8rem;
  }
  .hero-stats { gap: 1.6rem; }
}
@media (max-width: 575.98px) {
  .form-card { padding: 2rem 1.3rem; }
  .hero-actions .btn { width: 100%; }
  .stat-num { font-size: 1.8rem; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
  .cookie-banner__title { font-size: 1.1rem; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
.back-to-top svg { width: 24px; height: 24px; }
.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 575.98px) {
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .back-to-top svg { width: 20px; height: 20px; }
}
