/* ============================================
   CHRONO ROYAL — Luxury Watch Buyback
   Stylesheet: styles/main.css
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.cn/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0B0C10;
  --bg-secondary: #0F1018;
  --bg-card: #12131A;
  --gold-primary: #D4AF37;
  --gold-secondary: #C5A059;
  --gold-dark: #A08930;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --text-white: #F5F5F5;
  --text-gray: #A0A0A0;
  --text-muted: #6B6B6B;
  --border-gold: rgba(212, 175, 55, 0.15);
  --border-gold-hover: rgba(212, 175, 55, 0.4);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --ease-elegant: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius-sm: 2px;
  --radius-md: 4px;
  --max-width: 1280px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.3s var(--ease-elegant);
}

a:hover {
  color: var(--gold-secondary);
}

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

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

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 56px;
  font-weight: 400;
}

.gold-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.gold-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-elegant), transform 0.8s var(--ease-elegant);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.4s var(--ease-elegant), box-shadow 0.4s var(--ease-elegant);
  background: rgba(11, 12, 16, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
}

.navbar.scrolled {
  background: rgba(11, 12, 16, 0.95);
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.navbar-brand .brand-divider {
  color: var(--text-muted);
  margin: 0 4px;
  font-weight: 300;
}

.navbar-brand .brand-sub {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.navbar-menu a {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease-elegant);
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width 0.3s var(--ease-elegant);
}

.navbar-menu a:hover {
  color: var(--gold-primary);
}

.navbar-menu a:hover::after {
  width: 100%;
}

.btn-quote {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-elegant);
  text-decoration: none;
  white-space: nowrap;
}

.btn-quote:hover {
  box-shadow: 0 0 24px var(--gold-glow), inset 0 0 24px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  color: var(--bg-primary);
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--gold-primary);
  transition: all 0.3s var(--ease-elegant);
  display: block;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 4px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -4px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Animated background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 32s infinite;
  will-change: opacity;
}

.hero-bg-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 12, 16, 0.7) 0%,
    rgba(11, 12, 16, 0.4) 40%,
    rgba(11, 12, 16, 0.6) 70%,
    rgba(11, 12, 16, 0.95) 100%
  );
}

.hero-bg-slide:nth-child(1) {
  background-image: url('https://images.unsplash.com/photo-1523170335258-f5ed11844a49?w=1920&q=80');
  animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1547996160-81dfa63595aa?w=1920&q=80');
  animation-delay: 8s;
}

.hero-bg-slide:nth-child(3) {
  background-image: url('https://images.unsplash.com/photo-1612817159949-195b6eb9e31a?w=1920&q=80');
  animation-delay: 16s;
}

.hero-bg-slide:nth-child(4) {
  background-image: url('https://images.unsplash.com/photo-1622434641406-a158123450f9?w=1920&q=80');
  animation-delay: 24s;
}

@keyframes heroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-primary);
  opacity: 0.5;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--gold-primary);
  font-style: italic;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--text-gray);
  margin-bottom: 48px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-subtitle .dot-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--gold-primary);
  border-radius: 50%;
  margin: 0 14px;
  vertical-align: middle;
}

.btn-hero {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s var(--ease-elegant);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero:hover {
  box-shadow: 0 8px 40px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
  color: var(--bg-primary);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollBounce 2s infinite;
}

.hero-scroll-indicator span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-primary), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   BRANDS MARQUEE
   ============================================ */
.brands-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  background: var(--bg-secondary);
  overflow: hidden;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.brands-track span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.brands-track span:hover {
  opacity: 1;
  color: var(--gold-primary);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   MODELS SECTION
   ============================================ */
.models-section {
  padding: 120px 0;
  background: var(--bg-primary);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s var(--ease-elegant);
  position: relative;
}

.model-card:hover {
  border-color: var(--border-gold-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border-gold-hover);
}

.model-card-image {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.model-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-elegant);
}

.model-card:hover .model-card-image img {
  transform: scale(1.05);
}

.model-card-image .model-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(11, 12, 16, 0.8);
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.model-card-body {
  padding: 24px;
}

