/* Zafer Yapı — Ana Sayfa 2026 */
body.ym-site {
  --yh-ink: #101010;
  --yh-muted: #6f6f6f;
  --yh-accent: #e30613;
}

body.ym-home {
  --yh-bg: #f3f0ea;
  --yh-surface: #ffffff;
  --yh-ink: #101010;
  --yh-muted: #6f6f6f;
  --yh-accent: #e30613;
  --yh-dark: #0a0a0a;
  --yh-glass: rgba(255, 255, 255, 0.12);
  --yh-radius: 28px;
  --yh-radius-md: 20px;
  --yh-radius-sm: 14px;
  --yh-font: "Plus Jakarta Sans", "Poppins", sans-serif;
  background: var(--yh-bg);
  font-family: var(--yh-font);
}

body.ym-home .wrapper {
  background: var(--yh-bg);
}

body.ym-home section {
  padding: 0;
}

/* Reset legacy homepage styles */
body.ym-home .ym-hero.ym-hero--cinema {
  background: var(--yh-dark) !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.ym-home .ym-hero--cinema .ym-hero-slides {
  min-height: clamp(560px, 88vh, 920px) !important;
}

body.ym-site .ym-header-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

body.ym-site .ym-topbar {
  background: #fff;
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
}

body.ym-site .ym-topbar a {
  color: var(--yh-ink, #101010);
  font-weight: 500;
}

body.ym-site .ym-topbar a:hover {
  color: var(--yh-accent, #e30613);
}

body.ym-site .ym-topbar a i,
body.ym-site .ym-topbar-hours i {
  color: var(--yh-accent, #e30613);
}

body.ym-site .ym-topbar-hours {
  color: var(--yh-muted, #6f6f6f);
  font-weight: 500;
}

body.ym-site .ym-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

body.ym-site .ym-nav-list > li > a {
  color: rgba(255, 255, 255, 0.88);
}

body.ym-site .ym-nav-list > li > a:hover,
body.ym-site .ym-nav-list > li.active > a {
  color: #fff;
}

body.ym-site .ym-nav-list > li.active > a::after {
  background: var(--yh-accent, #e30613);
}

body.ym-site .ym-logo-text strong,
body.ym-site .ym-logo-text span {
  color: #fff;
}

body.ym-site .ym-toggler {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

/* Shared */
body.ym-home .ym-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yh-accent);
  margin-bottom: 8px;
}

body.ym-home .ym-block-head h2,
body.ym-home .ym-block-head-row .ym-block-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--yh-ink);
  margin: 0 0 10px;
  text-transform: none;
}

body.ym-home .ym-block-head p {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--yh-muted);
}

body.ym-home .ym-block-head.is-left,
body.ym-home .ym-block-head-row .ym-block-head.is-left {
  text-align: left;
}

body.ym-home .ym-block-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

body.ym-home .ym-block-head-row .ym-block-head {
  margin-bottom: 0;
  flex: 1;
  min-width: 280px;
}

body.ym-home .ym-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: transparent;
  color: var(--yh-ink) !important;
  border: 1px solid rgba(16, 16, 16, 0.12);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  box-shadow: none;
}

body.ym-home .ym-link-pill:hover {
  transform: none;
  background: var(--yh-ink);
  border-color: var(--yh-ink);
  color: #fff !important;
  box-shadow: none;
}

body.ym-home .ym-link-pill-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

body.ym-home .ym-link-pill-light:hover {
  background: var(--yh-accent);
  border-color: var(--yh-accent);
}

body.ym-home .ym-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--yh-ink);
  text-decoration: none;
  margin-top: auto;
}

body.ym-home .ym-text-link i {
  color: var(--yh-accent);
  transition: transform 0.2s ease;
}

body.ym-home .ym-text-link:hover i {
  transform: translateX(4px);
}

body.ym-home section.ym-home-block {
  padding: clamp(28px, 4vw, 44px) 0;
  position: relative;
}

/* ========== CINEMA HERO ========== */
body.ym-home .ym-hero--cinema {
  position: relative;
  padding: 0;
  margin: 0;
  background: var(--yh-dark);
  overflow: hidden;
}

body.ym-home .ym-hero-cinema-viewport {
  position: relative;
  min-height: clamp(560px, 88vh, 920px);
}

body.ym-home .ym-hero--cinema .ym-hero-slides {
  position: relative;
  min-height: clamp(560px, 88vh, 920px);
}

