/* 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);
}

/* 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: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yh-accent);
  margin-bottom: 14px;
}

body.ym-home .ym-block-head h2,
body.ym-home .ym-block-head-row .ym-block-head h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--yh-ink);
  margin: 0 0 16px;
  text-transform: none;
}

body.ym-home .ym-block-head p {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.75;
  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: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  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: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--yh-ink);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 30px rgba(16, 16, 16, 0.14);
}

body.ym-home .ym-link-pill:hover {
  transform: translateY(-2px);
  background: var(--yh-accent);
  box-shadow: 0 16px 36px rgba(227, 6, 19, 0.28);
}

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 .ym-home-block {
  padding: clamp(64px, 8vw, 110px) 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 .ym-home-bento-wrap {
  position: relative;
  z-index: 5;
  margin-top: -72px;
  padding-bottom: 24px;
}

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: 14px;
  padding: 22px 20px;
  border-radius: var(--yh-radius-md);
  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);
}

/* ========== SERVICES RAIL ========== */
body.ym-home .ym-home-services {
  background: var(--yh-bg);
}

body.ym-home .ym-svc-rail {
  overflow: hidden;
  margin: 0 -8px;
  padding: 8px;
}

body.ym-home .ym-svc-rail-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 8px 16px;
  -webkit-overflow-scrolling: touch;
}

body.ym-home .ym-svc-rail-track::-webkit-scrollbar {
  display: none;
}

body.ym-home .ym-svc-tile {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
  border-radius: var(--yh-radius-md);
  overflow: hidden;
  background: var(--yh-surface);
  border: 1px solid rgba(16, 16, 16, 0.06);
  box-shadow: 0 16px 40px rgba(16, 16, 16, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.ym-home .ym-svc-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(16, 16, 16, 0.12);
}

body.ym-home .ym-svc-tile-media {
  display: block;
  position: relative;
  height: 220px;
  overflow: hidden;
  text-decoration: none;
}

body.ym-home .ym-svc-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

body.ym-home .ym-svc-tile:hover .ym-svc-tile-media img {
  transform: scale(1.08);
}

body.ym-home .ym-svc-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 8, 8, 0.55) 100%);
}

body.ym-home .ym-svc-tile-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

body.ym-home .ym-svc-tile-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.ym-home .ym-svc-tile-body h3 a {
  color: var(--yh-ink);
  text-decoration: none;
}

body.ym-home .ym-svc-tile-body h3 a:hover {
  color: var(--yh-accent);
}

body.ym-home .ym-svc-tile-body p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--yh-muted);
  flex: 1;
}

/* ========== 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 MOSAIC ========== */
body.ym-home .ym-home-projects {
  background: var(--yh-surface);
}

body.ym-home .ym-proj-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, minmax(240px, 280px));
  gap: 18px;
}

body.ym-home .ym-proj-tile.is-featured {
  grid-row: 1 / span 2;
  grid-column: 1;
}

body.ym-home .ym-proj-tile:not(.is-featured):nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

body.ym-home .ym-proj-tile:not(.is-featured):nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

body.ym-home .ym-proj-tile {
  border-radius: var(--yh-radius-md);
  overflow: hidden;
  min-height: 100%;
}

body.ym-home .ym-proj-tile-link {
  display: block;
  position: relative;
  height: 100%;
  min-height: 280px;
  text-decoration: none;
  overflow: hidden;
}

body.ym-home .ym-proj-tile.is-featured .ym-proj-tile-link {
  min-height: 100%;
}

body.ym-home .ym-proj-tile-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

body.ym-home .ym-proj-tile-link:hover img {
  transform: scale(1.06);
}

body.ym-home .ym-proj-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.05) 0%, rgba(8, 8, 8, 0.82) 100%);
}

body.ym-home .ym-proj-tile-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: #fff;
}

body.ym-home .ym-proj-tile-num {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

body.ym-home .ym-proj-tile-content strong {
  display: block;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

body.ym-home .ym-proj-tile-content em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ========== BLOG MAGAZINE ========== */
body.ym-home .ym-home-blog {
  background: var(--yh-bg);
}

body.ym-home .ym-blog-mag {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

body.ym-home .ym-blog-tile {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  border-radius: var(--yh-radius-md);
  overflow: hidden;
  background: var(--yh-surface);
  border: 1px solid rgba(16, 16, 16, 0.06);
  box-shadow: 0 14px 36px rgba(16, 16, 16, 0.05);
}

body.ym-home .ym-blog-tile.is-featured {
  grid-row: 1 / span 2;
  grid-column: 1;
}

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-media {
  display: block;
  position: relative;
  height: 168px;
  flex: 0 0 auto;
  overflow: hidden;
  text-decoration: none;
}

body.ym-home .ym-blog-tile.is-featured .ym-blog-tile-media {
  flex: 1 1 auto;
  height: auto;
  min-height: 220px;
}

body.ym-home .ym-blog-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

body.ym-home .ym-blog-tile:hover .ym-blog-tile-media img {
  transform: scale(1.05);
}

body.ym-home .ym-blog-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 8, 8, 0.18) 100%);
}

body.ym-home .ym-blog-tile-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

body.ym-home .ym-blog-tile-date {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yh-accent);
}

