/* =========================================================
   KARAMİN — global stylesheet
   Editorial holding aesthetic. Warm paper, deep ink, red mark.
   ========================================================= */

/* =========================================================
   MOBILE BURGER & DRAWER
   ========================================================= */
.cms-burger {
  display: none;
  width: 44px; height: 44px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 220;
}
.cms-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink, #1a1a1a);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.cms-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cms-burger.is-active span:nth-child(2) { opacity: 0; }
.cms-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.cms-drawer-close {
  display: none;
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-size: 28px; line-height: 1;
  color: var(--ink, #1a1a1a);
  cursor: pointer;
  z-index: 210;
}

.cms-nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 190;
  animation: cmsFade .25s ease;
}
@keyframes cmsFade { from { opacity: 0; } to { opacity: 1; } }

.cms-drawer-cta { display: none; }
.cms-drawer-contact { display: none; }

@media (max-width: 980px) {
  .cms-burger { display: inline-flex; }
  .cms-header-cta-desktop { display: none !important; }

  /* Mevcut nav-main desktop list'ini gizle */
  .nav-main { display: none; }

  /* Drawer açıldığında full-screen panel */
  .nav-main.is-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 88vw);
    max-width: 100vw;
    background: #fff;
    z-index: 200;
    padding: 80px 24px 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    animation: cmsSlideIn .28s ease;
  }
  @keyframes cmsSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }

  .nav-main.is-open .cms-drawer-close { display: inline-flex; align-items: center; justify-content: center; }

  .nav-main.is-open ul {
    flex-direction: column !important;
    gap: 0 !important;
    width: 100%;
    list-style: none;
    margin: 0; padding: 0;
  }

  .nav-main.is-open .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    position: static !important;
  }

  .nav-main.is-open .nav-item .nav-link {
    width: 100%;
    padding: 18px 8px !important;
    font-size: 16px;
    justify-content: space-between;
  }

  .nav-main.is-open .nav-item .nav-link svg {
    transition: transform .2s;
  }
  .nav-main.is-open .nav-item.is-expanded > .nav-link svg {
    transform: rotate(180deg);
  }

  /* Mobilde mega menü panelini accordion paneli olarak göster */
  .nav-main.is-open .mega {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    padding: 0 !important;
    margin: 0;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .nav-main.is-open .nav-item.is-expanded > .mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 1500px;
    padding: 8px 0 20px !important;
    background: rgba(0,0,0,0.02);
  }

  .nav-main.is-open .mega > div {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 16px;
  }
  .nav-main.is-open .mega-col h4 {
    margin-bottom: 12px !important;
    padding-top: 8px;
  }
  .nav-main.is-open .mega-list {
    gap: 8px !important;
  }
  .nav-main.is-open .mega-list a {
    padding: 8px 0;
    font-size: 14px;
  }

  .nav-main.is-open .cms-drawer-cta {
    display: inline-flex !important;
    width: 100%;
    margin-top: 24px;
    justify-content: center;
    border-radius: 50px;
    padding: 14px 24px;
  }
  .nav-main.is-open .cms-drawer-contact {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 14px;
  }
  .nav-main.is-open .cms-drawer-contact a {
    color: var(--ink, #1a1a1a);
    text-decoration: none;
    padding: 6px 0;
  }
}

/* =========================================================
   GLOBAL: Mobilde H3 içeren konteynerleri yatay slider yap
   (JS .cms-mobi-scroll class'ını ekler — tüm tema geneli)
   ========================================================= */
@media (max-width: 980px) {
  .cms-mobi-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
    grid-auto-flow: column !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px !important;
    padding-bottom: 18px !important;
    padding-right: 24px !important;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
    position: relative;
  }
  .cms-mobi-scroll::-webkit-scrollbar { height: 6px; }
  .cms-mobi-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 3px; }
  .cms-mobi-scroll::-webkit-scrollbar-track { background: transparent; }

  .cms-mobi-scroll > * {
    flex: 0 0 80% !important;
    min-width: 240px !important;
    max-width: 360px;
    scroll-snap-align: start;
    width: auto !important;
    height: auto !important;
  }

  /* Bazı yerleşik grid'ler için override (auto-fit minmax tarzı) */
  .cms-mobi-scroll[style*="grid-template-columns"] {
    grid-template-columns: none !important;
  }
}


:root {
  --ink: #0E0E0E;
  --ink-2: #1A1A1A;
  --ink-3: #2A2A2A;
  --paper: #F4F2EE;
  --paper-2: #EBE7E1;
  --paper-3: #DDD7CF;
  --rule: #CFC9C0;
  --muted: #6B645B;
  --clay: #8B7355;
  --red: #D91E26;
  /* Karamin red — sourced from logo */
  --red-deep: #A8161C;
  --olive: #5A6B3E;
  --cream: #EFE9DD;

  --ff-display: "Noto Serif Display", "Times New Roman", serif;
  --ff-sans: "Inter Tight", "Inter", -apple-system, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1440px;
  --gutter: 40px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* --------- Typography primitives --------- */
.display {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-style: normal;
}

.display em {
  font-style: italic;
  color: var(--red);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 10px;
  vertical-align: 1px;
}

.num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.rule {
  height: 1px;
  background: var(--rule);
  width: 100%;
  border: 0;
}

/* --------- Layout --------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* =========================================================
   TOP BAR  (language, contact hint)
   ========================================================= */
.topbar {
  background: var(--ink);
  color: #BDB7AD;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
}

.topbar a {
  color: #BDB7AD;
  transition: color .2s;
}

.topbar a:hover {
  color: #fff;
}

.topbar .sep {
  display: inline-block;
  width: 1px;
  height: 10px;
  background: #3A3530;
  margin: 0 14px;
  vertical-align: -1px;
}

.topbar .live {
  color: #E8E2D5;
}

.topbar .live .pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(217, 30, 38, .55);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 30, 38, .55);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(217, 30, 38, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(217, 30, 38, 0);
  }
}

/* =========================================================
   HEADER + NAV
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  height: 84px;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 42px;
  width: auto;
}

/* Primary nav */
.nav {
  display: flex;
  gap: 2px;
  justify-content: center;
}

.nav-item {
  position: relative;
  height: 84px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 84px;
  padding: 0 20px;
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink);
  transition: all 0.3s ease;
  position: relative;
}

.nav-item:hover .nav-link {
  color: var(--red);
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
  transform: scaleX(1);
}

.nav-link .caret {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.5;
  transition: transform .25s ease;
}

.nav-item:hover .nav-link .caret {
  transform: rotate(225deg);
  margin-top: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px 12px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background .2s;
}

.nav-cta:hover {
  background: var(--red);
}

.nav-cta .arrow {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.nav-cta .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* Mega menu panel */
.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -6px);
  width: min(1200px, calc(100vw - 80px));
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--red);
  box-shadow: 0 30px 60px -20px rgba(20, 15, 10, .18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.nav-item:hover .megamenu,
.nav-item.open .megamenu {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.mm-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
  min-height: 320px;
}

.mm-feature {
  background: var(--ink);
  color: var(--paper);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.mm-feature .eyebrow {
  color: #B7B0A4;
}

.mm-feature h4 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 14px 0 10px;
}

.mm-feature p {
  font-size: 13.5px;
  color: #C9C2B4;
  max-width: 32ch;
}

.mm-feature .mm-link {
  position: absolute;
  left: 28px;
  bottom: 24px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--red);
}

