/* BERKAL AKADEMI — THEME OVERRIDE v3 */
:root {
  --x-navy: #061d38;
  --x-navy-2: #0a2748;
  --x-navy-3: #04132a;
  --x-gold: #d9b560;
  --x-gold-2: #e8c980;
  --x-gold-soft: rgba(217, 181, 96, .18);
  --x-text: #0f2238;
  --x-mute: #5b6e84;
  --x-line: rgba(168, 151, 108, .22);
  --x-cream: #f6f4f0;
  --x-white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  color: var(--x-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background: #fff;
  margin: 0;
  padding: 0;
}

.container {
  width: min(1320px, calc(100% - 44px));
  margin-inline: auto;
}

#site-header-slot {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
}

/* HEADER */
.header-pro {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 78px;
  background: rgba(6, 29, 56, .94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 181, 96, .12) !important;
  display: flex;
  align-items: center;
  padding-inline: clamp(20px, 3vw, 38px);
  transition: height .3s ease, background .3s ease;
}

.header-pro.scrolled {
  height: 64px;
  background: rgba(6, 29, 56, .98) !important;
}

.logo-shape-exact {
  height: 60px;
  width: 170px;
  padding: 8px 22px 8px 14px;
  background: #fff;
  border-radius: 3px;
  margin-top: -10px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-shape-exact img {
  max-height: 40px;
  width: auto;
}

.nav-pro {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 700;
}

.nav-pro>a,
.nav-pro .has-sub>a {
  color: rgba(255, 255, 255, .86) !important;
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
  white-space: nowrap;
}

.nav-pro>a:hover,
.nav-pro .has-sub:hover>a,
.nav-pro a.active-link {
  color: var(--x-gold) !important;
}

.nav-pro>a::after {
  display: none !important;
}

.nav-pro .nav-icon-box {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
  border-radius: 2px;
  color: rgba(255, 255, 255, .85) !important;
  transition: .25s ease;
  margin-left: 6px;
}

.nav-pro .nav-icon-box:hover {
  border-color: var(--x-gold);
  background: rgba(217, 181, 96, .1);
  color: var(--x-gold) !important;
}

.nav-pro .nav-icon-box::after {
  display: none !important;
}

.nav-pro .nav-icon-box svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.6;
}

.nav-pro .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-left: 6px;
}

.nav-pro .lang-switch a {
  padding: 4px 4px !important;
  background: transparent !important;
  color: rgba(255, 255, 255, .55) !important;
  font-weight: 800;
  letter-spacing: .4px;
  transition: color .2s ease;
}

.nav-pro .lang-switch a.active,
.nav-pro .lang-switch a:hover {
  color: var(--x-gold) !important;
  background: transparent !important;
}

.nav-pro .lang-switch a::after {
  display: none !important;
}

.nav-pro .lang-switch .lang-sep {
  color: rgba(255, 255, 255, .25);
  font-weight: 600;
}

.nav-pro .nav-cta-pro {
  background: linear-gradient(135deg, var(--x-gold-2), var(--x-gold)) !important;
  color: var(--x-navy) !important;
  padding: 11px 22px !important;
  border-radius: 3px !important;
  font-weight: 900 !important;
  letter-spacing: .8px !important;
  font-size: 12.5px !important;
  box-shadow: 0 12px 28px rgba(217, 181, 96, .25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.nav-pro .nav-cta-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(217, 181, 96, .35);
}

.has-sub {
  position: relative;
}

.has-sub .sub {
  display: none;
}

.has-sub:hover .sub {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--x-navy);
  border: 1px solid rgba(217, 181, 96, .22);
  border-radius: 3px;
  padding: 10px 0;
  min-width: 220px;
  z-index: 210;
}

.has-sub .sub a {
  padding: 10px 20px !important;
  color: rgba(255, 255, 255, .78) !important;
  font-size: 13px;
  font-weight: 600;
}

.has-sub .sub a:hover {
  color: var(--x-gold) !important;
  background: rgba(217, 181, 96, .06);
}

.menu-toggle-pro {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 38px;
  padding: 9px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 260;
  margin-left: auto;
}

.menu-toggle-pro span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--x-gold);
  border-radius: 1px;
  margin: 4px 0;
  transition: .3s;
}

.menu-toggle-pro.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle-pro.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle-pro.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* HERO */
.hero-x {
  position: relative;
  background: var(--x-navy);
  color: #fff;
  padding: 100px 0 110px;
  isolation: isolate;
  overflow: hidden;
}

.hero-x::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(217, 181, 96, .10), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(13, 52, 98, .55), transparent 55%);
}

.hero-x::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: .55;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent);
}

.hero-x-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 540px;
}

.hero-x-text {
  max-width: 600px;
  padding: 30px 0;
  position: relative;
  z-index: 3;
}

.hero-x h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero-x h1 .accent {
  color: var(--x-gold);
}

.hero-x p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 28px;
}

.hero-x-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-x-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--x-gold-2), var(--x-gold));
  color: var(--x-navy) !important;
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 900;
  font-size: 13.5px;
  letter-spacing: .6px;
  text-decoration: none;
  transition: .25s;
  box-shadow: 0 12px 28px rgba(217, 181, 96, .25);
}

.btn-x-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(217, 181, 96, .35);
}

.btn-x-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff !important;
  padding: 14px 26px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, .35);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .4px;
  text-decoration: none;
  transition: .25s;
}

.btn-x-ghost:hover {
  background: rgba(217, 181, 96, .14);
  border-color: var(--x-gold);
  color: var(--x-gold) !important;
  transform: translateY(-2px);
}

.hero-x-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--x-gold);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .4px;
}

.hero-x-badge svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
  color: var(--x-gold);
}

.hero-x-image-wrap {
  position: relative;
  min-height: 540px;
  align-self: stretch;
  overflow: hidden;
  z-index: 1;
  border-radius: 4px;
}

.hero-x-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a2748, #061d38);
  border-radius: 4px !important;
}

.hero-x-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-x-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(6, 29, 56, .45) 0%, rgba(6, 29, 56, 0) 35%), linear-gradient(180deg, transparent 65%, rgba(6, 29, 56, .4));
}

.hero-swoosh {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 200px;
  z-index: 4;
  pointer-events: none;
  transform: translateX(-40%);
}

.hero-swoosh svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.hero-swoosh .swoosh-glow {
  filter: drop-shadow(0 0 18px rgba(217, 181, 96, .45));
}

/* STATS FLOATER */
.stats-floater {
  position: relative;
  margin-top: -70px;
  z-index: 10;
}

.stats-card-x {
  background: linear-gradient(135deg, #04132a, #061d38);
  border: 1px solid rgba(217, 181, 96, .32);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  border-radius: 3px;
}

.stats-card-x .stat-x {
  border-right: 1px solid rgba(217, 181, 96, .18);
  padding: 26px 26px;
}

.stats-card-x .stat-x:last-child {
  border-right: 0;
}

.stats-card-x .stat-x .ico {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(217, 181, 96, .4);
  background: transparent;
  color: var(--x-gold);
  border-radius: 2px;
  display: grid;
  place-items: center;
}

.stats-card-x .stat-x .ico svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.4;
}

.stats-card-x .stat-x .num {
  color: var(--x-gold);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.3px;
}

.stats-card-x .stat-x .lbl {
  color: rgba(255, 255, 255, .66);
  font-size: 12.5px;
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: .2px;
}

.stats-band-x {
  display: none !important;
}

/* SECTIONS */
.section-x {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.section-x.cream {
  background: var(--x-cream);
}

.section-x.dark {
  background: var(--x-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-x.dark>* {
  position: relative;
  z-index: 1;
}

.section-light {
  background: #fff !important;
  padding: 100px 0 !important;
}

.section-cream {
  background: var(--x-cream) !important;
  padding: 100px 0 !important;
}

.section-navy {
  background: var(--x-navy) !important;
  color: #fff;
  padding: 100px 0 !important;
}

.teaser-x {
  background: #fff;
}

.teaser-x.cream {
  background: var(--x-cream);
}

.manifesto-x {
  background: var(--x-navy);
  border-block: 1px solid rgba(217, 181, 96, .14);
}

.sectors-v9 {
  background: #fff;
}

.standards-bar {
  background: var(--x-cream);
  padding: 60px 0;
  border-block: 1px solid rgba(217, 181, 96, .16);
}

.cta-v9 {
  background: var(--x-navy);
}

.head-x {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.head-x .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 900;
  color: var(--x-gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.head-x .kicker::before,
.head-x .kicker::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--x-gold);
}

.head-x h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--x-navy);
  margin: 0 0 14px;
}

.section-x.dark .head-x h2,
.section-navy h2 {
  color: #fff;
}

.head-x p {
  color: var(--x-mute);
  font-size: 16px;
  line-height: 1.7;
}

.section-x.dark .head-x p,
.section-navy .head-x p {
  color: rgba(255, 255, 255, .74);
}

/* PHOTO CARDS */
.photo-grid-x {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.photo-card-x {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--x-line);
  box-shadow: 0 4px 20px rgba(6, 29, 56, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.photo-card-x:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(6, 29, 56, .12);
}

.photo-card-x .ph {
  height: 220px;
  overflow: hidden;
  border-radius: 0;
}

.photo-card-x .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.photo-card-x:hover .ph img {
  transform: scale(1.05);
}

.photo-card-x .body {
  padding: 24px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.photo-card-x .body .gold-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 2.5px;
  font-weight: 900;
  color: var(--x-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  background: var(--x-gold-soft);
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid rgba(217, 181, 96, .2);
}

.photo-card-x .body h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--x-navy);
  margin: 0 0 8px;
  letter-spacing: -.3px;
  line-height: 1.25;
}

.photo-card-x .body p {
  font-size: 14px;
  color: var(--x-mute);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.photo-card-x .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--x-gold);
  text-decoration: none;
  margin-top: auto;
}

.photo-card-x .more svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}

/* MANIFESTO */
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 60px 0;
}

.manifesto-item {
  text-align: center;
  color: #fff;
}

.manifesto-item .ico {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(217, 181, 96, .35);
  border-radius: 2px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: var(--x-gold);
  background: transparent;
}

.manifesto-item .ico svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.4;
}

.manifesto-item h4 {
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 6px;
  color: #fff;
}

.manifesto-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.55;
}

/* SECTOR CHIPS */
.sec-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 2px;
  border: 1px solid var(--x-line);
  background: #fbfaf7;
  color: var(--x-navy);
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
  text-decoration: none;
  cursor: pointer;
}

.sec-chip i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--x-line);
  border-radius: 2px;
  color: var(--x-gold);
}

.sec-chip:hover {
  background: var(--x-navy);
  border-color: var(--x-gold);
  color: #fff;
}

.sec-chip:hover i {
  border-color: var(--x-gold);
  color: var(--x-gold);
}

/* STANDARDS */
.std-card {
  background: #fff;
  border: 1px solid var(--x-line);
  border-radius: 3px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.std-card strong {
  color: var(--x-navy);
  font-size: 14px;
}

.std-card span {
  color: var(--x-mute);
  font-size: 12.5px;
}

/* FOOTER */
.footer-pro {
  background: linear-gradient(135deg, var(--x-navy-3), var(--x-navy));
  color: #fff;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(217, 181, 96, .16);
}

.footer-pro .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-pro h4 {
  color: var(--x-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-pro a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: 13.5px;
  transition: color .2s;
}

.footer-pro a:hover {
  color: var(--x-gold);
}

.footer-pro .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed !important;
  bottom: 26px;
  right: 26px;
  width: 52px;
  height: 52px;
  border-radius: 3px !important;
  background: var(--x-navy) !important;
  color: var(--x-gold) !important;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 181, 96, .35) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
  z-index: 100;
  transition: transform .25s, border-color .25s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  border-color: var(--x-gold) !important;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

/* RESPONSIVE */
@media(max-width:1180px) {
  .nav-pro {
    gap: 18px;
    font-size: 12.5px;
  }

  .nav-pro .nav-icon-box {
    margin-left: 4px;
  }

  .nav-pro .lang-switch {
    margin-left: 4px;
  }

  .photo-grid-x {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifesto-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-pro .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .hero-x {
    padding: 90px 0 100px;
  }

  .hero-x h1 {
    font-size: clamp(30px, 4vw, 46px);
  }

  .hero-x-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
  }

  .hero-x-image-wrap {
    min-height: 480px;
  }

  .hero-swoosh {
    width: 180px;
    transform: translateX(-35%);
  }

  .stats-card-x .stat-x {
    padding: 22px 18px;
  }

  .stats-card-x .stat-x .num {
    font-size: 19px;
  }

  .stats-card-x .stat-x .lbl {
    font-size: 11.5px;
  }

  .stats-card-x .stat-x .ico {
    width: 42px;
    height: 42px;
  }
}

@media(max-width:980px) {
  .menu-toggle-pro {
    display: flex;
  }

  .nav-pro {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: min(360px, 90%) !important;
    height: 100vh !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: linear-gradient(180deg, var(--x-navy-3), var(--x-navy)) !important;
    padding: 100px 26px 36px !important;
    gap: 4px !important;
    overflow-y: auto;
    transition: right .35s cubic-bezier(.16, 1, .3, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
    z-index: 250;
  }

  .nav-pro.active {
    right: 0 !important;
  }

  .nav-pro a {
    padding: 14px 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: 13.5px !important;
  }

  .nav-pro .nav-icon-box {
    width: 100% !important;
    height: 44px !important;
    margin: 8px 0 0 !important;
    border-bottom: 0 !important;
    justify-content: center;
  }

  .nav-pro .lang-switch {
    border-left: 0;
    padding-left: 0;
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    justify-content: center;
  }

  .nav-pro .nav-cta-pro {
    margin-top: 14px;
    text-align: center;
    border-bottom: 0 !important;
    border-radius: 3px !important;
    justify-content: center;
  }

  body.main-nav-active::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(4px);
    z-index: 240;
  }

  .hero-x {
    padding: 80px 0 100px;
  }

  .hero-x-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    min-height: auto !important;
  }

  .hero-x-text {
    padding: 0 !important;
    max-width: 100% !important;
  }

  .hero-x-image-wrap {
    order: -1;
    margin: 0 !important;
    min-height: 320px !important;
    aspect-ratio: 16/9;
  }

  .hero-x-image {
    border-radius: 4px !important;
  }

  .hero-swoosh {
    display: none !important;
  }

  .stats-floater {
    margin-top: -50px;
  }

  .stats-card-x {
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  }

  .stats-card-x .stat-x {
    border-right: 1px solid rgba(217, 181, 96, .16);
    border-bottom: 1px solid rgba(217, 181, 96, .16);
    padding: 22px 22px;
  }

  .stats-card-x .stat-x:nth-child(2n) {
    border-right: 0;
  }

  .stats-card-x .stat-x:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .header-pro {
    padding-inline: 18px;
    height: 70px;
  }

  .header-pro.scrolled {
    height: 64px;
  }

  .logo-shape-exact {
    width: 138px;
    height: 52px;
  }

  .logo-shape-exact img {
    max-height: 38px;
  }
}

@media(max-width:760px) {
  .hero-x {
    padding: 76px 0 80px;
  }

  .hero-x h1 {
    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.12;
    letter-spacing: -.6px;
  }

  .hero-x p {
    font-size: 15px;
  }

  .hero-x-image-wrap {
    min-height: 260px !important;
    aspect-ratio: 4/3;
  }

  .hero-x-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-x-actions .btn-x-gold,
  .hero-x-actions .btn-x-ghost {
    width: 100%;
    justify-content: center;
    padding: 13px 18px !important;
  }

  .hero-x-badge {
    margin-top: 20px;
  }

  .stats-floater {
    margin-top: -34px;
  }

  .stats-card-x {
    grid-template-columns: 1fr;
  }

  .stats-card-x .stat-x {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(217, 181, 96, .16) !important;
    padding: 18px 20px;
  }

  .stats-card-x .stat-x:last-child {
    border-bottom: 0 !important;
  }

  .photo-grid-x {
    grid-template-columns: 1fr;
  }

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

  .footer-pro .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .section-x,
  .section-light,
  .section-cream,
  .section-navy {
    padding: 60px 0 !important;
  }

  .head-x {
    margin-bottom: 32px;
  }

  .head-x h2 {
    font-size: 24px;
  }

  .container {
    width: min(100% - 24px, 1320px);
  }
}

@media(max-width:520px) {
  .header-pro {
    height: 64px;
    padding-inline: 14px;
  }

  .header-pro.scrolled {
    height: 58px;
  }

  .logo-shape-exact {
    width: 120px;
    height: 46px;
    padding: 6px 10px;
  }

  .logo-shape-exact img {
    max-height: 30px;
  }

  .menu-toggle-pro {
    width: 38px;
    height: 34px;
    padding: 7px;
  }

  .hero-x {
    padding: 68px 0 70px;
  }

  .hero-x h1 {
    font-size: 24px !important;
    letter-spacing: -.4px;
  }

  .hero-x p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-x-image-wrap {
    min-height: 220px !important;
  }

  .hero-x-badge {
    font-size: 11.5px;
  }

  .hero-x-badge svg {
    width: 16px;
    height: 16px;
  }

  .stats-floater {
    margin-top: -24px;
  }

  .stats-card-x .stat-x {
    padding: 16px 18px;
  }

  .stats-card-x .stat-x .num {
    font-size: 17px;
  }

  .stats-card-x .stat-x .lbl {
    font-size: 11px;
  }

  .stats-card-x .stat-x .ico {
    width: 36px;
    height: 36px;
  }

  .stats-card-x .stat-x .ico svg {
    width: 18px;
    height: 18px;
  }
}

/* RADIUS NORMALISATION */
.svc-card,
.num-card,
.value-card,
.tile,
.blog-card,
.panel,
.contact-card,
.module-card-v9,
.std-card-x,
.form-pro input,
.form-pro textarea,
.form-pro select {
  border-radius: 3px !important;
}

.btn,
.btn-gold,
.btn-outline,
.btn-ghost,
button[type=submit],
.nav-pro .nav-cta-pro,
.btn-x-gold,
.btn-x-ghost {
  border-radius: 3px !important;
}

input,
textarea,
select,
.form-pro input,
.form-pro textarea,
.form-pro select {
  border-radius: 2px !important;
}

.tag,
.badge,
.pill {
  border-radius: 2px !important;
}

.hero-x-image,
.hero-x-image-wrap {
  border-radius: 4px !important;
}

.stats-card-x {
  border-radius: 3px !important;
}

.photo-card-x,
.photo-card-x .ph {
  border-radius: 4px 4px 0 0 !important;
}

.photo-card-x {
  border-radius: 4px !important;
}

.whatsapp-float {
  border-radius: 3px !important;
}

.logo-shape-exact {
  border-radius: 3px !important;
}

.sec-chip {
  border-radius: 2px !important;
}

.std-card {
  border-radius: 3px !important;
}

.manifesto-item .ico {
  border-radius: 2px !important;
}

.stats-card-x .stat-x .ico {
  border-radius: 2px !important;
}

.nav-pro .nav-icon-box {
  border-radius: 2px !important;
}

.timeline-item .step {
  border-radius: 2px !important;
}

/* LIST MARKERS */
.detail-list li::before {
  content: "" !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%);
  width: 6px !important;
  height: 6px !important;
  background: var(--x-gold) !important;
  border-radius: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
}

.policy-list li::before {
  content: "" !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 0 !important;
  border: 1px solid var(--x-gold) !important;
  background: transparent !important;
  position: relative;
}

.policy-list li {
  position: relative;
}

.policy-list li::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--x-gold);
  border-bottom: 1.5px solid var(--x-gold);
  transform: translateY(-65%) rotate(-45deg);
}

/* MISC */
.cursor-glow {
  display: none !important;
}

.reveal,
.reveal.visible {
  opacity: 1 !important;
  transform: none !important;
}

section[id] {
  scroll-margin-top: 90px;
}

/* ==========================================================
   FINAL DESIGN FIXES v4 — conflict cleanup
   ========================================================== */

/* Subpage hero: override inline 200px padding and old hero-v9 rules */
.hero-v9 {
  min-height: 420px !important;
  padding: 118px 0 72px !important;
  background: var(--x-navy) !important;
  color: #fff !important;
  overflow: hidden !important;
  position: relative !important;
}

.hero-v9-bg {
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(90deg, rgba(6, 29, 56, .97), rgba(6, 29, 56, .76)),
    radial-gradient(ellipse at 80% 20%, rgba(217, 181, 96, .13), transparent 48%),
    linear-gradient(135deg, var(--x-navy-2), var(--x-navy-3)) !important;
}

.hero-v9-bg::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) !important;
  background-size: 4px 4px !important;
  opacity: .55 !important;
}

.hero-v9 .container {
  position: relative !important;
  z-index: 2 !important;
}

.hero-v9-copy {
  max-width: 900px !important;
  transform: none !important;
  padding: 0 !important;
}

.hero-v9-copy h1 {
  margin: 12px 0 14px !important;
  font-size: clamp(34px, 4.6vw, 56px) !important;
  line-height: 1.05 !important;
  color: #fff !important;
  text-transform: none !important;
  letter-spacing: -1.1px !important;
}

.hero-v9-copy h1 .accent,
.hero-v9-copy .accent {
  color: var(--x-gold) !important;
}