body.ym-home .ym-hero--cinema .ym-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 1s ease;
  pointer-events: none;
  z-index: 0;
}

body.ym-home .ym-hero--cinema .ym-hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

body.ym-home .ym-hero-slide-bg {
  position: absolute;
  inset: 0;
}

body.ym-home .ym-hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.ym-home .ym-hero-slide-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.72) 42%, rgba(8, 8, 8, 0.25) 100%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.55) 0%, transparent 45%);
}

body.ym-home .ym-hero--cinema::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--yh-bg));
  z-index: 2;
  pointer-events: none;
}

body.ym-home .ym-hero--cinema .ym-hero-title-main {
  color: #fff;
}

body.ym-home .ym-hero--cinema .ym-hero-title-accent {
  color: var(--yh-accent) !important;
}

body.ym-home .ym-hero-slide-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 88vh, 920px);
  padding-top: 24px;
  padding-bottom: 160px;
}

body.ym-home .ym-hero-slide-layout {
  width: min(100%, 680px);
}

body.ym-home .ym-hero-glass-panel {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--yh-radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

body.ym-home .ym-hero--cinema .ym-hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  color: #fff !important;
}

body.ym-home .ym-hero--cinema .ym-hero-title span {
  display: block;
}

body.ym-home .ym-hero--cinema .ym-hero-title-accent {
  color: var(--yh-accent) !important;
}

body.ym-home .ym-hero--cinema .ym-hero-desc {
  max-width: none;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72) !important;
}

body.ym-home .ym-hero--cinema .ym-hero-btns {
  gap: 12px;
}

body.ym-home .ym-btn-glow {
  border-radius: 999px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
  padding: 15px 28px !important;
  box-shadow: 0 12px 32px rgba(227, 6, 19, 0.35);
}

body.ym-home .ym-btn-glass {
  border-radius: 999px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
  padding: 15px 28px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}

body.ym-home .ym-btn-glass:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

body.ym-home .ym-hero-cinema-controls {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

body.ym-home .ym-hero--cinema .ym-hero-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

body.ym-home .ym-hero--cinema .ym-hero-arrow:hover {
  background: var(--yh-accent);
  border-color: var(--yh-accent);
}

body.ym-home .ym-hero--cinema .ym-hero-dots {
  display: flex;
  gap: 8px;
}

body.ym-home .ym-hero--cinema .ym-hero-dot {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

body.ym-home .ym-hero--cinema .ym-hero-dot span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition: width 0.3s ease, background 0.3s ease;
}

body.ym-home .ym-hero--cinema .ym-hero-dot.active span {
  width: 44px;
  background: var(--yh-accent);
}

/* ========== BENTO FEATURES ========== */
body.ym-home section.ym-home-bento-wrap {
  position: relative;
  z-index: 5;
  margin-top: -38px;
  padding: 0 0 6px;
}

body.ym-home .ym-bento-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.ym-home .ym-bento-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 12px;
  background: var(--yh-surface);
  border: 1px solid rgba(16, 16, 16, 0.06);
  box-shadow: 0 20px 50px rgba(16, 16, 16, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.ym-home .ym-bento-cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(16, 16, 16, 0.12);
}

body.ym-home .ym-bento-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yh-accent), transparent);
}

body.ym-home .ym-bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yh-ink);
  color: #fff;
  font-size: 18px;
}

body.ym-home .ym-bento-icon .ym-feature-icon-img {
  width: 22px;
  height: 22px;
}

body.ym-home .ym-bento-copy h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--yh-ink);
  letter-spacing: -0.01em;
}

body.ym-home .ym-bento-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--yh-muted);
}

/* ========== UNIFIED HOME CARDS (Ürün + Hizmet) ========== */
body.ym-home .ym-home-products {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8f6f2 100%);
  overflow: hidden;
}

body.ym-home .ym-home-products::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 16, 16, 0.08), transparent);
  pointer-events: none;
}

body.ym-home .ym-home-products::before {
  content: "";
  position: absolute;
  top: -40px;
  right: 0;
  width: min(520px, 46vw);
  height: 360px;
  background: radial-gradient(circle at 100% 0%, rgba(227, 6, 19, 0.09), transparent 68%);
  pointer-events: none;
}

body.ym-home .ym-home-services {
  position: relative;
  background:
    radial-gradient(circle at 0% 100%, rgba(227, 6, 19, 0.04), transparent 42%),
    var(--yh-bg);
}

