/* ============================================
   KOK FINANS — Global Stylesheet
   Palette: Deep Navy, Ottoman Gold, Ivory, Slate
   ============================================ */

:root {
  --navy:       #0B1F3A;
  --navy-mid:   #122844;
  --navy-light: #1A3A5C;
  --gold:       #C9973A;
  --gold-light: #E8B85A;
  --gold-pale:  #F5E8CC;
  --ivory:      #FAF8F4;
  --white:      #FFFFFF;
  --slate:      #6B7A8D;
  --slate-light:#A8B4C0;
  --text-dark:  #0D1821;
  --text-mid:   #3A4A5C;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 24px rgba(11,31,58,0.10);
  --shadow-hover: 0 8px 40px rgba(11,31,58,0.18);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1180px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Google Fonts (loaded in header) ── */

/* ── UTILITY ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 12px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 540px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,151,58,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── GEOMETRIC TILE MOTIF (SVG background) ── */
.tile-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%23C9973A' stroke-width='0.4' stroke-opacity='0.18'/%3E%3Ccircle cx='30' cy='30' r='4' fill='none' stroke='%23C9973A' stroke-width='0.4' stroke-opacity='0.12'/%3E%3C/svg%3E");
}

/* ══════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}
#site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.logo-text { line-height: 1; }
.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.logo-text small {
  font-size: 0.63rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 8px; padding: 10px 22px; font-size: 0.85rem; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
/* Animate to X when open */
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav Overlay ── */
/* Overlay = full-screen dark backdrop */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(11, 31, 58, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Panel slides in from right */
.mobile-nav {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding: 28px 28px 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-overlay.is-open .mobile-nav {
  transform: translateX(0);
}

/* Close button */
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 4px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}
.mobile-nav-close:hover { color: var(--gold); }

/* Logo inside panel */
.mobile-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  text-decoration: none;
}

/* Nav links list */
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-nav-links a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--gold);
  padding-left: 6px;
}

/* Login / Sign Up buttons at bottom */
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Nav divider */
.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  margin: 0 4px;
}

/* Login link style in desktop nav */
.nav-login {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82) !important;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════
   CUSTOM LANGUAGE SELECTOR
   Works on desktop (inside nav-links) and
   mobile/tablet (beside hamburger button).
══════════════════════════════════════ */

/* Desktop wrapper <li> */
.nav-translate {
  display: flex;
  align-items: center;
}

/* Shared wrapper — positions globe icon + select + chevron */
.kf-lang-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Globe icon */
.kf-lang-icon {
  position: absolute;
  left: 9px;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
  top: 50%;
  transform: translateY(-50%);
}

/* Chevron */
.kf-lang-chevron {
  position: absolute;
  right: 8px;
  font-size: 0.65rem;
  color: var(--gold);
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
}

/* The <select> element itself */
.kf-lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.90);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 26px 7px 28px;  /* left pad for globe, right pad for chevron */
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  min-width: 118px;
  letter-spacing: 0.02em;
}
.kf-lang-select:hover,
.kf-lang-select:focus {
  border-color: var(--gold);
  background: rgba(201, 151, 58, 0.14);
}
/* Option text must be dark so it's readable on white browser dropdown */
.kf-lang-select option {
  background: #0B1F3A;
  color: #ffffff;
}

/* ── Mobile/tablet language selector ──
   Sits between nav links and hamburger button.
   Visible only on ≤768px (hamburger breakpoint). */
.mobile-header-right {
  display: none;           /* hidden on desktop */
  align-items: center;
  flex-direction: row;     /* explicitly row — globe THEN hamburger */
  gap: 8px;
  flex-shrink: 0;
}

/* Compact version for mobile — shows short code e.g. "EN" */
.kf-lang-mobile .kf-lang-select {
  min-width: 68px;
  font-size: 0.78rem;
  padding: 6px 20px 6px 26px;
}

/* On desktop the hamburger is inside mobile-header-right which is hidden,
   so we never need to show .hamburger standalone on desktop */