.hero-v9-copy p {
  max-width: 780px !important;
  color: rgba(255, 255, 255, .76) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.gold-kicker {
  color: var(--x-gold) !important;
  font-size: 12px !important;
  letter-spacing: 2px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

/* Header: prevent dropdown/feature content from staying open and pushing page */
.nav-pro .sub,
.nav-pro .mega,
.nav-pro .mega-menu,
.nav-pro .dropdown,
.nav-pro .features-row {
  z-index: 220 !important;
}

.nav-pro .has-sub:not(:hover) .sub {
  display: none !important;
}

/* Light page structure */
body.home-v9 {
  background: #fff !important;
}

main {
  background: #fff;
}

.section-light,
.page-section,
.quick-services-v9,
.sectors-v9 {
  background: #fff !important;
}

.section-cream,
.solutions-v9,
.standards-bar {
  background: var(--x-cream) !important;
}

.section-navy,
.cta-v9,
.manifesto-x {
  background: var(--x-navy) !important;
  color: #fff !important;
}

/* Academy/subpage cards restored */
.academy-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.academy-nav {
  position: sticky;
  top: 96px;
  background: #fff !important;
  border: 1px solid var(--x-line) !important;
  border-radius: 3px !important;
  padding: 22px !important;
  box-shadow: 0 16px 40px rgba(6, 29, 56, .07) !important;
}

.academy-nav h4 {
  color: var(--x-navy) !important;
  margin: 0 0 14px !important;
}

.academy-nav a {
  display: block !important;
  color: var(--x-mute) !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(168, 151, 108, .16) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

.academy-nav a.active,
.academy-nav a:hover {
  color: var(--x-gold) !important;
}

.module-card-v9,
.value-card,
.num-card,
.svc-card,
.tile,
.blog-card,
.panel,
.contact-card {
  background: #fff !important;
  color: var(--x-text) !important;
  border: 1px solid var(--x-line) !important;
  border-radius: 3px !important;
  box-shadow: 0 18px 50px rgba(6, 29, 56, .08) !important;
}

.module-card-v9 {
  padding: 34px !important;
  position: relative;
}

.module-card-v9 h2,
.value-card h3,
.num-card h3,
.svc-card h3,
.tile h3,
.blog-card h3,
.panel h3 {
  color: var(--x-navy) !important;
}

.module-card-v9 p,
.value-card p,
.num-card p,
.svc-card p,
.tile p,
.blog-card p,
.panel p {
  color: var(--x-mute) !important;
}

.module-num {
  color: rgba(217, 181, 96, .26) !important;
}

/* Icon normalization: all Lucide icons visible, line based, no emoji remnants */
svg[data-lucide],
[data-lucide] svg,
.ico svg,
.nav-icon-box svg,
.hero-x-badge svg {
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.ico,
.service-icon-v9,
.manifesto-item .ico,
.stats-card-x .stat-x .ico {
  color: var(--x-gold) !important;
}

/* WhatsApp: keep one real WhatsApp icon only; hide Lucide chat bubble */
.whatsapp-float {
  right: 22px !important;
  left: auto !important;
  bottom: 22px !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 3px !important;
  background: var(--x-navy) !important;
  border: 1px solid rgba(217, 181, 96, .38) !important;
  color: transparent !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 18px 42px rgba(6, 29, 56, .26) !important;
  z-index: 9998 !important;
}

.whatsapp-float svg {
  display: none !important;
}

.whatsapp-float::before {
  content: "" !important;
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  background: var(--x-gold) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.02 3.2A12.64 12.64 0 0 0 5.26 22.46L3.7 28.8l6.5-1.52A12.63 12.63 0 1 0 16.02 3.2Zm0 22.98c-1.9 0-3.75-.51-5.37-1.48l-.38-.22-3.85.9.92-3.75-.25-.39a10.28 10.28 0 1 1 8.93 4.94Zm5.82-7.7c-.32-.16-1.9-.94-2.2-1.05-.29-.1-.5-.16-.72.16-.21.32-.82 1.05-1.01 1.27-.18.21-.37.24-.69.08-.32-.16-1.35-.5-2.57-1.58-.95-.85-1.6-1.9-1.78-2.22-.19-.32-.02-.49.14-.65.14-.14.32-.37.48-.56.16-.18.21-.32.32-.53.1-.21.05-.4-.03-.56-.08-.16-.72-1.74-.98-2.38-.26-.62-.52-.54-.72-.55h-.61c-.21 0-.56.08-.85.4-.29.32-1.12 1.1-1.12 2.67 0 1.58 1.15 3.1 1.31 3.31.16.21 2.26 3.45 5.47 4.84.77.33 1.36.53 1.83.68.77.24 1.47.21 2.02.13.62-.09 1.9-.78 2.17-1.53.27-.75.27-1.4.19-1.53-.08-.13-.29-.21-.61-.37Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.02 3.2A12.64 12.64 0 0 0 5.26 22.46L3.7 28.8l6.5-1.52A12.63 12.63 0 1 0 16.02 3.2Zm0 22.98c-1.9 0-3.75-.51-5.37-1.48l-.38-.22-3.85.9.92-3.75-.25-.39a10.28 10.28 0 1 1 8.93 4.94Zm5.82-7.7c-.32-.16-1.9-.94-2.2-1.05-.29-.1-.5-.16-.72.16-.21.32-.82 1.05-1.01 1.27-.18.21-.37.24-.69.08-.32-.16-1.35-.5-2.57-1.58-.95-.85-1.6-1.9-1.78-2.22-.19-.32-.02-.49.14-.65.14-.14.32-.37.48-.56.16-.18.21-.32.32-.53.1-.21.05-.4-.03-.56-.08-.16-.72-1.74-.98-2.38-.26-.62-.52-.54-.72-.55h-.61c-.21 0-.56.08-.85.4-.29.32-1.12 1.1-1.12 2.67 0 1.58 1.15 3.1 1.31 3.31.16.21 2.26 3.45 5.47 4.84.77.33 1.36.53 1.83.68.77.24 1.47.21 2.02.13.62-.09 1.9-.78 2.17-1.53.27-.75.27-1.4.19-1.53-.08-.13-.29-.21-.61-.37Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04) !important;
  border-color: var(--x-gold) !important;
}

/* Hero symmetry: equal columns, controlled vertical rhythm */
.hero-x {
  padding: 96px 0 104px !important;
}

.hero-x-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 42px !important;
  align-items: center !important;
  min-height: 520px !important;
}

.hero-x-text {
  max-width: 590px !important;
  padding: 0 !important;
}

.hero-x-image-wrap {
  min-height: 500px !important;
  margin: 0 !important;
}

.stats-floater {
  margin-top: -54px !important;
}

@media(max-width:980px) {
  .hero-v9 {
    min-height: 360px !important;
    padding: 96px 0 58px !important;
  }

  .hero-v9-copy h1 {
    font-size: clamp(30px, 7vw, 44px) !important;
  }

  .academy-layout {
    grid-template-columns: 1fr !important;
  }

  .academy-nav {
    position: relative !important;
    top: auto !important;
  }

  .hero-x {
    padding: 84px 0 94px !important;
  }

  .hero-x-grid {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }

  .hero-x-image-wrap {
    order: -1;
    min-height: 320px !important;
  }
}

@media(max-width:620px) {
  .hero-v9 {
    padding: 84px 0 48px !important;
  }

  .hero-v9-copy h1 {
    font-size: 30px !important;
  }

  .module-card-v9 {
    padding: 24px !important;
  }

  .whatsapp-float {
    width: 50px !important;
    height: 50px !important;
    right: 16px !important;
    bottom: 16px !important;
  }
}

/* ==========================================================
   FINAL DESIGN FIXES v5 — teaser panels, logo, subpage cards
   ========================================================== */

/* LOGO: kill weird white tab svg, keep clean rectangle */
.logo-shape-svg {
  display: none !important;
}

.logo-shape-exact {
  width: auto !important;
  min-width: 160px;
  height: 54px !important;
  padding: 8px 18px !important;
  background: #fff !important;
  border-radius: 3px !important;
  margin-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18) !important;
  position: relative !important;
}

.logo-shape-exact img {
  max-height: 38px !important;
  height: 38px !important;
  width: auto !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
}

.header-pro.scrolled .logo-shape-exact {
  width: auto !important;
  height: 48px !important;
}

/* TEASER PANELS */
.teaser-x {
  padding: 80px 0;
}

.teaser-x .panel {
  background: #fff !important;
  border: 1px solid var(--x-line) !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 60px rgba(6, 29, 56, .10) !important;
  padding: 0 !important;
}

.teaser-banner {
  position: relative;
  height: 280px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 40px;
}

.teaser-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 29, 56, .30) 0%, rgba(6, 29, 56, .78) 100%);
  z-index: 1;
}

.teaser-banner>* {
  position: relative;
  z-index: 2;
}

.teaser-banner .label {
  color: #fff;
  max-width: 60%;
}

.teaser-banner .crumb {
  color: var(--x-gold);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.teaser-banner h2 {
  color: #fff !important;
  font-size: clamp(26px, 3vw, 38px) !important;
  font-weight: 900 !important;
  letter-spacing: -.6px !important;
  margin: 0 !important;
  line-height: 1.1 !important;
}

.teaser-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.teaser-banner-actions a {
  display: inline-flex;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(217, 181, 96, .45);
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  text-decoration: none;
  border-radius: 2px;
  backdrop-filter: blur(6px);
  transition: .25s;
  white-space: nowrap;
}

.teaser-banner-actions a:hover {
  background: var(--x-gold);
  color: var(--x-navy) !important;
  border-color: var(--x-gold);
  transform: translateY(-2px);
}

.teaser-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 40px;
  align-items: center;
}

.teaser-body h3 {
  color: var(--x-navy) !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  margin: 0 0 14px !important;
  letter-spacing: -.4px;
}

.teaser-body p {
  color: var(--x-mute) !important;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 12px;
}

.teaser-body ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.teaser-body ul li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--x-text);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(168, 151, 108, .16);
}

.teaser-body ul li:last-child {
  border-bottom: 0;
}

.teaser-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--x-gold);
  transform: translateY(-50%);
  border-radius: 0;
}

.teaser-body ul li i[data-lucide],
.teaser-body ul li svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
  color: var(--x-gold);
}

.teaser-body img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  border: 1px solid var(--x-line);
}

.teaser-body.teaser-grid-2 {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px;
}

/* Photo-grid card height limits to fix oversized images */
.photo-card-x .ph {
  height: 240px !important;
  overflow: hidden !important;
}

.photo-card-x .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subpage hero photo (Image 2 issue): no oversize image bleed */
.section-light .module-card-v9 img,
.section-cream .module-card-v9 img,
.module-card-v9 img {
  max-height: 380px;
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  margin-top: 18px;
}

/* Header z-index lifted; mobile-friendly */
.header-pro {
  z-index: 9990 !important;
}

@media (max-width: 880px) {
  .teaser-banner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    min-height: 200px;
    padding: 24px;
  }

  .teaser-banner .label {
    max-width: 100%;
  }

  .teaser-banner-actions {
    justify-content: flex-start;
  }

  .teaser-body {
    grid-template-columns: 1fr !important;
    gap: 24px;
    padding: 30px 24px;
  }

  .teaser-body img {
    height: 240px;
  }

  .teaser-body.teaser-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .photo-card-x .ph {
    height: 200px !important;
  }
}

@media (max-width: 520px) {
  .teaser-x {
    padding: 50px 0;
  }

  .teaser-banner {
    padding: 20px;
  }

  .teaser-banner h2 {
    font-size: 24px !important;
  }

  .teaser-banner-actions a {
    font-size: 11px;
    padding: 6px 10px;
  }

  .teaser-body {
    padding: 24px 18px;
  }

  .teaser-body h3 {
    font-size: 20px !important;
  }
}

/* ==========================================================
   FINAL DESIGN FIXES v6 — homepage hero polish
   ========================================================== */

/* HERO container vertical rhythm */
.hero-x {
  padding: 120px 0 140px !important;
  min-height: auto !important;
}

.hero-x-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  gap: 56px !important;
  align-items: center !important;
  min-height: 520px !important;
}

.hero-x-text {
  max-width: 560px !important;
  padding: 10px 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* HERO heading — controlled scale */
.hero-x h1 {
  font-size: clamp(32px, 4vw, 48px) !important;
  line-height: 1.08 !important;
  letter-spacing: -1.2px !important;
  margin: 0 0 18px !important;
  font-weight: 900 !important;
}

.hero-x p {
  font-size: 15.5px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, .74) !important;
  margin: 0 0 26px !important;
  max-width: 520px !important;
}

/* HERO actions: keep on a single row when possible, equal heights */
.hero-x-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: stretch !important;
  margin: 0 !important;
}

.hero-x-actions .btn-x-gold,
.hero-x-actions .btn-x-ghost {
  padding: 13px 22px !important;
  font-size: 12.5px !important;
  letter-spacing: .5px !important;
  line-height: 1 !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.hero-x-actions .btn-x-ghost {
  border-width: 1px !important;
}

.hero-x-badge {
  margin-top: 28px !important;
  font-size: 12.5px !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
}

/* HERO image: clean rectangle, no swoosh bleed outside */
.hero-x-image-wrap {
  position: relative !important;
  min-height: 460px !important;
  height: 100% !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35) !important;
  border: 1px solid rgba(217, 181, 96, .18) !important;
}

.hero-x-image {
  inset: 0 !important;
  border-radius: 4px !important;
}

.hero-x-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* SWOOSH: tucked inside image left edge, no horizontal bleed */
.hero-swoosh {
  left: 0 !important;
  top: 0 !important;
  height: 100% !important;
  width: 90px !important;
  transform: translateX(0) !important;
  z-index: 3 !important;
  pointer-events: none !important;
  opacity: .85;
}

.hero-swoosh svg {
  overflow: hidden !important;
}

/* STATS floater — softer overlap */
.stats-floater {
  margin-top: -64px !important;
}

.stats-card-x {
  border: 1px solid rgba(217, 181, 96, .30) !important;
  box-shadow: 0 32px 70px rgba(0, 0, 0, .40) !important;
}

.stats-card-x .stat-x {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 22px 24px !important;
}

.stats-card-x .stat-x .ico {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
}

.stats-card-x .stat-x .num {
  font-size: 20px !important;
}

.stats-card-x .stat-x .lbl {
  font-size: 12px !important;
}

/* RESPONSIVE: tablet */
@media (max-width: 1100px) {
  .hero-x {
    padding: 110px 0 120px !important;
  }

  .hero-x-grid {
    gap: 36px !important;
  }

  .hero-x h1 {
    font-size: clamp(28px, 4vw, 40px) !important;
  }

  .hero-x-image-wrap {
    min-height: 420px !important;
  }

  .hero-x-actions .btn-x-gold,
  .hero-x-actions .btn-x-ghost {
    padding: 12px 18px !important;
    font-size: 12px !important;
  }
}

/* RESPONSIVE: stacked */
@media (max-width: 900px) {
  .hero-x {
    padding: 96px 0 100px !important;
  }

  .hero-x-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    min-height: auto !important;
  }

  .hero-x-text {
    max-width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .hero-x-image-wrap {
    order: -1 !important;
    min-height: 280px !important;
    aspect-ratio: 16/10;
    height: auto !important;
  }

  .hero-swoosh {
    width: 60px !important;
  }

  .stats-floater {
    margin-top: -36px !important;
  }

  .stats-card-x {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .stats-card-x .stat-x {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(217, 181, 96, .16);
  }

  .stats-card-x .stat-x:nth-child(2n) {
    border-right: 0 !important;
  }

  .stats-card-x .stat-x:nth-last-child(-n+2) {
    border-bottom: 0 !important;
  }
}

/* RESPONSIVE: small mobile */
@media (max-width: 520px) {
  .hero-x {
    padding: 84px 0 80px !important;
  }

  .hero-x h1 {
    font-size: 28px !important;
    letter-spacing: -.6px !important;
  }

  .hero-x p {
    font-size: 14.5px !important;
  }

  .hero-x-actions {
    gap: 8px !important;
  }

  .hero-x-actions .btn-x-gold,
  .hero-x-actions .btn-x-ghost {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 16px !important;
    font-size: 12px !important;
  }

  .hero-x-image-wrap {
    min-height: 220px !important;
  }

  .stats-floater {
    margin-top: -24px !important;
  }

  .stats-card-x {
    grid-template-columns: 1fr !important;
  }

  .stats-card-x .stat-x {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(217, 181, 96, .14) !important;
    padding: 16px 18px !important;
  }

  .stats-card-x .stat-x:last-child {
    border-bottom: 0 !important;
  }
}

/* ==========================================================
   FINAL DESIGN FIXES v7 — hero buttons + duplicate badge
   ========================================================== */

/* Hide the duplicate "23+ Yıl Sektör Deneyimi" badge — stats card already shows it */
.hero-x .hero-x-badge {
  display: none !important;
}

/* Force the 3 hero buttons to fit on a single row on desktop */
.hero-x-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin-top: 8px !important;
}

.hero-x-actions>a {
  flex: 0 1 auto !important;
  padding: 12px 18px !important;
  font-size: 12px !important;
  letter-spacing: .4px !important;
  white-space: nowrap !important;
  min-height: 44px !important;
}

/* Tighten left text column so buttons have room */
@media (min-width: 1101px) {
  .hero-x-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) !important;
    gap: 48px !important;
  }

  .hero-x-text {
    max-width: 600px !important;
  }
}

/* Below 1100px, allow wrap but keep balanced 2x rows */
@media (max-width: 1100px) {
  .hero-x-actions {
    flex-wrap: wrap !important;
  }

  .hero-x-actions>a {
    flex: 1 1 auto !important;
    min-width: 200px !important;
  }
}

/* Mobile: stacked buttons */
@media (max-width: 520px) {
  .hero-x-actions>a {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ==========================================================
   FINAL DESIGN FIXES v8 — stats card straddles hero/next section
   ========================================================== */

/* Card straddles the boundary: half inside hero (bottom), half inside next section (top) */
.hero-x {
  padding: 120px 0 80px !important;
}

.stats-floater {
  position: relative;
  z-index: 5;
  margin-top: 0 !important;
  margin-bottom: -70px !important;
  transform: translateY(70px);
}

/* Following section gets extra top padding so the card doesn't crash into its content */
.hero-x+section,
.hero-x+.section-x,
.section-x#hizmetler {
  padding-top: 140px !important;
}

@media (max-width: 900px) {
  .hero-x {
    padding: 96px 0 70px !important;
  }

  .stats-floater {
    margin-bottom: -110px !important;
    transform: translateY(110px);
  }

  .hero-x+section,
  .section-x#hizmetler {
    padding-top: 160px !important;
  }
}

@media (max-width: 520px) {
  .hero-x {
    padding: 84px 0 60px !important;
  }

  .stats-floater {
    margin-bottom: -180px !important;
    transform: translateY(180px);
  }

  .hero-x+section,
  .section-x#hizmetler {
    padding-top: 220px !important;
  }
}

/* ==========================================================
   FINAL DESIGN FIXES v9 — stats card z-index above next section
   ========================================================== */
.hero-x {
  overflow: visible !important;
  isolation: auto !important;
  position: relative;
  z-index: 1;
}

.hero-x::before,
.hero-x::after {
  z-index: 0 !important;
}

.hero-x-grid {
  position: relative;
  z-index: 1;
}

.stats-floater {
  position: relative !important;
  z-index: 50 !important;
}

.stats-card-x {
  position: relative;
  z-index: 50 !important;
}

/* Next section must not paint above the floating card */
.hero-x+section,
.hero-x+.section-x,
.section-x#hizmetler {
  position: relative;
  z-index: 1 !important;
}

.section-x#hizmetler>* {
  position: relative;
  z-index: 2;
}

/* ==========================================================
   FINAL DESIGN FIXES v10 — definitive straddle (absolute positioning)
   ========================================================== */
.hero-x {
  position: relative !important;
  padding: 120px 0 140px !important;
  /* extra bottom padding so absolute card doesn't crash text */
  overflow: visible !important;
  isolation: auto !important;
  z-index: 1;
}

.hero-x>.container.stats-floater {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -60px !important;
  /* 60px of card sticks below hero into next section */
  margin: 0 auto !important;
  transform: none !important;
  z-index: 50 !important;
}

.hero-x>.container.stats-floater .stats-card-x {
  position: relative;
  z-index: 50 !important;
}

.section-x#hizmetler,
.hero-x+section,
.hero-x+.section-x {
  position: relative !important;
  z-index: 0 !important;
  padding-top: 120px !important;
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .hero-x {
    padding: 96px 0 180px !important;
  }

  .hero-x>.container.stats-floater {
    bottom: -100px !important;
  }

  .section-x#hizmetler,
  .hero-x+.section-x {
    padding-top: 160px !important;
  }
}

@media (max-width: 520px) {
  .hero-x {
    padding: 84px 0 240px !important;
  }

  .hero-x>.container.stats-floater {
    bottom: -160px !important;
  }

  .section-x#hizmetler,
  .hero-x+.section-x {
    padding-top: 220px !important;
  }
}

/* ==========================================================
   FINAL DESIGN FIXES v11 — premium navbar + serif hero + clip-path
   ========================================================== */