.model-card-brand {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.model-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.model-card-price {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.model-card-note {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.btn-sell-card {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 0;
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-elegant);
  text-decoration: none;
}

.btn-sell-card:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}

/* ============================================
   TRUST / SERVICES SECTION
   ============================================ */
.trust-section {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.trust-card {
  text-align: center;
  padding: 48px 32px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  background: rgba(11, 12, 16, 0.5);
  transition: all 0.4s var(--ease-elegant);
}

.trust-card:hover {
  border-color: var(--border-gold-hover);
  background: rgba(18, 19, 26, 0.8);
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--gold-primary);
  fill: none;
  stroke-width: 1.2;
}

.trust-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.trust-card p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-section {
  padding: 120px 0;
  background: var(--bg-primary);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold-hover), var(--border-gold-hover), transparent);
}

.how-step {
  text-align: center;
  position: relative;
}

.how-step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-primary);
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease-elegant);
}

.how-step:hover .how-step-number {
  border-color: var(--gold-primary);
  box-shadow: 0 0 24px var(--gold-glow);
}

.how-step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.how-step p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 36px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  background: rgba(11, 12, 16, 0.6);
  transition: all 0.4s var(--ease-elegant);
}

.testimonial-card:hover {
  border-color: var(--border-gold-hover);
}

.testimonial-stars {
  color: var(--gold-primary);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.testimonial-location {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============================================
   CONTACT / QUOTE FORM SECTION
   ============================================ */
.contact-section {
  padding: 120px 0;
  background: var(--bg-primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-info p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-elegant);
  text-decoration: none;
}

.contact-channel:hover {
  border-color: var(--border-gold-hover);
  background: rgba(212, 175, 55, 0.04);
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-channel-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-primary);
  fill: none;
  stroke-width: 1.5;
}

.contact-channel-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-channel-value {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-white);
}

/* Quote form */
.quote-form {
  padding: 48px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.quote-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.quote-form .form-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-white);
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.3s var(--ease-elegant);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.file-upload {
  position: relative;
  padding: 24px;
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-elegant);
  background: var(--bg-primary);
}

.file-upload:hover {
  border-color: var(--border-gold-hover);
  background: rgba(212, 175, 55, 0.02);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
}

.file-upload-icon {
  margin-bottom: 8px;
}

.file-upload-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold-primary);
  fill: none;
  stroke-width: 1.2;
}

.file-upload-text {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-gray);
  letter-spacing: 0.5px;
}

.file-upload-hint {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-submit {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 0;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-elegant);
  margin-top: 8px;
}

.btn-submit:hover {
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 64px 0 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 16px;
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-gray);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.footer-legal a:hover {
  color: var(--gold-primary);
}

.footer-disclaimer {
  width: 100%;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  font-style: italic;
}

/* ============================================
   TOP-RIGHT QUICK CONTACTS
   ============================================ */
.top-right-contacts {
  position: fixed;
  top: 88px;
  right: 28px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-contact-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-elegant);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  position: relative;
}

.top-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

.top-contact-btn svg {
  width: 20px;
  height: 20px;
}

.top-contact-whatsapp {
  background: #25D366;
}

.top-contact-whatsapp svg {
  fill: #fff;
  stroke: none;
}

.top-contact-telegram {
  background: #0088cc;
}

.top-contact-telegram svg {
  fill: #fff;
  stroke: none;
}

.top-contact-chat {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  animation: chatTriggerPulse 3s ease-in-out infinite;
}

.top-contact-chat svg {
  stroke: var(--bg-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-contact-chat:hover {
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
}

@keyframes chatTriggerPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(212, 175, 55, 0.5); }
}

/* Chat trigger badge */
.chat-trigger-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #E53E3E;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.55rem;
  font-weight: 700;
  border-radius: 50%;
  line-height: 1;
  border: 2px solid var(--bg-primary);
}

