/* ==========================================================================
   Lighting Section: Exact Luxury Dark Mockup Presentation
   Replicating the gold-accented architectural lighting console & arch frame
   ========================================================================== */

/* Full-width dark obsidian container spanning 100% */
#light-details.light-mockup-section {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: clamp(65px, 6.5vw, 100px) max(5.2vw, 28px) clamp(55px, 5.5vw, 85px) !important;
  background: radial-gradient(circle at 65% 25%, rgba(200, 155, 60, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 20% 50%, rgba(180, 140, 50, 0.05) 0%, transparent 45%),
              #0c0e0b !important;
  color: #ede8dc !important;
  border-bottom: 1px solid #1a1c17 !important;
  display: block !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Margin Index Numbers (01 top left, 03 bottom left) */
.light-side-num {
  position: absolute;
  left: max(2vw, 18px);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.05em;
  font-family: var(--sans);
  user-select: none;
  pointer-events: none;
  z-index: 5;
}

.light-side-num.num-top {
  top: clamp(65px, 6.5vw, 100px);
}

.light-side-num.num-bottom {
  bottom: clamp(55px, 5.5vw, 85px);
}

/* Decorative Top & Bottom Bars */
.light-top-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
}

.light-top-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #a8a29e;
  text-transform: uppercase;
  white-space: nowrap;
}

.light-track-line {
  width: clamp(60px, 12vw, 180px);
  height: 1px;
  background: linear-gradient(90deg, #dfb76c, rgba(223, 183, 108, 0.2));
}

.light-track-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #dfb76c;
  box-shadow: 0 0 6px #dfb76c;
  flex-shrink: 0;
}

.light-bottom-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  position: relative;
  z-index: 3;
}

.light-bottom-bar .light-track-line {
  width: clamp(40px, 8vw, 120px);
  background: linear-gradient(90deg, rgba(223, 183, 108, 0.2), #dfb76c);
}

.light-bottom-tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #8c8e88;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Two-column architectural grid */
.light-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 4.5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 3;
}

.light-copy-col {
  position: relative;
  z-index: 4;
}

/* Typography matching the mockup */
.light-hero-title {
  margin: 0 0 16px;
  line-height: 1.08;
}

.light-title-sans {
  display: block;
  font-family: var(--sans);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.light-title-serif {
  display: block;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-top: 4px;
  background: linear-gradient(135deg, #fce29d 0%, #dfb76c 35%, #fff2cf 60%, #c8983e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(223, 183, 108, 0.22));
}

.light-hero-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #a8a9a4;
  max-width: 500px;
  margin: 0 0 24px;
}

/* ==========================================================================
   Tactile Mood Console (Exact Mockup Box)
   ========================================================================== */
.light-mood-console {
  background: rgba(18, 20, 18, 0.82);
  border: 1px solid rgba(223, 183, 108, 0.28);
  border-radius: 14px;
  padding: 20px 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  margin: 0 0 26px;
  max-width: 540px;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.console-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #dfb76c;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.star-icon {
  flex-shrink: 0;
}

.console-smart-hint {
  font-size: 11px;
  color: #9c978b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.smart-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* 3 Mode Buttons Grid */
.mood-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mood-btn {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 13px 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: inherit;
  color: inherit;
}

.mood-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(223, 183, 108, 0.4);
}

.mood-btn.active {
  background: rgba(223, 183, 108, 0.08);
  border: 1.5px solid #dfb76c;
  box-shadow: 0 0 16px rgba(223, 183, 108, 0.22);
}

/* Active Button Checkmark Badge in top-right corner */
.mood-badge-check {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dfb76c;
  color: #111310;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.mood-btn.active .mood-badge-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mood-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: #ded9cd;
  transition: all 0.25s ease;
}

.mood-btn.active .mood-icon-box {
  background: transparent;
  color: #dfb76c;
}

.mood-icon {
  width: 20px;
  height: 20px;
}

.btn-title {
  display: block;
  font-size: 14px;
  font-weight: 650;
  color: #ffffff;
  line-height: 1.2;
}

.btn-sub {
  display: block;
  font-size: 10.5px;
  color: #8c8e88;
  margin-top: 3px;
  line-height: 1.3;
}

.mood-btn.active .btn-title {
  color: #ffffff;
}

.mood-btn.active .btn-sub {
  color: #b5ab95;
}

/* Dynamic Inset Experience Card */
.mood-experience-card {
  margin-top: 14px;
  background: rgba(12, 13, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 15px 16px;
}

.mood-exp-title {
  font-size: 13.5px;
  font-weight: 650;
  color: #ffffff;
  display: block;
  margin-bottom: 5px;
}

.mood-exp-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: #9ea09b;
  margin: 0 0 12px;
}

.mood-exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mood-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: #d1d2cc;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tag-icon {
  width: 14px;
  height: 14px;
  color: #dfb76c;
  flex-shrink: 0;
}

