/* Brand landing pages — theme-specific layouts */

.brand-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.brand-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.brand-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  animation: brandHeroKen 18s ease-out forwards;
}

@keyframes brandHeroKen {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.brand-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.78) 70%, rgba(10,10,10,.92) 100%);
}

.brand-hero-inner {
  position: relative;
  z-index: 2;
  padding: 7rem 0 4.5rem;
  max-width: 920px;
}

.brand-hero-eyebrow {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .72;
}

.brand-hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.03em;
  color: #fff;
}

.brand-hero-sub {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}

.brand-hero-actions {
  margin-top: 2rem;
}

.brand-hero-reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: brandReveal .8s cubic-bezier(.22,1,.36,1) forwards;
}

.brand-hero-inner > .brand-hero-reveal:nth-child(1) { animation-delay: .15s; }
.brand-hero-inner > .brand-hero-reveal:nth-child(2) { animation-delay: .3s; }
.brand-hero-inner > .brand-hero-reveal:nth-child(3) { animation-delay: .45s; }
.brand-hero-inner > .brand-hero-reveal:nth-child(4) { animation-delay: .6s; }

@keyframes brandReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Yazilim — product studio */
.brand-hero--yz .brand-hero-overlay {
  background:
    linear-gradient(120deg, rgba(245,245,245,.08) 0%, transparent 40%),
    linear-gradient(180deg, rgba(15,18,22,.45) 0%, rgba(10,12,16,.88) 100%);
}

.brand-hero--yz::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 75%);
}

/* Bilgisayar — infrastructure */
.brand-hero--bc {
  background: #12151a;
}

.brand-hero--bc .brand-hero-media img {
  filter: grayscale(1) contrast(1.05) brightness(.55);
  animation: brandHeroPan 22s ease-in-out alternate infinite;
}

@keyframes brandHeroPan {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to { transform: scale(1.1) translate3d(-2%, 1%, 0); }
}

.brand-hero--bc .brand-hero-overlay {
  background:
    linear-gradient(90deg, rgba(18,21,26,.92) 0%, rgba(18,21,26,.55) 55%, rgba(18,21,26,.75) 100%),
    linear-gradient(180deg, transparent 40%, rgba(8,10,12,.9) 100%);
}

.brand-hero-gridlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(140,160,180,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,160,180,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: brandGridDrift 28s linear infinite;
}

@keyframes brandGridDrift {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}

/* Ajans — editorial campaign */
.brand-hero--aj .brand-hero-overlay {
  background:
    linear-gradient(135deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.78) 100%);
}