body.ym-home .ym-home-products .ym-block-head-row,
body.ym-home .ym-home-services .ym-block-head-row {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(16, 16, 16, 0.06);
}

body.ym-home .ym-home-products .ym-kicker,
body.ym-home .ym-home-services .ym-kicker {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.07);
  border: 1px solid rgba(227, 6, 19, 0.12);
  margin-bottom: 10px;
}

body.ym-home .ym-home-products .ym-block-head h2,
body.ym-home .ym-home-services .ym-block-head h2 {
  position: relative;
  padding-bottom: 12px;
}

body.ym-home .ym-home-products .ym-block-head h2::after,
body.ym-home .ym-home-services .ym-block-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yh-accent), rgba(227, 6, 19, 0.25));
}

/* ========== HOME PRODUCTS — compact catalog grid ========== */
body.ym-home .ym-home-products .ym-home-product-filters {
  margin-bottom: clamp(14px, 2vw, 20px);
  gap: 8px;
}

body.ym-home .ym-home-products button.ym-catalog-filter {
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

body.ym-home .ym-home-products button.ym-catalog-filter i {
  font-size: 12px;
}

body.ym-home .ym-home-products .ym-home-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.ym-home .ym-home-products .ym-catalog-card {
  padding: 8px 8px 0;
  border-radius: 14px;
  border-color: rgba(16, 16, 16, 0.07);
  box-shadow: 0 4px 16px rgba(16, 16, 16, 0.04);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.25s ease;
}

body.ym-home .ym-home-products .ym-catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 16, 16, 0.08);
  border-color: rgba(227, 6, 19, 0.12);
}

body.ym-home .ym-home-products .ym-catalog-card.is-hidden,
body.ym-home .ym-home-products .ym-catalog-card.is-mobile-capped {
  display: none;
}

body.ym-home .ym-home-products .ym-catalog-card-media {
  height: 132px;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #f0ede8, #e6e2db);
}

body.ym-home .ym-home-products .ym-catalog-card-media img {
  height: 100%;
  object-fit: cover;
}

body.ym-home .ym-home-products .ym-catalog-card-body {
  gap: 4px;
  padding: 10px 2px 12px;
}

body.ym-home .ym-home-products .ym-catalog-card-cat {
  font-size: 9px;
  letter-spacing: 0.11em;
  line-height: 1.3;
}

body.ym-home .ym-home-products .ym-catalog-card-body h3 {
  font-size: 13px;
  line-height: 1.35;
}

body.ym-home .ym-home-products .ym-catalog-card-more {
  padding-top: 4px;
  font-size: 12px;
  font-weight: 600;
}

body.ym-home .ym-home-products .ym-catalog-card-more i {
  font-size: 10px;
}

body.ym-home .ym-home-products .ym-home-product-empty {
  margin-top: 8px;
  padding: 32px 20px;
}

body.ym-home .ym-showcase-shell {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: 24px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  overflow: hidden;
}

body.ym-home .ym-showcase-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.ym-home .ym-showcase-shell--services {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 242, 236, 0.96) 100%);
  box-shadow:
    0 16px 44px rgba(16, 16, 16, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.ym-home .ym-showcase-shell--services::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--yh-accent), rgba(227, 6, 19, 0.15));
  border-radius: 24px 0 0 24px;
  pointer-events: none;
}

body.ym-home .ym-home-grid {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

body.ym-home .ym-home-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 16, 16, 0.06);
  box-shadow:
    0 4px 6px rgba(16, 16, 16, 0.02),
    0 14px 32px rgba(16, 16, 16, 0.05);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

body.ym-home .ym-home-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--yh-accent), rgba(227, 6, 19, 0.15));
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
}

body.ym-home .ym-home-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 6, 19, 0.18);
  box-shadow: 0 24px 56px rgba(16, 16, 16, 0.11);
}

body.ym-home .ym-home-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

body.ym-home .ym-home-card-hit {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 10px 10px 0;
  text-decoration: none;
  color: inherit;
}

body.ym-home .ym-home-grid--services {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.ym-home .ym-home-card-media {
  position: relative;
  height: 172px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #ece9e4, #ddd8d0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

body.ym-home .ym-home-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

body.ym-home .ym-home-card-media-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0) 40%, rgba(8, 8, 8, 0.42) 100%),
    linear-gradient(135deg, rgba(227, 6, 19, 0.08), transparent 55%);
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