.mm-col {
  padding: 28px 24px;
  border-left: 1px solid var(--rule);
}

.mm-col h5 {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 500;
}

.mm-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mm-col a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color .18s, padding .2s;
}

.mm-col a .arrow-s {
  width: 14px;
  height: 1px;
  background: var(--ink);
  position: relative;
  opacity: 0;
  transform: translateX(-6px);
  transition: .2s;
}

.mm-col a .arrow-s::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  transform: rotate(45deg);
}

.mm-col a:hover {
  color: var(--red);
  padding-left: 4px;
}

.mm-col a:hover .arrow-s {
  opacity: 1;
  transform: translateX(0);
  background: var(--red);
}

.mm-col a:hover .arrow-s::after {
  border-color: var(--red);
}

.mm-visual {
  border-left: 1px solid var(--rule);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mm-visual .thumb {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, .035) 0 10px, transparent 10px 20px),
    var(--paper-2);
  border: 1px solid var(--rule);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mm-visual .cap {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}

.mm-visual .cap small {
  display: block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  border-bottom: 1px solid var(--rule);
  padding: 80px 0 100px;
  position: relative;
}

.hero .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
}

.hero h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(56px, 8.4vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
}

.hero .lede {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.hero .lede p {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 34ch;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: 120px 0;
  border-bottom: 1px solid var(--rule);
}

.section.dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: #1F1A14;
}

.section.dark .eyebrow {
  color: #B7B0A4;
}

.section.dark .rule {
  background: #2A2520;
}

.section.dark .muted {
  color: #C9C2B4;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 64px;
  align-items: end;
}

.section-head h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  text-wrap: balance;
}

.section-head h2 em {
  font-style: italic;
  color: var(--red);
}

.section-head .lede {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 52ch;
}

.section.dark .section-head .lede {
  color: #C9C2B4;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  border-radius: 2px;
  transition: background .2s, color .2s;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn.primary {
  background: var(--ink);
  color: var(--paper);
}

.btn.primary:hover {
  background: var(--red);
  border-color: var(--red);
}

.btn.light {
  border-color: var(--paper);
  color: var(--paper);
}

.btn.light:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn .arrow {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.btn .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* =========================================================
   CARDS / PLACEHOLDER IMAGERY
   ========================================================= */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(14, 14, 14, .05) 0 10px, transparent 10px 20px),
    var(--paper-2);
  border: 1px solid var(--rule);
  overflow: hidden;
}

.ph.dark {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 10px, transparent 10px 20px),
    #1A1A1A;
  border-color: #2A2520;
}

.ph .tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  padding: 6px 10px;
  border: 1px solid var(--rule);
}

.ph.dark .tag {
  color: #C9C2B4;
  background: #0E0E0E;
  border-color: #2A2520;
}

.ph .idx {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 72px;
  border-bottom: 1px solid #2A2520;
}

.footer h6 {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B7B0A4;
  margin: 0 0 20px;
  font-weight: 500;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a {
  font-size: 14px;
  color: #E8E2D5;
  transition: color .18s;
}

.footer a:hover {
  color: var(--red);
}

.footer .brand-block img {
  height: 40px;
  margin-bottom: 20px;
}

.footer .brand-block p {
  font-size: 14px;
  color: #C9C2B4;
  max-width: 36ch;
  line-height: 1.55;
}

.footer-big {
  font-family: var(--ff-display);
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #1F1A14;
  padding: 48px 0 16px;
  user-select: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid #2A2520;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8B8578;
}

/* =========================================================
   MARQUEE (certification ticker)
   ========================================================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marq 50s linear infinite;
}

.marquee-track span {
  font-family: var(--ff-display);
  font-size: 32px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}

.marquee-track span::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}

@keyframes marq {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   PAGE HEADER (non-home pages)
   ========================================================= */
.page-hero {
  border-bottom: 1px solid var(--rule);
  padding: 88px 0 72px;
}

.page-hero .bc {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.page-hero .bc a:hover {
  color: var(--red);
}

.page-hero .bc .sep {
  margin: 0 10px;
  opacity: .5;
}

.page-hero h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--red);
}

.page-hero .sub {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.page-hero .sub .meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-hero .sub p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 58ch;
}

/* =========================================================
   Util
   ========================================================= */
.muted {
  color: var(--muted);
}

.red {
  color: var(--red);
}

.center {
  text-align: center;
}

.mono {
  font-family: var(--ff-mono);
}

.divider-label {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 48px 0 24px;
}

.divider-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* Responsive basics */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .hero .lede {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .mm-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero .sub {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   KARAMİN — CMS Framework Layer
   Komponentler, mega menü, search, lang switcher, sayfa modülleri,
   h1 layout'ları, footer — btcnc framework'unun karamin token'ları
   üzerinde yeniden boyanmış sürümü.
   ========================================================= */

:root {
  /* btcnc → karamin token bridge */
  --bg: #F4F2EE;
  --bg-soft: #EFE9DD;
  --bg-grey: #EBE7E1;
  --bg-dark: #0E0E0E;
  --bg-deep: #050505;

  --metal-50: #F4F2EE;
  --metal-100: #EBE7E1;
  --metal-200: #DDD7CF;
  --metal-300: #CFC9C0;
  --metal-500: #6B645B;
  --metal-700: #2A2A2A;
  --metal-900: #0E0E0E;

  --line: #CFC9C0;
  --line-dark: #2A2520;

  --yellow: #D91E26;
  /* karamin red as accent */
  --yellow-deep: #A8161C;
  --yellow-soft: #F2C8CB;
  --navy: #0E0E0E;
  --navy-700: #1A1A1A;

  --ink: #0E0E0E;
  --ink-dim: #1A1A1A;
  --ink-mute: #6B645B;
  --ink-light: #F4F2EE;
  --ink-light-dim: #BDB7AD;

  --shadow-1: 0 1px 2px rgba(14, 14, 14, .06), 0 6px 16px -8px rgba(14, 14, 14, .12);
  --shadow-2: 0 20px 60px -24px rgba(14, 14, 14, .18);

  --pad: clamp(20px, 4vw, 48px);
}

/* Framework başlıkları için Bebas Neue yerine karamin display font */
h1,
h2,
h3,
.font-display {
  font-family: "Noto Serif Display", "Times New Roman", serif !important;
  letter-spacing: -0.01em !important;
  font-weight: 400 !important;
}

h3 {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

::selection {
  background: #D91E26;
  color: #fff;
}

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

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit
}

::selection {
  background: var(--yellow);
  color: var(--navy)
}

/* ---- Type system ---- */
.font-display {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  letter-spacing: .02em
}

h1,
h2,
h3 {
  font-family: 'Bebas Neue', 'Anton', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.02;
  color: var(--ink)
}

h2 {
  font-size: clamp(28px, 3.4vw, 46px)
}

h3 {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: .04em;
  text-transform: uppercase
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--yellow)
}

.lead {
  color: var(--ink-dim);
  font-size: 17px;
  max-width: 60ch
}

/* =========================================================
   TOP BAR — minimal, just contact + lang
   ========================================================= */
.topbar {
  position: relative;
  z-index: 101;
  background: var(--navy);
  color: var(--ink-light-dim);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-dark);
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--pad);
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center
}