/* ==========================================================================
   CTA Row (Solid Gold Primary + Ghost Secondary)
   ========================================================================== */
.light-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.light-primary-btn {
  background: linear-gradient(135deg, #fce096 0%, #e5be65 50%, #c99a34 100%) !important;
  color: #12130f !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 15px 26px !important;
  border-radius: 10px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  box-shadow: 0 6px 24px rgba(229, 190, 101, 0.35) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  clip-path: none !important;
  min-height: auto !important;
  cursor: pointer !important;
}

.light-primary-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(229, 190, 101, 0.5) !important;
  background: linear-gradient(135deg, #fff0b8 0%, #ecd07e 50%, #d8a844 100%) !important;
}

.light-primary-btn .cta-arrow {
  font-size: 17px !important;
  line-height: 1 !important;
}

.light-secondary-link {
  color: #d1d2cc !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.light-secondary-link .link-arrow {
  color: #dfb76c !important;
  font-size: 15px !important;
  transition: transform 0.2s !important;
}

.light-secondary-link:hover {
  color: #ffffff !important;
}

.light-secondary-link:hover .link-arrow {
  transform: translate(2px, -2px) !important;
}

/* ==========================================================================
   Right Column: Architectural Arch Frame Visual
   ========================================================================== */
.light-arch-col {
  position: relative;
  width: 100%;
  height: 100%;
}

.light-arch-frame {
  position: relative;
  width: 100%;
  min-height: 590px;
  height: 100%;
  border-top-left-radius: 220px;
  overflow: hidden;
  box-shadow: -5px -5px 40px rgba(223, 183, 108, 0.2), 0 24px 60px rgba(0, 0, 0, 0.7);
  border-left: 1.5px solid rgba(223, 183, 108, 0.55);
  border-top: 1.5px solid rgba(223, 183, 108, 0.55);
  background: #111310;
}

/* Delicate glowing golden arch contour rim */
.light-arch-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top-left-radius: 220px;
  border-left: 2px solid #f0ca72;
  border-top: 2px solid #f0ca72;
  pointer-events: none;
  z-index: 5;
  mask-image: linear-gradient(135deg, #000 0%, #000 35%, transparent 75%);
  -webkit-mask-image: linear-gradient(135deg, #000 0%, #000 35%, transparent 75%);
  filter: drop-shadow(0 0 14px rgba(240, 202, 114, 0.85));
}

.light-arch-img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Ambient Room Lighting Tint Layer */
.light-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.8s ease, background 0.8s ease;
  will-change: opacity, background;
}

/* Volumetric Light Rays & Soft Wall Reflection */
.light-volumetric-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  transition: opacity 0.8s ease, background 0.8s ease;
  will-change: opacity, background;
}

/* Sweeping Light Pulse / Soft-Start Beam */
.light-beam-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: screen;
  background-size: 250% 250%;
  opacity: 0;
}

.light-pulse-active .light-beam-sweep {
  animation: sweep-light-flare 0.95s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes sweep-light-flare {
  0% {
    background-position: 120% 0%;
    opacity: 0;
  }
  20% {
    opacity: 0.85;
  }
  75% {
    opacity: 0.85;
  }
  100% {
    background-position: -30% 100%;
    opacity: 0;
  }
}

/* Background Golden Swoop SVG Lines */
.light-ambient-swoop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   SCENARIOS LIGHTING STYLES ON ARCH PHOTO
   ========================================================================== */

/* 1. MORNING (Бодрое утро) */
#light-details[data-scene="morning"] .light-arch-img,
#light-details[data-scene="morning"] .solution-photo img {
  filter: brightness(1.1) contrast(1.05) saturate(0.9) hue-rotate(-5deg);
}

#light-details[data-scene="morning"] .light-ambient-glow {
  mix-blend-mode: soft-light;
  background: radial-gradient(circle at 75% 25%, rgba(185, 222, 255, 0.65) 0%, rgba(140, 195, 255, 0.3) 50%, transparent 80%);
  opacity: 0.95;
}