body.ym-home .ym-home-card:hover .ym-home-card-media img {
  transform: scale(1.07);
}

body.ym-home .ym-home-card:hover .ym-home-card-media-glow {
  opacity: 0.72;
}

body.ym-home .ym-home-card-body {
  padding: 16px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

body.ym-home .ym-home-card-body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--yh-ink);
  transition: color 0.25s ease;
}

body.ym-home .ym-home-card:hover .ym-home-card-body h3 {
  color: var(--yh-accent);
}

body.ym-home .ym-home-card-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: rgba(16, 16, 16, 0.58);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

body.ym-home .ym-home-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(16, 16, 16, 0.1);
}

body.ym-home .ym-home-card-foot em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yh-ink);
  transition: color 0.25s ease;
}

body.ym-home .ym-home-card:hover .ym-home-card-foot em {
  color: var(--yh-accent);
}

body.ym-home .ym-home-card-foot i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #f7f4ef, #ece8e1);
  color: var(--yh-ink);
  font-size: 11px;
  box-shadow: 0 2px 8px rgba(16, 16, 16, 0.06);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

body.ym-home .ym-home-card:hover .ym-home-card-foot i {
  background: var(--yh-accent);
  color: #fff;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(227, 6, 19, 0.35);
}

/* ========== ABOUT PANEL ========== */
body.ym-home .ym-home-about {
  background: var(--yh-surface);
  color: var(--yh-ink);
  overflow: hidden;
}

body.ym-home .ym-home-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(227, 6, 19, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(243, 240, 234, 0.55) 0%, transparent 38%);
  pointer-events: none;
}

body.ym-home .ym-about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}

body.ym-home .ym-about-visual {
  position: relative;
}

body.ym-home .ym-about-visual-accent {
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  border-radius: var(--yh-radius-md);
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.16), rgba(227, 6, 19, 0.04));
  z-index: 0;
}

body.ym-home .ym-about-visual-inner {
  position: relative;
  z-index: 1;
  border-radius: var(--yh-radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(16, 16, 16, 0.06);
  box-shadow: 0 28px 70px rgba(16, 16, 16, 0.12);
}

body.ym-home .ym-about-visual-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

body.ym-home .ym-about-visual:hover .ym-about-visual-inner img {
  transform: scale(1.03);
}

body.ym-home .ym-about-panel {
  max-width: 560px;
}

body.ym-home .ym-about-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  color: var(--yh-ink);
}

body.ym-home .ym-about-panel .ym-about-text {
  color: var(--yh-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}

body.ym-home .ym-about-panel .ym-about-text p {
  margin: 0 0 1em;
}

body.ym-home .ym-about-panel .ym-about-text p:last-child {
  margin-bottom: 0;
}

/* ========== PROJECT SHOWCASE ========== */
body.ym-home .ym-home-projects {
  position: relative;
  background: #0a0a0a;
  color: #fff;
  overflow: hidden;
}

body.ym-home .ym-home-projects::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 6, 19, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 38%);
  pointer-events: none;
}

body.ym-home .ym-home-projects .container {
  position: relative;
  z-index: 1;
}

body.ym-home .ym-home-projects .ym-block-head h2 {
  color: #fff;
}

body.ym-home .ym-home-projects .ym-block-head p {
  color: rgba(255, 255, 255, 0.58);
}

body.ym-home .ym-home-projects .ym-link-pill-light {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04);
}

body.ym-home .ym-home-projects .ym-link-pill-light:hover {
  background: var(--yh-accent);
  border-color: var(--yh-accent);
  color: #fff !important;
}

body.ym-home .ym-proj-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
  align-items: stretch;
}