.topbar a {
  color: var(--ink-light-dim);
  transition: color .15s
}

.topbar a:hover {
  color: var(--yellow)
}

.topbar-sep {
  width: 1px;
  height: 14px;
  background: var(--line-dark)
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid var(--line-dark);
  color: var(--ink-light);
  font-weight: 600
}

.lang::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%
}

.lang:hover {
  border-color: var(--yellow);
  color: var(--yellow)
}

/* =========================================================
   HEADER — light, logo-tone background
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0
}

.brand img {
  height: 54px;
  width: auto;
  filter: none
}

.brand-line {
  display: flex;
  flex-direction: column;
  line-height: 1
}

.brand-line strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: .32em;
  color: var(--ink)
}

.brand-line em {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--metal-500);
  font-style: normal;
  margin-top: 4px;
  text-transform: uppercase
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px
}

.nav-item {
  position: relative
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: .18em;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  text-transform: uppercase;
}

.nav-link svg {
  width: 10px;
  height: 10px;
  opacity: .55;
  transition: transform .2s
}

.nav-item:hover .nav-link,
.nav-link.is-active {
  color: var(--navy);
  border-color: var(--yellow)
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
  opacity: 1
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--navy);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: .22em;
  border: 1px solid var(--navy);
  transition: transform .15s, background .2s;
}

.header-cta:hover {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
  transform: translateY(-1px)
}

.header-cta::after {
  content: "→";
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0
}

/* Mega panel — light */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 680px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 2px solid var(--yellow);
  box-shadow: var(--shadow-2);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
}

.nav-item:hover .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0)
}

.mega-grid {
  display: grid;
  gap: 24px
}

.mega-grid.cols-2 {
  grid-template-columns: 1fr 1fr
}

.mega-grid.cols-3 {
  grid-template-columns: 1fr 1fr 1fr
}

.mega-grid.cols-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr
}

.mega-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-col h4::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--yellow);
  display: inline-block
}

.mega-list {
  display: flex;
  flex-direction: column
}

.mega-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  margin: 0 -10px;
  color: var(--ink-dim);
  font-size: 14px;
  border-radius: 2px;
  transition: background .15s, color .15s, padding .15s;
}

.mega-list a::after {
  content: "→";
  opacity: 0;
  color: var(--yellow);
  transition: opacity .15s, transform .15s
}

.mega-list a:hover {
  background: var(--bg-soft);
  color: var(--navy);
  padding-left: 14px
}

.mega-list a:hover::after {
  opacity: 1;
  transform: translateX(2px)
}

.mega-cta {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.mega-cta a {
  color: var(--navy)
}

.mega-cta a:hover {
  color: var(--yellow);
  text-decoration: underline
}

/* =========================================================
   BREADCRUMB BANNER  (dark, big white H1, watermark)
   ========================================================= */
.crumb {
  position: relative;
  background: linear-gradient(180deg, var(--navy) 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  padding: 80px var(--pad) 60px;
  color: #fff;
}

.crumb::before {
  content: "BT CNC";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(220px, 32vw, 460px);
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.crumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(245, 197, 24, .10), transparent 50%),
    linear-gradient(transparent, rgba(5, 11, 20, .4));
  pointer-events: none;
}

.crumb-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  z-index: 2
}

.crumb-path {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.crumb-path a {
  color: rgba(255, 255, 255, .55)
}

.crumb-path a:hover {
  color: var(--yellow)
}

.crumb-path span.cur {
  color: #fff
}

.crumb-path .sep {
  color: rgba(255, 255, 255, .25)
}

.crumb h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: .95;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.crumb h1 em,
.crumb h1 b,
.crumb h1 span {
  color: #FFFFFF !important;
  font-style: normal;
  -webkit-text-stroke: 0;
  font-weight: inherit
}

.crumb-sub {
  color: rgba(255, 255, 255, .78);
  max-width: 64ch;
  font-size: 17px
}

.crumb-meta {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.crumb-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px
}

.crumb-meta dt {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5)
}

.crumb-meta dd {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: .06em;
  color: #fff
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  padding: 96px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto
}

.section.bg-soft {
  max-width: none
}

.bg-soft {
  background: var(--bg-soft)
}

.bg-grey {
  background: var(--bg-grey)
}

.bg-dark {
  background: var(--navy);
  color: #fff
}

.section-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px var(--pad)
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap
}

.section-head .left {
  max-width: 60%
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(36px, 4.4vw, 60px)
}

.section-head h2 em {
  font-style: normal;
  color: var(--navy)
}

.bg-dark .section-head h2,
.bg-dark h2,
.bg-dark h3 {
  color: #fff
}

.bg-dark .eyebrow {
  color: var(--yellow)
}

.bg-dark .eyebrow::before {
  background: var(--yellow)
}

.bg-dark .lead {
  color: rgba(255, 255, 255, .78)
}

/* Card / module — three tone variants */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

@media (max-width:980px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

.module {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 32px;
  position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.module:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-1)
}

.module.tone-light {
  background: #fff;
  color: var(--ink)
}

.module.tone-grey {
  background: var(--bg-grey);
  color: var(--ink);
  border-color: var(--metal-200)
}

.module.tone-dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy-700)
}

.module.tone-dark h3 {
  color: #fff
}

.module.tone-dark p {
  color: rgba(255, 255, 255, .78)
}

.module.tone-dark .module-num {
  color: var(--yellow)
}

.module.tone-dark ul li {
  color: rgba(255, 255, 255, .78)
}

.module.tone-dark:hover {
  border-color: var(--yellow)
}

.module-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--metal-300);
}

.module h3 {
  margin-bottom: 14px
}

.module p {
  color: var(--ink-dim);
  font-size: 14px
}

.module ul {
  margin-top: 14px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.module ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-dim);
}

.module ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--yellow);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* Image placeholder — light */
.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg, #E6E9EE 0 12px, #F4F6F8 12px 24px);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--metal-500);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.placeholder.dark {
  background: repeating-linear-gradient(135deg, #0F1E33 0 12px, #152A45 12px 24px);
  color: rgba(255, 255, 255, .6);
  border-color: var(--line-dark);
}

.placeholder span {
  position: relative;
  z-index: 2;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line)
}

.placeholder.dark span {
  background: rgba(5, 11, 20, .7);
  border-color: var(--line-dark);
  color: rgba(255, 255, 255, .7)
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid;
  transition: transform .15s, background .2s, color .2s;
}

.btn-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy)
}

.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-1px)
}

.btn-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff
}

.btn-dark:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy)
}

.btn-ghost {
  background: transparent;
  border-color: var(--metal-200);
  color: var(--ink)
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--bg-soft)
}

.bg-dark .btn-ghost,
.crumb .btn-ghost {
  border-color: rgba(255, 255, 255, .25);
  color: #fff
}