.brand-hero--aj h1 {
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand-hero--aj .brand-hero-eyebrow {
  color: #d4a017;
  opacity: 1;
}

/* Sections */
.brand-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.brand-section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.brand-section-head h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.brand-section-head p {
  margin: 0;
  color: var(--gray-600, #525252);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.brand-cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--gray-200, #e5e5e5);
}

.brand-cap-list li {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid var(--gray-200, #e5e5e5);
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.brand-cap-list li:nth-child(odd) {
  padding-right: 1.75rem;
  border-right: 1px solid var(--gray-200, #e5e5e5);
}

.brand-cap-list li:nth-child(even) {
  padding-left: 1.75rem;
}

.brand-cap-list strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900, #171717);
}

.brand-cap-list span {
  color: var(--gray-600, #525252);
  line-height: 1.55;
  font-size: .975rem;
}

.brand-caps--bc {
  background: #0f1216;
  color: #f5f5f5;
}

.brand-caps--bc .brand-section-head h2,
.brand-caps--bc .brand-cap-list strong { color: #fff; }
.brand-caps--bc .brand-section-head p,
.brand-caps--bc .brand-cap-list span { color: rgba(255,255,255,.68); }
.brand-caps--bc .brand-cap-list,
.brand-caps--bc .brand-cap-list li,
.brand-caps--bc .brand-cap-list li:nth-child(odd) {
  border-color: rgba(255,255,255,.12);
}

.brand-caps--aj .brand-cap-list li:hover strong {
  color: #b8860b;
}

.brand-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.brand-steps li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand-step-num {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--gray-400, #8a8a8a);
}

.brand-steps strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: .35rem;
}

.brand-steps p {
  margin: 0;
  color: var(--gray-600, #525252);
  line-height: 1.55;
  font-size: .95rem;
}

.brand-process--bc {
  background: #161a20;
  color: #fff;
}

.brand-process--bc .brand-section-head h2,
.brand-process--bc .brand-steps strong { color: #fff; }
.brand-process--bc .brand-section-head p,
.brand-process--bc .brand-steps p,
.brand-process--bc .brand-step-num { color: rgba(255,255,255,.65); }

.brand-process--aj .brand-step-num { color: #b8860b; }

.brand-about-inner {
  max-width: 46rem;
}

.brand-about-inner h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
}

.brand-rich-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-600, #525252);
}

.brand-rich-text p { margin: 0 0 1rem; }

.brand-about--bc {
  background: #0f1216;
  color: #fff;
}

.brand-about--bc h2 { color: #fff; }
.brand-about--bc .brand-rich-text { color: rgba(255,255,255,.72); }

.brand-geo {
  background: var(--gray-50, #fafafa);
}

.brand-geo--bc {
  background: #1a1f27;
  color: #fff;
}

.brand-geo--bc .brand-section-head h2 { color: #fff; }
.brand-geo--bc .brand-geo-text,
.brand-geo--bc .brand-geo-cities { color: rgba(255,255,255,.72); }

.brand-geo--aj {
  background: #0a0a0a;
  color: #fff;
}

.brand-geo--aj .brand-section-head h2 { color: #fff; }
.brand-geo--aj .brand-geo-cities { color: #d4a017; }
.brand-geo--aj .brand-geo-text { color: rgba(255,255,255,.75); }

.brand-geo-cities {
  font-size: .875rem !important;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-500, #636363) !important;
}

.brand-geo-text {
  margin: 0;
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--gray-700, #404040);
}

.brand-faq-section .faq-container {
  max-width: 48rem;
}

.brand-sister-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.brand-sister-link {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-200, #e5e5e5);
  text-decoration: none;
  color: inherit;
  transition: opacity .2s ease;
}

.brand-sister-link:hover { opacity: .72; }

.brand-sister-link img {
  max-width: 140px;
  height: auto;
  margin-bottom: .35rem;
}

.brand-sister-link strong {
  font-size: 1.25rem;
  font-weight: 750;
}

.brand-sister-link span {
  color: var(--gray-600, #525252);
  line-height: 1.5;
}

.brand-sister-link em {
  font-style: normal;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .35rem;
}

.brand-cta-block {
  text-align: left;
}

.brand-cta-block h2 {
  margin: 0 0 .75rem;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-cta-block p {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--gray-600, #525252);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.brand-cta-block--bc {
  background: #0c0e12;
  color: #fff;
}

.brand-cta-block--bc h2 { color: #fff; }
.brand-cta-block--bc p { color: rgba(255,255,255,.7); }

.brand-cta-block--aj {
  background: #0a0a0a;
  color: #fff;
}

.brand-cta-block--aj h2 { color: #fff; }
.brand-cta-block--aj p { color: rgba(255,255,255,.72); }

.brand-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .85rem 1.5rem;
  background: #0a0a0a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.brand-cta-btn:hover {
  background: #262626;
  color: #fff;
}

.brand-cta-btn--light {
  background: #fff;
  color: #0a0a0a;
}

.brand-cta-btn--light:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}

.brand-cta-btn--steel {
  background: #c5ced8;
  color: #10141a;
}

.brand-cta-btn--steel:hover {
  background: #fff;
  color: #10141a;
}

.brand-cta-btn--amber {
  background: #d4a017;
  color: #0a0a0a;
}

.brand-cta-btn--amber:hover {
  background: #e6b422;
  color: #0a0a0a;
}

.brand-cta-block--bc .brand-cta-btn,
.brand-cta-block--aj .brand-cta-btn {
  background: #fff;
  color: #0a0a0a;
}

.brand-cta-block--aj .brand-cta-btn {
  background: #d4a017;
}

@media (max-width: 900px) {
  .brand-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .brand-hero {
    min-height: min(78vh, 680px);
    align-items: flex-end;
  }

  .brand-hero-inner {
    padding: 6rem 0 3rem;
  }

  .brand-cap-list {
    grid-template-columns: 1fr;
  }

  .brand-cap-list li:nth-child(odd),
  .brand-cap-list li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .brand-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .brand-sister-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-hero-media img,
  .brand-hero-gridlines,
  .brand-hero-reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