/* HEADER: transparent over hero (becomes navy blur on scroll) */
.header-pro {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 0 !important;
  height: 96px !important;
  padding-inline: clamp(24px, 4vw, 60px) !important;
}

.header-pro.scrolled {
  background: rgba(6, 29, 56, .92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  height: 72px !important;
  border-bottom: 1px solid rgba(217, 181, 96, .10) !important;
}

/* LOGO: remove white box, force white logo (PNG inverted to pure white) */
.logo-shape-exact,
a.logo-shape-exact {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.logo-shape-exact .logo-shape-svg {
  display: none !important;
}

.logo-shape-exact img {
  max-height: 58px !important;
  height: 58px !important;
  width: auto !important;
  margin: 0 !important;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, .25)) !important;
  position: static !important;
  transition: max-height .25s ease !important;
}

.header-pro.scrolled .logo-shape-exact img {
  max-height: 44px !important;
  height: 44px !important;
}

/* NAV: uppercase, wide letter-spacing — premium feel */
.nav-pro {
  gap: 30px !important;
  font-size: 12px !important;
}

.nav-pro>a,
.nav-pro .has-sub>a {
  text-transform: uppercase !important;
  letter-spacing: 1.7px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 8px 0 !important;
}

.nav-pro .lang-switch {
  gap: 4px !important;
}

.nav-pro .lang-switch a {
  text-transform: uppercase !important;
  letter-spacing: 1.6px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.nav-pro .nav-icon-box {
  width: 32px !important;
  height: 32px !important;
}

/* CTA button in navbar */
.nav-pro .nav-cta-pro,
.nav-pro a.nav-cta-pro {
  background: linear-gradient(135deg, var(--x-gold-2), var(--x-gold)) !important;
  color: var(--x-navy) !important;
  padding: 13px 24px !important;
  font-size: 11.5px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  border-radius: 2px !important;
  margin-left: 6px !important;
}

.nav-pro .nav-cta-pro::after {
  display: none !important;
}

.nav-pro .nav-cta-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(217, 181, 96, .25);
}

/* HERO: serif headline with italic gold accent */
.hero-x {
  padding: 150px 0 140px !important;
  /* room for transparent header on top */
}

.hero-x h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-weight: 600 !important;
  font-size: clamp(40px, 5.4vw, 64px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.4px !important;
  color: #fff !important;
}

.hero-x h1 .accent {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 600 !important;
  color: var(--x-gold) !important;
}

.hero-x p {
  font-family: 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.75 !important;
  letter-spacing: .15px !important;
  color: rgba(255, 255, 255, .72) !important;
  max-width: 540px !important;
  margin: 0 0 30px !important;
}

/* Hero buttons: uppercase, sharp 2px radius */
.hero-x-actions {
  gap: 12px !important;
  flex-wrap: nowrap !important;
}

.hero-x-actions .btn-x-gold,
.hero-x-actions .btn-x-ghost {
  text-transform: uppercase !important;
  letter-spacing: 1.7px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 15px 24px !important;
  border-radius: 2px !important;
  min-height: 46px !important;
}

.hero-x-actions .btn-x-ghost {
  border: 1px solid rgba(255, 255, 255, .30) !important;
  background: transparent !important;
  color: #fff !important;
}

.hero-x-actions .btn-x-ghost:hover {
  border-color: var(--x-gold) !important;
  color: var(--x-gold) !important;
  background: rgba(217, 181, 96, .06) !important;
}

/* Hero badge: bring back, place under buttons with gold icon */
.hero-x .hero-x-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 28px !important;
  text-transform: none !important;
  letter-spacing: .3px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, .85) !important;
  background: transparent !important;
}

.hero-x .hero-x-badge svg,
.hero-x .hero-x-badge i[data-lucide] {
  color: var(--x-gold) !important;
  stroke: var(--x-gold) !important;
  width: 22px !important;
  height: 22px !important;
}

/* HERO IMAGE — S-CURVE clip-path on left edge */
.hero-x-image-wrap {
  position: relative !important;
  min-height: 540px !important;
  height: 100% !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  background: transparent !important;
}

.hero-x-image {
  position: absolute !important;
  inset: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: var(--x-navy-2) !important;
  -webkit-clip-path: url(#heroLeftCurve) !important;
  clip-path: url(#heroLeftCurve) !important;
}

.hero-x-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hero-x-image::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(90deg, rgba(6, 29, 56, .55) 0%, rgba(6, 29, 56, 0) 35%),
    linear-gradient(180deg, transparent 65%, rgba(6, 29, 56, .4)) !important;
  pointer-events: none !important;
}

/* GOLD CURVE — traces the left clip edge */
.hero-x-image-wrap .hero-swoosh {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 14% !important;
  height: 100% !important;
  z-index: 10 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: drop-shadow(0 0 14px rgba(217, 181, 96, .35));
}

.hero-x-image-wrap .hero-swoosh svg {
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  display: block !important;
}

/* STATS card: keep straddling design, just retheme borders/text */
.stats-card-x {
  background: linear-gradient(135deg, rgba(4, 19, 42, .96), rgba(6, 29, 56, .96)) !important;
  border: 1px solid rgba(217, 181, 96, .35) !important;
  backdrop-filter: blur(8px) !important;
}

.stats-card-x .stat-x .ico {
  border-radius: 50% !important;
  border: 1px solid rgba(217, 181, 96, .45) !important;
}

.stats-card-x .stat-x .num {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
  font-style: italic !important;
  font-size: 22px !important;
  color: var(--x-gold) !important;
}

.stats-card-x .stat-x .lbl {
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, .6) !important;
}

/* Hero overlays match reference (deeper navy, less noise) */
.hero-x {
  background: linear-gradient(135deg, #061d38 0%, #0a2a4f 60%, #061d38 100%) !important;
}

.hero-x::after {
  opacity: .25 !important;
}

@media (max-width: 1100px) {
  .hero-x h1 {
    font-size: clamp(34px, 5vw, 52px) !important;
  }

  .hero-x-image-wrap {
    min-height: 480px !important;
  }
}

@media (max-width: 900px) {
  .header-pro {
    height: 72px !important;
  }

  .logo-shape-exact img {
    max-height: 44px !important;
    height: 44px !important;
  }

  .hero-x {
    padding: 120px 0 180px !important;
  }

  .hero-x-image-wrap {
    min-height: 320px !important;
  }

  .hero-x-image {
    -webkit-clip-path: none !important;
    clip-path: none !important;
    border-radius: 4px !important;
  }

  .hero-x-image-wrap .hero-swoosh {
    display: none !important;
  }

  .hero-x-actions {
    flex-wrap: wrap !important;
  }
}

/* ==========================================================
   FINAL DESIGN FIXES v12 — enterprise clip-path, shorter hero,
                            corporate calligraphy fonts
   ========================================================== */

/* SHORTER HERO */
.hero-x {
  padding: 110px 0 90px !important;
  min-height: auto !important;
}

.hero-x-grid {
  min-height: 460px !important;
  gap: 60px !important;
  align-items: center !important;
}

.hero-x-image-wrap {
  min-height: 460px !important;
}

/* CORPORATE CALLIGRAPHY HEADLINE
   Main: Cormorant Garamond (editorial transitional serif)
   Accent: Italianno (refined hand-script, corporate-grade)
*/
.hero-x h1 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
  font-weight: 500 !important;
  font-size: clamp(40px, 5.6vw, 64px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.2px !important;
  color: #fff !important;
  margin: 0 0 22px !important;
}

.hero-x h1 .accent {
  font-family: 'Italianno', 'Cormorant Garamond', cursive !important;
  font-style: normal !important;
  font-weight: 400 !important;
  /* Italianno is naturally larger-cap-height calligraphy — scale a notch up */
  font-size: 1.45em !important;
  line-height: .9 !important;
  letter-spacing: 0 !important;
  color: var(--x-gold) !important;
  display: inline-block !important;
  padding: 0 2px;
  vertical-align: -.05em;
}

/* Slight kerning relaxation for serif body */
.hero-x p {
  font-family: 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.75 !important;
  margin: 0 0 26px !important;
  max-width: 520px !important;
  color: rgba(255, 255, 255, .7) !important;
}

/* ENTERPRISE CLIP-PATH refinements:
   - the path lives in HTML; here we add a precise gold "edge stroke"
     plus a soft 1px inner gold rim that hugs the curve perfectly */
.hero-x-image {
  background: var(--x-navy-2) !important;
  filter: contrast(1.04) saturate(1.05);
}

.hero-x-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 29, 56, .55) 0%, rgba(6, 29, 56, 0) 30%),
    linear-gradient(180deg, rgba(6, 29, 56, .15) 0%, rgba(6, 29, 56, 0) 25%, rgba(6, 29, 56, 0) 70%, rgba(6, 29, 56, .45) 100%);
}

.hero-x-image-wrap .hero-swoosh {
  width: 18% !important;
  filter: drop-shadow(0 0 18px rgba(217, 181, 96, .28)) drop-shadow(0 0 4px rgba(217, 181, 96, .55));
}

/* Sharper stats card numbers in the new font */
.stats-card-x .stat-x .num {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 600 !important;
  font-style: italic !important;
  font-size: 24px !important;
}

/* Reduce stats-floater offset since hero is shorter */
.hero-x>.container.stats-floater {
  bottom: -50px !important;
}

.section-x#hizmetler,
.hero-x+.section-x {
  padding-top: 110px !important;
}

@media (max-width: 1100px) {
  .hero-x {
    padding: 100px 0 80px !important;
  }

  .hero-x-grid {
    min-height: 420px !important;
  }

  .hero-x-image-wrap {
    min-height: 420px !important;
  }

  .hero-x h1 {
    font-size: clamp(34px, 5vw, 52px) !important;
  }
}

@media (max-width: 900px) {
  .hero-x {
    padding: 96px 0 160px !important;
  }

  .hero-x-grid {
    min-height: auto !important;
  }

  .hero-x-image-wrap {
    min-height: 280px !important;
  }

  .hero-x h1 .accent {
    font-size: 1.35em !important;
  }
}

/* ==========================================================
   FINAL DESIGN FIXES v13 — full-bleed hero image (top/right/bottom)
                            + 3-wave premium clip-path
   ========================================================== */

/* Hero becomes the positioning context so image can full-bleed */
.hero-x {
  position: relative !important;
  overflow: visible !important;
  min-height: 620px !important;
  padding: 0 !important;
  /* full bleed — top/bottom handled inside */
  isolation: auto !important;
}

/* Inner grid holds only the text now; image escapes via absolute */
.hero-x-grid {
  position: relative !important;
  z-index: 2 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  /* text only column */
  min-height: 620px !important;
  padding: 150px 0 130px !important;
  align-items: center !important;
}

.hero-x-text {
  max-width: 560px !important;
  padding: 0 !important;
}

/* IMAGE: full bleed top/right/bottom, clipped on left edge */
.hero-x .hero-x-image-wrap {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: 60vw !important;
  max-width: 60vw !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
  z-index: 1 !important;
  transform: none !important;
}

.hero-x .hero-x-image {
  position: absolute !important;
  inset: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  -webkit-clip-path: url(#heroLeftCurve) !important;
  clip-path: url(#heroLeftCurve) !important;
  background: var(--x-navy-2) !important;
}

.hero-x .hero-x-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Gold wave overlay traces the same clip path along the entire left edge */
.hero-x .hero-x-image-wrap .hero-swoosh {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 22% !important;
  max-width: 200px;
  height: 100% !important;
  z-index: 10 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  filter: drop-shadow(0 0 20px rgba(217, 181, 96, .35)) drop-shadow(0 0 4px rgba(217, 181, 96, .6));
}

.hero-x .hero-x-image-wrap .hero-swoosh svg {
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  display: block !important;
}

/* Ensure stats card still floats over hero/next section */
.hero-x>.container.stats-floater {
  z-index: 50 !important;
  bottom: -55px !important;
}

/* Container wider so text uses full grid */
.hero-x .container.hero-x-grid {
  max-width: min(1320px, calc(100% - 44px));
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-x .hero-x-image-wrap {
    width: 55vw !important;
    max-width: 55vw !important;
  }

  .hero-x-grid {
    padding: 130px 0 120px !important;
  }

  .hero-x {
    min-height: 560px !important;
  }
}

@media (max-width: 900px) {

  /* Stack: image becomes top banner with clip on bottom edge instead */
  .hero-x {
    min-height: auto !important;
    padding: 0 !important;
  }

  .hero-x-grid {
    padding: 96px 24px 160px !important;
    min-height: auto !important;
  }

  .hero-x .hero-x-image-wrap {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 280px !important;
    min-height: 280px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-top: -1px !important;
  }

  .hero-x .hero-x-image {
    -webkit-clip-path: none !important;
    clip-path: none !important;
  }

  .hero-x .hero-x-image-wrap .hero-swoosh {
    display: none !important;
  }
}

/* ==========================================================
   FINAL DESIGN FIXES v14 — image flush to viewport right edge,
                            overlapping layout if needed
   ========================================================== */

html,
body {
  overflow-x: hidden !important;
}

.hero-x {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Image wrap: pinned to viewport right with negative offset to defeat
   any inherited padding/margin/container constraint */
.hero-x .hero-x-image-wrap {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: 64vw !important;
  max-width: 64vw !important;
  margin-right: 0 !important;
  padding: 0 !important;
  z-index: 1 !important;
}

/* Make sure image fills the wrap edge-to-edge */
.hero-x .hero-x-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.hero-x .hero-x-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Text stays readable above any overlap with image's clipped area */
.hero-x .hero-x-grid {
  position: relative !important;
  z-index: 3 !important;
}

.hero-x .hero-x-text {
  position: relative !important;
  z-index: 4 !important;
}

.hero-x .hero-x-text::before {
  /* subtle navy fade behind text in case image bleeds under copy on wide screens */
  content: "";
  position: absolute;
  inset: -40px -60px -40px -80px;
  background: radial-gradient(ellipse at center left, rgba(6, 29, 56, .85) 0%, rgba(6, 29, 56, .5) 55%, rgba(6, 29, 56, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Stats card still on top of the image */
.hero-x>.container.stats-floater {
  z-index: 50 !important;
}

@media (max-width: 1100px) {
  .hero-x .hero-x-image-wrap {
    width: 58vw !important;
    max-width: 58vw !important;
  }
}

@media (max-width: 900px) {
  .hero-x .hero-x-image-wrap {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    right: auto !important;
  }

  .hero-x .hero-x-text::before {
    display: none !important;
  }
}

/* ==========================================================
   FINAL DESIGN FIXES v15 — text-based premium logo (matches reference)
   ========================================================== */

/* Hide the PNG; replace with CSS text logo */
.logo-shape-exact {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  position: relative !important;
  filter: none !important;
}

.logo-shape-exact .logo-shape-svg {
  display: none !important;
}

.logo-shape-exact img {
  display: none !important;
}

/* Gold "B" monogram badge */
.logo-shape-exact::before {
  content: "B";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--x-gold-2), var(--x-gold));
  color: var(--x-navy);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: 26px;
  line-height: 1;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(217, 181, 96, .30);
  flex: 0 0 auto;
}

/* Wordmark + subtitle stacked */
.logo-shape-exact::after {
  content: "BERKAL AKADEMI\A Eğitim Danışmanlık Ltd.";
  white-space: pre;
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 1.5px;
  color: #fff;
  text-transform: uppercase;
}

/* Subtitle styling via second line — apply lighter style with text-decoration trick won't work for second line */
/* Use a different approach: split via line-height + reduced second line styling using ::after with multiline trick */
.logo-shape-exact::after {
  /* second line is auto-styled via the multiline content; we accept uniform style here for simplicity,
     but reduce overall font to balance both lines and use gold for subtitle via a span injection */
  background-image: none;
}

/* Scrolled state: smaller */
.header-pro.scrolled .logo-shape-exact::before {
  width: 36px;
  height: 36px;
  font-size: 22px;
}

.header-pro.scrolled .logo-shape-exact::after {
  font-size: 14px;
}

@media (max-width: 900px) {
  .logo-shape-exact::before {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .logo-shape-exact::after {
    font-size: 13px;
    letter-spacing: 1px;
  }
}

@media (max-width: 520px) {
  .logo-shape-exact::after {
    display: none !important;
  }
}

/* ==========================================================
   v16 — FULL REDESIGN (matches reference)
   Scope: new class namespace (.top-hero / .navbar / .brand / .stats / 
   .specialties / .promise / .page-previews / .footer) — does NOT collide
   with legacy .header-pro / .hero-x / .section-x rules.
   ========================================================== */

/* Hide legacy header chrome on the home page (we replace it inline) */
body.home-v9 .header-pro,
body.home-v9 #site-header-slot,
body.home-v9 .footer-pro,
body.home-v9 #site-footer-slot {
  display: none !important;
}

body.home-v9 {
  background: #fff !important;
}

/* Tokens (scoped) */
.top-hero,
.navbar,
.footer,
.specialties,
.promise,
.page-previews {
  --navy: #061b34;
  --navy-2: #082540;
  --gold: #c79b55;
  --gold-2: #e2bd78;
  --line: rgba(255, 255, 255, .16);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.bk-container {
  width: calc(100% - 118px);
  max-width: 1450px;
  margin: 0 auto;
}

/* ========= TOP HERO ========= */
.top-hero {
  position: relative;
  height: 532px;
  overflow: visible;
  color: #fff;
  background: #061a33;
  isolation: isolate;
  font-family: var(--sans);
}

.top-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .030) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: .75;
  pointer-events: none;
}

.top-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(5, 21, 41, 1) 0%,
      rgba(5, 21, 41, 1) 40.5%,
      rgba(5, 21, 41, .88) 47%,
      rgba(5, 21, 41, .40) 58%,
      rgba(5, 21, 41, .10) 100%),
    url("assets/img/stock/photo-1581091226825-a6a2a5aee158-2.jpg") right top/62.2% 100% no-repeat;
  pointer-events: none;
}

.hero-arc {
  position: absolute;
  z-index: 3;
  top: -83px;
  left: 51.2%;
  width: 346px;
  height: 640px;
  border-left: 3px solid rgba(201, 157, 86, .96);
  border-radius: 52% 0 0 52%;
  transform: translateX(-50%) rotate(3deg);
  pointer-events: none;
  filter: drop-shadow(-3px 0 8px rgba(201, 157, 86, .28));
}

.hero-arc::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 12px;
  width: 306px;
  height: 618px;
  border-left: 1px solid rgba(234, 198, 129, .40);
  border-radius: 52% 0 0 52%;
}

.hero-arc::after {
  content: "";
  position: absolute;
  top: 34px;
  left: -32px;
  width: 110px;
  height: 520px;
  background: linear-gradient(90deg, rgba(5, 21, 41, .15), rgba(5, 21, 41, 0));
}

/* Navbar */
.navbar {
  position: relative;
  z-index: 5;
  height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: .075em;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 29px;
  height: 42px;
  margin-right: 2px;
  flex: 0 0 auto;
}

.brand-mark::before {
  content: "B";
  position: absolute;
  inset: -4px 0 0 0;
  font-family: var(--serif);
  font-size: 45px;
  line-height: 42px;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  font-weight: 700;
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: .095em;
  white-space: nowrap;
  font-family: var(--sans);
}

.brand>span>span {
  display: block;
  font-size: 9px;
  margin-top: 4px;
  color: #dbe4ed;
  letter-spacing: .145em;
  white-space: nowrap;
  font-weight: 700;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 31px;
  color: #edf4fb;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
}

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

.navlinks a.active,
.navlinks a:first-child {
  color: var(--gold-2);
}

.navlinks a:hover {
  color: var(--gold-2);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 800;
}

.lang {
  display: flex;
  gap: 12px;
  color: #d9e1ea;
  align-items: center;
}

.lang::before {
  content: "in";
  text-transform: lowercase;
  color: #d9e1ea;
  border: 1px solid rgba(255, 255, 255, .18);
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  font-size: 9px;
}

.cta-small {
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  background: var(--gold-2);
  color: var(--navy) !important;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.cta-small:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 4;
  width: 660px;
  padding-top: 80px;
}

.hero-content h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: .005em;
  color: #f8fbff;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--gold-2);
  letter-spacing: .135em;
}

.hero-content p {
  width: 545px;
  margin: 0 0 29px;
  color: #e4edf6;
  font-size: 13.5px;
  line-height: 1.58;
  font-weight: 500;
  font-family: var(--sans);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  height: 43px;
  min-width: 186px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .32);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
  color: #fff !important;
  background: rgba(5, 22, 42, .18);
  text-decoration: none;
  transition: all .2s ease;
}

.btn:hover {
  border-color: var(--gold-2);
}

.btn.gold {
  background: linear-gradient(180deg, #e7c47b, #c99d57);
  border: 0;
  color: var(--navy) !important;
}

.btn.gold:hover {
  filter: brightness(1.05);
}

.sector {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  color: var(--gold-2);
  font-size: 16px;
  font-weight: 900;
}

.shield {
  width: 29px;
  height: 32px;
  border: 2px solid var(--gold);
  clip-path: polygon(50% 0, 100% 16%, 88% 76%, 50% 100%, 12% 76%, 0 16%);
  opacity: .95;
}

/* Stats */
.stats {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: -63px;
  transform: translateX(-50%);
  width: calc(100% - 118px);
  max-width: 1372px;
  height: 126px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(8, 32, 58, .985);
  border: 1px solid rgba(199, 155, 85, .52);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .22);
}

