/* ==========================================================================
   KODI — ARCHITECTURAL STUDIO SHOWROOM
   (FOCUSED CAR ELEVATION & COMPACT ZERO-SCROLL MOBILE TYPOGRAPHY)
   ========================================================================== */

:root {
  --bg-black: #000000;
  --bg-card: #0e0e12;
  --bg-card-hover: #16161c;
  --text-pure: #FFFFFF;
  --text-dim: #D0D0D0;
  --text-manifesto: #8A8A8A;
  --text-muted: #666666;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.15);
  --accent-gold: #FFD353;

  --font-brand: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-height: 56px;
}

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

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  background-color: var(--bg-black);
  color: var(--text-pure);
  font-family: var(--font-body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

/* Master Viewport Container */
.kodi-master-app {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

/* ==================== 1. FIXED TOP HEADER BAR ==================== */
.kodi-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kodi-brand-logo {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.55em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.kodi-header-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #FFFFFF;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

/* ==================== 2. FIXED RIGHT SIDE ZONE INDICATORS ==================== */
.kodi-side-nav-wrapper {
  position: fixed;
  top: var(--header-height);
  right: 0;
  width: auto;
  height: calc(100% - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: transparent !important;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 48px;
  pointer-events: none;
}

.kodi-side-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  pointer-events: auto;
}

.side-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
}

.side-nav-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #FFFFFF;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.side-nav-line {
  width: 24px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover & Active States (Desktop) */
.side-nav-item:hover .side-nav-line {
  background-color: #FFFFFF;
  width: 36px;
}

.side-nav-item:hover .side-nav-label {
  opacity: 0.9;
  transform: translateX(0);
}

.side-nav-item.active .side-nav-line {
  width: 52px;
  background-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.side-nav-item.active .side-nav-label {
  opacity: 1;
  color: #FFFFFF;
  transform: translateX(0);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* ==================== 3. SMOOTH HARDWARE-ACCELERATED TRACK ==================== */
.kodi-sections-track {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.kodi-studio-block,
.kodi-reviews-block,
.kodi-contacts-block {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding-top: var(--header-height);
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  overflow: hidden;
}

.kodi-block-media {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100% - var(--header-height));
  height: calc(100dvh - var(--header-height));
  z-index: 1;
}

.kodi-block-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.kodi-block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.kodi-studio-block.is-active .kodi-block-media img,
.kodi-reviews-block.is-active .kodi-block-media img,
.kodi-contacts-block.is-active .kodi-block-media img {
  transform: scale(1.02);
}

/* ==================== 4. BLOCKS 01-05 LOCAL VIGNETTES ==================== */
.kodi-manifesto-vignette {
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 48%;
  height: calc(100% - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 40%,
    rgba(0, 0, 0, 0.25) 75%,
    transparent 100%
  );
  z-index: 50;
  display: flex;
  align-items: center;
  padding-left: 56px;
  pointer-events: none;
}

.kodi-right-vignette {
  position: absolute;
  top: var(--header-height);
  right: 0;
  width: 48%;
  height: calc(100% - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 40%,
    rgba(0, 0, 0, 0.25) 75%,
    transparent 100%
  );
  z-index: 50;
  pointer-events: none;
}

.kodi-manifesto-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  pointer-events: auto;
  max-width: 620px;
}

.manifesto-heading-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.manifesto-brand-title {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: #FFFFFF;
}

.manifesto-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  color: #D0D0D0;
  text-transform: uppercase;
}

/* Clean Typography Services List */
.kodi-services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  font-family: var(--font-mono);
}

.service-item {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-title-row {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-manifesto);
  text-transform: uppercase;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 4px 0;
}

/* Hover & Pinned Active States */
.service-item:hover .service-title-row,
.service-item.is-pinned .service-title-row {
  color: #FFFFFF;
  transform: translateX(8px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Clean Floating Detail Card (Desktop) */
.service-detail-card {
  position: absolute;
  top: 50%;
  left: calc(100% + 32px);
  transform: translateY(-50%) translateX(-10px);
  width: 330px;
  background: rgba(12, 12, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9);
  z-index: 300;
  cursor: pointer;
}

/* Visible when pinned or hovered */
.service-item.is-pinned .service-detail-card,
.service-item:hover .service-detail-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.service-card-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #D4D4D4;
  text-transform: none;
}

.service-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card-price-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #888888;
  text-transform: uppercase;
}

.service-card-price {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
}

.btn-card-book {
  margin-top: 4px;
  width: 100%;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-book:hover {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.4);
}

/* ==================== 5. BLOCK 06: DUAL-DIRECTION REVIEWS ==================== */
.kodi-reviews-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background: rgba(5, 5, 7, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding-bottom: 24px;
}

.kodi-reviews-header-wrap {
  padding: 0 48px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  border-bottom: none;
}

.kodi-section-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.kodi-section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.kodi-section-main-title {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  text-transform: uppercase;
}

/* Minimalist 5.0 Rating Under Title */
.kodi-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 2px;
}