body.ym-home .ym-blog-tile-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  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: clamp(1.25rem, 2vw, 1.65rem);
  -webkit-line-clamp: 3;
}

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: 14px;
  line-height: 1.65;
  color: var(--yh-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ym-home .ym-blog-tile-link {
  margin-top: 2px;
}

/* ========== BRANDS SHOWCASE ========== */
body.ym-home .ym-home-brands {
  padding: clamp(56px, 7vw, 88px) 0;
  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 .ym-home-cta-strip {
  padding: 0 0 clamp(64px, 8vw, 96px);
  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 SHOWCASE ========== */
body.ym-home .ym-home-products {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--yh-surface);
  border-top: 1px solid rgba(16, 16, 16, 0.06);
  border-bottom: 1px solid rgba(16, 16, 16, 0.06);
}

body.ym-home .ym-prod-head {
  margin-bottom: clamp(28px, 4vw, 40px);
}

body.ym-home .ym-prod-head .ym-block-head-row {
  align-items: flex-end;
}

body.ym-home .ym-prod-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.ym-home .ym-prod-nav {
  display: inline-flex;
  gap: 8px;
}

body.ym-home .ym-prod-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(16, 16, 16, 0.12);
  background: #fff;
  color: var(--yh-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

body.ym-home .ym-prod-nav-btn:hover {
  border-color: var(--yh-ink);
  background: var(--yh-ink);
  color: #fff;
}

body.ym-home .ym-prod-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

body.ym-home .ym-prod-rail {
  position: relative;
  overflow: hidden;
  margin: 0 -6px;
  padding: 6px;
}

body.ym-home .ym-prod-rail::before,
body.ym-home .ym-prod-rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

body.ym-home .ym-prod-rail::before {
  left: 0;
  background: linear-gradient(90deg, var(--yh-surface), transparent);
}

body.ym-home .ym-prod-rail::after {
  right: 0;
  background: linear-gradient(270deg, var(--yh-surface), transparent);
}

body.ym-home .ym-prod-track {
  display: flex;
  gap: 16px;
  width: max-content;
  transition: transform 0.42s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

body.ym-home .ym-prod-card {
  flex: 0 0 320px;
  width: 320px;
  max-width: 320px;
}

body.ym-home .ym-prod-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 16, 16, 0.08);
  box-shadow: 0 8px 24px rgba(16, 16, 16, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

body.ym-home .ym-prod-card a:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 16, 16, 0.14);
  box-shadow: 0 16px 40px rgba(16, 16, 16, 0.08);
}

body.ym-home .ym-prod-card-media {
  position: relative;
  margin: 0;
  height: 210px;
  overflow: hidden;
  background: #f4f4f4;
}

body.ym-home .ym-prod-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

body.ym-home .ym-prod-card:hover .ym-prod-card-media img {
  transform: scale(1.04);
}

body.ym-home .ym-prod-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  border-top: 1px solid rgba(16, 16, 16, 0.06);
}

body.ym-home .ym-prod-card-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: var(--yh-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.ym-home .ym-prod-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--yh-ink);
  transition: gap 0.2s ease, color 0.2s ease;
}

body.ym-home .ym-prod-card a:hover .ym-prod-card-link {
  gap: 10px;
  color: var(--yh-accent);
}

body.ym-home .ym-prod-card-link i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

body.ym-home .ym-prod-card a:hover .ym-prod-card-link i {
  transform: translateX(2px);
}

/* Responsive */
@media (max-width: 1199px) {
  body.ym-home .ym-proj-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  body.ym-home .ym-proj-tile.is-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  body.ym-home .ym-proj-tile:not(.is-featured):nth-child(2),
  body.ym-home .ym-proj-tile:not(.is-featured):nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  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;
    grid-template-rows: auto;
  }

  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: span 1;
  }

  body.ym-home .ym-blog-tile-media,
  body.ym-home .ym-blog-tile.is-featured .ym-blog-tile-media {
    flex: 0 0 auto;
    height: 220px;
    min-height: 0;
  }

  body.ym-home .ym-block-head-row {
    align-items: flex-start;
    flex-direction: column;
  }

  body.ym-home .ym-prod-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  body.ym-home .ym-prod-rail::before,
  body.ym-home .ym-prod-rail::after {
    width: 24px;
  }

  body.ym-home .ym-prod-card {
    flex-basis: min(280px, 82vw);
    width: min(280px, 82vw);
    max-width: min(280px, 82vw);
  }

  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-bento-cell {
    flex-basis: min(260px, 82vw);
  }

  body.ym-home .ym-proj-mosaic {
    grid-template-columns: 1fr;
  }

  body.ym-home .ym-proj-tile.is-featured,
  body.ym-home .ym-proj-tile:not(.is-featured):nth-child(2),
  body.ym-home .ym-proj-tile:not(.is-featured):nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }

  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-svc-tile {
    flex-basis: min(300px, 88vw);
  }

  body.ym-home .ym-link-pill {
    width: 100%;
    justify-content: center;
  }
}

body.ym-home .ym-footer-bottom {
  background: var(--yh-bg);
  border-top-color: rgba(16, 16, 16, 0.05);
}