.stat {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 49px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.stat:last-child {
  border-right: 0;
}

.icon-ring {
  width: 71px;
  height: 71px;
  border: 1px solid rgba(199, 155, 85, .46);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 31px;
  box-shadow: inset 0 0 0 9px rgba(199, 155, 85, .035);
  flex: 0 0 auto;
}

.stat b {
  display: block;
  color: var(--gold-2);
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
  font-family: var(--serif);
}

.stat span {
  display: block;
  color: #d5e0ea;
  font-size: 12px;
  margin-top: 8px;
  font-weight: 700;
}

/* Specialties */
.specialties {
  padding: 95px 0 54px;
  background: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-kicker {
  font-size: 12px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-title {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 33px;
  line-height: 1.15;
  font-weight: 500;
  color: #24313f;
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid #e8edf2;
  box-shadow: 0 10px 26px rgba(10, 31, 55, .06);
  min-height: 245px;
  display: flex;
  flex-direction: column;
}

.card-img {
  height: 118px;
  background: linear-gradient(rgba(6, 29, 56, .12), rgba(6, 29, 56, .12)), var(--img) center/cover no-repeat;
  position: relative;
}

.card-icon {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #09233f;
  color: var(--gold);
  border: 1px solid rgba(201, 164, 106, .5);
  font-size: 20px;
}

.card-body {
  padding: 36px 20px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 16px;
  color: #233144;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: #6d7783;
  font-size: 12px;
  line-height: 1.45;
}

.card a {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  font-weight: 800;
  color: #1e2c3b;
  text-decoration: none;
}

.card a::after {
  content: " →";
  margin-left: 8px;
}

/* Promise */
.promise {
  background: #071f3a;
  color: #fff;
  padding: 36px 0;
}

.promise-inner {
  display: grid;
  grid-template-columns: 1.45fr repeat(5, 1fr);
  gap: 32px;
  align-items: center;
}

.promise h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.promise-item {
  display: flex;
  gap: 12px;
}

.promise-ico {
  color: var(--gold);
  font-size: 27px;
  line-height: 1;
}

.promise-item b {
  display: block;
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 600;
}

.promise-item span {
  display: block;
  color: #c9d4df;
  font-size: 12px;
  line-height: 1.38;
}

/* Page previews */
.page-previews {
  background: #f4f6f8;
  padding: 28px 0 54px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.preview {
  background: #fff;
  border: 1px solid #dfe6ee;
  box-shadow: 0 14px 36px rgba(7, 31, 58, .08);
  overflow: hidden;
}

.preview-head {
  height: 122px;
  background:
    linear-gradient(90deg, rgba(6, 29, 56, .96), rgba(6, 29, 56, .72)),
    var(--bg) center/cover no-repeat;
  color: #fff;
  padding: 18px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mini-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
  font-size: 8px;
  text-transform: uppercase;
  color: #d8e1eb;
}

.preview-title {
  font-family: var(--serif);
  font-size: 30px;
  margin: 0;
  font-weight: 500;
}

.preview-sub {
  font-size: 10px;
  color: #d6e0ea;
}

.preview-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid #e8edf2;
}

.preview-tabs span {
  padding: 18px 8px;
  text-align: center;
  border-right: 1px solid #e8edf2;
  font-size: 11px;
  color: #435060;
}

.preview-tabs span:last-child {
  border-right: 0;
}

.preview-body {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: center;
}

.preview-body.single {
  display: block;
}

.preview h3 {
  font-family: var(--serif);
  font-size: 23px;
  margin: 0 0 12px;
  font-weight: 600;
  color: #24313f;
}

.preview p,
.preview li {
  font-size: 12px;
  color: #65717f;
}

.preview ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.fake-img {
  height: 150px;
  background: var(--img) center/cover no-repeat;
}

.jobs {
  display: grid;
  gap: 10px;
}

.job {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e8edf2;
  padding: 13px 16px;
  font-size: 12px;
}

.apply {
  font-size: 10px;
  background: #e8d3aa;
  color: #09233f;
  padding: 5px 9px;
  font-weight: 900;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.blog-card {
  border: 1px solid #e8edf2;
  background: #fff;
}

.blog-card .thumb {
  height: 95px;
  background: var(--img) center/cover no-repeat;
}

.blog-card>div:last-child {
  padding: 13px;
}

.blog-card small {
  color: var(--gold);
  font-weight: 800;
}

.blog-card b {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.35;
  color: #24313f;
}

.contact-box {
  background: #061d38;
  color: #fff;
  padding: 30px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
}

.contact-box h3 {
  color: #fff;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  margin: 0 0 12px;
}

.contact-line {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  color: #d5e0eb;
  font-size: 12px;
}

.bk-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bk-form input,
.bk-form textarea,
.bk-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #082849;
  color: #fff;
  padding: 13px;
  font: inherit;
  font-size: 12px;
  font-family: var(--sans);
}

.bk-form textarea {
  grid-column: 1/-1;
  min-height: 96px;
  resize: vertical;
}

.bk-form button {
  grid-column: 1/-1;
  border: 0;
  background: var(--gold-2);
  height: 40px;
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: .05em;
}

/* Footer */
.footer {
  background: #061d38;
  color: #d6e0ea;
  padding: 44px 0 22px;
  font-family: var(--sans);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .85fr .95fr 1.25fr;
  gap: 54px;
}

.footer .brand {
  margin-bottom: 14px;
}

.footer p {
  font-size: 12px;
  color: #c2ceda;
  line-height: 1.6;
  margin: 0 0 14px;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
}

.footer h4 {
  margin: 0 0 15px;
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.footer a {
  display: block;
  color: #c7d2de;
  font-size: 12px;
  margin: 8px 0;
  text-decoration: none;
}

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

.subscribe {
  display: flex;
  margin-top: 14px;
}

.subscribe input {
  flex: 1;
  background: #082849;
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 12px;
  color: #fff;
  font-family: var(--sans);
}

.subscribe button {
  border: 0;
  background: var(--gold-2);
  color: var(--navy);
  font-weight: 900;
  padding: 0 18px;
  cursor: pointer;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  color: #aebdca;
  font-size: 12px;
}

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

  .bk-container,
  .stats {
    width: calc(100% - 32px);
  }

  .navlinks {
    display: none;
  }

  .top-hero {
    height: auto;
    min-height: 608px;
  }

  .hero-content {
    width: auto;
    padding-bottom: 100px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    width: auto;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .stats {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    height: auto;
  }

  .stat {
    padding: 24px;
  }

  .hero-arc {
    display: none;
  }

  .specialties {
    padding-top: 35px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 620px) {
  .brand strong {
    font-size: 15px;
  }

  .nav-tools {
    display: none;
  }

  .stats,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .btn {
    min-width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .preview-body {
    grid-template-columns: 1fr;
  }

  .contact-box {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* Site navbar wrap — used by non-home pages where the navbar
   needs its own navy strip (home inlines navbar inside .top-hero) */
.site-navbar-wrap {
  background: rgba(6, 29, 56, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  font-family: 'Inter', sans-serif;
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
  --navy: #061b34;
  --gold: #c79b55;
  --gold-2: #e2bd78;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

.site-navbar-wrap.scrolled {
  border-bottom: 1px solid rgba(217, 181, 96, 0.15);
}

/* v58: home now uses the SAME .site-navbar-wrap as inner pages
   (was hidden because home used to inline navbar inside .top-hero).
   Keep visible so sticky/fixed works correctly on home too. */
body.home-v9 .site-navbar-wrap {
  display: block !important;
}

/* Match the padding/height transitions from home page */
.site-navbar-wrap .navbar {
  border-bottom: none !important;
  transition: padding 0.3s ease, min-height 0.3s ease;
  height: auto !important;
  min-height: 69px;
  padding-block: 14px;
}

.site-navbar-wrap .navbar.scrolled {
  padding-block: 10px;
  min-height: 60px;
}

/* WhatsApp float (simplified, no lucide dependency for emoji) */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .42);
  z-index: 100;
  transition: transform .2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

/* ==========================================================
   v17 — Image fills the arc clip shape on the right
   ========================================================== */

/* Remove the bg-image from ::after (keep grid pattern via ::before) */
.top-hero::after {
  background:
    linear-gradient(90deg,
      rgba(5, 21, 41, 1) 0%,
      rgba(5, 21, 41, 1) 38%,
      rgba(5, 21, 41, .45) 47%,
      rgba(5, 21, 41, .10) 56%,
      rgba(5, 21, 41, 0) 72%) !important;
}

/* Image element — clipped to the SAME curve as the gold arc.
   Arc geometry (matches the existing .hero-arc):
     - left: 51.2%  width: 346px (centered via translateX(-50%))
     - So arc left edge sits at: calc(51.2% - 173px)
     - Vertical height 640px, border-radius horiz 180px (52%) / vert 333px (52%)
   We pin the image's left edge to the SAME x position and to the viewport right edge,
   then reuse the same border-radius geometry — the gold arc lines up perfectly on top. */
.top-hero .hero-bg-image {
  position: absolute;
  z-index: 2;
  top: -83px;
  height: 640px;
  left: calc(51.2% - 173px);
  right: -2vw;
  /* tiny overflow into the page edge */
  border-top-left-radius: 180px 333px;
  border-bottom-left-radius: 180px 333px;
  overflow: hidden;
  pointer-events: none;
  box-shadow:
    inset 36px 0 60px -36px rgba(5, 21, 41, .55),
    /* fade left edge into navy */
    0 22px 50px -20px rgba(0, 0, 0, .45);
}

.top-hero .hero-bg-image>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.top-hero .hero-bg-image .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 21, 41, .75) 0%, rgba(5, 21, 41, .25) 18%, rgba(5, 21, 41, 0) 40%),
    linear-gradient(180deg, rgba(5, 21, 41, .18) 0%, rgba(5, 21, 41, 0) 25%, rgba(5, 21, 41, 0) 70%, rgba(5, 21, 41, .35) 100%);
  pointer-events: none;
}

/* Lift the gold arc and the hero content above the image */
.hero-arc {
  z-index: 3 !important;
}

.top-hero .hero-content {
  z-index: 4 !important;
}

/* Strengthen text readability on left side — give the content a soft navy fade
   so the curve transition is smooth even if the image bulges close to the copy */
.top-hero .hero-content {
  position: relative;
}

.top-hero .hero-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -80px -120px -80px -120px;
  background: radial-gradient(ellipse at 30% 50%,
      rgba(5, 21, 41, .85) 0%,
      rgba(5, 21, 41, .55) 45%,
      rgba(5, 21, 41, 0) 85%);
  pointer-events: none;
}

@media (max-width: 980px) {
  .top-hero .hero-bg-image {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 240px;
    border-radius: 0;
    margin: 0 -16px 18px;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5);
  }

  .top-hero .hero-bg-image .hero-bg-overlay {
    background: linear-gradient(180deg, rgba(5, 21, 41, .2), rgba(5, 21, 41, .7));
  }

  .top-hero .hero-content::before {
    display: none;
  }
}

/* ==========================================================
   v18 — Fix: image was hidden by hero-content::before radial,
                hero content not pinned to the left
   ========================================================== */

/* Force hero content to the LEFT (no auto-centering) and a hard width */
.top-hero .bk-container.hero-content {
  margin: 0 !important;
  margin-left: max(59px, calc((100vw - 1450px) / 2 + 0px)) !important;
  width: 660px !important;
  max-width: 660px !important;
  text-align: left !important;
}

.top-hero .hero-content h1,
.top-hero .hero-content p,
.top-hero .hero-content .hero-actions,
.top-hero .hero-content .sector {
  text-align: left !important;
}

/* The previous radial halo was extending 120px to the RIGHT and covering
   the image bulge. Constrain it so it only fades on left/top/bottom. */
.top-hero .hero-content::before {
  inset: -60px 20px -60px -120px !important;
  /* no longer overlaps the arc area */
  background: radial-gradient(ellipse at 25% 50%,
      rgba(5, 21, 41, .85) 0%,
      rgba(5, 21, 41, .55) 40%,
      rgba(5, 21, 41, 0) 78%) !important;
}

/* Ensure the image is actually visible: kill any overlay opacity over the
   visible image zone, and bring image above the radial halo by lifting its
   z-index above the hero-content stacking context. */
.top-hero .hero-bg-image {
  z-index: 6 !important;
  /* above hero-content (z:4) so image isn't covered */
}

.hero-arc {
  z-index: 7 !important;
}

/* gold curve still above the image */
.top-hero .hero-content {
  z-index: 4 !important;
}

.top-hero .hero-content>* {
  position: relative;
  z-index: 1;
}

/* Soften the overlay so the image actually shows */
.top-hero .hero-bg-image .hero-bg-overlay {
  background:
    linear-gradient(90deg, rgba(5, 21, 41, .85) 0%, rgba(5, 21, 41, .35) 14%, rgba(5, 21, 41, 0) 32%),
    linear-gradient(180deg, rgba(5, 21, 41, .12) 0%, rgba(5, 21, 41, 0) 22%, rgba(5, 21, 41, 0) 70%, rgba(5, 21, 41, .30) 100%) !important;
}

.top-hero .hero-bg-image {
  background: #0b2b4b;
  /* fallback bg if unsplash blocked */
}

@media (max-width: 980px) {
  .top-hero .bk-container.hero-content {
    margin-left: 16px !important;
    width: auto !important;
    max-width: calc(100% - 32px) !important;
  }
}

/* ==========================================================
   v19 — Navbar visibility + hero geometry + button fixes
   ========================================================== */

/* (a) NAVBAR — show all items at desktop/tablet (>=720px) */
.top-hero .navbar {
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-block: 14px;
  height: auto !important;
  min-height: 69px;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 9999 !important;
  background: transparent !important;
  border-bottom: none !important;
  transition: padding 0.3s ease, min-height 0.3s ease;
}

/* Pseudo-element to provide a full-width background when scrolled */
.top-hero .navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
  background: transparent;
  border-bottom: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.top-hero .navbar.scrolled {
  padding-block: 10px;
  min-height: 60px;
}

.top-hero .navbar.scrolled::before {
  background: rgba(6, 29, 56, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 181, 96, 0.15);
}

.top-hero .navbar .navlinks {
  display: flex !important;
  /* override prior tablet hide */
  gap: 22px !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
}

.top-hero .navbar .nav-tools {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.top-hero .navbar .lang a {
  color: #d9e1ea !important;
  text-decoration: none !important;
  padding: 0 4px;
}

.top-hero .navbar .lang a.active {
  color: var(--gold-2) !important;
}

@media (max-width: 760px) {
  .top-hero .navbar .navlinks {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .top-hero .navbar .nav-tools .lang {
    display: none !important;
  }
}

/* (b) HERO geometry — lift content, more height, no overlap with stats */
.top-hero {
  height: 640px !important;
  /* was 532, gives 108px breathing room */
}

.top-hero .bk-container.hero-content {
  padding-top: 56px !important;
  padding-bottom: 130px !important;
  /* room above the stats card */
}

.top-hero .hero-content h1 {
  font-size: 46px !important;
  line-height: 1.06 !important;
  margin-bottom: 18px !important;
}

.top-hero .hero-content p {
  width: 540px !important;
  max-width: 100% !important;
  margin-bottom: 22px !important;
  font-size: 13px !important;
}

.top-hero .hero-content .sector {
  margin-top: 18px !important;
}

/* Match arc + image-bg height to the new hero height */
.top-hero .hero-bg-image {
  top: -60px !important;
  height: 700px !important;
}

.hero-arc {
  top: -60px !important;
  height: 700px !important;
}

.hero-arc::before {
  height: 678px !important;
}

.hero-arc::after {
  height: 580px !important;
}

/* (c) BUTTONS — proper sizing, alignment, hover */
.top-hero .hero-actions {
  gap: 12px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  margin-top: 8px !important;
}

.top-hero .hero-actions .btn {
  height: 44px !important;
  min-width: 0 !important;
  padding: 0 22px !important;
  font-size: 10.5px !important;
  letter-spacing: .08em !important;
  border-radius: 0 !important;
  white-space: nowrap;
}

.top-hero .hero-actions .btn.gold {
  padding: 0 26px !important;
  background: linear-gradient(180deg, #e7c47b, #c99d57) !important;
  color: var(--navy) !important;
  border: 0 !important;
  font-weight: 900 !important;
}

.top-hero .hero-actions .btn:not(.gold) {
  background: rgba(255, 255, 255, .04) !important;
  border: 1px solid rgba(255, 255, 255, .32) !important;
  color: #fff !important;
}

.top-hero .hero-actions .btn:not(.gold):hover {
  background: rgba(255, 255, 255, .08) !important;
  border-color: var(--gold-2) !important;
  color: var(--gold-2) !important;
}

/* (d) Stats card — refine and ensure no collision */
.top-hero .stats {
  bottom: -48px !important;
  /* was -63, sits a bit higher */
  height: 118px !important;
}

/* (e) Mobile tweaks */
@media (max-width: 980px) {
  .top-hero {
    height: auto !important;
    min-height: 720px !important;
  }

  .top-hero .hero-bg-image {
    height: 240px !important;
    top: 0 !important;
  }

  .hero-arc {
    display: none !important;
  }

  .top-hero .bk-container.hero-content {
    padding-top: 32px !important;
    padding-bottom: 36px !important;
  }

  .top-hero .stats {
    position: relative !important;
    bottom: auto !important;
    margin: 32px auto 0 !important;
    grid-template-columns: 1fr 1fr !important;
    height: auto !important;
  }
}

/* ==========================================================
   v20 — Send hero image + arc to the BACK (behind all content)
   ========================================================== */

/* Restore the original stacking order:
     ::before (grid pattern) → 0
     ::after  (navy gradient, fades right) → 1
     hero-bg-image → 2 (peeks through ::after on right)
     hero-arc      → 3 (gold curve traces the image edge)
     hero-content  → 4 (text/buttons on top)
     navbar        → 5
     stats         → 8
*/
.top-hero .hero-bg-image {
  z-index: 2 !important;
}

.hero-arc {
  z-index: 3 !important;
}

.top-hero .hero-content {
  z-index: 4 !important;
}

.top-hero .navbar {
  z-index: 9999 !important;
}

.top-hero .stats {
  z-index: 8 !important;
}

/* Kill the radial halo behind hero-content — it was the thing that
   visually "pushed" the image and caused the front/back confusion.
   The ::after navy gradient already provides text contrast on the left. */
.top-hero .hero-content::before {
  display: none !important;
}

/* Make ::after navy gradient stronger on the LEFT half so text stays
   readable, but fully transparent on the RIGHT so the image is visible
   inside the arc. */
.top-hero::after {
  background:
    linear-gradient(90deg,
      rgba(5, 21, 41, 1) 0%,
      rgba(5, 21, 41, .96) 36%,
      rgba(5, 21, 41, .55) 46%,
      rgba(5, 21, 41, .10) 56%,
      rgba(5, 21, 41, 0) 70%) !important;
  z-index: 1 !important;
}

.top-hero::before {
  z-index: 0 !important;
}

/* Image must NOT capture clicks (otherwise it would block buttons/menu) */
.top-hero .hero-bg-image,
.top-hero .hero-bg-image * {
  pointer-events: none !important;
}

.hero-arc {
  pointer-events: none !important;
}

/* ==========================================================
   v21 — Push hero image further back (behind grid + gradient)
   ========================================================== */
.top-hero {
  isolation: isolate;
  z-index: 99999;
  position: relative;
}

/* keep stacking context local, but above other sections */

.top-hero .hero-bg-image {
  z-index: 0 !important;
}

/* deepest: behind ::before grid + ::after navy */
.top-hero::before {
  z-index: 1 !important;
}

/* grid pattern over the image */
.top-hero::after {
  z-index: 2 !important;
}

/* navy fade over image+grid */
.hero-arc {
  z-index: 3 !important;
}

/* gold curve above the wash */
.top-hero .hero-content {
  z-index: 4 !important;
}

.top-hero .navbar {
  z-index: 9999 !important;
}

.top-hero .stats {
  z-index: 8 !important;
}

/* ==========================================================
   v22 — Wave-shaped clip-path + image shrunk to the right
   ========================================================== */

/* Hide the old border-radius arc element (we now use SVG hero-arc-wave) */
.top-hero .hero-arc {
  display: none !important;
}

/* Image is now SMALLER and positioned more to the right.
   Coordinate system for the wave clip-path: image element is sized in CSS,
   the path() uses pixels. The wave occupies x=0..80 on the left edge over a
   700px tall element.  We extend the visible polygon to x=99999 to cover any
   width regardless of viewport. */
.top-hero .hero-bg-image {
  position: absolute !important;
  z-index: 0 !important;
  top: -30px !important;
  height: 700px !important;
  /* shrunk: starts further right, ends at right edge */
  left: auto !important;
  right: -2vw !important;
  width: 38vw !important;
  max-width: 640px !important;

  border-radius: 0 !important;
  clip-path: path('M 80 0 C 0 115, 0 235, 80 350 C 160 465, 160 585, 80 700 L 99999 700 L 99999 0 Z') !important;
  -webkit-clip-path: path('M 80 0 C 0 115, 0 235, 80 350 C 160 465, 160 585, 80 700 L 99999 700 L 99999 0 Z') !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Soften the overlay; left fade only (image starts after the wave) */
.top-hero .hero-bg-image .hero-bg-overlay {
  background:
    linear-gradient(90deg, rgba(5, 21, 41, .55) 0%, rgba(5, 21, 41, .10) 18%, rgba(5, 21, 41, 0) 36%),
    linear-gradient(180deg, rgba(5, 21, 41, .10) 0%, rgba(5, 21, 41, 0) 22%, rgba(5, 21, 41, 0) 70%, rgba(5, 21, 41, .30) 100%) !important;
}

/* SVG wave outline — pinned to the SAME left edge as the image so the
   gold curve traces the clip-path exactly. */
.top-hero .hero-arc-wave {
  position: absolute;
  z-index: 3;
  top: -30px;
  height: 700px;
  width: 240px;
  /* image left edge = (100vw - right_offset - image_width).
     image right = -2vw (i.e. +2vw outside viewport), image width = min(38vw, 640px).
     Image left ≈ 100vw + 2vw - min(38vw, 640px) = 102vw - min(38vw, 640px). */
  right: calc(-2vw + min(38vw, 640px) - 240px);
  pointer-events: none;
  filter: drop-shadow(-3px 0 8px rgba(201, 157, 86, .28));
  overflow: visible;
}

/* Push grid + navy gradient on top of image (image is z=0, ::before z=1, ::after z=2) */
.top-hero {
  isolation: isolate;
}

/* Mobile fallback */
@media (max-width: 980px) {
  .top-hero .hero-bg-image {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 240px !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
  }

  .top-hero .hero-arc-wave {
    display: none;
  }
}

/* ==========================================================
   v23 — Widen image to the left (same wave) + stronger overlay
   ========================================================== */

/* Image: same clip-path shape, just bigger box (extends further left) */
.top-hero .hero-bg-image {
  width: 48vw !important;
  /* was 38vw */
  max-width: 760px !important;
  /* was 640px */
  /* right offset and clip-path stay identical → wave shape preserved */
}

/* Re-pin the SVG wave to the new image left edge */
.top-hero .hero-arc-wave {
  right: calc(-2vw + min(48vw, 760px) - 240px) !important;
}

/* Stronger image overlay — navy tint over the whole visible image area
   so it blends with the hero atmosphere (does NOT touch other elements) */
.top-hero .hero-bg-image .hero-bg-overlay {
  background:
    /* horizontal navy fade (left → none on right) */
    linear-gradient(90deg,
      rgba(5, 21, 41, .78) 0%,
      rgba(5, 21, 41, .45) 18%,
      rgba(5, 21, 41, .28) 50%,
      rgba(5, 21, 41, .22) 100%),
    /* vertical bottom shadow */
    linear-gradient(180deg,
      rgba(5, 21, 41, .10) 0%,
      rgba(5, 21, 41, 0) 25%,
      rgba(5, 21, 41, 0) 65%,
      rgba(5, 21, 41, .45) 100%) !important;
}

/* ==========================================================
   v24 — Wider image + top-dark / bottom-light overlay
   ========================================================== */
.top-hero .hero-bg-image {
  width: 56vw !important;
  /* was 48vw */
  max-width: 880px !important;
  /* was 760px */
}

.top-hero .hero-arc-wave {
  right: calc(-2vw + min(56vw, 880px) - 240px) !important;
}

/* Overlay: DARK at top (so navbar links read), CLEAR at bottom */
.top-hero .hero-bg-image .hero-bg-overlay {
  background:
    /* primary vertical fade — top opaque navy → bottom light */
    linear-gradient(180deg,
      rgba(5, 21, 41, .92) 0%,
      rgba(5, 21, 41, .72) 14%,
      rgba(5, 21, 41, .45) 32%,
      rgba(5, 21, 41, .20) 60%,
      rgba(5, 21, 41, .05) 100%),
    /* small horizontal blend on the leftmost wave edge */
    linear-gradient(90deg,
      rgba(5, 21, 41, .35) 0%,
      rgba(5, 21, 41, .10) 20%,
      rgba(5, 21, 41, 0) 45%) !important;
}

/* ==========================================================
   v25 — Larger specialty cards & typography
   ========================================================== */
.specialties {
  padding: 110px 0 70px !important;
}

.specialties .section-kicker {
  font-size: 13px !important;
  letter-spacing: .22em !important;
}

.specialties .section-title {
  font-size: 42px !important;
  margin-top: 10px !important;
}

.specialties .section-head {
  margin-bottom: 56px !important;
}

/* 6 → 3 columns: cards become roughly twice as wide */
.specialties .cards {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
}

.specialties .card {
  min-height: 380px !important;
  box-shadow: 0 14px 36px rgba(10, 31, 55, .08) !important;
}

.specialties .card-img {
  height: 180px !important;
}

.specialties .card-icon {
  width: 64px !important;
  height: 64px !important;
  font-size: 26px !important;
  bottom: -32px !important;
}

.specialties .card-body {
  padding: 50px 28px 26px !important;
}

.specialties .card h3 {
  font-size: 22px !important;
  margin-bottom: 12px !important;
}

.specialties .card p {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.specialties .card a {
  font-size: 13px !important;
  padding-top: 22px !important;
  letter-spacing: .04em !important;
}

@media (max-width: 980px) {
  .specialties .cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .specialties .section-title {
    font-size: 32px !important;
  }
}

@media (max-width: 620px) {
  .specialties .cards {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   v26 — Larger typography & spacing for Promise + Page Previews
   ========================================================== */

/* ----- Promise section ----- */
.promise {
  padding: 60px 0 !important;
}

.promise-inner {
  grid-template-columns: 1.4fr repeat(4, 1fr) !important;
  gap: 42px !important;
}

.promise h2 {
  font-size: 38px !important;
  line-height: 1.18 !important;
}

.promise-item {
  gap: 16px !important;
}

.promise-ico {
  font-size: 38px !important;
  line-height: 1 !important;
}

.promise-item b {
  font-size: 19px !important;
  margin-bottom: 6px !important;
}

.promise-item span {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

@media (max-width: 980px) {
  .promise-inner {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .promise h2 {
    font-size: 30px !important;
  }
}

/* ----- Page Previews section ----- */
.page-previews {
  padding: 40px 0 80px !important;
}

.preview-grid {
  gap: 36px !important;
}

.preview-head {
  height: 150px !important;
  padding: 22px 36px !important;
}

.preview .mini-nav {
  font-size: 9.5px !important;
}

.preview-title {
  font-size: 38px !important;
}

.preview-sub {
  font-size: 12px !important;
}

.preview-tabs span {
  padding: 22px 10px !important;
  font-size: 13px !important;
}

.preview-body {
  padding: 38px !important;
  gap: 36px !important;
  grid-template-columns: 1fr 320px !important;
}

.preview h3 {
  font-size: 27px !important;
  margin-bottom: 14px !important;
}

.preview p,
.preview li {
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.preview ul {
  margin-top: 12px !important;
  padding-left: 20px !important;
}

.fake-img {
  height: 190px !important;
}

/* Jobs */
.jobs {
  gap: 12px !important;
}

.job {
  padding: 18px 22px !important;
  font-size: 14px !important;
}

.apply {
  font-size: 12px !important;
  padding: 7px 12px !important;
}

/* Blog list */
.blog-list {
  gap: 18px !important;
}

.blog-card .thumb {
  height: 120px !important;
}

.blog-card>div:last-child {
  padding: 18px !important;
}

.blog-card small {
  font-size: 12px !important;
}

.blog-card b {
  font-size: 14px !important;
  line-height: 1.4 !important;
  margin-top: 6px !important;
}

/* Contact box */
.contact-box {
  padding: 38px !important;
  gap: 36px !important;
}

.contact-box h3 {
  font-size: 27px !important;
  margin-bottom: 16px !important;
}

.contact-line {
  font-size: 14px !important;
  margin: 18px 0 !important;
  gap: 14px !important;
}

.bk-form {
  gap: 14px !important;
}

.bk-form input,
.bk-form textarea,
.bk-form select {
  padding: 15px !important;
  font-size: 14px !important;
}

.bk-form textarea {
  min-height: 110px !important;
}

.bk-form button {
  height: 46px !important;
  font-size: 13px !important;
  letter-spacing: .08em !important;
}

@media (max-width: 980px) {
  .preview-body {
    grid-template-columns: 1fr !important;
  }

  .preview-title {
    font-size: 30px !important;
  }

  .preview h3 {
    font-size: 22px !important;
  }
}

/* ==========================================================
   v27 — Real logo image (white-tinted on dark contexts)
   ========================================================== */
.brand {
  gap: 0 !important;
}

.brand-img {
  display: block;
  height: 44px;
  width: auto;
  /* logo's navy + orange aren't readable on navy hero/footer →
     convert to clean white via filter for dark backgrounds */
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
  opacity: .96;
}

.brand:hover .brand-img {
  opacity: 1;
}

/* Hide the old text spans if any are still rendered alongside the img */
.brand .brand-mark,
.brand strong,
.brand>span:not(.brand-img) {
  display: none !important;
}

/* Footer brand a bit larger */
.footer .brand-img {
  height: 52px;
  margin-bottom: 18px;
}

/* Mobile sizing */
@media (max-width: 760px) {
  .brand-img {
    height: 38px;
  }

  .footer .brand-img {
    height: 44px;
  }
}

/* ==========================================================
   v28 — Blog 2-card slider
   ========================================================== */
.blog-slider {
  position: relative;
  overflow: hidden;
  padding: 6px 4px 36px;
}

.blog-slider .blog-track {
  display: flex;
  gap: 22px;
  transition: transform .5s cubic-bezier(.7, .05, .25, 1);
  will-change: transform;
}

.blog-slider .blog-card {
  flex: 0 0 calc((100% - 22px) / 2);
  /* exactly 2 cards visible */
  min-width: 0;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(10, 31, 55, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-slider .blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(10, 31, 55, .14);
}

.blog-slider .blog-card .thumb {
  background: var(--img) center/cover no-repeat #ddd;
  height: 200px !important;
}

.blog-slider .blog-card>div:last-child {
  padding: 22px 24px !important;
}

.blog-slider .blog-card small {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.blog-slider .blog-card b {
  display: block;
  font-size: 16px !important;
  line-height: 1.4 !important;
  color: var(--navy);
}

/* Nav arrows */
.blog-slider .blog-nav {
  position: absolute;
  top: calc(50% - 22px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(10, 31, 55, .12);
  background: #fff;
  color: var(--navy);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(10, 31, 55, .10);
  transition: background .2s, color .2s, transform .2s;
}

.blog-slider .blog-nav:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.05);
}

.blog-slider .blog-nav.prev {
  left: -8px;
}

.blog-slider .blog-nav.next {
  right: -8px;
}

.blog-slider .blog-nav[disabled],
.blog-slider .blog-nav.is-disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* Dots */
.blog-slider .blog-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}

.blog-slider .blog-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(10, 31, 55, .18);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}

.blog-slider .blog-dots button.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* Mobile: 1 card visible */
@media (max-width: 760px) {
  .blog-slider .blog-card {
    flex: 0 0 100%;
  }

  .blog-slider .blog-nav.prev {
    left: 4px;
  }

  .blog-slider .blog-nav.next {
    right: 4px;
  }
}

/* ==========================================================
   v29 — Slider buttons up + tabs clickable + bigger icons +
         taller hero + navbar social
   ========================================================== */

/* ----- SLIDER: arrows to top, spread far apart, less height ----- */
.blog-slider {
  padding: 4px 4px 28px !important;
}

.blog-slider .blog-nav {
  top: 12px !important;
  transform: none !important;
  width: 38px !important;
  height: 38px !important;
  font-size: 22px !important;
}

.blog-slider .blog-nav.prev {
  left: -22px !important;
}

.blog-slider .blog-nav.next {
  right: -22px !important;
}

.blog-slider .blog-nav:hover {
  transform: scale(1.06) !important;
}

.blog-slider .blog-card .thumb {
  height: 160px !important;
}

.blog-slider .blog-card>div:last-child {
  padding: 16px 20px !important;
}

.blog-slider .blog-card b {
  font-size: 15px !important;
}

.blog-slider .blog-dots {
  margin-top: 14px !important;
}

@media (max-width: 760px) {
  .blog-slider .blog-nav.prev {
    left: 0 !important;
  }

  .blog-slider .blog-nav.next {
    right: 0 !important;
  }
}

/* ----- TABS: hover + active styling for clickability ----- */
.preview .preview-tabs span,
.preview .preview-tabs a,
.preview .preview-tabs button {
  cursor: pointer;
  position: relative;
  transition: color .2s, background .2s;
  user-select: none;
}

.preview .preview-tabs span:hover,
.preview .preview-tabs a:hover {
  color: var(--gold) !important;
  background: rgba(201, 157, 86, .06);
}

.preview .preview-tabs .active {
  color: var(--gold) !important;
  background: #fff !important;
  font-weight: 800;
}

.preview .preview-tabs .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
}

/* ----- PROMISE icons larger ----- */
.promise-ico {
  font-size: 52px !important;
  line-height: 1 !important;
  color: var(--gold) !important;
  margin-bottom: 8px !important;
}

/* ----- HERO height bump ----- */
.top-hero {
  height: 700px !important;
}

.top-hero .hero-bg-image {
  height: 760px !important;
}

.top-hero .hero-arc-wave {
  height: 760px !important;
}

.top-hero .bk-container.hero-content {
  padding-top: 84px !important;
  padding-bottom: 140px !important;
}

/* SVG wave path was sized for 700 viewBox; let it scale */
.top-hero .hero-arc-wave {
  preserveAspectRatio: none;
}

/* ----- NAVBAR social icon (LinkedIn "in") ----- */
.nav-social {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.nav-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}

/* ==========================================================
   v30 — Slider: buttons inside the bounds (no clipping)
         + remove card box-shadow
   ========================================================== */

/* Cards: flat, no shadow */
.blog-slider .blog-card {
  box-shadow: none !important;
  border: 1px solid rgba(10, 31, 55, .08);
}

.blog-slider .blog-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(201, 157, 86, .55);
}

/* Slider container must clip the track but allow buttons on top */
.blog-slider {
  overflow: hidden !important;
  /* clip track edges */
  position: relative;
}

/* Buttons stay INSIDE the slider bounds at the top corners,
   so the parent .preview (overflow:hidden, rounded) doesn't cut them. */
.blog-slider .blog-nav {
  top: 10px !important;
  z-index: 20 !important;
  /* above cards & track */
  width: 36px !important;
  height: 36px !important;
  font-size: 22px !important;
  background: rgba(255, 255, 255, .95) !important;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(10, 31, 55, .10) !important;
  box-shadow: 0 4px 12px rgba(10, 31, 55, .10) !important;
}

.blog-slider .blog-nav.prev {
  left: 10px !important;
  right: auto !important;
}

.blog-slider .blog-nav.next {
  right: 10px !important;
  left: auto !important;
}

.blog-slider .blog-nav:hover {
  background: var(--gold) !important;
  color: #fff !important;
  border-color: var(--gold) !important;
  transform: scale(1.06) !important;
}

/* ==========================================================
   v31 — Tab panels + smaller bold tabs
   ========================================================== */

/* Hide all panels by default, show only .active one */
.preview-body .tab-panel {
  display: none !important;
}

.preview-body .tab-panel.active {
  display: grid !important;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  animation: tabFade .25s ease both;
}

@keyframes tabFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .preview-body .tab-panel.active {
    grid-template-columns: 1fr !important;
  }
}

/* Tabs: smaller font, bold, tighter spacing */
.preview .preview-tabs {
  display: flex;
  flex-wrap: wrap;
}

.preview .preview-tabs span,
.preview .preview-tabs a,
.preview .preview-tabs button {
  flex: 1 1 auto;
  text-align: center;
  padding: 16px 12px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  color: #5d6b7a;
  border: 0;
  background: transparent;
  border-bottom: 1px solid rgba(10, 31, 55, .06);
  text-transform: none;
}

.preview .preview-tabs .active {
  color: var(--gold) !important;
  background: #fff !important;
  font-weight: 900 !important;
}

.preview .preview-tabs .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--gold);
}

@media (max-width: 760px) {
  .preview .preview-tabs {
    flex-direction: column;
  }

  .preview .preview-tabs span {
    flex: 1 1 100%;
    padding: 12px 14px !important;
    text-align: left;
  }
}

/* ==========================================================
   v32 — Tab panel: image hard-right + stretched, text wider
   ========================================================== */
.preview-body .tab-panel.active {
  /* text column eats remaining width; image fixed % on the right */
  grid-template-columns: minmax(0, 1fr) 38% !important;
  gap: 28px !important;
  align-items: stretch !important;
}

/* Image: full panel height, pinned right */
.preview-body .tab-panel .fake-img {
  align-self: stretch !important;
  justify-self: end !important;
  width: 100% !important;
  height: auto !important;
  min-height: 240px !important;
  background-size: cover !important;
  background-position: center !important;
}

/* Compact text so the panel doesn't get unreasonably tall */
.preview-body .tab-panel p {
  margin-bottom: 10px !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}

.preview-body .tab-panel ul {
  margin-top: 8px !important;
  padding-left: 18px !important;
}

.preview-body .tab-panel li {
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin-bottom: 4px !important;
}

.preview-body .tab-panel h3 {
  font-size: 22px !important;
  margin-bottom: 10px !important;
}

@media (max-width: 980px) {
  .preview-body .tab-panel.active {
    grid-template-columns: 1fr !important;
  }

  .preview-body .tab-panel .fake-img {
    min-height: 180px !important;
    order: 2;
  }
}

/* ==========================================================
   v33 — Fix: preview-body must be block when it holds tab-panels.
   Otherwise tab-panel inherits the outer 1fr/280px grid and the
   inner panel collapses into a ~250px column.
   ========================================================== */
.preview-body {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}

/* Now the panel itself owns the 2-col grid */
.preview-body .tab-panel.active {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 32px !important;
  align-items: stretch !important;
}

.preview-body .tab-panel .fake-img {
  width: 100% !important;
  height: 100% !important;
  min-height: 260px !important;
  align-self: stretch !important;
  justify-self: end !important;
}

@media (max-width: 980px) {
  .preview-body .tab-panel.active {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   v34 — Apply buttons are clickable mailto links
   ========================================================== */
a.apply {
  cursor: pointer !important;
  text-decoration: none !important;
  transition: .2s;
}

a.apply:hover {
  background: var(--gold) !important;
  color: #0a1f37 !important;
  border-color: var(--gold) !important;
}

/* ==========================================================
   v35 — Footer/nav social icons (Lucide SVG sizing)
   ========================================================== */
.footer .social a {
  display: inline-grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  border: 1px solid rgba(217, 181, 96, .4) !important;
  border-radius: 4px !important;
  color: var(--gold) !important;
  transition: .2s;
  text-decoration: none !important;
}

.footer .social a:hover {
  background: var(--gold) !important;
  color: #0a1f37 !important;
  border-color: var(--gold) !important;
}

.footer .social a svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 1.6 !important;
}

.nav-social {
  display: inline-grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid rgba(217, 181, 96, .45) !important;
  border-radius: 4px !important;
  color: var(--gold) !important;
  text-decoration: none !important;
  transition: .2s;
}

.nav-social:hover {
  background: var(--gold) !important;
  color: #0a1f37 !important;
}

.nav-social svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 1.6 !important;
}

/* WhatsApp float — ensure icon is centered */
.wa-float {
  display: grid !important;
  place-items: center !important;
}

.wa-float svg {
  width: 28px !important;
  height: 28px !important;
  stroke-width: 1.6 !important;
}

/* ==========================================================
   v36 — WhatsApp float: kill any stray text/emoji content so
   only the ::before icon mask is visible (no shift).
   ========================================================== */
.whatsapp-float {
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}

.whatsapp-float::before {
  text-indent: 0 !important;
}

/* ==========================================================
   v37 — UNIFIED PAGE TEMPLATES
   Shared building blocks used by every non-home page so the
   navbar (injected via #site-header-slot), footer and the
   navy/gold design language stay consistent everywhere.
   ========================================================== */

body.page {
  background: #fff !important;
}

/* ---- Page hero (small navy banner with breadcrumb) ---- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #04132a 0%, #061d38 60%, #082a52 100%);
  color: #fff;
  padding: 130px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(217, 181, 96, .12), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(13, 52, 98, .55), transparent 55%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: .55;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.page-hero .bk-container {
  position: relative;
  z-index: 1;
}

.page-hero .crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-hero .crumb a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
}

.page-hero .crumb a:hover {
  color: var(--gold-2);
}

.page-hero .crumb .sep {
  color: rgba(255, 255, 255, .3);
}

.page-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -.5px;
  margin: 0 0 14px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 500;
}

.page-hero .lead {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
  margin: 0;
}

.page-hero .gold-rule {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 26px 0 0;
}

/* ---- Page sections (alternating white / cream) ---- */
.page-section {
  padding: 80px 0;
  background: #fff;
}

.page-section.alt {
  background: #f6f4f0;
}

.page-section.dark {
  background: linear-gradient(135deg, #04132a 0%, #061d38 100%);
  color: #fff;
}

.page-section.dark h2,
.page-section.dark h3 {
  color: #fff;
}

.page-section.dark p {
  color: rgba(255, 255, 255, .78);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -.4px;
  color: #06203c;
  margin: 0 0 14px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.section-lead {
  font-size: 15.5px;
  line-height: 1.75;
  color: #4d5b6a;
  max-width: 760px;
  margin: 0 0 36px;
}

/* ---- Two column split: text + image ---- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1fr 1.05fr;
}

.split.reverse .split-text {
  order: 2;
}

.split.reverse .split-img {
  order: 1;
}

.split-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--img) center/cover no-repeat, #0a1f37;
  border-radius: 4px;
  overflow: hidden;
}

.split-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 29, 56, .25));
}

.split-img.gold-frame {
  outline: 2px solid var(--gold);
  outline-offset: -14px;
}

.split-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  color: #06203c;
  margin: 0 0 16px;
}

.split-text h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.split-text p {
  font-size: 15px;
  line-height: 1.75;
  color: #4d5b6a;
  margin: 0 0 14px;
}

.split-text .gold-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 0 22px;
}

/* ---- Feature cards (3-col grid) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 32px 28px;
  transition: .25s;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 181, 96, .35);
  border-top-color: var(--gold);
  box-shadow: 0 18px 40px rgba(6, 29, 56, .08);
}

.feature-card .ic {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 29, 56, .12);
  border-radius: 4px;
  color: var(--gold);
  margin-bottom: 18px;
}

.feature-card .ic svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #06203c;
  margin: 0 0 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #56657a;
  margin: 0;
}

.page-section.alt .feature-card {
  background: #fff;
}

.page-section.dark .feature-card {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(217, 181, 96, .18);
}

.page-section.dark .feature-card h3 {
  color: #fff;
}

.page-section.dark .feature-card p {
  color: rgba(255, 255, 255, .7);
}

.page-section.dark .feature-card .ic {
  border-color: rgba(217, 181, 96, .3);
  background: rgba(217, 181, 96, .06);
}

/* ---- Numbered service list ---- */
.svc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(6, 29, 56, .1);
  border-left: 1px solid rgba(6, 29, 56, .1);
}

.svc-item {
  border-right: 1px solid rgba(6, 29, 56, .1);
  border-bottom: 1px solid rgba(6, 29, 56, .1);
  padding: 32px 30px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  transition: .25s;
}

.svc-item:hover {
  background: #faf7f0;
}

.svc-item .num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
}

.svc-item h4 {
  font-size: 17px;
  font-weight: 800;
  color: #06203c;
  margin: 0 0 8px;
}

.svc-item p {
  font-size: 14px;
  line-height: 1.65;
  color: #5a6878;
  margin: 0;
}

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, #04132a 0%, #061d38 100%);
  color: #fff;
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(217, 181, 96, .14), transparent 65%);
}

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

.cta-band h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  margin: 0 0 14px;
}

.cta-band h2 em {
  font-style: italic;
  color: var(--gold-2);
  font-weight: 500;
}

.cta-band p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
  max-width: 640px;
  margin: 0 auto 26px;
}

.cta-band .actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Legal documents typography ---- */
.legal-doc {
  padding: 80px 0 100px;
  background: #fff;
}

.legal-doc .doc {
  max-width: 820px;
  margin: 0 auto;
  color: #4d5b6a;
  font-size: 15px;
  line-height: 1.85;
}

.legal-doc .doc h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 30px;
  color: #06203c;
  margin: 38px 0 14px;
  line-height: 1.2;
}

.legal-doc .doc h3 {
  font-size: 17px;
  font-weight: 800;
  color: #06203c;
  margin: 26px 0 10px;
}

.legal-doc .doc p {
  margin: 0 0 14px;
}

.legal-doc .doc ul {
  padding-left: 20px;
  margin: 0 0 18px;
}

.legal-doc .doc li {
  margin-bottom: 8px;
}

.legal-doc .doc .meta {
  font-size: 12.5px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---- Contact / Forms ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 28px;
  color: #06203c;
  margin: 0 0 14px;
}

.contact-info p {
  color: #4d5b6a;
  line-height: 1.75;
  margin: 0 0 26px;
}

.contact-info .row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(6, 29, 56, .08);
}

.contact-info .row:last-child {
  border-bottom: 1px solid rgba(6, 29, 56, .08);
}

.contact-info .row .ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 29, 56, .12);
  border-radius: 4px;
  color: var(--gold);
}