.rating-score {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.rating-stars {
  color: var(--accent-gold);
  letter-spacing: 2px;
  font-size: 0.88rem;
}

.rating-meta {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #888888;
  text-transform: uppercase;
}

.rating-meta a {
  color: #FFFFFF;
  text-decoration: none;
}

.rating-meta a:hover {
  text-decoration: underline;
}

/* Marquee Dual-Row Stage */
.kodi-marquee-stage {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 92%, transparent 100%);
}

.marquee-row-wrapper {
  display: flex;
  width: 100%;
  overflow: visible;
  user-select: none;
  padding: 6px 0;
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

/* Row 1: Rightwards */
.marquee-track-right {
  animation: marqueeRight 50s linear infinite;
}

/* Row 2: Leftwards */
.marquee-track-left {
  animation: marqueeLeft 50s linear infinite;
}

/* INDEPENDENT ROW PAUSE ON CLICK */
.marquee-row-wrapper.is-paused .marquee-track {
  animation-play-state: paused;
}

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

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

/* Marquee Review Card */
.marquee-card {
  width: 360px;
  flex-shrink: 0;
  background: rgba(14, 14, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  transform-origin: center center;
}

.marquee-card:hover {
  background: rgba(20, 20, 26, 0.95);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Card Zoom & Focus When Clicked */
.marquee-card.is-active {
  background: rgba(24, 24, 32, 0.98);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.06);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.95);
  z-index: 50;
}

.marquee-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reviewer-name {
  font-family: var(--font-brand);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 0.78rem;
  letter-spacing: 1px;
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #C8C8C8;
}

.review-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #666666;
  text-transform: uppercase;
}

/* ==================== 6. BLOCK 07: ЛОКАЦИЯ И КОНТАКТЫ ==================== */
.kodi-contacts-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(5, 5, 7, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0;
}

.kodi-contacts-container {
  width: 100%;
  max-width: 1320px;
  margin: auto 0 auto 0;
  padding-left: 56px;
  padding-right: 120px;
}

/* Equal Height Grid */
.contacts-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 48px;
  align-items: stretch;
}

.contacts-info-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

/* Compact Contact Details */
.contacts-details-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: #777777;
  text-transform: uppercase;
}

.contact-value {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.contact-phone-link {
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.contact-phone-link:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(255, 211, 83, 0.4);
}

.contact-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: nowrap;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-action-primary {
  background-color: #FFFFFF;
  color: #000000;
}

.btn-action-primary:hover {
  background-color: var(--accent-gold);
  color: #000000;
  box-shadow: 0 0 16px rgba(255, 211, 83, 0.4);
}

.btn-action-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-action-outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

/* Map Card Column */
.contacts-map-column {
  position: relative;
  background: rgba(14, 14, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 380px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  z-index: 20;
}

.map-embed-frame {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(1.2);
  pointer-events: auto;
}

/* 100% Full-Width Legal Footer Bar */
.kodi-legal-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 48px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: #555555;
  text-transform: uppercase;
  box-sizing: border-box;
}

.legal-line-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-line-2 {
  color: #444444;
  font-size: 0.58rem;
}

.legal-policy-link {
  color: #888888;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.legal-policy-link:hover {
  color: #FFFFFF;
}

/* ==================== 8. INTERACTIVE BOOKING & PRIVACY MODAL ==================== */
.kodi-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.kodi-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kodi-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: rgba(16, 16, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 32px 28px 26px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: text;
}

.kodi-modal-overlay.is-open .kodi-modal-dialog {
  transform: scale(1) translateY(0);
}

.kodi-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  color: #888888;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.kodi-modal-close:hover {
  color: #FFFFFF;
  transform: scale(1.15);
}

