/* ============================================================
   VARIABLES & BASE
   ============================================================ */
:root {
  --bg-primary:   #0f0d0a;
  --bg-secondary: #161310;
  --bg-card:      #1e1a15;
  --bg-card-alt:  #1e1e1e;
  --text-primary:   #ffffff;
  --text-secondary: #c8c8c8;
  --text-muted:     #888888;
  --accent:         #C8860B;
  --accent-hover:   #E09A00;
  --accent-dim:     rgba(200, 134, 11, 0.14);
  --accent-border:  rgba(200, 134, 11, 0.28);
  --nav-h:    68px;
  --radius:   12px;
  --radius-sm: 8px;
  --shadow:   0 8px 32px rgba(0, 0, 0, 0.4);
  --trans:    0.3s ease;
}

/* ============================================================
   GLOBAL RESET & LINK STYLES
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
a {
  text-decoration: none;
  color: inherit;
}
a:hover { text-decoration: none; }
button {
  cursor: pointer;
  font-family: inherit;
}
.nav__link, nav a, .nav a, .nav-logo, .nav-logo a { text-decoration: none !important; }
.btn, [class*="btn"], button { text-decoration: none !important; }
footer a, .footer a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s;
}
footer a:hover, .footer a:hover { color: var(--accent); }
a[href^="tel"] {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
a[href^="tel"]:hover { opacity: 0.8; }
.footer__copy, .footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  opacity: 0.6;
}

html { scroll-padding-top: var(--nav-h); }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background var(--trans), color var(--trans),
              border-color var(--trans), transform var(--trans),
              box-shadow var(--trans);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #0d0d0d;
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #0d0d0d;
}

.btn-nav {
  background: var(--accent);
  color: #0d0d0d;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 0.875rem;
}
.btn-nav:hover { background: var(--accent-hover); }

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--trans), backdrop-filter var(--trans),
              box-shadow var(--trans);
}
/* Nav links readable without scroll via text-shadow */
#navbar:not(.scrolled) .nav-link,
#navbar:not(.scrolled) .logo-name,
#navbar:not(.scrolled) .logo-sub {
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
#navbar.scrolled {
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.logo-sub {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  z-index: 1100;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}

/* ============================================================
   HERO
   ============================================================ */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* Persistent top gradient keeps nav text readable before scroll */
.section-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 130%;
  position: absolute;
  top: -15%;
  left: 0;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 20px 80px;
  max-width: 760px;
}
.hero-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  transition-delay: 0.1s;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  transition-delay: 0.2s;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.hero-subtitle { text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.hero-utp {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  transition-delay: 0.3s;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  transition-delay: 0.4s;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-dot {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  position: relative;
}
.scroll-dot::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}

/* ============================================================
   STATS
   ============================================================ */
.section-stats {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-plus, .stat-suffix {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent);
  font-weight: 600;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.section-services {
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent-border);
}
.service-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.btn-more {
  align-self: flex-start;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--accent-border);
  transition: color var(--trans), border-color var(--trans);
}
.btn-more:hover { color: var(--accent-hover); border-color: var(--accent); }
.btn-more-icon {
  display: inline-block;
  transition: transform var(--trans);
}
.btn-more[aria-expanded="true"] .btn-more-icon { transform: rotate(180deg); }

.service-details {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  animation: fadeSlideIn 0.3s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.service-details ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.service-details li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.service-details li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.6rem;
  top: 4px;
}
.service-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================
   PROCESS
   ============================================================ */
.section-process {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.process-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.process-step {
  text-align: center;
  padding: 0 16px;
}
.process-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-border), var(--accent));
  margin-top: 52px;
  flex-shrink: 0;
}
.step-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--accent-border);
}
.step-icon svg { width: 100%; height: 100%; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.section-portfolio {
  padding: 100px 0;
}
.portfolio-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  transition: all var(--trans);
}
.filter-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.3);
}
.filter-btn.active {
  background: var(--accent);
  color: #0d0d0d;
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/2;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.07); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--trans);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
}
.portfolio-item.hidden {
  display: none;
}
/* Placeholder items — overlay always visible */
.portfolio-item--placeholder .portfolio-overlay {
  opacity: 1;
  background: rgba(0,0,0,0.52);
}
.portfolio-item--placeholder img {
  filter: grayscale(30%) brightness(0.85);
}
/* About role subtitle */
.about-role {
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-top: -12px;
  margin-bottom: 4px;
}

/* ============================================================
   VIDEO
   ============================================================ */
.section-video {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.video-preview {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
}
.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.video-preview:hover img { transform: scale(1.03); }
.video-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  transition: background var(--trans);
}
.video-preview:hover::after { background: rgba(0,0,0,0.15); }
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: transform var(--trans);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}
.video-preview:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.section-testimonials {
  padding: 100px 0;
}
.slider-wrapper {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.slider-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}
.slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide { min-width: 100%; box-sizing: border-box; }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-border);
  flex-shrink: 0;
}
.testimonial-name {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 3px;
}
.testimonial-event {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
}

.slider-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans), border-color var(--trans), transform var(--trans);
  z-index: 2;
}
.slider-btn:hover {
  background: var(--accent);
  color: #0d0d0d;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}
.slider-prev { left: -56px; }
.slider-next { right: -56px; }

.slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: background var(--trans), transform var(--trans), border-color var(--trans);
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ============================================================
   CONTACTS
   ============================================================ */
.section-contacts {
  padding: 100px 0;
  background: var(--bg-secondary);
}
.contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contacts-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.contacts-info p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
}
.contact-item svg { color: var(--accent); flex-shrink: 0; }
.contact-item a:hover { color: var(--accent); }