.contact-info .row .ic svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.contact-info .row .lbl {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7b8898;
  margin-bottom: 4px;
}

.contact-info .row .val {
  font-size: 15px;
  color: #06203c;
  font-weight: 600;
}

.contact-info .row .val a {
  color: #06203c;
  text-decoration: none;
}

.contact-info .row .val a:hover {
  color: var(--gold);
}

.contact-form {
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 38px 34px;
}

.contact-form h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 26px;
  color: #06203c;
  margin: 0 0 18px;
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-form .field {
  margin-bottom: 14px;
}

.contact-form label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #5a6878;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(6, 29, 56, .15);
  border-radius: 3px;
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  color: #06203c;
  transition: .2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 181, 96, .18);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #06203c;
  border: 0;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: .25s;
  box-shadow: 0 12px 28px rgba(217, 181, 96, .22);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(217, 181, 96, .32);
}

/* ---- Blog listing ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-item {
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .25s;
}

.blog-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(6, 29, 56, .1);
  border-color: rgba(217, 181, 96, .3);
}

.blog-item .thumb {
  aspect-ratio: 16/10;
  background: var(--img) center/cover no-repeat, #0a1f37;
}

.blog-item .body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-item .meta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-item h3 {
  font-size: 17px;
  font-weight: 800;
  color: #06203c;
  line-height: 1.35;
  margin: 0 0 10px;
}

.blog-item p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5a6878;
  margin: 0 0 14px;
  flex: 1;
}

.blog-item a.read {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-item a.read::after {
  content: "→";
}

.blog-item a.read:hover {
  color: #06203c;
}

/* ---- Stats inline strip (used on Kurumsal etc.) ---- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(217, 181, 96, .25);
  border-radius: 4px;
  background: linear-gradient(135deg, #04132a, #061d38);
  color: #fff;
  margin-top: 36px;
}

.stats-strip .it {
  padding: 26px 24px;
  border-right: 1px solid rgba(217, 181, 96, .15);
  text-align: center;
}

.stats-strip .it:last-child {
  border-right: 0;
}

.stats-strip .num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: italic;
  font-size: 38px;
  color: var(--gold);
  line-height: 1;
}

.stats-strip .lbl {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-top: 8px;
}

/* ---- Job cards ---- */
.job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.job-card {
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.job-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #06203c;
  margin: 0 0 4px;
}

