/* HENA Eğitim ve Danışmanlık — henagrup.com
   Corporate direction: logo navy + red on white, Montserrat headings, Inter text. */

:root {
  --navy: #0c3048;          /* logo navy: header text, dark sections */
  --navy-2: #163f5e;
  --navy-3: #245173;
  --navy-ink: #071f30;      /* deepest background */
  --red: #d7292a;           /* logo red: accents, large graphics */
  --red-deep: #b81f20;      /* buttons and links on white: passes contrast */
  --red-dark: #951819;
  --bg: #ffffff;
  --soft: #f3f6fa;          /* soft section background */
  --soft-2: #e6edf4;
  --line: #dce4ec;
  --ink: #13283a;
  --ink-2: #44586b;
  --ink-3: #6a7d8f;
  --on-navy: #c9d7e4;
  --danger: #b3261e;
  --success-bg: #e8f3ec;
  --success-ink: #1d5b33;

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --header-h: 84px;
  --shadow: 0 18px 40px -24px rgba(12, 48, 72, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

a { color: var(--red-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border: 2px solid transparent; border-radius: var(--r-sm);
  font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 28px; font-size: 16.5px; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red-deep); color: #fff; box-shadow: 0 10px 22px -12px rgba(215, 41, 42, .7); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-ink); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red-deep); font-weight: 600; font-size: 16.5px; text-decoration: none;
}
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-light, .link-light:hover { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red-deep); font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--red); }
.eyebrow-light { color: #fff; }

.lead { max-width: 640px; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; }

/* ---------- Top bar ---------- */

.topbar { background: var(--navy-ink); color: var(--on-navy); font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-tagline { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar-links { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.topbar-links a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; white-space: nowrap; }
.topbar-links a:hover { color: #fff; text-decoration: underline; }
.topbar-links .icon { color: var(--red); }
@media (max-width: 900px) { .topbar-tagline { display: none; } .topbar-inner { justify-content: center; } }
@media (max-width: 480px) { .topbar-links { gap: 16px; font-size: 13px; } .topbar-links li:first-child span { display: none; } }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}

.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { flex-shrink: 0; }
.brand img { height: 52px; width: auto; }

.site-nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 24px; margin-left: 36px; }

.nav-links { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav-links > li > a, .nav-parent > a {
  display: block; padding: 6px 0; border-bottom: 2px solid transparent;
  color: var(--navy); font-family: var(--font-display); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > a[aria-current],
.nav-parent > a:hover, .nav-parent > a[aria-current] { border-color: var(--red); color: var(--navy); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-wa {
  display: inline-flex; align-items: center; gap: 8px; color: var(--navy);
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.nav-wa .icon { color: #1f9e55; }
.nav-wa:hover { color: var(--red-deep); }

.nav-toggle { display: none; }

@media (max-width: 1240px) {
  .nav-links { gap: 22px; }
  .site-nav { margin-left: 24px; }
  .nav-wa span { display: none; }
}

@media (max-width: 1120px) {
  .header-bar { flex-wrap: wrap; }
  .brand img { height: 44px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--r-sm);
    background: transparent; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; position: relative; width: 24px; height: 2px; background: var(--navy);
    transition: transform .2s ease, background-color .2s ease;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    flex-basis: 100%; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 24px; margin: 0; padding: 8px 0 32px;
  }
  .js .site-nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0;
    padding: 12px var(--gutter) 40px; background: #fff; overflow-y: auto;
  }
  .js .site-nav.is-open { display: flex; }

  .nav-links { flex-direction: column; gap: 0; }
  .nav-links > li > a, .nav-parent > a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .nav-links > li > a[aria-current], .nav-parent > a[aria-current] { color: var(--red-deep); border-color: var(--line); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .nav-wa { justify-content: center; padding: 13px; border: 2px solid var(--line); border-radius: var(--r-sm); }
  .nav-wa span { display: inline; }
  .nav-actions .btn { padding: 15px 22px; font-size: 16px; }
}

/* ---------- Services mega menu ---------- */

.nav-links > li { display: flex; align-items: center; }
.nav-parent { display: flex; align-items: center; gap: 2px; }
.mega-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--navy); cursor: pointer;
}
.mega-toggle .icon { transition: transform .2s ease; }
.has-mega.is-open .mega-toggle .icon { transform: rotate(180deg); }
.mega { display: none; }

.mega-cats { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mega-cat a { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border-left: 3px solid transparent; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--navy); text-decoration: none; }
.mega-cat strong { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.mega-cat span { color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.mega-cat.is-active a, .mega-cat a:hover { background: var(--soft); border-left-color: var(--red); color: var(--navy); }
.mega-cat.is-active strong { color: var(--red-deep); }

.mega-panel { display: none; }
.mega-panel.is-active { display: block; }
.mega-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.mega-panel-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--navy); }
.mega-panel-head .link-arrow { font-size: 14.5px; }
.mega-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 12px; margin: 0; padding: 0; list-style: none; }
.mega-links a {
  display: flex; flex-direction: column; padding: 7px 10px; border-radius: 6px;
  color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.3; text-decoration: none;
}
.mega-links a span { color: var(--ink-3); font-size: 12.5px; font-weight: 400; }
.mega-links a:hover, .mega-links a[aria-current] { background: var(--soft); color: var(--red-deep); }

@media (min-width: 1121px) {
  .site-nav, .nav-links { align-self: stretch; }
  .mega {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 3px solid var(--red);
    box-shadow: 0 30px 50px -30px rgba(12, 48, 72, .4);
  }
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { display: block; }
  .has-mega:hover .mega-toggle .icon, .has-mega:focus-within .mega-toggle .icon { transform: rotate(180deg); }
  .mega-inner { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; padding-block: 24px 32px; }
}
@media (min-width: 1300px) { .mega-links { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1120px) {
  .nav-links > li { display: block; }
  .nav-parent { justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-parent > a { flex: 1; border-bottom: 0; }
  .mega-toggle { width: 48px; height: 48px; }
  .has-mega.is-open .mega { display: block; padding: 6px 0 14px; }
  .mega-inner.wrap { padding-inline: 0; }
  .mega-panels, .mega-cat span { display: none; }
  .mega-cat a { padding: 11px 0 11px 14px; }
  .mega-cat.is-active a { background: transparent; border-left-color: transparent; }
  .mega-cat.is-active strong { color: var(--navy); }
}

/* ---------- Home slider ---------- */

.hero-slider {
  position: relative; overflow: hidden; color: #fff;
  padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 56px);
  background: linear-gradient(135deg, var(--navy-ink) 0%, var(--navy) 55%, var(--navy-2) 100%);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 85% 20%, rgba(215, 41, 42, .18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(36, 81, 115, .55), transparent 45%);
}
.hero-bg::after {
  content: ""; position: absolute; right: -80px; top: -140px; width: 520px; height: 640px;
  border: 14px solid rgba(255, 255, 255, .05); border-top: 0; border-radius: 0 0 260px 260px;
}
.hero-slider .wrap { position: relative; }
.slides { display: grid; gap: 64px; }
.slide { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.js .slides { gap: 0; }
.js .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .6s ease, visibility .6s ease, transform .6s ease; }
.js .slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide-text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.slide-title {
  margin: 0; color: #fff; font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 62px); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance;
}
.slide-title span { color: #ff5a4f; }
.hero-slider .lead { color: var(--on-navy); }
.slide-art {
  display: grid; place-items: center; aspect-ratio: 13 / 11; padding: 6%;
  background: #fff; border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.slide-art img { width: 100%; }

.slider-controls { display: none; align-items: center; gap: 14px; margin-top: 36px; }
.js .slider-controls { display: flex; }
.slider-arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
  border: 2px solid rgba(255, 255, 255, .45); border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.slider-arrow:hover { background: #fff; border-color: #fff; color: var(--navy); }
.slider-dots { display: flex; gap: 2px; }
.slider-dot { position: relative; width: 40px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.slider-dot::before {
  content: ""; position: absolute; top: 50%; left: 5px; right: 5px; height: 4px; margin-top: -2px;
  border-radius: 2px; background: rgba(255, 255, 255, .3); transition: background-color .2s ease;
}
.slider-dot[aria-current="true"]::before { background: var(--red); }

@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; gap: 28px; }
  .slide-art { order: -1; width: 100%; max-width: 420px; aspect-ratio: 16 / 11; padding: 4%; border-radius: 18px; }
}
@media (max-width: 560px) {
  .slide-art { display: none; }
  .hero-slider .btn-lg { width: 100%; }
}

/* Values band under the slider */
.values-band { background: #fff; border-bottom: 1px solid var(--line); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.values li { display: flex; align-items: flex-start; gap: 16px; padding: 30px 24px; }
.values li + li { border-left: 1px solid var(--line); }
.value-icon { display: grid; place-items: center; flex-shrink: 0; width: 50px; height: 50px; border-radius: 12px; background: var(--soft); color: var(--red-deep); }
.values h2 { margin-bottom: 4px; font-size: 17px; letter-spacing: -0.01em; }
.values p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1000px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li:nth-child(3) { border-left: 0; }
  .values li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .values li { padding: 20px 4px; }
  .values li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(64px, 8vw, 110px); }
.section-tight-top { padding-top: clamp(56px, 6vw, 84px); }
.section-line { border-top: 1px solid var(--line); }
.section-soft { background: var(--soft); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px;
  margin-bottom: 40px;
}
.section-head-text { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-sub { color: var(--ink-2); font-size: 18px; }

.h-xl { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -0.025em; }
.h-lg { font-size: clamp(26px, 2.8vw, 34px); }
.h-md { margin-bottom: 20px; font-size: clamp(22px, 2.2vw, 26px); }
.narrow { max-width: 820px; margin-top: 14px; }

/* Service cards with illustrations */
.feature-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.feature-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--soft-2); box-shadow: var(--shadow); color: var(--ink); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-art { display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); }
.feature-art img { width: 72%; }
.feature-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.feature-label { color: var(--red-deep); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.feature-title { color: var(--navy); font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; }
.feature-text { flex: 1; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.feature-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--red-deep); font-weight: 600; }
@media (max-width: 1180px) { .feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .feature-cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .feature-cards, .feature-cards-3 { grid-template-columns: 1fr; }
  .feature-art { aspect-ratio: 16 / 8; }
  .feature-art img { width: 46%; }
}

/* Process band */
.process-cards {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step;
  margin: 44px 0 36px; padding: 0; list-style: none;
}
.process-cards li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-lg); }
.process-no { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; color: var(--red); }
.process-cards h3 { color: #fff; font-size: 17px; line-height: 1.3; }
.process-cards p { color: var(--on-navy); font-size: 15px; line-height: 1.55; }
@media (max-width: 1100px) { .process-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .process-cards { grid-template-columns: 1fr; } }

/* Split: text + office */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.split-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.offices { display: flex; flex-direction: column; gap: 16px; }
.office-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 32px; overflow: hidden;
  background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--r-lg);
}
.office-label { color: var(--red-deep); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.office-address {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--navy); font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.35;
}
.office-address .icon { margin-top: 3px; color: var(--red-deep); }
.office-line { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 16px; }
.office-line .icon { color: var(--red-deep); }
.office-line a { color: var(--ink); font-weight: 600; text-decoration: none; }
.office-line a:hover { color: var(--red-deep); text-decoration: underline; }
.office-line small { color: var(--ink-3); font-weight: 400; }
.office-legal { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }

/* Call to action band */
.cta-band {
  position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 88px); color: #fff;
  background: linear-gradient(120deg, var(--red-dark) 0%, var(--red-deep) 45%, var(--red) 100%);
}
.cta-band::after {
  content: ""; position: absolute; right: 6%; top: -60%; width: 340px; height: 420px;
  border: 12px solid rgba(255, 255, 255, .1); border-top: 0; border-radius: 0 0 170px 170px;
}
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; }
.cta-inner h2 { max-width: 720px; color: #fff; font-size: clamp(26px, 3vw, 38px); }
.cta-inner p { max-width: 640px; margin-top: 12px; color: rgba(255, 255, 255, .88); font-size: 17.5px; }
.cta-band .btn-primary { background: #fff; color: var(--red-deep); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--navy); color: #fff; }

/* ---------- Footer ---------- */

.site-footer { padding-block: 72px 28px; background: var(--navy-ink); color: var(--on-navy); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 0.8fr; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { align-self: flex-start; width: auto; height: 50px; }
.footer-brand > p { max-width: 380px; font-size: 15px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .icon { margin-top: 3px; color: var(--red); }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-h { margin-bottom: 16px; color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--on-navy); font-size: 15px; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}
.footer-bottom a { color: var(--on-navy); }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
  border-radius: 999px; background: #1f9e55; color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .2s ease, background-color .2s ease;
}
.wa-float:hover { background: #17834a; color: #fff; transform: translateY(-2px); }
@media (max-width: 640px) { .wa-float { padding: 13px; } .wa-float-text { display: none; } }

/* ---------- Inner pages ---------- */

.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(28px, 4vw, 48px) clamp(44px, 5vw, 72px);
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.page-hero-art .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.page-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.page-hero h1 { max-width: 960px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
.page-hero .lead { max-width: 760px; }
.page-hero-img { justify-self: end; width: 100%; max-width: 400px; }
@media (max-width: 900px) {
  .page-hero-art .wrap { grid-template-columns: 1fr; }
  .page-hero-img { display: none; }
}

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--ink-3); font-size: 14px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--red-deep); text-decoration: underline; }

.page-body { padding-block: clamp(48px, 6vw, 80px) clamp(72px, 9vw, 110px); }
.prose-col { display: flex; flex-direction: column; gap: 52px; max-width: 820px; }

.block { display: flex; flex-direction: column; gap: 16px; }
.block h2 { font-size: clamp(24px, 2.6vw, 31px); line-height: 1.2; }
.block h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--red); }
.block p { color: var(--ink-2); font-size: 17.5px; line-height: 1.75; }
.block p strong { color: var(--ink); }