.bg-dark .btn-ghost:hover,
.crumb .btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: transparent
}

/* =========================================================
   FORMS — minimal, native
   ========================================================= */
.cms-form {
  font-family: 'Inter', sans-serif;
  color: var(--ink)
}

.cms-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

@media (max-width:780px) {
  .cms-form-row {
    grid-template-columns: 1fr
  }
}

.cms-field {
  margin-bottom: 18px
}

.cms-field label {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-dim);
  margin-bottom: 8px
}

.cms-field label .req {
  color: var(--yellow-deep);
  margin-left: 2px
}

.cms-field input[type=text],
.cms-field input[type=email],
.cms-field input[type=tel],
.cms-field textarea,
.cms-field select {
  width: 100%;
  display: block;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .15s, background .15s;
}

.cms-field input[type=file] {
  font-size: 13px;
  color: var(--ink-dim)
}

.cms-field input:focus,
.cms-field textarea:focus,
.cms-field select:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--bg-soft)
}

.cms-field textarea {
  resize: vertical;
  min-height: 120px
}

.btcnc-hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: none;
  letter-spacing: 0
}

.cms-check label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 500;
  color: var(--ink-dim);
  line-height: 1.5;
  cursor: pointer
}

.cms-check input[type=checkbox] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--yellow-deep)
}

.cms-check a {
  color: var(--navy);
  text-decoration: underline
}

.cms-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px
}

.cms-form-result {
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  font-size: 14px
}

.cms-form-result.is-success {
  background: rgba(16, 185, 129, .08);
  border-color: rgba(16, 185, 129, .4);
  color: #065f46
}

.cms-form-result.is-error {
  background: rgba(220, 38, 38, .08);
  border-color: rgba(220, 38, 38, .4);
  color: #991b1b
}

/* =========================================================
   FOOTER — dark, signature
   ========================================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow) 50%, transparent);
}

.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px var(--pad) 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img {
  height: 54px;
  margin-bottom: 20px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 2px
}

.footer-brand p {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  max-width: 32ch;
  margin-bottom: 24px
}

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.footer-cta b {
  color: var(--yellow);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: .04em;
  font-weight: 400
}

.footer-cta em {
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5)
}

.footer-col span.title {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-col ul a {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  transition: color .15s, padding-left .15s
}

.footer-col ul a:hover {
  color: var(--yellow);
  padding-left: 6px
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px var(--pad);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.footer-bottom b {
  color: var(--yellow);
  font-weight: 700
}

/* =========================================================
   MOBILE / RESPONSIVE
   ========================================================= */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--metal-200);
  background: #fff;
  color: var(--ink);
  margin-left: auto;
}

.burger svg {
  width: 20px;
  height: 20px
}

.mobile-cta {
  display: none
}

@media (max-width:1100px) {
  .header-inner {
    gap: 14px
  }

  .nav-link {
    padding: 14px 12px;
    font-size: 14px;
    letter-spacing: .14em
  }
}

@media (max-width:980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px var(--pad) 32px
  }

  /* Hide desktop nav + CTA on tablet/mobile */
  .nav {
    display: none
  }

  .header-cta {
    display: none
  }

  .burger {
    display: inline-flex
  }

  .header-inner {
    height: 72px
  }

  .brand img {
    height: 44px
  }

  .brand-line strong {
    font-size: 12px;
    letter-spacing: .24em
  }

  .brand-line em {
    font-size: 8px;
    letter-spacing: .22em
  }

  /* Mobile drawer */
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #fff;
    z-index: 200;
    padding: 80px 24px 24px;
    overflow-y: auto;
    align-items: stretch;
    gap: 0;
  }

  .nav.is-open .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--line)
  }

  .nav.is-open .nav-link {
    padding: 18px 4px;
    font-size: 18px;
    letter-spacing: .16em;
    width: 100%;
    justify-content: space-between;
    border-bottom: none;
  }

  .nav.is-open .mega {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    width: 100%;
    border: none;
    border-top: 1px dashed var(--line);
    box-shadow: none;
    padding: 14px 0 22px;
    display: none;
  }

  .nav.is-open .nav-item.is-expanded .mega {
    display: block
  }

  .nav.is-open .nav-item:hover .mega {
    display: none
  }

  .nav.is-open .nav-item.is-expanded .nav-link svg {
    transform: rotate(180deg)
  }

  .nav.is-open .mega-grid {
    grid-template-columns: 1fr !important;
    gap: 18px
  }

  .nav.is-open .mega-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left
  }

  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .mobile-cta .btn {
    width: 100%;
    justify-content: center
  }

  .drawer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--ink);
  }

  .nav.is-open .drawer-close {
    display: inline-flex
  }

  body.no-scroll {
    overflow: hidden
  }

  /* Topbar */
  .topbar-inner {
    padding: 8px 16px;
    gap: 14px;
    justify-content: space-between
  }

  .topbar-inner a:nth-child(3) {
    display: none
  }

  /* hide phone duplicate */
  .topbar-sep {
    display: none
  }

  /* Sections + paddings */
  :root {
    --pad: 20px
  }

  .section,
  .section-wrap {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 64px;
    padding-bottom: 64px
  }

  .section-head {
    margin-bottom: 32px;
    flex-direction: column;
    align-items: flex-start
  }

  .section-head .left {
    max-width: 100%
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 520px;
    padding: 80px 0 0
  }

  .hero-art {
    display: none
  }

  .hero-content {
    padding: 24px 20px 120px
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 64px);
    max-width: 100%
  }

  .hero p.lead {
    font-size: 15px
  }

  .hero-rail-inner {
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 16px
  }

  .hero-progress {
    order: 3;
    width: 100%
  }

  .hero-pip span:not(.bar) {
    display: none
  }

  .hero-counter {
    font-size: 24px
  }

  .hero-arrows button {
    width: 40px;
    height: 40px
  }

  .hero-badge {
    top: 14px;
    right: 14px;
    font-size: 9px;
    letter-spacing: .18em;
    padding: 8px 12px
  }

  /* Stats */
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 28px 20px
  }

  .stat b {
    font-size: 36px
  }

  /* Crumb */
  .crumb {
    padding: 48px 20px 36px
  }

  .crumb h1 {
    font-size: clamp(36px, 9vw, 54px)
  }

  .crumb-sub {
    font-size: 15px
  }

  .crumb-meta {
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px
  }

  .crumb-meta dd {
    font-size: 18px
  }

  .crumb::before {
    font-size: clamp(140px, 40vw, 260px)
  }

  /* CTA band */
  .cta-inner {
    padding: 48px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px
  }

  .cta-inner h2 {
    font-size: clamp(28px, 7vw, 40px)
  }

  .cta-inner .actions {
    width: 100%;
    flex-direction: column
  }

  .cta-inner .actions .btn {
    width: 100%;
    justify-content: center
  }

  /* Module padding */
  .module {
    padding: 24px 22px
  }

  /* Buttons full width on mobile in actions blocks */
  .pd-actions .btn,
  .detail-block .actions .btn {
    width: 100%;
    justify-content: center
  }
}