.job-card .tag {
  font-size: 12px;
  color: #7b8898;
  letter-spacing: .08em;
}

.job-card .apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--gold);
  color: #06203c !important;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: .2s;
}

.job-card .apply-btn:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
}

/* ---- FAQ / Accordion ---- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(6, 29, 56, .1);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #06203c;
}

.faq-q::after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  font-weight: 300;
  transition: transform .25s;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 4px 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #56657a;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .page-hero {
    padding: 110px 0 60px;
  }

  .split {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .split.reverse .split-text {
    order: 0;
  }

  .split.reverse .split-img {
    order: 0;
  }

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

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

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

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

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stats-strip .it:nth-child(2) {
    border-right: 0;
  }

  .stats-strip .it:nth-child(-n+2) {
    border-bottom: 1px solid rgba(217, 181, 96, .15);
  }

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

@media (max-width: 620px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stats-strip .it {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(217, 181, 96, .15);
  }

  .stats-strip .it:last-child {
    border-bottom: 0;
  }

  .contact-form .row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   v38 — Navbar fixes:
     1) kill .lang::before (legacy fake LinkedIn "in" tile that
        was rendering next to the real .nav-social icon).
     2) drop the .navlinks a:first-child gold tint (it was making
        "Ana Sayfa" look active on every page).
     3) properly style .active-link / .active (current-page state).
   ========================================================== */
.lang::before {
  content: none !important;
  display: none !important;
}

.navlinks a:first-child {
  color: inherit !important;
}

.navlinks a {
  position: relative;
  color: #fff !important;
  transition: color .2s ease;
}

.navlinks a:hover {
  color: var(--gold-2) !important;
}

.navlinks a.active-link,
.navlinks a.active {
  color: var(--gold-2) !important;
}

.navlinks a.active-link::after,
.navlinks a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
}

/* tighten the nav-tools row so social/lang/cta have equal rhythm */
.nav-tools {
  gap: 14px !important;
}

.lang {
  gap: 8px !important;
}

.lang a {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .65) !important;
  text-decoration: none;
}

.lang a.active {
  color: var(--gold-2) !important;
}

.lang a:hover {
  color: #fff !important;
}

/* ==========================================================
   v39 — FULL CONTENT REBUILD: new components + footer + a11y
   + comprehensive mobile responsive sweep
   ========================================================== */

/* --- Hero tagline (English subtitle above main h1) --- */
.hero-tagline {
  display: inline-block;
  font-family: "Italianno", "Cormorant Garamond", serif;
  color: var(--gold-2);
  font-size: 28px;
  line-height: 1;
  font-style: italic;
  margin-bottom: 8px;
}

/* --- 3-column stats band (under hero) --- */
.stats3-band {
  background: linear-gradient(135deg, #04132a 0%, #061d38 100%);
  color: #fff;
  padding: 40px 0;
  border-top: 1px solid rgba(217, 181, 96, .18);
  border-bottom: 1px solid rgba(217, 181, 96, .18);
}

.stats3-grid {
  display: grid;
  grid-template-columns: auto 1px auto 1px 1.4fr;
  align-items: center;
  gap: 32px;
}

.stats3-item {
  text-align: center;
}

.stats3-item .num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  font-size: 48px;
  line-height: 1;
}

.stats3-item .lbl {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, .78);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 6px;
}

.stats3-divider {
  width: 1px;
  height: 60px;
  background: rgba(217, 181, 96, .25);
}

.stats3-motto {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}

.stats3-motto strong {
  color: var(--gold-2);
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 18px;
}

/* --- Standards row --- */
.standards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0;
}

.standards-item {
  text-align: center;
  padding: 24px 18px;
  border: 1px solid rgba(6, 29, 56, .08);
  border-radius: 4px;
  background: #fff;
  transition: .2s;
}

.standards-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.standards-item .badge {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
}

.standards-item .name {
  font-size: 13px;
  font-weight: 700;
  color: #06203c;
  letter-spacing: .04em;
}

/* --- Why-BerKal numbered grid (6 reasons) --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-radius: 4px;
  padding: 32px 28px;
  position: relative;
  transition: .25s;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(6, 29, 56, .08);
  border-color: rgba(217, 181, 96, .35);
}

.why-card .num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #06203c;
  margin: 0 0 10px;
  line-height: 1.3;
}

.why-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #56657a;
  margin: 0;
}

/* --- Service cards grid (homepage 6-card services) --- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.svc-card {
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: .25s;
}

.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(6, 29, 56, .1);
}

.svc-card .ic {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 29, 56, .1);
  border-radius: 4px;
  color: var(--gold);
  margin-bottom: 18px;
}

.svc-card .ic svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}

.svc-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: #06203c;
  margin: 0 0 10px;
}

.svc-card .desc {
  font-size: 14px;
  line-height: 1.65;
  color: #56657a;
  margin: 0 0 16px;
}

.svc-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex: 1;
}

.svc-card ul li {
  font-size: 13.5px;
  line-height: 1.7;
  color: #4d5b6a;
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.svc-card ul li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: 800;
}

.svc-card .more {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc-card .more:hover {
  color: #06203c;
}

/* --- Values grid (3-col, 9 items) --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-radius: 4px;
  padding: 28px 26px;
  transition: .25s;
  border-left: 3px solid var(--gold);
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(6, 29, 56, .07);
}

.value-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: #06203c;
  margin: 0 0 10px;
}

.value-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #56657a;
  margin: 0;
}

/* --- Sectors pill grid --- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sector-pill {
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-radius: 3px;
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #06203c;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: .2s;
}

.sector-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  flex-shrink: 0;
}

.sector-pill:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

/* --- Quality policy bullet list --- */
.policy-list {
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

.policy-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-radius: 3px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #06203c;
}

.policy-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 900;
  font-size: 18px;
}

/* --- About hakkımızda 4-feature grid --- */
.about-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.about-feat {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(6, 29, 56, .08);
}

.about-feat .ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 29, 56, .1);
  border-radius: 4px;
  color: var(--gold);
}

.about-feat .ic svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.about-feat h4 {
  font-size: 15px;
  font-weight: 800;
  color: #06203c;
  margin: 0 0 4px;
}

.about-feat p {
  font-size: 13px;
  line-height: 1.6;
  color: #56657a;
  margin: 0;
}

/* --- Mission/Vision two-card --- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mv-card {
  padding: 44px 38px;
  border-radius: 4px;
  border: 1px solid rgba(6, 29, 56, .08);
  background: #fff;
  border-top: 4px solid var(--gold);
}

.mv-card .label {
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mv-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: italic;
  font-size: 28px;
  color: #06203c;
  line-height: 1.2;
  margin: 0 0 14px;
}

.mv-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #4d5b6a;
  margin: 0;
}

/* --- Audit readiness step list (5-step program) --- */
.steps-list {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.step-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
}

.step-item .step-num {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  font-size: 44px;
  line-height: 1;
}

.step-item h4 {
  font-size: 16px;
  font-weight: 800;
  color: #06203c;
  margin: 0 0 6px;
}

.step-item p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #56657a;
  margin: 0;
}

/* --- Detailed service category card (used on egitimler/validasyon etc) --- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.cat-card {
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-radius: 4px;
  padding: 30px 28px;
  border-top: 3px solid var(--gold);
}

.cat-card .ic {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 29, 56, .1);
  border-radius: 4px;
  color: var(--gold);
  margin-bottom: 16px;
}

.cat-card .ic svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.cat-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #06203c;
  margin: 0 0 14px;
}

.cat-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-card ul li {
  font-size: 13.5px;
  line-height: 1.7;
  color: #4d5b6a;
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.cat-card ul li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: 800;
}

/* --- Compact 2x4 mini-feature for validasyon (8 small cards) --- */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mini-card {
  padding: 24px 20px;
  background: #fff;
  border: 1px solid rgba(6, 29, 56, .08);
  border-radius: 4px;
  text-align: center;
  transition: .2s;
}

.mini-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.mini-card .badge {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  padding: 8px 14px;
  border: 1px solid rgba(217, 181, 96, .35);
  border-radius: 3px;
  margin-bottom: 12px;
}

.mini-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: #06203c;
  margin: 0 0 6px;
}

.mini-card p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #56657a;
  margin: 0;
}

/* --- Hakkımızda highlights (4 features inline grid for index/kurumsal) --- */
.feature-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Career feature list --- */
.career-bullets {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  list-style: none;
  padding: 0;
}

.career-bullets li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4d5b6a;
}

.career-bullets li::before {
  content: "→";
  color: var(--gold);
  font-weight: 900;
}

/* --- KVKK consent in forms --- */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 18px;
  font-size: 12.5px;
  color: #56657a;
  line-height: 1.5;
}

.form-consent input {
  width: auto !important;
  margin-top: 3px;
}

.form-consent a {
  color: var(--gold);
  text-decoration: underline;
}

/* --- Footer (refreshed) --- */
.footer {
  background: linear-gradient(135deg, #04132a 0%, #061d38 100%);
  color: rgba(255, 255, 255, .78);
  padding: 70px 0 30px;
}

.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(217, 181, 96, .25);
  position: relative;
}

.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.footer a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  transition: color .2s;
}

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

.footer a svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.footer-brand .brand {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand .brand-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tag {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 18px;
  color: var(--gold-2);
  margin: 0 0 10px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .65);
}

.footer-motto {
  font-size: 12.5px !important;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold) !important;
  border-left: 2px solid var(--gold);
  padding-left: 12px !important;
  margin: 18px 0 22px !important;
}

.footer .copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}

.footer .copyright a {
  display: inline;
  font-size: 12px;
  padding: 0;
  color: rgba(255, 255, 255, .5);
}

.footer .copyright a:hover {
  color: var(--gold-2);
}

/* ==========================================================
   RESPONSIVE — full sweep across all components
   Breakpoints: 1180 (small desktop), 980 (tablet),
                760 (large mobile), 560 (mobile), 420 (small mobile)
   ========================================================== */