.social-links { display: flex; gap: 14px; }
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all var(--trans);
}
.social-link:hover {
  background: var(--accent);
  color: #0d0d0d;
  border-color: var(--accent);
  transform: translateY(-3px);
}
.social-link--max {
  background: transparent;
  color: var(--text-secondary) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.social-link--max:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent) !important;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color var(--trans), box-shadow var(--trans);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--accent-border);
}
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin: 16px 0 8px;
}
.form-success p { color: var(--text-secondary); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #080808;
  padding: 40px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.footer-tagline { font-size: 0.8rem; color: var(--text-muted); }
.footer-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.footer-nav a {
  padding: 6px 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: 4px;
  transition: color var(--trans);
}
.footer-nav a:hover { color: var(--text-primary); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer-phone { font-size: 0.9rem; color: var(--text-secondary); }
.footer-phone:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--trans);
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent-border); }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}
.video-section[hidden] { display: none !important; }

.video-section .section-title {
  text-align: center;
}

.video-section .section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.video-wrapper iframe,
.video-wrapper .video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-placeholder {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--accent);
  border-radius: 16px;
}

.video-placeholder__inner {
  text-align: center;
  padding: 40px;
}

.video-placeholder__inner svg {
  width: 64px;
  height: 64px;
  fill: var(--accent);
  opacity: 0.5;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.video-placeholder__inner p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.btn-upload-hint {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-upload-hint:hover {
  background: var(--accent);
  color: #fff;
}

.video-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .video-section {
    padding: 50px 0;
  }
  .video-placeholder__inner {
    padding: 20px;
  }
  .video-placeholder__inner p {
    font-size: 15px;
  }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 1;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background var(--trans);
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }
.lightbox-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  z-index: 1;
  padding: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background var(--trans);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-figure {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.lightbox-counter {
  position: fixed;
  bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 1;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .slider-prev { left: -16px; }
  .slider-next { right: -16px; }
  .process-connector { width: 30px; }
}

@media (max-width: 768px) {
  .burger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { font-size: 1.2rem; padding: 12px 24px; }
  .btn-nav { margin-top: 16px; font-size: 1rem; padding: 14px 32px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }

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

  .process-track {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-connector {
    width: 2px;
    height: 32px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--accent-border), var(--accent));
  }

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

  .slider-prev { left: 0; }
  .slider-next { right: 0; }

  .contacts-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-content { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-right { align-items: flex-start; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .testimonial-card { padding: 24px 20px; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.section-about { padding: 100px 0; background: var(--bg-secondary); }
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid rgba(255,255,255,0.07);
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-img:has(img + img) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  aspect-ratio: unset;
}
.about-img:has(img + img) img {
  aspect-ratio: 2/3;
  height: auto;
}
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
.about-text p { color: var(--text-secondary); line-height: 1.8; font-size: 0.95rem; }

@media (max-width: 768px) {
  .about-wrapper { grid-template-columns: 1fr; gap: 36px; }
  .about-img { max-width: 340px; margin: 0 auto; aspect-ratio: 1/1; }
}

/* ============================================================
   TESTIMONIAL INITIALS AVATAR
   ============================================================ */
.testimonial-avatar-initials {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0d0d;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  border: 2px solid var(--accent-border);
}
.testimonial-note {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 20px;
  font-style: italic;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.section-faq { padding: 100px 0; background: var(--bg-secondary); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 3px; }
.faq-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
}
.faq-question:hover { background: var(--bg-card-alt); }
.faq-question[aria-expanded="true"] { background: var(--bg-card-alt); color: var(--accent); }
.faq-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}
.faq-icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-card);
}
.faq-answer.open { max-height: 400px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-question,
[class*="faq"] button {
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
}

/* ============================================================
   QUIZ
   ============================================================ */
.section-quiz { padding: 100px 0; }
.quiz-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 40px;
}
.quiz-progress-wrap {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 25%;
  transition: width 0.4s ease;
}
.quiz-step-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 24px; letter-spacing: 0.05em; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeSlideIn 0.35s ease; }
.quiz-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.quiz-options { display: grid; gap: 12px; }
.quiz-options-4 { grid-template-columns: repeat(2, 1fr); }
.quiz-options-3 { grid-template-columns: repeat(3, 1fr); }
.quiz-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.1);
  background: var(--bg-secondary);
  cursor: pointer;
  transition: all var(--trans);
  text-align: center;
}
.quiz-option:hover, .quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.quiz-opt-icon { font-size: 1.8rem; line-height: 1; }
.quiz-opt-label { font-size: 0.85rem; font-weight: 500; color: var(--text-primary); }
.quiz-contact-form { display: flex; flex-direction: column; gap: 14px; }
.quiz-success {
  text-align: center;
  padding: 20px 0;
  animation: fadeSlideIn 0.4s ease;
}
.quiz-success h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin: 12px 0 8px; }
.quiz-success p { color: var(--text-secondary); font-size: 0.92rem; }

@media (max-width: 768px) {
  .quiz-wrapper { padding: 28px 20px; }
  .quiz-options-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .quiz-options-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   TELEGRAM FLOAT BUTTON
   ============================================================ */
.tg-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--accent);
  color: #0d0d0d;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(200, 134, 11, 0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
  text-decoration: none;
}
.tg-float.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.tg-float:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 28px rgba(200, 134, 11, 0.55);
  transform: translateY(-3px);
}
.tg-float.pulse { animation: tgPulse 0.7s ease; }
@keyframes tgPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(200, 134, 11, 0.4); }
  50%       { box-shadow: 0 4px 32px rgba(200, 134, 11, 0.75), 0 0 0 8px rgba(200, 134, 11, 0.1); }
}
@media (max-width: 768px) {
  .tg-float { padding: 0; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
  .tg-float-text { display: none; }
}