.modal-header-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.modal-service-title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  line-height: 1.25;
}

.modal-price-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 4px 10px;
  align-self: flex-start;
  margin-top: 4px;
}

.modal-lead-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.45;
  color: #B4B4B4;
}

.modal-actions-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.modal-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.25s ease;
  cursor: pointer;
}

.channel-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
}

.modal-channel-wa:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.5);
}
.modal-channel-wa .channel-icon-wrap {
  color: #25D366;
}

.modal-channel-tg:hover {
  background: rgba(0, 136, 204, 0.12);
  border-color: rgba(0, 136, 204, 0.5);
}
.modal-channel-tg .channel-icon-wrap {
  color: #29B6F6;
}

.modal-channel-call:hover {
  background: rgba(255, 211, 83, 0.12);
  border-color: rgba(255, 211, 83, 0.5);
}
.modal-channel-call .channel-icon-wrap {
  color: var(--accent-gold);
}

.channel-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 2px;
}

.channel-title {
  font-family: var(--font-brand);
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
}

.channel-subtitle {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #8E8E98;
}

.channel-arrow {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: #666666;
  transition: transform 0.2s ease, color 0.2s ease;
}

.modal-channel-card:hover .channel-arrow {
  transform: translateX(3px);
  color: #FFFFFF;
}