.chat-trigger-badge.hidden {
  display: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid .trust-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .how-steps::before {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(11, 12, 16, 0.98);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border-gold);
    backdrop-filter: blur(20px);
  }

  .navbar-menu.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .navbar-menu .btn-quote {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .hero-subtitle .dot-sep {
    margin: 0 8px;
  }

  .models-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid .trust-card:last-child {
    max-width: none;
  }

  .how-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    max-width: none;
  }

  .quote-form {
    padding: 32px 24px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .top-right-contacts {
    top: auto;
    bottom: 20px;
    right: 20px;
  }

  .top-contact-btn {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 2px;
  }

  .hero-eyebrow::before,
  .hero-eyebrow::after {
    width: 20px;
  }

  .btn-hero {
    padding: 16px 32px;
    font-size: 0.75rem;
  }

  .model-card-image {
    height: 220px;
  }

  .brands-track {
    gap: 40px;
  }

  .brands-track span {
    font-size: 0.9rem;
  }
}

/* ============================================
   CUSTOMER SERVICE CHAT WIDGET
   ============================================ */

/* Chat trigger — now inside top-right-contacts group */
.top-contact-chat.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

/* Chat window */
.chat-window {
  position: fixed;
  top: 80px;
  right: 28px;
  z-index: 999;
  width: 380px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.96);
  transition: all 0.35s var(--ease-elegant);
  overflow: hidden;
}

.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat header */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(197, 160, 89, 0.05));
  border-bottom: 1px solid var(--border-gold);
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-header-name {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.3;
}

.chat-header-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--text-gray);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #48BB78;
  border-radius: 50%;
  display: inline-block;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chat-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}

.chat-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-gray);
  fill: none;
  stroke-width: 2;
}

.chat-close:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

.chat-close:hover svg {
  stroke: var(--gold-primary);
}

/* Chat body */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  max-height: 420px;
  scroll-behavior: smooth;
}

.chat-body::-webkit-scrollbar {
  width: 4px;
}

.chat-body::-webkit-scrollbar-track {
  background: transparent;
}

.chat-body::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 2px;
}

/* Chat messages */
.chat-message {
  display: flex;
  gap: 10px;
  max-width: 92%;
  animation: msgFadeIn 0.3s var(--ease-elegant);
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-avatar-sm {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.chat-message.user .chat-avatar-sm {
  background: var(--text-muted);
  color: var(--text-white);
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.chat-message.bot .chat-bubble {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid var(--border-gold);
  color: var(--text-white);
  border-top-left-radius: 0;
}

.chat-message.user .chat-bubble {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  color: var(--bg-primary);
  border-top-right-radius: 0;
}

.chat-bubble p {
  margin-bottom: 6px;
}

.chat-bubble p:last-child {
  margin-bottom: 0;
}

.chat-bubble strong {
  color: var(--gold-primary);
  font-weight: 600;
}

.chat-message.user .chat-bubble strong {
  color: var(--bg-primary);
}

/* Quick reply buttons */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.quick-reply-btn {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s var(--ease-elegant);
  white-space: nowrap;
}

.quick-reply-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}

/* Typing indicator */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--gold-primary);
  border-radius: 50%;
  opacity: 0.4;
  animation: typingDot 1.4s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* Chat footer / input */
.chat-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--border-gold);
  background: rgba(11, 12, 16, 0.6);
  flex-shrink: 0;
}

.chat-input-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-white);
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.3s;
}

.chat-input:focus {
  border-color: var(--gold-primary);
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-send {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-elegant);
  flex-shrink: 0;
}

.chat-send svg {
  width: 16px;
  height: 16px;
  stroke: var(--bg-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-send:hover {
  box-shadow: 0 0 16px var(--gold-glow);
  transform: scale(1.05);
}

/* Chat responsive */
@media (max-width: 480px) {
  .top-right-contacts {
    top: auto;
    bottom: 20px;
    right: 20px;
  }

  .top-contact-btn {
    width: 48px;
    height: 48px;
  }

  .chat-window {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transform: translateY(20px);
  }

  .chat-window.open {
    transform: translateY(0);
  }

  .chat-body {
    min-height: 200px;
    max-height: 50vh;
  }
}