@media (max-width: 1180px) {
  .feature-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 980px) {

  /* Top hero (home) */
  .top-hero {
    min-height: auto !important;
  }

  .top-hero .hero-content {
    width: 100% !important;
    padding: 24px 0 !important;
  }

  .top-hero .hero-content h1 {
    font-size: 36px !important;
  }

  .top-hero .navbar {
    flex-wrap: wrap;
    gap: 14px;
  }

  .top-hero .navlinks {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .top-hero .nav-tools {
    order: 2;
  }

  .hero-bg-image {
    position: relative !important;
    height: 280px;
    width: 100%;
  }

  /* Page hero */
  .page-hero {
    padding: 110px 0 56px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  /* Stats3 */
  .stats3-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stats3-divider {
    display: none;
  }

  .stats3-motto {
    grid-column: 1/-1;
    text-align: center;
  }

  /* Feature/services/values */
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

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

  .standards-row {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .about-feats {
    grid-template-columns: 1fr;
  }

  /* Splits */
  .split,
  .split.reverse {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .split.reverse .split-text {
    order: 1 !important;
  }

  .split.reverse .split-img {
    order: 0 !important;
  }

  /* Footer */
  .footer {
    padding: 56px 0 24px;
  }

  .footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  /* Job grid */
  .job-grid {
    grid-template-columns: 1fr;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Service list */
  .svc-list {
    grid-template-columns: 1fr;
  }

  /* Stats strip on kurumsal */
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stats-strip .it {
    border-right: none;
    border-bottom: 1px solid rgba(217, 181, 96, .15);
  }

  .stats-strip .it:nth-child(odd) {
    border-right: 1px solid rgba(217, 181, 96, .15);
  }
}

@media (max-width: 760px) {

  /* Top hero */
  .top-hero .navlinks {
    display: none;
  }

  .top-hero .navbar {
    justify-content: space-between;
  }

  .top-hero .hero-content h1 {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  .hero-bg-image {
    height: 220px;
  }

  .hero-tagline {
    font-size: 22px;
  }

  /* Page hero */
  .page-hero {
    padding: 90px 0 50px;
  }

  .page-hero h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .page-hero .lead {
    font-size: 14px;
  }

  /* Section paddings */
  .page-section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 26px;
  }

  /* Feature grids → single column on small screens */
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .standards-row {
    grid-template-columns: 1fr 1fr;
  }

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

  /* CTA band */
  .cta-band {
    padding: 50px 0;
  }

  .cta-band h2 {
    font-size: 24px;
  }

  .cta-band .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band .actions .btn {
    text-align: center;
  }

  /* Footer */
  .footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer .copyright {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Forms */
  .contact-form {
    padding: 26px 22px;
  }

  .contact-form .row {
    grid-template-columns: 1fr;
  }

  /* Steps / about */
  .step-item {
    grid-template-columns: 50px 1fr;
    padding: 20px 22px;
    gap: 16px;
  }

  .step-item .step-num {
    font-size: 36px;
  }

  /* Container padding */
  .bk-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* Sections */
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stats-strip .it {
    border-right: 0 !important;
  }

  .stats-strip .it:not(:last-child) {
    border-bottom: 1px solid rgba(217, 181, 96, .15);
  }

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

@media (max-width: 560px) {
  .page-hero h1 {
    font-size: 26px;
  }

  .section-title {
    font-size: 22px;
  }

  .top-hero .hero-content h1 {
    font-size: 26px !important;
  }

  .hero-tagline {
    font-size: 20px;
  }

  /* Standards row → 2 columns */
  .standards-row {
    grid-template-columns: 1fr 1fr;
  }

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

  /* WA float */
  .whatsapp-float {
    width: 48px !important;
    height: 48px !important;
    right: 14px !important;
    bottom: 14px !important;
  }

  .whatsapp-float::before {
    width: 24px !important;
    height: 24px !important;
  }

  /* Mini grid */
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Forms */
  .contact-form .row {
    grid-template-columns: 1fr;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 14px;
    padding: 11px 12px;
  }

  /* Btn */
  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .page-hero h1 {
    font-size: 22px;
  }

  .section-title {
    font-size: 20px;
  }

  .top-hero .hero-content h1 {
    font-size: 22px !important;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .page-hero {
    padding: 80px 0 40px;
  }

  .page-section {
    padding: 44px 0;
  }

  .why-card {
    padding: 22px 20px;
  }

  .why-card .num {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .svc-card {
    padding: 22px 20px;
  }

  .standards-row {
    grid-template-columns: 1fr;
  }

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

  .stats-floater {
    display: none;
  }
}

/* Make sure long emails / urls in footer wrap on mobile */
.footer a {
  word-break: break-word;
}

/* ==========================================================
   v39 (rev) — Breathing room between CTA band and footer.
   Both .cta-band and the footer use navy, so they fuse without a
   spacer. Force a white gap below every CTA band.
   ========================================================== */
section.cta-band,
.cta-band {
  margin-bottom: 80px !important;
}

@media (max-width: 768px) {

  section.cta-band,
  .cta-band {
    margin-bottom: 56px !important;
  }
}

/* ==========================================================
   v40 — Navbar dropdowns (Kurumsal & Hizmetlerimiz submenus)
   ========================================================== */
.navlinks .has-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.navlinks .has-sub>a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.navlinks .has-sub>a .caret {
  font-size: 9px;
  color: var(--gold-2);
  transition: transform .25s;
}

.navlinks .has-sub:hover>a .caret,
.navlinks .has-sub.open>a .caret {
  transform: rotate(180deg);
}

.navlinks .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: #0a1f37;
  border: 1px solid rgba(217, 181, 96, .25);
  border-radius: 4px;
  padding: 8px 0;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 999;
}

.navlinks .submenu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.navlinks .has-sub:hover .submenu,
.navlinks .has-sub.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navlinks .submenu a {
  display: block;
  padding: 11px 22px;
  color: #d9e1ea !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: none;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: .18s;
}

.navlinks .submenu a:hover {
  background: rgba(217, 181, 96, .08);
  color: var(--gold-2) !important;
  border-left-color: var(--gold);
}

/* Tighten the navlinks gap a bit since we added more items */
.navlinks {
  gap: 22px !important;
}

@media (max-width: 1100px) {
  .navlinks .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 16px;
    min-width: 0;
    display: none;
  }

  .navlinks .has-sub.open .submenu {
    display: block;
  }

  .navlinks .has-sub {
    display: block;
  }

  .navlinks .has-sub>a {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================
   v41 — Contact form alias rules.
   New HTML pages (iletisim.html, kariyer.html) use:
     .form-row   (was .row)
     .form-group (was .field)
     .info-item  (was .row)
   Map these to the existing styles so visuals work.
   ========================================================== */

/* .form-row inside any form acts as the side-by-side grid */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-form .form-group {
  margin-bottom: 14px;
}

/* info card item — replicate .contact-info .row visuals */
.contact-info .info-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(6, 29, 56, .08);
  align-items: center;
}

.contact-info .info-item:last-of-type {
  border-bottom: 1px solid rgba(6, 29, 56, .08);
}

.contact-info .info-item .ic {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 29, 56, .12);
  border-radius: 4px;
  color: var(--gold);
}

.contact-info .info-item .ic svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.contact-info .info-item strong {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #7b8898;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-info .info-item a {
  font-size: 15px;
  color: #06203c;
  font-weight: 600;
  text-decoration: none;
}

.contact-info .info-item a:hover {
  color: var(--gold);
}

/* Section eyebrow inside .contact-info / .contact-form */
.contact-info .section-eyebrow,
.contact-form .section-eyebrow {
  margin-bottom: 6px;
}

/* Mobile: stack form rows */
@media (max-width: 768px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   v41b — Dropdown alignment fixes
     - Hizmetlerimiz menu has 6 items; center-align overflows on
       right edge. Anchor submenus to the LEFT of their parent
       instead of horizontally centering.
     - Keep parent navlink highlighted when on a child page.
   ========================================================== */
.navlinks .submenu {
  left: 0 !important;
  transform: translateY(8px) !important;
}

.navlinks .has-sub:hover .submenu,
.navlinks .has-sub.open .submenu {
  transform: translateY(0) !important;
}

/* Last has-sub flips submenu to the right to avoid right-edge overflow */
.navlinks>.has-sub:nth-last-of-type(1) .submenu {
  left: auto !important;
  right: 0 !important;
}

/* Active parent (has-sub with active child) gets gold styling */
.navlinks .has-sub>a.active-link {
  color: var(--gold-2) !important;
}

.navlinks .has-sub>a.active-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
}

.navlinks .has-sub {
  position: relative;
}

.navlinks .has-sub>a {
  position: relative;
}

/* ==========================================================
   v42 — Form & dropdown polishing
   ========================================================== */

/* 1) Native select arrow on light-theme contact forms */
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c79b55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

/* placeholder option styling */
.contact-form select option[value=""][disabled] {
  color: #a0a8b3;
}

/* 2) KVKK consent row — checkbox + label aligned, larger custom checkbox */
.contact-form .form-group:has(input[type="checkbox"]) {
  align-items: flex-start;
  padding: 4px 0 0;
  border-top: 1px solid rgba(6, 29, 56, .08);
  margin-top: 6px;
}

.contact-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px !important;
  height: 18px !important;
  border: 1.5px solid rgba(6, 29, 56, .3) !important;
  border-radius: 3px !important;
  background: #fff !important;
  cursor: pointer;
  flex: 0 0 18px;
  position: relative;
  padding: 0 !important;
  transition: .18s;
}

.contact-form input[type="checkbox"]:checked {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}

.contact-form input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #06203c;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-form input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 181, 96, .25);
}

.contact-form .form-group label[for="kvkk"],
.contact-form .form-group label[for="kvkk2"] {
  flex: 1;
  line-height: 1.55 !important;
  cursor: pointer;
}

/* 3) Dropdown — submenu z-stack (hover bridge done via ::after only,
       NO padding on .has-sub so text-baseline stays aligned with peers) */
/* Caret rotation already present; ensure stack order */
.navlinks .has-sub .submenu {
  z-index: 1000;
}

/* 4) Submenu open transition while parent has cursor */
.navlinks .has-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
}

/* 5) Make sure Ana Sayfa never has stale "first-child" gold color */
.navlinks>a:first-of-type:not(.active-link) {
  color: #fff !important;
}

.top-hero .navlinks>a:first-of-type:not(.active-link) {
  color: #fff !important;
}

/* 6) Contact form better mobile fit */
@media (max-width: 768px) {
  .contact-form {
    padding: 26px 20px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px 13px;
    font-size: 14px;
  }
}

/* ==========================================================
   v43 — Submenu active state + dropdown spacing
   ========================================================== */
/* Open the dropdown a touch lower (16px instead of 8px) */
.navlinks .submenu {
  transform: translateY(16px) !important;
  margin-top: 0;
}

.navlinks .has-sub:hover .submenu,
.navlinks .has-sub.open .submenu {
  transform: translateY(8px) !important;
}

/* Extend hover bridge to cover the new gap */
.navlinks .has-sub::after {
  bottom: -18px;
  height: 18px;
}

.navlinks .submenu::before {
  top: -18px;
  height: 18px;
}

/* Active submenu link — gold background + gold left border */
.navlinks .submenu a.active-sub {
  background: rgba(217, 181, 96, .14);
  color: var(--gold-2) !important;
  border-left-color: var(--gold) !important;
}

.navlinks .submenu a.active-sub::before {
  content: "•";
  color: var(--gold);
  margin-right: 6px;
  font-size: 14px;
  line-height: 1;
}

/* ==========================================================
   v44 — Home hero typography upsizing (title, subtitle,
   paragraph, action buttons). Desktop primary scale.
   ========================================================== */
.top-hero .hero-content {
  width: 740px;
  padding-top: 70px;
}

.top-hero .hero-content h1 {
  font-size: 56px !important;
  line-height: 1.06 !important;
  margin-bottom: 18px !important;
}

.top-hero .hero-content>p:first-of-type {
  /* italic Cormorant subtitle "Building Sustainable Quality Systems" */
  font-size: 23px !important;
  margin: -6px 0 22px !important;
}

.top-hero .hero-content>p:nth-of-type(2) {
  /* descriptive paragraph */
  width: 600px;
  font-size: 16px !important;
  line-height: 1.65 !important;
  margin-bottom: 34px !important;
}

.top-hero .hero-actions .btn {
  height: 52px !important;
  min-width: 220px !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  padding: 0 26px;
}

@media (max-width: 980px) {
  .top-hero .hero-content {
    width: auto;
  }

  .top-hero .hero-content h1 {
    font-size: 48px !important;
  }

  .top-hero .hero-content>p:first-of-type {
    font-size: 19px !important;
  }

  .top-hero .hero-content>p:nth-of-type(2) {
    width: auto;
    font-size: 15px !important;
  }

  .top-hero .hero-actions .btn {
    height: 46px !important;
    min-width: 0 !important;
    padding: 0 22px;
  }
}

@media (max-width: 620px) {
  .top-hero .hero-content h1 {
    font-size: 38px !important;
  }
}

/* ==========================================================
   v45 — Mobile menu (hamburger) for both home (inline navbar)
   and inner pages (injected navbar). Plus general mobile polish.
   ========================================================== */

/* Hamburger button (hidden on desktop, shown ≤980px) */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 38px;
  padding: 9px 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  margin-left: 14px;
  z-index: 260;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold-2);
  border-radius: 1px;
  transition: transform .3s, opacity .25s;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
  }

  /* hide desktop tools on mobile */
  .navbar .nav-tools {
    display: none !important;
  }

  /* navlinks become a slide-in drawer */
  .navlinks {
    display: flex !important;
    position: fixed !important;
    top: 0;
    right: -100%;
    width: min(360px, 90vw);
    height: 100vh;
    margin: 0 !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0 !important;
    background: linear-gradient(180deg, #061a33 0%, #08254a 100%);
    padding: 32px 22px 36px;
    overflow-y: auto;
    z-index: 250;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
    transition: right .35s cubic-bezier(.16, 1, .3, 1);
  }

  .navlinks.active {
    right: 0 !important;
  }

  /* drawer link styling */
  .navlinks>a,
  .navlinks .has-sub>a {
    display: block !important;
    width: 100%;
    padding: 15px 6px !important;
    font-size: 14px !important;
    letter-spacing: .04em;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #edf4fb !important;
  }

  .navlinks .has-sub {
    display: block !important;
    width: 100%;
  }

  .navlinks .has-sub>a {
    justify-content: space-between;
  }

  .navlinks .caret {
    font-size: 12px;
  }

  /* dropdown submenus inline in drawer */
  .navlinks .submenu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none !important;
    background: rgba(0, 0, 0, .18) !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 4px 0 8px 14px !important;
    min-width: 0 !important;
  }

  .navlinks .has-sub.open .submenu {
    display: block !important;
  }

  .navlinks .submenu a {
    padding: 11px 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #cdd6e0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
  }

  /* Dim/blur background behind open drawer */
  body.main-nav-active {
    overflow: hidden;
  }

  body.main-nav-active::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(3px);
    z-index: 240;
  }

  /* Make sure brand stays visible above hamburger */
  .navbar .brand {
    z-index: 270;
    position: relative;
  }

  .menu-toggle {
    margin-left: auto;
  }
}

/* ===== Home hero responsive refinements ===== */
@media (max-width: 980px) {
  .top-hero {
    height: auto;
    min-height: auto;
    padding-bottom: 24px;
  }

  .top-hero .hero-content {
    padding-top: 36px !important;
    padding-bottom: 24px !important;
    width: 100% !important;
  }

  .top-hero .hero-content h1 {
    font-size: 42px !important;
  }

  .top-hero .hero-content>p:first-of-type {
    font-size: 17px !important;
    margin-bottom: 16px !important;
  }

  .top-hero .hero-content>p:nth-of-type(2) {
    font-size: 14.5px !important;
    margin-bottom: 24px !important;
  }

  .top-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .top-hero .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0 !important;
    padding: 0 18px;
  }

  .top-hero .hero-bg-image {
    opacity: .35;
  }

  /* image as backdrop on mobile */
  .top-hero .hero-arc-wave {
    display: none;
  }

  .top-hero::after {
    background: linear-gradient(180deg, rgba(5, 21, 41, .96) 0%, rgba(5, 21, 41, .88) 100%) !important;
  }

  /* Stats card under hero — 2x2 grid on tablet */
  .stats {
    position: static !important;
    left: auto !important;
    transform: none !important;
    margin: 20px auto 0 !important;
    bottom: auto !important;
    grid-template-columns: 1fr 1fr !important;
    height: auto !important;
    width: calc(100% - 32px) !important;
  }

  .stat {
    padding: 22px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
}