.hamburger {
  /* inherits display:none from the rule above; shown only inside
     .mobile-header-right which becomes display:flex on mobile */
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 280px;
  color: rgba(255,255,255,0.6);
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.footer-links li + li { margin-top: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact p span { flex-shrink: 0; font-size: 1rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--gold); }
.bddk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,151,58,0.15);
  border: 1px solid rgba(201,151,58,0.3);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 0.72rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.social-icons { display: flex; gap: 14px; margin-top: 18px; }
.social-icons a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-icons a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ══════════════════════════════════════
   HERO (Home)
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-tiles {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%23C9973A' stroke-width='0.5' stroke-opacity='0.15'/%3E%3Ccircle cx='30' cy='30' r='3' fill='none' stroke='%23C9973A' stroke-width='0.4' stroke-opacity='0.10'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,151,58,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero visual: mosaic card stack */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
}
.hero-card {
  position: absolute;
  background: var(--navy-light);
  border: 1px solid rgba(201,151,58,0.25);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-card);
}
.hero-card-main {
  width: 280px;
  z-index: 3;
}
.hero-card-main .card-label {
  font-size: 0.7rem;
  color: var(--slate-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-card-main .card-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.hero-card-main .card-change {
  font-size: 0.82rem;
  color: #4ADE80;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-bar-row {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  margin-top: 18px;
  height: 48px;
}
.card-bar-row span {
  flex: 1;
  background: rgba(201,151,58,0.25);
  border-radius: 2px;
  transition: height 1s ease;
}
.card-bar-row span:nth-child(4) { background: var(--gold); }

.hero-card-sm1 {
  width: 190px;
  top: 30px; right: 0px;
  z-index: 2;
  transform: rotate(3deg);
}
.hero-card-sm2 {
  width: 190px;
  bottom: 30px; left: 0;
  z-index: 2;
  transform: rotate(-2deg);
}
.hero-card-sm1 .card-label,
.hero-card-sm2 .card-label {
  font-size: 0.68rem;
  color: var(--slate-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-card-sm1 .card-value,
.hero-card-sm2 .card-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.progress-ring {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.ring-wrap { position: relative; width: 44px; height: 44px; }
.ring-wrap svg { transform: rotate(-90deg); }
.ring-wrap .ring-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
}

/* ══════════════════════════════════════
   TRUSTED BY / LOGOS
══════════════════════════════════════ */
.trust-bar {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid rgba(11,31,58,0.07);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  white-space: nowrap;
  padding-right: 16px;
  border-right: 1px solid rgba(11,31,58,0.12);
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-logos span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-light);
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.trust-logos span:hover { opacity: 1; }

/* ══════════════════════════════════════
   SERVICES SECTION / CARDS
══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(11,31,58,0.08);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 18px;
}
.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ══════════════════════════════════════
   WHY KÖK
══════════════════════════════════════ */
.why-section { background: var(--navy); position: relative; overflow: hidden; }
.why-section .tile-bg { position: absolute; inset: 0; opacity: 0.5; }
.why-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-section .section-title { color: var(--white); }
.why-section .section-sub { color: rgba(255,255,255,0.6); }
.why-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.why-pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(201,151,58,0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
}
.pillar-body h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 5px;
}
.pillar-body p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* Cert/license graphic */
.cert-board {
  background: var(--navy-light);
  border: 1px solid rgba(201,151,58,0.2);
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
}
.cert-board::after {
  content: '';
  position: absolute;
  top: -1px; left: 24px;
  width: 60px; height: 3px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
}
.cert-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cert-row:last-child { border-bottom: none; }
.cert-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cert-dot.green { background: #4ADE80; box-shadow: 0 0 6px #4ADE80; }
.cert-dot.gold { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.cert-row-label { font-size: 0.82rem; color: rgba(255,255,255,0.7); flex: 1; }
.cert-row-value { font-size: 0.78rem; color: var(--slate-light); }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials-section { background: var(--ivory); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid rgba(11,31,58,0.07);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-card);
}
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.author-name { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.author-title { font-size: 0.75rem; color: var(--slate); }

/* ══════════════════════════════════════
   CTA BANNER
══════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner .tile-bg { position: absolute; inset: 0; opacity: 0.4; }
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin-bottom: 32px;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero .tile-bg { position: absolute; inset: 0; opacity: 0.5; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 90%; height: 90%;
}
.mosaic-cell {
  border-radius: var(--radius-sm);
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(201,151,58,0.2);
  transition: var(--transition);
}
.mosaic-cell:hover { background: var(--navy-mid); }
.mosaic-cell.large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.team-card {
  background: var(--white);
  border: 1px solid rgba(11,31,58,0.07);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 14px;
}
.team-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 4px;
}
.team-card span {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.value-item {
  background: var(--white);
  border: 1px solid rgba(11,31,58,0.07);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 22px;
}
.value-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.value-item p { font-size: 0.85rem; color: var(--slate); line-height: 1.65; }

/* ══════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid rgba(11,31,58,0.07);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-icon {
  width: 64px; height: 64px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.service-detail h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.service-detail p {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 24px;
}
.feature-list { display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  font-size: 0.87rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.service-visual-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-visual-box .tile-bg { position: absolute; inset: 0; opacity: 0.4; }
.service-visual-inner {
  position: relative; z-index: 2;
  text-align: center;
  color: var(--white);
}
.service-visual-inner .big-icon { font-size: 4rem; margin-bottom: 12px; }
.service-visual-inner span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
}

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 56px;
  align-items: start;
}
.contact-info-block {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.contact-info-block .tile-bg { position: absolute; inset: 0; opacity: 0.4; }
.contact-info-block > * { position: relative; z-index: 2; }
.contact-info-block h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-info-block > p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  line-height: 1.65;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-item-icon {
  width: 40px; height: 40px;
  background: rgba(201,151,58,0.15);
  border: 1px solid rgba(201,151,58,0.3);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.contact-item-text span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.form-card {
  background: var(--white);
  border: 1px solid rgba(11,31,58,0.08);
  border-radius: var(--radius-md);
  padding: 40px 36px;
}
.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 8px;
}
.form-card > p {
  font-size: 0.87rem;
  color: var(--slate);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(11,31,58,0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--ivory);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,58,0.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 0.75rem;
  color: var(--slate-light);
  margin-top: 12px;
}
.form-success {
  display: none;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #065F46;
  margin-top: 14px;
  align-items: center;
  gap: 10px;
}

/* ══════════════════════════════════════
   FAQ PAGE
══════════════════════════════════════ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}
.faq-categories {
  position: sticky;
  top: 90px;
}
.faq-cat-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-mid);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 4px;
}
.faq-cat-btn.active, .faq-cat-btn:hover {
  background: var(--gold-pale);
  color: var(--navy);
  font-weight: 600;
}
.faq-item {
  border-bottom: 1px solid rgba(11,31,58,0.08);
  padding: 20px 0;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  font-size: 0.87rem;
  color: var(--slate);
  line-height: 1.75;
  padding: 14px 0 4px;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--gold); color: var(--white); }

/* ══════════════════════════════════════
   BACK TO TOP BUTTON
══════════════════════════════════════ */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(201,151,58,0.45);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#back-to-top:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 22px rgba(201,151,58,0.60);
}
#back-to-top:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

/* ══════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .section-pad  { padding: 72px 0; }
  .section-pad-sm { padding: 48px 0; }

  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .team-grid          { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }

  .hero-title         { font-size: clamp(2.2rem, 5vw, 3.2rem); }
  .why-inner          { gap: 48px; }
  .about-story        { gap: 48px; }
  .service-detail     { gap: 40px; }
  .contact-grid       { gap: 36px; }

  /* On tablets the nav is still visible but tighter */
  .nav-links          { gap: 20px; }
  .kf-lang-select     { min-width: 90px; font-size: 0.75rem; }
}

/* ══════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Layout ── */
  .container          { padding: 0 16px; }
  .section-pad        { padding: 56px 0; }
  .section-pad-sm     { padding: 36px 0; }

  /* ── Nav ── */
  .nav-links           { display: none; }          /* hide desktop nav links */
  .nav-translate       { display: none; }          /* hide desktop lang picker */
  .mobile-header-right { display: flex; flex-direction: row; align-items: center; gap: 8px; } /* show mobile lang + hamburger */
  .hamburger           { display: flex; }          /* hamburger inside mobile-header-right */

  /* ── Hero ── */
  .hero               { padding-top: 72px; min-height: auto; padding-bottom: 56px; }
  .hero-inner         { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-visual        { display: none; }
  .hero-actions       { justify-content: center; flex-direction: column; align-items: center; }
  .hero-actions .btn  { width: 100%; max-width: 320px; justify-content: center; }
  .hero-stats         { justify-content: space-around; gap: 16px; flex-wrap: wrap; }
  .hero-eyebrow       { justify-content: center; }
  .hero-desc          { margin-left: auto; margin-right: auto; font-size: 0.97rem; }
  .hero-title         { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-stat-num      { font-size: 1.6rem; }

  /* ── Trust bar ── */
  .trust-bar-inner    { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-label        { border-right: none; border-bottom: 1px solid rgba(11,31,58,0.12); padding-bottom: 10px; padding-right: 0; width: 100%; }
  .trust-logos        { gap: 20px; }

  /* ── Grids ── */
  .why-inner          { grid-template-columns: 1fr; gap: 36px; }
  .about-story        { grid-template-columns: 1fr; gap: 36px; }
  .about-visual       { height: 240px; }
  .contact-grid       { grid-template-columns: 1fr; gap: 28px; }
  .faq-grid           { grid-template-columns: 1fr; gap: 28px; }
  .faq-categories     { position: static; }
  .service-detail     { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .service-detail.reverse { direction: ltr; }
  .services-grid      { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .values-grid        { grid-template-columns: 1fr; }
  .team-grid          { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* ── About page mission/vision grid ── */
  .about-story + .section-pad [style*="grid-template-columns: 1fr 1fr"] { display: block; }

  /* ── Footer ── */
  .footer-grid        { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom      { flex-direction: column; text-align: center; gap: 10px; }
  .footer-brand p     { max-width: 100%; }

  /* ── Section titles ── */
  .section-title      { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .page-hero h1       { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .page-hero          { padding: 120px 0 60px; }

  /* ── CTA banner ── */
  .cta-actions        { flex-direction: column; align-items: center; }
  .cta-actions .btn   { width: 100%; max-width: 320px; justify-content: center; }
  .cta-banner         { padding: 56px 0; }
  .cta-banner h2      { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* ── Contact page quick options ── */
  .contact-quick-grid { grid-template-columns: 1fr !important; }

  /* ── Service visual box ── */
  .service-visual-box { height: 220px; }

  /* ── Why section cert board ── */
  .cert-board         { padding: 24px 20px; }

  /* ── Back to top – nudge left so it clears Smartsupp chat button ── */
  #back-to-top        { bottom: 86px; right: 18px; width: 42px; height: 42px; }
}

/* ══════════════════════════════════════
   RESPONSIVE — Small Mobile (≤420px)
══════════════════════════════════════ */
@media (max-width: 420px) {
  .team-grid          { grid-template-columns: 1fr; }
  .hero-stats         { flex-direction: column; align-items: center; gap: 20px; }
  .btn                { padding: 13px 22px; font-size: 0.85rem; }
  .form-card          { padding: 28px 20px; }
  .contact-info-block { padding: 28px 20px; }
  .logo-text strong   { font-size: 1rem; }
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  #back-to-top { transition: opacity 0.15s ease; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