@media (max-width:640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
  }

  .stats-inner {
    grid-template-columns: 1fr
  }

  .topbar-inner a {
    font-size: 10px;
    letter-spacing: .12em
  }

  .lang {
    padding: 3px 8px;
    font-size: 10px
  }

  .modules-grid {
    grid-template-columns: 1fr !important
  }

  h2 {
    font-size: clamp(26px, 7vw, 36px) !important
  }

  .crumb h1 {
    font-size: clamp(34px, 10vw, 48px)
  }
}

/* Stats strip */
.stats {
  background: var(--navy);
  color: #fff;
}

.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 42px var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid var(--yellow);
  padding-left: 18px
}

.stat b {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 46px;
  letter-spacing: .02em;
  line-height: 1;
  color: #fff;
  font-weight: 400
}

.stat b sup {
  color: var(--yellow);
  font-size: 18px;
  margin-left: 2px;
  top: -12px;
  position: relative
}

.stat span {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6)
}

@media (max-width:780px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr
  }
}

/* =========================================================
   CREATIVE OVERLAP SLIDER (Imported from BT CNC)
   ========================================================= */
.ps-creative-slider {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 580px;
  max-height: 850px;
  background: var(--ink, #0E0E0E);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ps-c-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
  z-index: 1;
  display: flex;
  align-items: center;
}

.ps-c-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Background Typography (Yaratıcı detay) */
.ps-c-bg-text {
  position: absolute;
  left: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 25vw;
  color: rgba(255, 255, 255, 0.015);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  font-weight: bold;
}

/* Media Area: Sağda %65 genişlik, asimetrik yuvarlak hat */
.ps-c-media {
  position: absolute;
  right: 0;
  top: 5%;
  bottom: 5%;
  width: 65%;
  border-radius: 40px 0 0 40px;
  overflow: hidden;
  box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateX(100px) scale(0.95);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s;
}

.ps-c-slide.is-active .ps-c-media {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.ps-c-media video,
.ps-c-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.1);
  transition: transform 10s ease-out;
}

.ps-c-slide.is-active .ps-c-media video,
.ps-c-slide.is-active .ps-c-media img {
  transform: scale(1);
}

/* Content Area */
.ps-c-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw, 1440px);
  margin: 0 auto;
  padding: 0 var(--gutter, 40px);
}

/* Yüzen Cam Kart - Görselin Üzerine Taşıyor */
.ps-c-card {
  width: 50%;
  background: rgba(14, 14, 14, 0.65);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s, opacity 1.2s 0.1s;
}

.ps-c-slide.is-active .ps-c-card {
  transform: translateX(0);
  opacity: 1;
}