@media (max-width: 620px) {
  .top-hero .hero-content h1 {
    font-size: 32px !important;
    line-height: 1.12 !important;
  }

  .top-hero .hero-content>p:first-of-type {
    font-size: 15px !important;
  }

  .top-hero .hero-content>p:nth-of-type(2) {
    font-size: 14px !important;
  }

  .top-hero .hero-actions .btn {
    flex: 1 1 100%;
  }

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

/* ===== Preview tabs (Kurumsal/Hizmet/Blog/İletişim) on mobile ===== */
@media (max-width: 820px) {
  .preview-tabs {
    flex-wrap: wrap;
    gap: 6px !important;
  }

  .preview-tabs button {
    font-size: 11px !important;
    padding: 9px 14px !important;
  }

  .preview-head {
    padding: 24px 18px !important;
  }

  .preview-title {
    font-size: 22px !important;
  }
}

/* ===== Cards grid on small screens ===== */
@media (max-width: 760px) {
  .cards {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .card-img {
    height: 180px !important;
  }
}

/* ===== Section paddings reduce on mobile ===== */
@media (max-width: 760px) {

  .specialties,
  .promise,
  .page-previews {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

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

  .section-title {
    font-size: 28px !important;
  }
}

/* ==========================================================
   v46 — Mobile critical fixes (overrides at the END of file
   so specificity by source-order wins).
   ========================================================== */
@media (max-width: 980px) {

  /* 1) HIDE nav-tools on mobile (LinkedIn + lang + CTA button)
        Higher specificity to defeat earlier rules. */
  .top-hero .navbar .nav-tools,
  .site-navbar-wrap .navbar .nav-tools,
  body .navbar .nav-tools {
    display: none !important;
  }

  /* 2) HERO container — make sure content is in normal flow
        and not absolutely positioned. Force visibility + sizing. */
  .top-hero {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 0 40px !important;
    overflow: hidden;
  }

  .top-hero .hero-content {
    position: relative !important;
    z-index: 4 !important;
    padding: 30px 0 30px !important;
    width: 100% !important;
  }

  .top-hero .hero-content h1 {
    font-size: 36px !important;
    line-height: 1.12 !important;
    color: #fff !important;
  }

  .top-hero .hero-content h1 br {
    display: none;
  }

  /* let it wrap naturally */
  .top-hero .hero-content>p:first-of-type {
    font-size: 16px !important;
  }

  .top-hero .hero-content>p:nth-of-type(2) {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* 3) STATS — pull out of absolute positioning. Static normal-flow. */
  .top-hero .stats,
  body .stats {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    transform: none !important;
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 4px auto 0 !important;
    grid-template-columns: 1fr 1fr !important;
    background: rgba(8, 32, 58, .96) !important;
  }

  .stat {
    padding: 18px 16px !important;
    gap: 12px !important;
    border-right: 1px solid rgba(255, 255, 255, .08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  }

  .stat:nth-child(2n) {
    border-right: 0 !important;
  }

  .stat:nth-last-child(-n+2) {
    border-bottom: 0 !important;
  }

  /* SHRINK icon-ring from 71px to 42px on mobile */
  .icon-ring {
    width: 42px !important;
    height: 42px !important;
    font-size: 17px !important;
    flex: 0 0 42px !important;
    box-shadow: inset 0 0 0 5px rgba(199, 155, 85, .05) !important;
  }

  .stat b {
    font-size: 17px !important;
  }

  .stat span {
    font-size: 11px !important;
    margin-top: 4px !important;
  }

  /* 4) HERO ARC + bg image — keep image but dim, hide arc on mobile */
  .top-hero .hero-arc-wave {
    display: none !important;
  }

  .top-hero .hero-bg-image {
    opacity: .28 !important;
    /* expand so it covers full hero (no longer arc-clipped) */
    clip-path: none !important;
    -webkit-clip-path: none !important;
    width: 100% !important;
    right: 0 !important;
    left: 0 !important;
  }

  .top-hero::after {
    background: linear-gradient(180deg, rgba(5, 21, 41, .95) 0%, rgba(6, 26, 51, .92) 100%) !important;
  }

  /* 5) Mobile hamburger — float to right */
  .menu-toggle {
    display: flex !important;
    margin-left: auto !important;
  }

  .menu-toggle span {
    background: var(--gold-2) !important;
  }

  /* 6) Backdrop only when drawer is OPEN — do not cover bg when closed */
  body:not(.main-nav-active)::after {
    display: none !important;
  }

  /* 7) SPECIALTIES cards: 1-col, smaller gap */
  .specialties {
    padding: 50px 0 !important;
  }

  .specialties .cards {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .card {
    min-height: 0 !important;
  }

  .card-img {
    height: 200px !important;
  }

  .card-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 16px !important;
    bottom: -20px !important;
  }

  .card-body {
    padding: 30px 18px 22px !important;
  }

  .card-body h3 {
    font-size: 17px !important;
  }

  /* 8) Section titles smaller on mobile */
  .section-title {
    font-size: 26px !important;
  }

  .section-kicker {
    font-size: 11px !important;
  }

  /* 9) Preview tabs — wrap, smaller */
  .preview-tabs {
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 4px !important;
    padding: 0 16px !important;
  }

  .preview-tabs button {
    font-size: 10.5px !important;
    padding: 8px 12px !important;
  }

  /* 10) Footer 1-col below 620 already handled; tighten on tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }

  .footer {
    padding: 50px 0 30px !important;
  }
}

/* Below 620 — small phones, force everything single column */
@media (max-width: 620px) {
  .top-hero .hero-content h1 {
    font-size: 30px !important;
  }

  .top-hero .hero-actions {
    display: grid !important;
    gap: 10px !important;
  }

  .top-hero .hero-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
  }

  body .stats {
    grid-template-columns: 1fr !important;
  }

  .stat {
    border-right: 0 !important;
  }

  .stat:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  }

  .stat:last-child {
    border-bottom: 0 !important;
  }

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

/* ==========================================================
   v47 — Override stubborn earlier rules with higher specificity
   (.top-hero .bk-container.hero-content overrides padding etc.)
   ========================================================== */
@media (max-width: 980px) {

  /* Force hero to auto-height (kill 700px/720px fixed heights) */
  body .top-hero,
  html body .top-hero {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 0 28px !important;
    overflow: hidden !important;
  }

  /* Bump specificity to match .top-hero .bk-container.hero-content */
  body .top-hero .bk-container.hero-content,
  html .top-hero .bk-container.hero-content {
    padding-top: 28px !important;
    padding-bottom: 24px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
  }

  /* hero-bg-image: full-width, dim, contained */
  body .top-hero .hero-bg-image {
    top: 0 !important;
    height: 100% !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    opacity: .22 !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  /* Stats inside hero — give a little top spacing */
  body .top-hero .stats {
    margin-top: 18px !important;
  }
}

/* ==========================================================
   v48 — Critical mobile root-cause fixes
   1) hero-bg-image must be ABSOLUTE (was overridden to relative
      at line ~4541 making it a 280px tall block pushing navbar down)
   2) Tame oversized letter-spacing on h1 <em> on mobile
   3) Bring stats and hero-content above the absolute bg image
   ========================================================== */
@media (max-width: 980px) {

  /* (1) Force hero-bg-image OUT of normal flow so it stops creating
     an empty navy block above the navbar */
  html body .top-hero .hero-bg-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    opacity: .22 !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  html body .top-hero .hero-bg-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* (2) Kill the huge letter-spacing on the gold accent on mobile
        (was .135em → causes 'Kalite Sistemleri' to spread & overlap) */
  html body .top-hero .hero-content h1 em,
  html body .top-hero .hero-content h1 .accent {
    letter-spacing: .01em !important;
    word-spacing: 0 !important;
    display: inline !important;
  }

  html body .top-hero .hero-content h1 {
    letter-spacing: -.01em !important;
    word-spacing: -.04em !important;
    hyphens: none !important;
    overflow-wrap: break-word !important;
  }

  /* (3) Make sure navbar / hero-content / stats sit ABOVE the absolute bg image */
  html body .top-hero>.bk-container.navbar,
  html body .top-hero>.bk-container.hero-content,
  html body .top-hero>.stats {
    position: relative !important;
    z-index: 5 !important;
  }

  /* Re-assert solid stats card so bg image cannot bleed through */
  html body .top-hero .stats {
    background: #061d38 !important;
    border: 1px solid rgba(199, 155, 85, .42) !important;
  }

  html body .top-hero .stat b {
    color: #d9b560 !important;
  }

  html body .top-hero .stat span {
    color: rgba(255, 255, 255, .78) !important;
  }

  html body .top-hero .icon-ring {
    color: #d9b560 !important;
    border-color: rgba(199, 155, 85, .55) !important;
  }
}

/* ==========================================================
   v49 — Mobile alignment fix + stats marquee
   1) Kill the desktop margin-left: max(59px, …) that pushes
      hero content to the right on mobile (line ~2260)
   2) Convert stats into a seamless horizontal marquee
   ========================================================== */
@media (max-width: 980px) {

  /* (1) Force hero content to fill width with NO left margin */
  html body .top-hero .bk-container.hero-content,
  html body.home-v9 .top-hero .bk-container.hero-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    text-align: left !important;
  }

  html body .top-hero .hero-actions {
    justify-content: flex-start !important;
    margin-left: 0 !important;
  }

  /* (2) STATS MARQUEE — seamless infinite scroller */
  html body .top-hero .stats.is-marquee {
    display: block !important;
    grid-template-columns: none !important;
    overflow: hidden !important;
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    background: #061d38 !important;
    border-top: 1px solid rgba(199, 155, 85, .42) !important;
    border-bottom: 1px solid rgba(199, 155, 85, .42) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  }

  .stats-marquee-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    gap: 0 !important;
    animation: bk-stats-scroll 30s linear infinite;
    will-change: transform;
  }

  .stats-marquee-track .stat {
    flex: 0 0 auto !important;
    min-width: 240px !important;
    width: auto !important;
    padding: 18px 26px !important;
    gap: 14px !important;
    border-right: 1px solid rgba(199, 155, 85, .18) !important;
    border-bottom: 0 !important;
    background: transparent !important;
  }

  .stats-marquee-track .stat .icon-ring {
    width: 42px !important;
    height: 42px !important;
    font-size: 17px !important;
    flex: 0 0 42px !important;
    color: #d9b560 !important;
    border-color: rgba(199, 155, 85, .55) !important;
  }

  .stats-marquee-track .stat b {
    color: #d9b560 !important;
    font-size: 17px !important;
    white-space: nowrap;
  }

  .stats-marquee-track .stat span {
    color: rgba(255, 255, 255, .78) !important;
    font-size: 11.5px !important;
    white-space: nowrap;
  }

  /* pause on touch / hover for accessibility */
  html body .top-hero .stats.is-marquee:hover .stats-marquee-track,
  html body .top-hero .stats.is-marquee:focus-within .stats-marquee-track,
  html body .top-hero .stats.is-marquee:active .stats-marquee-track {
    animation-play-state: paused;
  }

  @keyframes bk-stats-scroll {
    from {
      transform: translate3d(0, 0, 0);
    }

    to {
      transform: translate3d(-50%, 0, 0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .stats-marquee-track {
    animation: none !important;
  }
}

/* ==========================================================
   v50 — Mobile menu drawer visibility + contact page polish
   1) .site-navbar-wrap creates a stacking context (z-index: 5).
      The fixed .navlinks drawer (z-index: 250) is trapped inside,
      so the body::after overlay (z-index: 240) was painting OVER it.
      Lift the wrap above the overlay when drawer is active.
   2) Contact page mobile form padding / spacing fixes.
   ========================================================== */
@media (max-width: 980px) {

  /* (1) Free the drawer from stacking-context trap */
  body.main-nav-active .site-navbar-wrap {
    z-index: 260 !important;
  }

  /* When drawer is open, force the navbar wrap to allow overflow so the
     fixed-positioned drawer can paint outside its bounds visually */
  .site-navbar-wrap {
    overflow: visible !important;
  }

  /* Make the drawer itself escape parent stacking by raising it explicitly */
  body.main-nav-active .navlinks.active {
    z-index: 9999 !important;
  }

  /* Overlay should sit BELOW the drawer */
  body.main-nav-active::after {
    z-index: 9998 !important;
  }

  /* (2) İletişim — form & info card spacing on small screens */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .contact-info {
    padding: 0 4px;
  }

  .contact-form {
    padding: 22px 18px !important;
  }

  .contact-form .row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 15px !important;
    padding: 12px 14px !important;
  }

  .contact-form button {
    width: 100% !important;
    justify-content: center !important;
  }

  /* page-hero crumb readability on narrow screens */
  .page-hero .crumb {
    flex-wrap: wrap;
    gap: 4px;
  }

  .page-hero .lead {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }
}

/* ==========================================================
   v51 — Definitive fix: z-index hierarchy reversed in v50
   v50 set wrap=260 but overlay=9998 → overlay still painted
   over drawer. Now: wrap = 100000 when drawer active,
   overlay = 240 (default), and KILL .navbar's nested stacking
   context on mobile (z-index: 5 trap) so the drawer paints
   inside the wrap's elevated context.
   ========================================================== */
@media (max-width: 980px) {

  /* Lift the WHOLE navbar wrap ABOVE everything when drawer is open */
  body.main-nav-active .site-navbar-wrap {
    position: relative !important;
    z-index: 100000 !important;
    overflow: visible !important;
  }

  /* Kill the .navbar's own stacking context (z-index:5) so it doesn't
     trap the drawer below the wrap-level elevation */
  .site-navbar-wrap>.navbar,
  .site-navbar-wrap .bk-container.navbar {
    z-index: auto !important;
    overflow: visible !important;
  }

  /* Reset overlay to a normal layer below the elevated wrap */
  body.main-nav-active::after {
    z-index: 240 !important;
  }

  /* Drawer doesn't need crazy z-index now; just keep it above local content */
  .navlinks {
    z-index: 250 !important;
  }

  .navlinks.active {
    z-index: 250 !important;
    right: 0 !important;
  }

  /* DISABLED: v51 used to elevate .top-hero for menu — now handled
     by v53's portal pattern instead. Keep no-op to avoid regressions. */

  /* CONTACT form — make it bullet-proof on tablet+phone (was only 768) */
  .contact-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .contact-form {
    padding: 22px 18px !important;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 15px !important;
    padding: 12px 14px !important;
  }

  .contact-form button {
    width: 100% !important;
    justify-content: center !important;
  }

  .contact-info .info-item {
    grid-template-columns: 40px 1fr !important;
    gap: 12px !important;
    padding: 14px 0 !important;
  }

  .contact-info .info-item .ic {
    width: 40px !important;
    height: 40px !important;
  }

  .contact-info .info-item a,
  .contact-info .info-item strong {
    word-break: break-word !important;
  }
}

/* ==========================================================
   v52 — Final mobile fixes from real screenshots
   - Bug C: .top-hero .navbar .navlinks{display:none !important}
            at @media(max-width:760) was killing the drawer on
            HOME. Override with even higher specificity.
   - Bug B: hero <p> width:545px + missing horizontal containment
            caused right-edge clipping. Force max-width:100%,
            box-sizing border-box, and word-wrap.
   - Universal box-sizing safety net for hero-content children.
   ========================================================== */
.mobile-nav-header {
  display: none;
}

@media (max-width: 980px) {

  /* === C) DRAWER must be visible — universal (home + subpages) === */
  html body .top-hero .navbar .navlinks,
  html body .top-hero .navbar #mainNav,
  html body.home-v9 .top-hero .navbar .navlinks,
  html body .site-navbar-wrap .navbar .navlinks,
  html body .site-navbar-wrap .navbar #mainNav {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: min(360px, 90vw) !important;
    height: 100vh !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: linear-gradient(180deg, #061a33 0%, #08254a 100%) !important;
    padding: 32px 22px 36px !important;
    overflow-y: auto !important;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .4) !important;
    transition: right .35s cubic-bezier(.16, 1, .3, 1) !important;
    z-index: 250 !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  html body .top-hero .navbar .navlinks.active,
  html body .top-hero .navbar #mainNav.active,
  html body.home-v9 .top-hero .navbar .navlinks.active,
  html body .site-navbar-wrap .navbar .navlinks.active,
  html body .site-navbar-wrap .navbar #mainNav.active {
    right: 0 !important;
  }

  .mobile-nav-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  .mobile-nav-header img,
  .mobile-nav-header img.brand-img {
    max-height: 38px !important;
    height: 38px !important;
    width: auto !important;
    display: block !important;
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
    margin: 0 !important;
  }

  .mobile-nav-close {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 28px !important;
    cursor: pointer !important;
    padding: 8px !important;
    display: grid !important;
    place-items: center !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 1 !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  /* When drawer is open, lift the navbar container above overlay */
  body.main-nav-active .top-hero {
    z-index: 100000 !important;
    position: relative !important;
  }
  body.main-nav-active .site-navbar-wrap {
    z-index: 100000 !important;
    position: relative !important;
  }

  body.main-nav-active .top-hero .navbar,
  body.main-nav-active .site-navbar-wrap .navbar {
    z-index: auto !important;
    overflow: visible !important;
  }

  /* === B) HERO content & paragraph containment === */
  html body .top-hero .bk-container.hero-content,
  html body.home-v9 .top-hero .bk-container.hero-content {
    box-sizing: border-box !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    overflow: hidden !important;
  }

  html body .top-hero .hero-content>* {
    box-sizing: border-box !important;
  }

  html body .top-hero .hero-content h1,
  html body .top-hero .hero-content p {
    max-width: 100% !important;
    width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }

  html body .top-hero .hero-content h1 em {
    /* keep gold accent inline with a real space before it */
    margin-left: 0 !important;
    letter-spacing: 0 !important;
  }

  /* re-enable <br> so the layout breaks where designer intended */
  html body .top-hero .hero-content h1 br {
    display: inline !important;
  }

  /* === D) Contact form re-assert with higher specificity (browser cache safety) === */
  html body .contact-form .form-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  html body .contact-form .form-group {
    width: 100% !important;
  }

  html body .contact-form input,
  html body .contact-form select,
  html body .contact-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
}

/* Also at very narrow widths, button text shouldn't shrink to nothing */
@media (max-width: 420px) {
  html body .top-hero .hero-content h1 {
    font-size: 28px !important;
  }

  html body .top-hero .hero-content p {
    font-size: 14px !important;
  }
}

/* ==========================================================
   v53 — Portal'd drawer + dedicated backdrop
   JS now moves .navlinks to be a direct body child when open,
   and adds a #navBackdrop element. This escapes ALL parent
   stacking contexts on every page (home + inner).
   - Backdrop: dark dim + blur, z 9000, click-to-close
   - Drawer (when body child): z 9999
   - REMOVE v51/v52 .top-hero z-index hacks (no longer needed
     and they were preventing overlay from covering hero)
   ========================================================== */

/* Kill the previous elevation hack so overlay can cover hero content */
@media (max-width: 980px) {

  body.main-nav-active .top-hero,
  body.main-nav-active .site-navbar-wrap {
    z-index: auto !important;
  }

  /* The old ::after pseudo-overlay is no longer used — disable it */
  body.main-nav-active::after {
    display: none !important;
  }
}

/* Dedicated backdrop element (created by JS as body child) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 14, 28, .62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  z-index: 9000;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer when portal'd to body (direct child) — escape all stacking traps */
body>.navlinks {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: min(360px, 88vw) !important;
  height: 100vh !important;
  height: 100dvh !important;
  flex-direction: column !important;
  align-items: stretch !important;
  margin: 0 !important;
  gap: 0 !important;
  background: linear-gradient(180deg, #061a33 0%, #08254a 100%) !important;
  padding: 78px 22px 36px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  box-shadow: -24px 0 60px rgba(0, 0, 0, .5) !important;
  transition: right .35s cubic-bezier(.16, 1, .3, 1) !important;
  z-index: 9999 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body>.navlinks.active {
  right: 0 !important;
}

/* drawer links styled clean (re-assert in case parent specificity differs) */
body>.navlinks>a,
body>.navlinks .has-sub>a {
  display: block !important;
  width: 100% !important;
  padding: 15px 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  color: #edf4fb !important;
  text-decoration: none !important;
  text-align: left !important;
}

body>.navlinks .has-sub {
  display: block !important;
  width: 100% !important;
}

body>.navlinks .has-sub>a {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
}

body>.navlinks .submenu {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: none !important;
  background: rgba(0, 0, 0, .18) !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 4px 0 8px 14px !important;
  min-width: 0 !important;
}

body>.navlinks .has-sub.open .submenu {
  display: block !important;
}

body>.navlinks .submenu a {
  padding: 11px 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #cdd6e0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .05) !important;
  text-decoration: none !important;
}

/* Menu toggle X state (already exists but re-assert for portal'd drawer) */
.menu-toggle {
  z-index: 10000 !important;
  position: relative;
}

body.main-nav-active .menu-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
}

/* ==========================================================
   v55 — FOUC fix: nav-links should NEVER show inline on mobile
   even before JS portal moves them. Two-state rule:
   - When still inside navbar (pre-portal or JS-failed)  → hide
   - When portaled to body (direct child) → render as drawer
   ========================================================== */
@media (max-width: 980px) {

  /* 1) Any .navlinks still inside its original navbar parent → hide it
        completely (visibility + zero size) — never show inline.
        These selectors target every place the navbar can live. */
  .top-hero .navbar>.navlinks,
  .site-navbar-wrap .navlinks,
  .navbar>.navlinks {
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  /* 2) When the drawer is portaled directly under <body>, restore full
        drawer visuals. body > .navlinks rules from v53 already do this;
        re-assert the visibility/size that step 1 nuked, scoped to body
        children only. */
  body>.navlinks {
    visibility: visible !important;
    pointer-events: auto !important;
    width: min(360px, 88vw) !important;
    max-width: 88vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    opacity: 1 !important;
    padding: 78px 22px 36px !important;
    overflow-y: auto !important;
  }
}

/* ==========================================================
   v56 — UNIFIED NAVBAR DESIGN LANGUAGE (home + inner pages)
   ----------------------------------------------------------
   Goals (per user request):
   - All pages use the SAME navbar look as the home page
     (fixed at top, transparent over hero, dark+blur when
     scrolled, identical mobile drawer & hamburger)
   - Adequate breathing room between navbar and first content
     on mobile (was crashing on home)

   Strategy:
   1) Make .site-navbar-wrap behave EXACTLY like the home
      .top-hero .navbar (position: fixed, transparent default,
      .scrolled adds navy + blur + gold border)
   2) Bump page-hero & home hero-content top padding so a
      ~64-72px fixed navbar never crashes the title
   3) Re-assert mobile drawer/hamburger styles so both layouts
      use identical visual treatment.
   ========================================================== */

/* ---- (1) Unified navbar: site-navbar-wrap (inner pages + home) ---- */
.site-navbar-wrap {
  position: fixed !important;       /* was sticky */
  top: 0; left: 0; right: 0;
  width: 100%;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  /* Must beat .top-hero { z-index: 99999 } and any other elevated
     siblings on the page so the navbar always paints on top. */
  z-index: 1000000 !important;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
/* When the inner navbar is scrolled, switch to home's solid look.
   The .scrolled class is added by script.js to #siteHeader (the .navbar).
   Use :has() so the wrap re-skins when its child navbar is scrolled. */
.site-navbar-wrap:has(.navbar.scrolled),
.site-navbar-wrap.scrolled{
  background: rgba(6, 29, 56, 0.96) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(217, 181, 96, 0.18) !important;
}
.site-navbar-wrap .navbar{
  background: transparent !important;
  border-bottom: 0 !important;
  min-height: 64px;
  padding-block: 12px;
  transition: padding .3s ease, min-height .3s ease;
}
.site-navbar-wrap .navbar.scrolled{
  padding-block: 8px;
  min-height: 56px;
}

/* ---- (1b) Optional banner image on .page-hero ----
   Usage: <section class="page-hero has-bg-image" style="--hero-bg:url('...')">
   Image fills the hero behind the gradient overlay; text stays readable. */
/* ---- v60: Promise grid responsive layout ----
   Desktop ≥1024 → title full row + 4 items in single row (1×4)
   821-1023px    → title full row + 2×2 items
   ≤820px        → title full row + 1 column items
*/
.promise-inner{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px 24px !important;
  align-items: start !important;
}
.promise-inner > h2{
  grid-column: 1 / -1 !important;
  margin-bottom: 8px !important;
}
.promise-inner .promise-item{
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  min-width: 0 !important;
}
.promise-inner .promise-item > div{
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
@media (max-width: 1023px){
  .promise-inner{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 22px !important;
  }
}
@media (max-width: 620px){
  .promise-inner{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

.page-hero.has-bg-image{
  background:
    linear-gradient(135deg, rgba(4,19,42,.88) 0%, rgba(6,29,56,.78) 55%, rgba(8,42,82,.58) 100%),
    var(--hero-bg) center/cover no-repeat,
    #061d38 !important;
}
.page-hero.has-bg-image::before{
  background:
    radial-gradient(ellipse at 80% 20%, rgba(217,181,96,.18), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(13,52,98,.35), transparent 55%) !important;
}

/* ---- (2) Inner pages: page-hero must clear the fixed navbar ---- */
.page-hero{
  padding-top: 140px;     /* desktop: 64px navbar + ~76 breathing */
}
@media (max-width: 980px){
  .page-hero{ padding-top: 110px !important; padding-bottom: 50px !important; }
}
@media (max-width: 620px){
  .page-hero{ padding-top: 96px !important; padding-bottom: 40px !important; }
}

/* ---- (3) Home: hero-content must clear the fixed inline navbar ---- */
@media (max-width: 980px){
  html body.home-v9 .top-hero .bk-container.hero-content{
    padding-top: 96px !important;   /* was 28-36px → too tight, navbar overlaps */
    padding-bottom: 32px !important;
  }
}
@media (max-width: 620px){
  html body.home-v9 .top-hero .bk-container.hero-content{
    padding-top: 88px !important;
  }
}

/* ---- (4) Identical brand image sizing across both navbars ---- */
.site-navbar-wrap .navbar .brand-img,
.top-hero .navbar .brand-img{
  height: 38px;
  width: auto;
  display: block;
}
@media (max-width: 620px){
  .site-navbar-wrap .navbar .brand-img,
  .top-hero .navbar .brand-img{ height: 32px; }
}

/* ---- (5) Hamburger color & size identical on both layouts ---- */
@media (max-width: 980px){
  .site-navbar-wrap .menu-toggle,
  .top-hero .menu-toggle{
    display: flex !important;
    margin-left: auto !important;
  }
  .site-navbar-wrap .menu-toggle span,
  .top-hero .menu-toggle span{
    background: var(--gold-2, #e2bd78) !important;
  }
  /* Hide nav-tools (LinkedIn/lang/CTA) on mobile in BOTH layouts */
  .site-navbar-wrap .navbar .nav-tools,
  .top-hero .navbar .nav-tools{
    display: none !important;
  }
}

/* ==========================================================
   v57 — Make HOME navbar pixel-identical to INNER navbar
   Earlier v## blocks gave .top-hero .navbar a slightly bigger
   height, padding & navlinks font-size (69px / 14px / desktop
   nav size 11px). Now we harmonize sizes & spacing across both.
   ========================================================== */
/* Force HOME inline navbar to use the same heights/paddings as inner */
.top-hero .navbar{
  min-height: 64px !important;
  padding-block: 12px !important;
  height: auto !important;
  gap: 16px 24px !important;
}
.top-hero .navbar.scrolled{
  min-height: 56px !important;
  padding-block: 8px !important;
}

/* Same desktop nav-link sizing on both layouts (was 11px on home only) */
.top-hero .navbar .navlinks,
.site-navbar-wrap .navbar .navlinks{
  font-size: 12px !important;
  letter-spacing: .08em !important;
  gap: 22px !important;
}

/* Same nav-tools spacing/font on both layouts — DESKTOP ONLY.
   Mobile rules in v56 hide nav-tools entirely (LinkedIn + lang + CTA). */
@media (min-width: 981px){
  .top-hero .navbar .nav-tools,
  .site-navbar-wrap .navbar .nav-tools{
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    font-size: 12px !important;
  }
}
.top-hero .navbar .nav-tools .cta-small,
.site-navbar-wrap .navbar .nav-tools .cta-small{
  font-size: 11px !important;
  padding: 9px 16px !important;
  letter-spacing: .08em !important;
}

/* Same brand sizing (already set in v56, re-assert with !important
   to defeat older legacy rules that scaled the home brand bigger) */
.top-hero .navbar .brand-img,
.site-navbar-wrap .navbar .brand-img{
  height: 38px !important;
  width: auto !important;
}

/* Re-balance the hero spacing so the inline (fixed) navbar never
   feels glued to the title — both desktop and mobile. */
.top-hero .bk-container.hero-content{
  padding-top: 120px !important;   /* desktop: 64px navbar + 56 air */
}
@media (max-width: 980px){
  html body.home-v9 .top-hero .bk-container.hero-content{
    padding-top: 110px !important;  /* match .page-hero mobile */
    padding-bottom: 36px !important;
  }
}
@media (max-width: 620px){
  html body.home-v9 .top-hero .bk-container.hero-content{
    padding-top: 96px !important;   /* match .page-hero small mobile */
  }
  .top-hero .navbar .brand-img,
  .site-navbar-wrap .navbar .brand-img{
    height: 32px !important;
  }
}

/* ===== CMS eklemeleri: form geri bildirimi, blog yazısı ===== */
.form-msg { display: none; margin: 4px 0 14px; padding: 12px 14px; font-size: 14px; line-height: 1.5; border-left: 3px solid var(--gold); background: rgba(201,157,86,.10); color: #06203c; }
.form-msg.ok { display: block; border-left-color: #2f9e6a; background: #e9f7f0; color: #17603b; }
.form-msg.err { display: block; border-left-color: #b23b3b; background: #fdecec; color: #8f2424; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-form input[type=file] { padding: 10px; background: #fff; box-sizing: border-box; width: 100%; max-width: 100%; }
.contact-form textarea { box-sizing: border-box; max-width: 100%; }
.legal-doc .doc a { color: var(--gold); }
.legal-doc .doc b, .legal-doc .doc strong { color: #06203c; }
.post-page .legal-doc .doc p, .post-page .legal-doc .doc li { font-size: 16px; line-height: 1.85; }
.post-back { display: inline-block; margin-top: 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold); text-decoration: none; }