body.ym-home .ym-proj-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 292px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #121212;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.ym-home .ym-proj-spotlight:hover {
  border-color: rgba(227, 6, 19, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

body.ym-home .ym-proj-spotlight-media {
  display: block;
  position: relative;
  min-height: 292px;
  overflow: hidden;
  text-decoration: none;
}

body.ym-home .ym-proj-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

body.ym-home .ym-proj-spotlight:hover .ym-proj-spotlight-media img {
  transform: scale(1.04);
}

body.ym-home .ym-proj-spotlight-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px 20px;
  background: linear-gradient(160deg, #151515 0%, #101010 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

body.ym-home .ym-proj-spotlight-panel p,
body.ym-home .ym-proj-card-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ym-home .ym-proj-spotlight-panel p {
  -webkit-line-clamp: 3;
}

body.ym-home .ym-proj-card-body p {
  -webkit-line-clamp: 3;
}

body.ym-home .ym-proj-spotlight-panel h3,
body.ym-home .ym-proj-card-body h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

body.ym-home .ym-proj-spotlight-panel h3 a,
body.ym-home .ym-proj-card-body h3 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.ym-home .ym-proj-spotlight-panel h3 a:hover,
body.ym-home .ym-proj-card-body h3 a:hover {
  color: var(--yh-accent);
}

body.ym-home .ym-proj-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  letter-spacing: 0.03em;
}

body.ym-home .ym-proj-more i {
  color: var(--yh-accent);
  transition: transform 0.2s ease;
}

body.ym-home .ym-proj-more:hover {
  color: #fff;
}

body.ym-home .ym-proj-more:hover i {
  transform: translateX(4px);
}

body.ym-home .ym-proj-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

body.ym-home .ym-proj-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #121212;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

body.ym-home .ym-proj-card:hover {
  border-color: rgba(227, 6, 19, 0.3);
  transform: translateY(-2px);
}

body.ym-home .ym-proj-card-media {
  position: relative;
  display: block;
  min-height: 128px;
  overflow: hidden;
  text-decoration: none;
}

body.ym-home .ym-proj-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

body.ym-home .ym-proj-card:hover .ym-proj-card-media img {
  transform: scale(1.05);
}

body.ym-home .ym-proj-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

body.ym-home .ym-proj-card-body .ym-proj-more {
  margin-top: 2px;
  font-size: 11px;
}

/* ========== BLOG MAGAZINE ========== */
body.ym-home .ym-home-blog {
  background: var(--yh-bg);
}

body.ym-home .ym-home-blog .ym-block-head-row {
  margin-bottom: 16px;
}

body.ym-home .ym-blog-mag {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
  align-items: start;
}

body.ym-home .ym-blog-tile {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--yh-surface);
  border: 1px solid rgba(16, 16, 16, 0.08);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.ym-home .ym-blog-tile:hover {
  border-color: rgba(16, 16, 16, 0.14);
  box-shadow: 0 8px 24px rgba(16, 16, 16, 0.06);
}

body.ym-home .ym-blog-tile.is-featured {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}

body.ym-home .ym-blog-tile:not(.is-featured):nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

body.ym-home .ym-blog-tile:not(.is-featured):nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

body.ym-home .ym-blog-tile:not(.is-featured) {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: stretch;
}

body.ym-home .ym-blog-tile-media {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

body.ym-home .ym-blog-tile.is-featured .ym-blog-tile-media {
  height: 196px;
}

body.ym-home .ym-blog-tile:not(.is-featured) .ym-blog-tile-media {
  height: 100%;
  min-height: 120px;
}

body.ym-home .ym-blog-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

body.ym-home .ym-blog-tile:hover .ym-blog-tile-media img {
  transform: scale(1.03);
}

body.ym-home .ym-blog-tile-shade {
  display: none;
}

body.ym-home .ym-blog-tile-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

body.ym-home .ym-blog-tile.is-featured .ym-blog-tile-body {
  padding: 16px 18px 18px;
  justify-content: flex-start;
}

body.ym-home .ym-blog-tile-date {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yh-accent);
}

body.ym-home .ym-blog-tile-body h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ym-home .ym-blog-tile.is-featured .ym-blog-tile-body h3 {
  font-size: 1.05rem;
  -webkit-line-clamp: 2;
}

body.ym-home .ym-blog-tile-body h3 a {
  color: var(--yh-ink);
  text-decoration: none;
}

body.ym-home .ym-blog-tile-body h3 a:hover {
  color: var(--yh-accent);
}

body.ym-home .ym-blog-tile-excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--yh-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ym-home .ym-blog-tile:not(.is-featured) .ym-blog-tile-excerpt {
  font-size: 12px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

body.ym-home .ym-blog-tile.is-featured .ym-blog-tile-excerpt {
  -webkit-line-clamp: 3;
}

body.ym-home .ym-blog-tile.is-featured .ym-blog-tile-link {
  display: none;
}

body.ym-home .ym-blog-tile-link {
  margin-top: 2px;
  font-size: 12px;
}

/* ========== BRANDS SHOWCASE ========== */
body.ym-home .ym-home-brands {
  background:
    linear-gradient(180deg, var(--yh-bg) 0%, var(--yh-surface) 100%);
}

body.ym-home .ym-brands-shell {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 32px);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--yh-radius);
  background: var(--yh-surface);
  border: 1px solid rgba(16, 16, 16, 0.06);
  box-shadow: 0 24px 64px rgba(16, 16, 16, 0.06);
  overflow: hidden;
}