.modal-toast-alert {
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #85E8A9;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 8px 12px;
  border-radius: 4px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.modal-toast-alert.is-visible {
  display: block;
}

/* Privacy Dialog */
.privacy-dialog {
  max-width: 680px;
  max-height: 80vh;
  max-height: 80dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.privacy-modal-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-title {
  font-family: var(--font-brand);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.privacy-date {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #777777;
}

.privacy-text-body {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.6;
  color: #C0C0C0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-text-body h4 {
  font-family: var(--font-brand);
  color: #FFFFFF;
  font-size: 0.88rem;
  margin-top: 6px;
}

.privacy-text-body ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ==================== 9. COOKIE BANNER ==================== */
.kodi-cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 24px;
  right: 24px;
  max-width: 620px;
  margin: 0 auto;
  background: rgba(14, 14, 18, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 12px 18px;
  z-index: 1500;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.kodi-cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  line-height: 1.45;
  color: #B4B4B4;
}

.cookie-banner-text a {
  color: #FFFFFF;
  text-decoration: underline;
}

.cookie-accept-btn {
  background: #FFFFFF;
  color: #000000;
  border: none;
  border-radius: 3px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.cookie-accept-btn:hover {
  background: var(--accent-gold);
}

/* ==========================================================================
   📱 7. ULTRA-COMPACT ZERO-OVERFLOW MOBILE RESPONSIVENESS (< 768px and < 480px)
   ========================================================================== */

@media (max-width: 1024px) {
  .kodi-manifesto-vignette { width: 58%; padding-left: 36px; }
  .kodi-right-vignette { width: 40%; }
  .kodi-side-nav-wrapper { padding-right: 28px; }
  .kodi-contacts-container { padding-left: 36px; padding-right: 80px; }
  .contacts-grid { gap: 28px; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 46px;
  }

  /* 1. Header */
  .kodi-header-bar {
    padding: 0 16px;
    height: var(--header-height);
  }

  .kodi-brand-logo {
    font-size: 1rem;
    letter-spacing: 0.35em;
  }

  .kodi-header-tag {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    max-width: 58%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
  }

  /* 2. Non-Clickable Micro Side Navigation (Pure Visual Marker) */
  .kodi-side-nav-wrapper {
    padding-right: 4px;
    width: auto;
    z-index: 50;
    pointer-events: none !important;
  }

  .kodi-side-nav {
    gap: 8px;
    pointer-events: none !important;
  }

  .side-nav-item {
    pointer-events: none !important;
  }

  .side-nav-label {
    display: none !important;
  }

  .side-nav-line {
    width: 7px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.35);
  }

  .side-nav-item.active .side-nav-line {
    width: 14px;
    background-color: #FFFFFF;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  }

  /* 3. Showroom Blocks 01-05: NATIVE 9:16 VERTICAL MOBILE ASSETS (ZOOMED HEROIC STANCE) */
  .kodi-block-media img {
    object-fit: cover;
    object-position: center 62% !important;
    transform: scale(1.65) !important;
    transform-origin: center 62% !important;
  }

  .kodi-right-vignette {
    display: none !important;
  }

  /* Compact Soft Bottom Vignette */
  .kodi-manifesto-vignette {
    width: 100%;
    height: calc(100% - var(--header-height));
    height: calc(100dvh - var(--header-height));
    padding: 8px 14px 12px 14px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.94) 42%,
      rgba(0, 0, 0, 0.45) 58%,
      rgba(0, 0, 0, 0.05) 75%,
      transparent 100%
    );
    align-items: flex-end;
    justify-content: flex-end;
  }

  .kodi-manifesto-content {
    width: 100%;
    max-width: 100%;
    gap: 8px;
    padding-right: 8px;
  }

  .manifesto-heading-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 8px;
  }

  .manifesto-brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: #FFFFFF;
  }

  .manifesto-brand-sub {
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: #C0C0C0;
  }

  /* Pure Zero-Scroll Services List */
  .kodi-services-list {
    gap: 3px;
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .service-title-row {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.3;
    padding: 2px 0;
  }

  /* Ultra-Comfortable Readable Accordion Card */
  .service-detail-card {
    position: static;
    transform: none !important;
    width: 100%;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    padding: 0 10px;
    margin: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.22s ease,
                padding 0.22s ease,
                margin 0.22s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.85);
    background: rgba(18, 18, 24, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    gap: 6px;
  }

  .service-item.is-pinned .service-detail-card {
    max-height: 240px;
    opacity: 1;
    visibility: visible;
    padding: 10px 14px;
    margin-top: 4px;
    margin-bottom: 6px;
  }

  .service-card-desc {
    font-size: 0.74rem;
    line-height: 1.45;
    color: #E2E2E2;
  }

  .service-card-price-row {
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .service-card-price-label {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    color: #999999;
  }

  .service-card-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
  }

  /* 4. Block 06: Mobile Reviews */
  .kodi-reviews-content-wrapper {
    gap: 12px;
    padding-bottom: 14px;
  }

  .kodi-reviews-header-wrap {
    padding: 0 16px;
  }

  .kodi-section-main-title {
    font-size: 1.25rem;
    letter-spacing: 0.12em;
  }

  .kodi-section-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }

  .rating-score {
    font-size: 1.15rem;
  }

  .rating-meta {
    font-size: 0.55rem;
  }

  .kodi-marquee-stage {
    gap: 8px;
  }

  .marquee-card {
    width: 275px;
    padding: 10px 12px;
    gap: 6px;
  }

  .reviewer-name {
    font-size: 0.78rem;
  }

  .review-text {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  /* 5. Block 07: Mobile Contacts & Map (Clean Spacing, No Overlap) */
  .kodi-contacts-content-wrapper {
    justify-content: space-between;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .kodi-contacts-container {
    padding: 10px 20px 10px 14px;
    max-width: 100%;
    margin: auto 0;
    gap: 8px;
    position: relative;
    z-index: 60;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contacts-info-column {
    gap: 8px;
  }

  .contacts-details-group {
    gap: 4px;
  }

  .contact-label {
    font-size: 0.54rem;
  }

  .contact-value {
    font-size: 0.82rem;
  }

  .contact-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .contact-actions-row .btn-action-primary {
    grid-column: span 2;
  }

  .btn-action {
    padding: 8px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    width: 100%;
  }

  .contacts-map-column {
    height: 155px;
    min-height: 155px;
    border-radius: 4px;
  }

  /* 6. Legal Footer */
  .kodi-legal-footer {
    padding: 8px 14px;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }

  .legal-line-1 {
    justify-content: center;
    gap: 6px;
  }

  /* 7. Modal & Cookie Banner Mobile */
  .kodi-modal-dialog {
    padding: 24px 18px 20px 18px;
    gap: 12px;
  }

  .modal-service-title {
    font-size: 1.05rem;
  }

  .kodi-cookie-banner {
    bottom: 10px;
    left: 12px;
    right: 12px;
    padding: 10px 14px;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cookie-accept-btn {
    align-self: flex-end;
  }
}

@media (max-width: 400px) {
  .manifesto-brand-title { font-size: 0.9rem; }
  .kodi-section-main-title { font-size: 1.05rem; }
  .marquee-card { width: 245px; }
  .contacts-map-column { height: 135px; min-height: 135px; }
  .service-card-desc { font-size: 0.58rem; }
}