#light-details[data-scene="morning"] .light-volumetric-wash {
  background: linear-gradient(175deg, rgba(200, 230, 255, 0.35) 0%, rgba(160, 210, 255, 0.12) 40%, transparent 80%);
  opacity: 0.7;
}

#light-details[data-scene="morning"] .light-beam-sweep {
  background-image: linear-gradient(130deg, transparent 38%, rgba(200, 230, 255, 0.25) 47%, rgba(235, 245, 255, 0.85) 50%, rgba(180, 220, 255, 0.25) 53%, transparent 62%);
}

/* 2. DAY (Ясный день) */
#light-details[data-scene="day"] .light-arch-img,
#light-details[data-scene="day"] .solution-photo img {
  filter: brightness(1.02) contrast(1.01) saturate(1.0);
}

#light-details[data-scene="day"] .light-ambient-glow {
  mix-blend-mode: soft-light;
  background: radial-gradient(circle at 75% 25%, rgba(255, 252, 240, 0.45) 0%, rgba(255, 245, 220, 0.18) 50%, transparent 75%);
  opacity: 0.8;
}

#light-details[data-scene="day"] .light-volumetric-wash {
  background: linear-gradient(175deg, rgba(255, 255, 245, 0.25) 0%, rgba(255, 248, 230, 0.08) 40%, transparent 80%);
  opacity: 0.55;
}

#light-details[data-scene="day"] .light-beam-sweep {
  background-image: linear-gradient(130deg, transparent 38%, rgba(255, 250, 235, 0.25) 47%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 245, 215, 0.25) 53%, transparent 62%);
}

/* 3. EVENING (Уютный вечер — тёплый бархатный контур) */
#light-details[data-scene="evening"] .light-arch-img,
#light-details[data-scene="evening"] .solution-photo img {
  filter: brightness(0.85) contrast(1.15) sepia(0.28) saturate(1.35);
}

#light-details[data-scene="evening"] .light-ambient-glow {
  mix-blend-mode: overlay;
  background: radial-gradient(circle at 75% 25%, rgba(255, 175, 55, 0.65) 0%, rgba(230, 120, 25, 0.35) 45%, rgba(18, 14, 10, 0.5) 85%);
  opacity: 0.98;
}

#light-details[data-scene="evening"] .light-volumetric-wash {
  background: linear-gradient(175deg, rgba(255, 175, 55, 0.55) 0%, rgba(235, 125, 30, 0.25) 40%, rgba(20, 15, 10, 0.35) 85%);
  opacity: 0.9;
}

#light-details[data-scene="evening"] .light-beam-sweep {
  background-image: linear-gradient(130deg, transparent 38%, rgba(255, 185, 60, 0.3) 47%, rgba(255, 225, 140, 0.9) 50%, rgba(255, 165, 40, 0.3) 53%, transparent 62%);
}

/* ==========================================================================
   Responsiveness (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .light-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .light-mood-console {
    max-width: none;
  }
  .light-arch-frame {
    min-height: 420px;
    border-top-left-radius: 140px;
  }
  .light-arch-frame::before {
    border-top-left-radius: 140px;
  }
  .light-arch-img {
    min-height: 420px;
  }
  .light-side-num {
    display: none;
  }
}

@media (max-width: 600px) {
  #light-details.light-mockup-section {
    padding: 45px 20px 40px !important;
  }
  .light-top-bar,
  .light-bottom-bar {
    display: none;
  }
  .light-hero-title {
    margin-bottom: 12px;
  }
  .light-hero-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .light-mood-console {
    padding: 16px 14px;
  }
  .mood-btn {
    padding: 10px 8px;
  }
  .btn-title {
    font-size: 12.5px;
  }
  .btn-sub {
    font-size: 9.5px;
  }
  .mood-tag {
    font-size: 10.5px;
    padding: 4px 10px;
  }
  .light-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .light-primary-btn {
    justify-content: center;
    width: 100%;
  }
  .light-secondary-link {
    justify-content: center;
    margin-left: 0;
  }
  .light-arch-frame {
    min-height: 320px;
    border-top-left-radius: 80px;
  }
  .light-arch-frame::before {
    border-top-left-radius: 80px;
  }
  .light-arch-img {
    min-height: 320px;
  }
}