body.ym-home .ym-brands-head .ym-block-head {
  margin-bottom: 0;
}

body.ym-home .ym-brands-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--yh-radius-md);
  background: linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
  border: 1px solid rgba(16, 16, 16, 0.05);
  padding: 22px 0;
}

body.ym-home .ym-brands-viewport::before,
body.ym-home .ym-brands-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

body.ym-home .ym-brands-viewport::before {
  left: 0;
  background: linear-gradient(90deg, #f3f3f3, transparent);
}

body.ym-home .ym-brands-viewport::after {
  right: 0;
  background: linear-gradient(270deg, #f3f3f3, transparent);
}

body.ym-home .ym-brands-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  padding: 0 24px;
  animation: ymBrandsMarquee 42s linear infinite;
}

body.ym-home .ym-brands-viewport:hover .ym-brands-track {
  animation-play-state: paused;
}

@keyframes ymBrandsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.ym-home .ym-brands-logo {
  flex: 0 0 auto;
  width: clamp(168px, 16vw, 220px);
  height: clamp(84px, 8vw, 108px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(16, 16, 16, 0.06);
  box-shadow: 0 10px 28px rgba(16, 16, 16, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.ym-home .ym-brands-logo:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 6, 19, 0.16);
  box-shadow: 0 18px 40px rgba(16, 16, 16, 0.1);
}

body.ym-home .ym-brands-logo img {
  width: 100%;
  height: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

body.ym-home .ym-brands-logo:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

/* ========== CTA STRIP ========== */
body.ym-home section.ym-home-cta-strip {
  padding: 0 0 clamp(24px, 4vw, 36px);
  background: var(--yh-bg);
}

body.ym-home .ym-home-cta-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.ym-home .ym-cta-pill {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 22px;
  border-radius: var(--yh-radius-md);
  text-decoration: none;
  color: #fff;
  min-height: 160px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.ym-home .ym-cta-pill.red {
  background: linear-gradient(145deg, #e30613, #b8040f);
  box-shadow: 0 16px 40px rgba(227, 6, 19, 0.22);
}

body.ym-home .ym-cta-pill.dark {
  background: linear-gradient(145deg, #171717, #0a0a0a);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

body.ym-home .ym-cta-pill:hover {
  transform: translateY(-4px);
}

body.ym-home .ym-cta-pill-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  opacity: 0.55;
}

body.ym-home .ym-cta-pill-copy strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}

body.ym-home .ym-cta-pill-copy em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.82;
}

/* ========== PRODUCTS / SERVICES use ym-home-card above ========== */

/* Responsive */
@media (max-width: 1199px) {
  body.ym-home .ym-home-products .ym-home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.ym-home .ym-proj-showcase {
    grid-template-columns: 1fr;
  }

  body.ym-home .ym-proj-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ym-home .ym-home-cta-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  body.ym-home .ym-home-bento-wrap .container {
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
  }

  body.ym-home .ym-bento-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 8px 16px 16px;
    margin: 0;
  }

  body.ym-home .ym-bento-strip::-webkit-scrollbar {
    display: none;
  }

  body.ym-home .ym-bento-cell {
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
  }

  body.ym-home .ym-bento-cell:hover {
    transform: none;
  }

  body.ym-home .ym-about-split {
    grid-template-columns: 1fr;
  }

  body.ym-home .ym-blog-mag {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.ym-home .ym-blog-tile.is-featured,
  body.ym-home .ym-blog-tile:not(.is-featured):nth-child(2),
  body.ym-home .ym-blog-tile:not(.is-featured):nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }

  body.ym-home .ym-blog-tile.is-featured {
    grid-row: auto;
  }

  body.ym-home .ym-blog-tile:not(.is-featured) {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  body.ym-home .ym-blog-tile-media,
  body.ym-home .ym-blog-tile.is-featured .ym-blog-tile-media {
    height: auto;
    min-height: 96px;
  }

  body.ym-home .ym-blog-tile.is-featured .ym-blog-tile-media {
    height: 180px;
    min-height: 0;
  }

  body.ym-home .ym-block-head-row {
    align-items: flex-start;
    flex-direction: column;
  }

  body.ym-home .ym-home-products .ym-home-product-filters {
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  body.ym-home .ym-home-products .ym-home-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.ym-home .ym-home-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ym-home .ym-showcase-shell {
    padding: 16px;
    border-radius: 18px;
  }

  body.ym-home .ym-brands-viewport::before,
  body.ym-home .ym-brands-viewport::after {
    width: 36px;
  }

  /* Override legacy yapi-market hero mobile rules */
  body.ym-home .ym-hero--cinema {
    padding: 0 !important;
  }

  body.ym-home .ym-hero--cinema .ym-hero-slides,
  body.ym-home .ym-hero-cinema-viewport {
    min-height: clamp(520px, 82vh, 760px) !important;
  }

  body.ym-home .ym-hero-slide-container {
    min-height: clamp(520px, 82vh, 760px);
    padding-bottom: 130px;
  }

  body.ym-home .ym-hero--cinema .ym-hero-title {
    font-size: clamp(1.65rem, 7vw, 2.4rem) !important;
    margin-bottom: 12px !important;
  }

  body.ym-home .ym-hero--cinema .ym-hero-desc {
    font-size: 14px !important;
    margin-bottom: 18px !important;
  }

  body.ym-home .ym-hero-cinema-controls {
    bottom: 24px;
    width: calc(100% - 32px);
    max-width: 360px;
  }

  body.ym-home .ym-home-bento-wrap {
    margin-top: 0;
    padding-top: 20px;
  }

  body.ym-site .ym-nav {
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  body.ym-site .ym-nav-list > li > a,
  body.ym-site .ym-nav-list > li.has-dropdown > a {
    color: rgba(255, 255, 255, 0.92);
  }

  body.ym-site .ym-nav-list > li > a:hover,
  body.ym-site .ym-nav-list > li.active > a {
    color: #fff;
  }

  body.ym-site .ym-nav-list .dropdown-menu {
    position: static;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    box-shadow: none;
    margin-top: 4px;
  }

  body.ym-site .ym-nav-list .dropdown-menu a {
    color: rgba(255, 255, 255, 0.82);
    padding-left: 28px;
  }

  body.ym-home .ym-about-visual-accent {
    left: -10px;
    bottom: -10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }
}

@media (max-width: 767px) {
  body.ym-home .ym-home-products .ym-home-product-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 360px;
    margin-inline: auto;
  }

  body.ym-home .ym-home-products .ym-catalog-card-media {
    height: 148px;
  }

  body.ym-home .ym-bento-cell {
    flex-basis: min(260px, 82vw);
  }

  body.ym-home .ym-proj-showcase {
    grid-template-columns: 1fr;
  }

  body.ym-home .ym-proj-spotlight {
    grid-template-columns: 1fr;
  }

  body.ym-home .ym-proj-spotlight-media {
    min-height: 220px;
  }

  body.ym-home .ym-proj-spotlight-panel {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  body.ym-home .ym-proj-rail {
    grid-template-columns: 1fr;
  }

  body.ym-home .ym-proj-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  body.ym-home .ym-home-cta-inner {
    grid-template-columns: 1fr;
  }

  body.ym-home .ym-hero-slide-container {
    padding-bottom: 110px;
  }

  body.ym-home .ym-hero-glass-panel {
    padding: 18px;
  }

  body.ym-home .ym-hero--cinema .ym-hero-btns {
    flex-direction: column;
  }

  body.ym-home .ym-hero--cinema .ym-hero-btns .ym-btn {
    width: 100%;
    justify-content: center;
  }

  body.ym-home .ym-home-grid--services {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -2px;
    padding: 2px 2px 10px;
    -webkit-overflow-scrolling: touch;
  }

  body.ym-home .ym-home-grid--services::-webkit-scrollbar {
    display: none;
  }

  body.ym-home .ym-home-grid--services .ym-home-card {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }

  body.ym-home .ym-link-pill {
    width: 100%;
    justify-content: center;
  }
}

body.ym-home .ym-footer-bottom {
  background: #080808;
  border-top-color: rgba(255, 255, 255, 0.08);
}