/* Tipografi */
.ps-c-eyebrow {
  color: var(--red, #D91E26);
  font-family: var(--ff-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ps-c-eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--red, #D91E26);
}

.ps-c-title {
  font-family: var(--ff-display), serif;
  font-size: clamp(40px, 6vw, 85px);
  line-height: 1.1;
  margin: 0 0 24px 0;
  color: #fff;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.ps-c-title .t1 {
  display: block;
}

.ps-c-title .t2 {
  color: var(--red, #D91E26);
  display: block;
  font-style: italic;
  font-size: 0.9em;
  margin: -0.1em 0;
}

.ps-c-title .t3 {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  font-size: 0.35em;
  font-family: var(--ff-display), serif;
  font-weight: 400;
  margin-top: 16px;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-transform: none;
}

.ps-c-lead {
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 40px 0;
  font-weight: 300;
}

.ps-c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: #fff;
  color: #0E0E0E;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.ps-c-btn:hover {
  background: var(--red, #D91E26);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(217, 30, 38, 0.3);
}

/* Card içi Navigasyon */
.ps-c-nav {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-c-pips {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 240px;
}

.ps-c-pip {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
  padding: 0;
}

.ps-c-pip::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--red, #D91E26);
}

.ps-c-pip.is-active::after {
  animation: psc-fill 7s linear forwards;
}

@keyframes psc-fill {
  to {
    width: 100%;
  }
}

.ps-c-arrows {
  display: flex;
  gap: 12px;
}

.ps-c-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ps-c-arrow:hover {
  background: #fff;
  color: #0E0E0E;
  border-color: #fff;
}

.ps-c-arrow svg {
  width: 14px;
  height: 14px;
}

/* Mobile Optimizations */
@media (max-width: 980px) {
  .ps-creative-slider {
    height: auto;
    min-height: 90vh;
    padding: 60px 0;
    display: block;
    background: var(--ink);
  }

  .ps-c-slide {
    position: relative;
    padding: 0 20px;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .ps-c-slide.is-active {
    display: flex;
    flex-direction: column;
  }

  .ps-c-bg-text {
    display: none;
  }

  .ps-c-media {
    position: relative;
    width: 100%;
    height: 320px;
    right: auto;
    top: auto;
    bottom: auto;
    border-radius: 24px;
    margin-bottom: -60px;
    z-index: 1;
    transform: translateY(30px);
  }

  .ps-c-slide.is-active .ps-c-media {
    transform: translateY(0);
  }

  .ps-c-content-wrapper {
    padding: 0;
  }

  .ps-c-card {
    width: 100%;
    padding: 60px 30px 40px;
    z-index: 2;
    background: rgba(14, 14, 14, 0.9);
    transform: translateY(30px);
    border-radius: 24px;
  }

  .ps-c-slide.is-active .ps-c-card {
    transform: translateY(0);
  }

  .ps-c-title {
    font-size: clamp(36px, 9vw, 56px);
  }

  .ps-c-title .t2,
  .ps-c-title .t3 {
    display: inline;
  }
}

/* =========================================================
   PREMIUM H1 HERO SYSTEMS (Next-Gen Layouts)
   ========================================================= */
.h1-hero {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: var(--paper);
}

.h1-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Layout 1: Editorial Asymmetric */
.h1-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Cover img / media yoksa içerik tam genişlik kaplar */
.h1-editorial.h1-editorial--full {
  grid-template-columns: 1fr;
  gap: 0;
}
.h1-editorial.h1-editorial--full .h1-editorial-content {
  max-width: 1100px;
  margin: 0 auto;
}
.h1-editorial.h1-editorial--full .h1-editorial-bg-text {
  width: 100%;
}

.h1-editorial-content {
  position: relative;
  z-index: 10;
}

.h1-editorial-bg-text {
  position: absolute;
  top: -50px;
  left: -20px;
  font-size: 10vw;
  font-family: var(--ff-display);
  color: rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  z-index: -1;
  pointer-events: none;
}

.h1-editorial h1 {
  font-family: var(--ff-display);
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95;
  margin-bottom: 30px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.h1-editorial .lead {
  font-size: clamp(18px, 1.4vw, 22px);
  color: rgba(0, 0, 0, 0.7);
  max-width: 500px;
  line-height: 1.6;
}

.h1-editorial-media {
  position: relative;
}

.h1-editorial-img-frame {
  position: relative;
  padding-top: 120%;
  /* Portrait feel */
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}

.h1-editorial-img-frame img,
.h1-editorial-img-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h1-editorial-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: var(--red);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(60px);
}

/* Layout 2: Split Cinematic */
.h1-split {
  display: flex;
  min-height: 85vh;
  padding: 0;
  background: #000;
  color: #fff;
  overflow: hidden;
}

.h1-split-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 10%;
  background: var(--ink);
  position: relative;
  z-index: 10;
}

.h1-split-content::after {
  content: '';
  position: absolute;
  right: -50px;
  top: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(90deg, var(--ink), transparent);
  z-index: 5;
}

.h1-split-media {
  flex: 1.2;
  position: relative;
  overflow: hidden;
}

.h1-split-media img,
.h1-split-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 10s ease;
}

.h1-split:hover .h1-split-media img {
  transform: scale(1);
}

.h1-split h1 {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5.5vw, 85px);
  margin: 20px 0;
  line-height: 0.95;
  color: #fff;
}

.h1-split .glass-meta {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Layout 3: Floating Cinematic Card */
.h1-floating {
  position: relative;
  height: 90vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.h1-floating-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.h1-floating-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.h1-floating-bg img,
.h1-floating-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.h1-floating-card {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  padding: 80px;
  border-radius: 50px;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  opacity: 0;
  animation: h1-float-up 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes h1-float-up {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.h1-floating-card h1 {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.5vw, 72px);
  margin-bottom: 24px;
  color: var(--ink);
  line-height: 1;
}

/* Layout 4: Minimalist Mask */
.h1-mask {
  padding: 120px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.h1-mask-img {
  position: relative;
  height: 600px;
  border-radius: 300px 300px 0 0;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.h1-mask-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Common UI Elements */
.h1-eyebrow {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 11px;
  color: var(--red);
  margin-bottom: 20px;
  display: block;
}

.h1-btn-group {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

/* Mobile Optimizations */
@media (max-width: 980px) {
  .h1-hero {
    padding: 60px 0;
  }

  .h1-editorial,
  .h1-mask {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .h1-editorial .lead {
    margin: 0 auto;
  }

  .h1-editorial-bg-text {
    display: none;
  }

  .h1-split {
    flex-direction: column;
    min-height: auto;
  }

  .h1-split-content {
    padding: 60px 20px;
    text-align: center;
  }

  .h1-split-content::after {
    display: none;
  }

  .h1-split-media {
    height: 400px;
  }

  .h1-floating-card {
    padding: 60px 20px;
    border-radius: 0;
    width: 100%;
    margin: 20px;
  }
}

/* =========================================================
   PREMIUM MODULAR COMPONENTS
   ========================================================= */

/* Sophisticated Headings */
.section-head-v2 {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.section-head-v2 .left {
  flex: 1;
}

.section-head-v2 h2 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  margin-top: 15px;
  color: var(--ink);
}

.section-head-v2 .lede {
  max-width: 500px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

/* Premium Counters */
.comp-counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.counter-card {
  position: relative;
  padding: 60px 40px;
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.counter-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  border-color: var(--red);
}

.counter-card .bg-num {
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 150px;
  font-family: var(--ff-display);
  color: rgba(0, 0, 0, 0.02);
  z-index: 1;
  line-height: 1;
  font-weight: bold;
  pointer-events: none;
}

.counter-card .v {
  font-family: var(--ff-display);
  font-size: 72px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
}

.counter-card .v sup {
  font-size: 28px;
  color: var(--red);
  margin-left: 4px;
  top: -0.5em;
}

.counter-card .l {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

/* Premium Split Section */
.comp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
}

.comp-split-content {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comp-split-media {
  position: relative;
  min-height: 500px;
}

.comp-split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modern Gallery */
.comp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 350px;
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: #fff;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

/* Contact Premium Card */
.comp-contact-card {
  background: #fff;
  border-radius: 50px;
  padding: 80px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Mobile Optimizations */
@media (max-width: 980px) {

  .comp-split,
  .comp-contact-card {
    grid-template-columns: 1fr;
  }

  .comp-split-content,
  .comp-contact-card {
    padding: 60px 24px;
  }

  .comp-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 250px;
    gap: 15px;
  }

  .gallery-item.large {
    grid-column: auto;
    grid-row: auto;
  }
}

/* =========================================================
   PREMIUM PRODUCT SYSTEMS
   ========================================================= */

/* High-End Product Hero */
.comp-pd-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding: 100px 0;
  align-items: flex-start;
}

.pd-gallery-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pd-gallery-v2 .main-img {
  grid-column: span 2;
  aspect-ratio: 4/5;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.pd-gallery-v2 .thumb-img {
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
}

.pd-gallery-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-info-v2 {
  position: sticky;
  top: 100px;
}

.pd-info-v2 .pd-category {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 11px;
  color: var(--red);
  margin-bottom: 20px;
}

.pd-info-v2 h1 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 56px);
  margin-bottom: 24px;
  color: var(--ink);
  line-height: 1.1;
}

.pd-spec-v2 {
  margin-top: 50px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pd-spec-row {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pd-spec-row .label {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(0, 0, 0, 0.4);
}

.pd-spec-row .value {
  font-weight: 500;
  color: var(--ink);
}

/* Feature Grid Modern */
.comp-pd-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.pd-feature-card {
  background: #fff;
  padding: 50px;
  border-radius: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.5s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.pd-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

@media (max-width: 980px) {
  .comp-pd-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pd-info-v2 {
    position: static;
  }
}

/* =========================================================
   PREMIUM SERVICE SYSTEMS
   ========================================================= */

/* High-End Sector Grid */
.comp-sectors-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sector-card-v2 {
  position: relative;
  height: 500px;
  border-radius: 40px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.sector-card-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sector-card-v2:hover img {
  transform: scale(1.1);
}

.sector-card-v2-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 60%);
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  transition: background 0.5s ease;
}

.sector-card-v2-overlay .num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 4px;
  opacity: 0.5;
  margin-bottom: 20px;
}

.sector-card-v2-overlay h3 {
  font-family: var(--ff-display);
  font-size: 32px;
  line-height: 1;
  margin-bottom: 20px;
  color: #fff;
}

.sector-card-v2-overlay .features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sector-card-v2:hover .sector-card-v2-overlay .features {
  opacity: 0.8;
  transform: translateY(0);
}

.sector-card-v2-overlay .features span::before {
  content: '— ';
  color: var(--red);
}

@media (max-width: 980px) {
  .comp-sectors-v2 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ADVANCED MODULAR PATTERNS
   ========================================================= */

/* Premium Accordions (FAQ) */
.comp-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

.faq-item {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--red);
}

.faq-item summary {
  padding: 30px 40px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  color: var(--ink);
  font-family: var(--ff-display);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  width: 32px;
  height: 32px;
  background: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  color: var(--red);
  transition: transform 0.4s ease;
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
  background: var(--red);
  color: #fff;
}

.faq-item .answer {
  padding: 0 40px 40px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.6);
}

/* Premium Tabs (Product/Service) */
.comp-tabs {
  margin-top: 60px;
}

.tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.tab-trigger {
  padding: 15px 30px;
  border-radius: 15px 15px 0 0;
  background: transparent;
  border: none;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  color: rgba(0, 0, 0, 0.4);
}

.tab-trigger.is-active {
  background: var(--ink);
  color: #fff;
}

/* Premium Story / Timeline */
.comp-story-track {
  position: relative;
  padding: 60px 0;
}

.story-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.story-year {
  font-family: var(--ff-display);
  font-size: 32px;
  color: var(--red);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.story-card {
  background: #fff;
  padding: 60px;
  border-radius: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
}

/* Modern Marquee */
.comp-marquee {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  padding: 40px 0;
  background: var(--ink);
  color: #fff;
}

.marquee-track {
  display: flex;
  animation: marquee-scroll 30s linear infinite;
  gap: 60px;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* Premium Mega Menu Architecture - FIXED INTERACTION */
.mega {
  position: absolute;
  top: 100%; /* Flush with bottom of nav-item — no visual gap */
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
  border-radius: 0 0 40px 40px;
  padding: 60px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 1000;
}

/* Centered mega (for full mega menu) */
.mega.mega--center {
  left: 50%;
  transform: translateX(-50%) translateY(8px);
}

/* Left-aligned dropdown */
.mega.mega--start {
  left: 0;
}

/* Hover bridge — covers the space inside nav-item AND the small offset above mega.
   We use the nav-item's own ::after so the bridge stays hoverable even when mega is hidden. */
.nav-item {
  position: relative;
}
.nav-item::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 24px;
  background: transparent;
  pointer-events: none;
  z-index: 999;
}
.nav-item:hover::after {
  pointer-events: auto;
}

/* Activate mega on nav-item hover (works because nav-item now has a bridge) */
.nav-item:hover > .mega,
.nav-item:focus-within > .mega,
.mega:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item:hover > .mega.mega--center,
.nav-item:focus-within > .mega.mega--center,
.mega.mega--center:hover {
  transform: translateX(-50%) translateY(0);
}

.mega-col h4 {
  font-family: var(--ff-sans);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ink);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mega-col h4::after {
  content: "";
  height: 1px;
  background: var(--red);
  flex: 1;
}

.mega-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mega-list a {
  font-family: var(--ff-sans);
  font-size: 15px;
  font-weight: 500;
  color: rgba(0,0,0,0.6);
  transition: all 0.25s ease;
}

.mega-list a:hover {
  color: var(--red);
  padding-left: 8px;
}

/* CLEANUP OLD HOVERS */
header .nav-main>ul>li>a:hover,
header .nav-main>ul>li>a {
  background: transparent !important;
  border-radius: 0 !important;
}

@media (max-width: 980px) {
  .story-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-year {
    position: static;
    margin-bottom: 20px;
  }

  .story-card {
    padding: 30px;
  }
}

/* Global Premium Headings */
.premium-h {
  font-family: var(--ff-display), serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--ink);
}

.comp-dark .premium-h {
  color: #fff;
}

.section-head-v2 h2 {
  font-family: var(--ff-display), serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--ink);
}

.comp-dark .section-head-v2 h2 {
  color: #fff;
}

/* Utility Classes for removing inline styles */
.text-white {
  color: #fff !important;
}

.text-dim {
  color: rgba(0, 0, 0, 0.6) !important;
}

.text-dim-white {
  color: rgba(255, 255, 255, 0.6) !important;
}

.margin-top-md {
  margin-top: 30px !important;
}

.margin-bottom-md {
  margin-bottom: 30px !important;
}

.center-items {
  display: flex;
  justify-content: center;
  text-align: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.object-cover {
  object-fit: cover !important;
}

/* =========================================================
   GLOBAL UI MODERNIZATION
   ========================================================= */

/* Topbar Cinematic */
.topbar {
  background: #f8f8f8;
  color: rgba(0, 0, 0, 0.5);
  padding: 10px 0;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.topbar b {
  color: var(--red);
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
}

/* Espectacular Header & Menu */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 0;
  transition: all 0.4s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-line strong {
  font-family: var(--ff-display);
  font-size: 20px;
}

.brand-line em {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 2px;
}

/* Rounded Menu Links */
.nav-link {
  font-family: var(--ff-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  padding: 12px 24px !important;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover {
  background: rgba(217, 30, 38, 0.05);
  color: var(--red) !important;
}

/* Search Button & Overlay */
.cms-search-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.cms-search-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(217, 30, 38, 0.05);
}

.cms-search-btn svg {
  width: 18px;
  height: 18px;
}

.cms-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 24px;
}

.cms-search-overlay[hidden] {
  display: none;
}


/* Spectacular Mega Menu */
.mega {
  border-radius: 40px !important;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1) !important;
  background: #fdfcf8 !important;
  /* Cream tone */
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 50px !important;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: absolute;
  top: 100%;
}


.nav-item:hover .mega {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mega h4 {
  font-family: var(--ff-display);
  color: var(--red);
  font-size: 18px;
  margin-bottom: 25px;
}

.mega-list a {
  color: rgba(10, 22, 40, 0.6) !important;
  font-size: 15px;
  padding: 10px 0;
  display: block !important;
  transition: all 0.3s ease;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.mega-list a:hover {
  color: var(--red) !important;
  padding-left: 10px !important;
  background: transparent !important;
}


/* Footer with Background Text */
.site-footer {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 120px 0 60px;
  overflow: hidden;
}

.site-footer::before {
  content: 'KARAMIN';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-size: 14vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  z-index: 0;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.footer-top {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 20px 0;
}

.footer-col .title {
  font-family: var(--ff-display);
  font-size: 20px;
  margin-bottom: 30px;
  display: block;
  color: #fff;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--red);
  padding-left: 5px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 100px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer::before {
    font-size: 20vw;
    bottom: -10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* --- Premium Split Editorial (div-split) --- */
.ds-section {
  background: #fff;
  padding: 140px 0;
  border-bottom: 1px solid var(--rule);
}

.ds-header {
  text-align: center;
  margin-bottom: 100px;
}

.ds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 80px;
}

.ds-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.ds-side-info {
  position: sticky;
  top: 120px;
  display: flex;
  gap: 20px;
}

.ds-num-accent {
  width: 40px;
  height: 1px;
  background: var(--red);
  margin-top: 15px;
  flex-shrink: 0;
}

.ds-side-title {
  font-family: var(--ff-display);
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--ink);
}

.ds-side-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}

.ds-main-block {
  background: #fbfbfb;
  border-radius: 60px;
  overflow: hidden;
  padding-bottom: 60px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.ds-img-wrap {
  height: 500px;
  overflow: hidden;
}

.ds-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ds-item:hover .ds-img-wrap img {
  transform: scale(1.05);
}

.ds-content-wrap {
  padding: 60px;
}

.ds-block-title {
  font-family: var(--ff-display);
  font-size: 40px;
  margin-bottom: 25px;
  line-height: 1.1;
  color: var(--ink);
}

.ds-block-content {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 40px;
}

.ds-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ds-tag-box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 24px;
  border-radius: 4px;
  /* Square boxes as requested */
  font-family: var(--ff-mono);
  font-size: 11px;
  text-transform: none;
  /* No capitalization */
  letter-spacing: 2px;
  color: var(--muted);
  transition: all .3s ease;
}

.ds-tag-box:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .ds-item {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ds-side-info {
    position: static;
  }

  .ds-content-wrap {
    padding: 40px;
  }

  .ds-img-wrap {
    height: 350px;
  }
}

/* --- Premium Farmers --- */
.farmers-premium-section {
  padding: 140px 0;
  background-color: #fdfcf8;
  overflow: hidden;
}

.farmers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 80px 40px;
  margin-top: 100px;
}

.farmer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.farmer-image-wrap {
  width: 280px;
  height: 280px;
  margin-bottom: 40px;
  position: relative;
}

.farmer-image-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(var(--red-rgb), 0.1);
  border-radius: 50%;
  z-index: 0;
  transition: transform 0.6s ease;
}

.farmer-card:hover .farmer-image-wrap::before {
  transform: scale(1.1);
}

.farmer-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 12px solid #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.farmer-info h4 {
  font-family: var(--ff-display);
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 15px;
  color: var(--ink);
}

.farmer-info .item-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.7;
  max-width: 360px;
  margin: 0 auto 30px;
}

.module-subheadings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px auto;
  max-width: 1000px;
}

.sub-card-premium {
  background: #fff;
  padding: 40px;
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.sub-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border-color: var(--red);
}

.inner-subheadings {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.inner-pill {
  background: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  gap: 10px;
}

.inner-pill span {
  color: var(--red);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Premium Hero Numbers --- */
.hero-numbers-full {
  padding: 160px 80px;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hn-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 80px 40px;
  margin-top: 100px;
  width: 100%;
}

.hn-item-full {
  position: relative;
  transition: all 0.4s ease;
  padding: 0;
  border: none;
}

.hn-value-full {
  font-family: var(--ff-display);
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 800;
  line-height: 0.85;
  color: #fff;
  margin-bottom: 15px;
  display: flex;
  align-items: baseline;
  letter-spacing: -2px;
}

.hn-unit-full {
  font-size: 0.35em;
  color: var(--red);
  margin-left: 8px;
  font-weight: 400;
}

.hn-label-full {
  font-family: var(--ff-display);
  font-size: 18px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  max-width: 280px;
}

.hn-accent-full {
  display: none;
}

/* --- Premium Marquee --- */
.comp-marquee {
  background: #f0f0f0;
  padding: 30px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.marquee-item {
  color: #000 !important;
  text-transform: none !important;
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 700;
  margin-right: 60px;
  white-space: nowrap;
}

/* --- Premium Story (History) --- */
.story-section {
  padding: 140px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.story-head-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.story-main-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 60px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.story-grid {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 100px;
}

.story-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.story-text {
  max-width: 540px;
}

.story-title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6vw, 84px);
  color: var(--red);
  line-height: 0.9;
  margin-bottom: 35px;
  letter-spacing: -2px;
}

.story-content {
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.8;
}

.story-media {
  position: relative;
}

.story-media img {
  border-radius: 60px;
  width: 100%;
  height: 600px;
  object-fit: cover;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s ease;
}

.story-item:hover .story-media img {
  transform: scale(1.02);
}

.story-children {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}

.story-child-box {
  background: #fff;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
  transition: all .3s ease;
}

.story-child-box:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
}

.story-child-box h5 {
  font-family: var(--ff-display);
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--red);
}

.story-child-box .child-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .story-item {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .story-media img {
    height: 400px;
  }

  .story-children {
    grid-template-columns: 1fr;
  }
}

/* --- Premium CTA --- */
.cta-box {
  background: var(--ink);
  border-radius: 80px;
  padding: 140px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-media-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(40px, 6vw, 84px);
  color: #fff;
  line-height: 0.95;
  margin: 30px 0;
  letter-spacing: -2px;
}

.cta-lead {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.cta-btn-primary {
  background: #fff;
  color: var(--ink) !important;
  padding: 22px 50px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-btn-primary:hover {
  background: var(--red);
  color: #fff !important;
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(var(--red-rgb), 0.4);
}

.cta-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff !important;
  padding: 22px 50px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .cta-box {
    padding: 80px 30px;
    border-radius: 40px;
  }

  .cta-title {
    font-size: 48px;
  }
}
/* --- Premium Editorial Hero Refinements (Layout 1) - ENHANCED --- */
.h1-editorial-section { 
    background: var(--paper); 
    padding: 160px 0; 
    position: relative;
    overflow: hidden;
}

.h1-editorial { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 120px; 
    align-items: center; 
}

.h1-editorial-content { 
    position: relative; 
    z-index: 10; 
    max-width: 640px;
}

/* Premium Breadcrumb Styling */
.crumb-path {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: var(--ff-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.crumb-path a {
    color: var(--muted);
    transition: color 0.3s ease;
}

.crumb-path a:hover {
    color: var(--red);
}

.crumb-path .sep {
    color: var(--red);
    font-weight: 800;
}

.crumb-path span:not(.sep) {
    color: var(--ink);
    font-weight: 700;
}

.h1-editorial h1 { 
    font-family: var(--ff-display); 
    font-size: clamp(50px, 6vw, 94px); 
    line-height: 0.95; 
    letter-spacing: -3px; 
    margin: 20px 0 40px; 
    color: var(--ink); 
    font-weight: 800;
}

.h1-editorial h1 .accent-word {
    color: var(--red);
}

.h1-editorial-bg-text { 
    position: absolute; 
    top: -120px; 
    left: 0;
    width: 100vw;
    font-size: 20vw; 
    font-family: var(--ff-display); 
    color: rgba(0,0,0,0.03); 
    white-space: nowrap; 
    z-index: -1; 
    pointer-events: none; 
    font-weight: 900;
    line-height: 1;
    overflow: hidden;
    display: flex;
}

.h1-editorial-bg-text span {
    display: inline-block;
    animation: marquee-scroll 100s linear infinite;
    padding-left: 0;
}

/* Beautifying Content Lists - High Visibility */
.page-content {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 50px;
}

.page-content ul { 
    list-style: none !important; 
    padding: 40px !important; 
    margin: 40px 0 !important; 
    border: 1px solid var(--rule); 
    background: rgba(0,0,0,0.02);
    border-radius: 40px;
    position: relative;
}

.page-content ul li { 
    font-family: var(--ff-mono) !important; 
    font-size: 15px !important; 
    color: var(--ink) !important; 
    margin-bottom: 20px !important; 
    position: relative; 
    display: flex; 
    align-items: flex-start; 
    gap: 20px;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.page-content ul li::before { 
    content: "0" counter(list-item); 
    counter-increment: list-item;
    font-size: 10px;
    font-weight: 800;
    color: var(--red); 
    margin-top: 4px;
    font-family: var(--ff-mono);
}

.page-content ul li:last-child { margin-bottom: 0 !important; }

.h1-meta-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    border-top: 1px solid var(--rule);
    padding-top: 40px;
    margin-top: 60px;
}

.h1-meta-list div {
    font-family: var(--ff-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.h1-meta-list div strong {
    color: var(--ink);
    font-size: 14px;
}

@media (max-width: 1100px) {
    .h1-editorial { grid-template-columns: 1fr; gap: 80px; text-align: center; }
    .h1-editorial-content { margin: 0 auto; }
    .page-content ul { text-align: left; }
    .h1-editorial-bg-text { display: none; }
}