.block-note { padding: 28px 30px; border-radius: var(--r-lg); background: var(--soft); border-left: 4px solid var(--navy); }
.block-note h2 { font-size: 21px; }
.block-note h2::after { display: none; }
.block-note p { color: var(--ink); font-size: 16.5px; }

.check-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.check-list .icon { margin-top: 4px; padding: 2px; border-radius: 50%; background: var(--red-deep); color: #fff; }
.check-list strong { color: var(--ink); }

.step-list { margin: 0; padding: 0; list-style: none; }
.step-list li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.step-no {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy);
  color: #fff; font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1;
}
.step-list h3 { margin-bottom: 4px; font-size: 18px; line-height: 1.3; }
.step-list p { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.step-list-compact li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
.step-list-compact .step-no { width: 38px; height: 38px; font-size: 14px; border-radius: 10px; }
.step-list-compact p { font-size: 15.5px; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: flex; flex-direction: column; gap: 4px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-3); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 0; color: var(--ink); font-size: 16.5px; font-weight: 600; line-height: 1.45; }
.facts-compact { grid-template-columns: 1fr; border-top: 0; }
.facts-compact > div { padding: 12px 0; }
.facts-compact dd { font-size: 15.5px; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

.download {
  display: flex; align-items: center; gap: 16px; max-width: 560px; padding: 20px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); text-decoration: none;
}
.download:hover { border-color: var(--navy); color: var(--ink); }
.download .icon { color: var(--red-deep); }
.download span { display: flex; flex-direction: column; }
.download small { color: var(--ink-3); font-size: 14px; }

.figure { margin: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.figure img { width: 100%; }

.link-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.link-cards a {
  position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 24px 56px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .2s ease;
}
.link-cards a:hover { border-color: var(--soft-2); box-shadow: var(--shadow); color: var(--ink); }
.link-cards strong { color: var(--navy); font-family: var(--font-display); font-size: 18px; line-height: 1.25; }
.link-cards span { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.link-cards .icon { position: absolute; top: 26px; right: 22px; color: var(--red-deep); }
.link-cards-row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
@media (max-width: 900px) { .link-cards-row { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .link-cards { grid-template-columns: 1fr; } }

/* Services hub */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 280px; padding: 28px; border-radius: var(--r-lg);
  color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.tiles-categories { margin-bottom: clamp(56px, 7vw, 88px); }
.tile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tile-art { width: 92px; flex-shrink: 0; padding: 6px; border-radius: 12px; background: #fff; }
.tile-dark, .tile-dark:hover { background: var(--navy); color: #fff; }
.tile-red, .tile-red:hover { background: var(--red-deep); color: #fff; }
.tile-soft { background: var(--soft); }
.tile-plain { background: #fff; border: 1px solid var(--line); }
.tile-label { color: var(--red-deep); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tile-dark .tile-label, .tile-red .tile-label { color: #fff; opacity: .85; }
.tile-body { display: flex; flex-direction: column; gap: 10px; }
.tile-title-sm { color: inherit; font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; }
.tile-soft .tile-title-sm, .tile-plain .tile-title-sm { color: var(--navy); }
.tile-text { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.tile-dark .tile-text { color: var(--on-navy); }
.tile-red .tile-text { color: rgba(255, 255, 255, .88); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

.standard-links {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin: 16px 0 0; padding: 0; list-style: none;
}
.standard-links a {
  display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .2s ease;
}
.standard-links a:hover { border-left-color: var(--red); box-shadow: var(--shadow); color: var(--ink); }
.standard-links strong { color: var(--navy); font-family: var(--font-display); font-size: 16.5px; line-height: 1.3; }
.standard-links span { color: var(--ink-3); font-size: 14px; line-height: 1.4; }
@media (max-width: 1040px) { .standard-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .standard-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .standard-links { grid-template-columns: 1fr; } }

.service-group + .service-group { margin-top: clamp(52px, 6vw, 80px); }
.category-content { margin-top: clamp(64px, 8vw, 100px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.service-group-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-bottom: 26px; }
.service-group-head p { color: var(--ink-2); font-size: 17px; }

.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.service-card {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--r-md);
  color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { border-top-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.service-code { color: var(--red-deep); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service-card strong { color: var(--navy); font-family: var(--font-display); font-size: 19px; line-height: 1.25; }
.service-summary { flex: 1; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.service-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--red-deep); font-weight: 600; }
@media (max-width: 1000px) { .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .service-cards { grid-template-columns: 1fr; } }

/* Service detail */
.service-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start;
  padding-block: clamp(48px, 6vw, 72px) clamp(72px, 9vw, 110px);
}
.service-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.aside-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.aside-title { color: var(--navy); font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.aside-text { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.aside-card-navy { background: var(--navy); border-color: var(--navy); border-top-color: var(--red); color: #fff; box-shadow: none; }
.aside-card-navy .aside-title { color: #fff; }
.aside-card-navy .aside-text { color: var(--on-navy); }
.aside-line { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.aside-line .icon { color: var(--red); }
.aside-line a { color: #fff; font-weight: 600; text-decoration: none; }
.aside-line a:hover { text-decoration: underline; }
@media (max-width: 1000px) {
  .service-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-aside { position: static; }
}

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0;
  color: var(--navy); font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.4; list-style: none; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red-deep); }
.faq-item summary .icon { color: var(--red-deep); transition: transform .2s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding-bottom: 20px; }
.faq-answer p { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }

/* Contact and quote */
.contact-layout {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start;
  padding-block: clamp(48px, 6vw, 72px) clamp(72px, 9vw, 110px);
}
.contact-layout-quote { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.form-card { padding: clamp(22px, 3vw, 38px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.aside-contact { margin-top: 24px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 960px) { .contact-layout, .contact-layout-quote { grid-template-columns: 1fr; } }

.lead-form { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; width: 100%; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field-wide { grid-column: 1 / -1; }
.field > label, .field legend { padding: 0; color: var(--navy); font-size: 15px; font-weight: 600; }
.field legend { margin-bottom: 8px; }
.optional { color: var(--ink-3); font-weight: 400; }
.field-error { color: var(--danger); font-size: 14px; font-weight: 600; }

.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1px solid #c7d3df; border-radius: var(--r-sm); background: #fff;
  color: var(--ink); font: 500 16px/1.4 var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12, 48, 72, .15);
}
[aria-invalid="true"] { border-color: var(--danger) !important; }

.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.check-grid-compact .check { padding: 10px 12px; font-size: 14px; }
@media (max-width: 1240px) { .check-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; line-height: 1.35; cursor: pointer;
}
.check:has(input:checked) { border-color: var(--navy); background: var(--soft); }
.check input, .consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red-deep); }

/* Quote form: choose an area, then its topics */
.quote-picker { gap: 18px; }
.area-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.area-tab {
  display: flex; align-items: center; gap: 10px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  font-size: 15px; font-weight: 600; line-height: 1.3; cursor: pointer;
}
.area-tab:hover { border-color: var(--navy); }
.area-tab:has(input:checked) { border-color: var(--navy); background: var(--navy); color: #fff; }
.area-tab:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.area-tab input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--red); }
.area-count {
  margin-left: auto; min-width: 24px; padding: 2px 8px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 13px; text-align: center;
}
.area-count[hidden] { display: none; }
.area-panel { padding-top: 18px; border-top: 1px solid var(--line); }
.area-group { margin: 10px 0 2px; color: var(--ink-3); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.area-hint { display: none; margin: 0; color: var(--ink-3); font-size: 15px; }
@supports selector(:has(*)) {
  .area-panel { display: none; }
  .quote-picker:not(:has(input[name="area"]:checked)) .area-hint { display: block; }
  .quote-picker:has(input[value="hr-consulting"]:checked) .area-panel[data-area="hr-consulting"],
  .quote-picker:has(input[value="kvkk-compliance"]:checked) .area-panel[data-area="kvkk-compliance"],
  .quote-picker:has(input[value="supplier-audits"]:checked) .area-panel[data-area="supplier-audits"],
  .quote-picker:has(input[value="system-certification"]:checked) .area-panel[data-area="system-certification"],
  .quote-picker:has(input[value="product-certification"]:checked) .area-panel[data-area="product-certification"],
  .quote-picker:has(input[value="international-certification"]:checked) .area-panel[data-area="international-certification"],
  .quote-picker:has(input[value="personnel-certification"]:checked) .area-panel[data-area="personnel-certification"] { display: flex; }
}
@media (max-width: 640px) { .area-tabs { grid-template-columns: 1fr; } }

.consent { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-2); font-size: 15px; font-weight: 400; line-height: 1.5; cursor: pointer; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { width: 100%; padding: 14px 18px; border-radius: var(--r-sm); background: #fbe9e7; color: var(--danger); font-weight: 600; }
.form-success { display: flex; align-items: flex-start; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--success-bg); color: var(--success-ink); }
.form-success h2 { margin-bottom: 6px; color: var(--success-ink); font-size: 22px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .form-grid, .check-grid { grid-template-columns: 1fr; }
  .lead-form .btn { width: 100%; }
  .block p { font-size: 16.5px; }
}

/* ---------- Blog ---------- */

.post-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.post-card a {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .2s ease, box-shadow .2s ease;
}
.post-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.post-card-topic { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--red-deep); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.post-card strong { color: var(--navy); font-family: var(--font-display); font-size: 19px; line-height: 1.3; }
.post-card-excerpt { flex: 1; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.post-card-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
@media (max-width: 1000px) { .post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-cards { grid-template-columns: 1fr; } }

.article-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--ink-3); font-size: 15px; font-weight: 600; }
.related-h { margin-bottom: 28px; }
.empty-note { color: var(--ink-3); }

/* 404 */
.page-hero-404 { padding-block: clamp(64px, 10vw, 130px); }
.page-hero-404 .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
