/* Silkhan – classic theme (navy & saffron) */
:root {
  --navy: #14213D;
  --navy-2: #1E2D4F;
  --navy-3: #0E1830;
  --saffron: #9A5A0C;
  --gold: #E9B45F;
  --cream: #F4F1EA;
  --line: #E6E2D8;
  --line-2: #DDD7CA;
  --text: #14213D;
  --text-2: #3F4A5C;
  --muted: #4A5568;
  --muted-2: #5B6474;
  --on-dark: #C9D1E0;
  --badge-bg: #F3E3C7;
  --badge-fg: #6B3E06;
  --error: #B3261E;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(20, 33, 61, 0.08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: var(--saffron); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 72px; }
.section-sm { padding-block: 40px; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #fff; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--saffron); }
.bg-navy .eyebrow { color: var(--gold); }
.h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; margin: 16px 0 20px; }
.h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 10px 0 28px; }
.lead { font-size: 19px; color: var(--text-2); max-width: 620px; line-height: 1.55; }
.bg-navy .lead { color: var(--on-dark); }
.muted { color: var(--muted); }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 280px), 1fr)); }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.between { justify-content: space-between; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: var(--radius-sm); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { color: var(--navy); filter: brightness(1.05); }
.btn-block { width: 100%; }
.link-accent { color: var(--saffron); font-weight: 600; text-decoration: none; }

/* Top bar + header */
.topbar { background: var(--navy); color: #E8ECF4; font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 8px; }
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a[aria-current] { color: #fff; font-weight: 600; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo span { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.5px; }
.logo b { color: var(--saffron); font-weight: 700; }
.nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a[aria-current] { color: var(--saffron); }
.header-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.header-actions .signin { text-decoration: none; font-weight: 500; padding: 12px 8px; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; }
  .site-header.open .nav { display: flex; flex-direction: column; width: 100%; gap: 4px; order: 3; }
  .site-header.open .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .site-header.open .header-actions .btn { display: inline-flex; }
}

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 72px 64px; }
.hero-main { flex: 999 1 560px; min-width: 0; }
.hero-side { flex: 1 1 340px; min-width: 0; }
.search { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.search input { flex: 999 1 240px; min-width: 0; border: 0; font: inherit; padding: 14px 12px; color: var(--text); }
.search select { flex: 1 1 140px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 15px; padding: 12px; background: #fff; color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 14px; align-items: center; }
.chip { text-decoration: none; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card-shadow { box-shadow: var(--shadow); }
.card-link { text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.card-img { height: 200px; background: #E8E1D2; display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: 14px; border-radius: var(--radius) var(--radius) 0 0; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card-title { font-family: var(--display); font-size: 22px; font-weight: 600; }
.check-list { display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--text-2); padding: 0; margin: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; }
.check-list li::before { content: '✓'; color: var(--saffron); font-weight: 700; }
.bg-navy .check-list li { color: var(--on-dark); }
.bg-navy .check-list li::before { color: var(--gold); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-fg); letter-spacing: 0.3px; }
.badge-grey { background: #EEF0F4; color: var(--text-2); }
.badge-live { background: var(--gold); color: var(--navy); }
.tile { background: var(--cream); border-radius: 12px; padding: 20px; text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile small { display: block; font-size: 14px; color: var(--muted); }
.step-num { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--saffron); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 14px; }
.facts dt { color: var(--muted-2); }
.facts dd { margin: 0; font-weight: 600; }
.logo-box { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 12px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted-2); font-weight: 700; }
.dark-card { background: var(--navy-2); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; color: #fff; }
.dark-card p { color: var(--on-dark); margin: 0; }
.dark-card.light { background: #fff; color: var(--navy); }
.dark-card.light p { color: var(--muted); }
.trust { border-bottom: 1px solid var(--line); }
.trust .grid { --min: 240px; gap: 32px; padding-block: 40px; }
.trust-item { display: flex; gap: 14px; }
.trust-item strong { display: block; margin-bottom: 4px; }
.trust-item span { font-size: 14px; color: var(--muted); }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 600; font-size: 14px; }
.input, .field input[type=text], .field input[type=email], .field input[type=url], .field input[type=tel], .field select, .field textarea {
  font: inherit; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px; color: var(--text); background: #fff; width: 100%;
}
.field textarea { resize: vertical; }
.field input[type=file] { font-size: 14px; background: var(--cream); border: 1px dashed #C9C2B1; border-radius: var(--radius-sm); padding: 14px; }
.hint { font-size: 13px; color: var(--muted); }
.error-text { font-size: 13px; color: var(--error); }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.pill-choice { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-choice label { display: flex; gap: 10px; align-items: center; background: var(--cream); border-radius: 999px; padding: 10px 16px; cursor: pointer; font-weight: 400; font-size: 15px; }
.pill-choice input { width: 18px; height: 18px; accent-color: var(--navy); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px; accent-color: var(--navy); }
.consent a { color: var(--saffron); font-weight: 600; }
.tier { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 16px; cursor: pointer; }
.tier input { margin-top: 3px; accent-color: var(--navy); }
.tier.featured { border: 2px solid var(--saffron); padding: 15px; }
.alert { border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.alert-error { background: #FCEBEA; color: var(--error); }
.alert-ok { background: var(--badge-bg); color: var(--badge-fg); }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-family: var(--display); font-weight: 600; font-size: 22px; margin-bottom: 18px; padding: 0; }
.form-section + .form-section { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 8px; }

/* Directory */
.layout-sidebar { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.layout-sidebar > .side { flex: 1 1 240px; min-width: 0; max-width: 320px; }
.layout-sidebar > .main { flex: 999 1 620px; min-width: 0; }
.filter-group { margin-bottom: 24px; }
.filter-group .opt { display: flex; gap: 10px; align-items: center; font-size: 15px; min-height: 32px; }
.filter-group .opt input { width: 18px; height: 18px; accent-color: var(--navy); }
.verified-toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--navy); color: #fff; border-radius: 12px; padding: 16px; cursor: pointer; font-weight: 600; margin-bottom: 24px; }
.verified-toggle input { width: 20px; height: 20px; accent-color: var(--gold); }
.result { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.result + .result { margin-top: 16px; }
.result .info { flex: 999 1 260px; min-width: 0; }
.result .actions { flex: 1 1 160px; display: flex; flex-direction: column; gap: 8px; }
.result h2 { font-size: 18px; display: inline; }
.result h2 a { text-decoration: none; }
.result .meta { font-size: 14px; color: var(--muted); margin-top: 4px; }
.result .kv { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; font-size: 13px; }
.empty { border: 1px dashed #C9C2B1; border-radius: var(--radius); padding: 40px; text-align: center; }

/* Supplier profile */
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 28px; }
.stat-strip div { background: #fff; padding: 16px 18px; }
.stat-strip dt { font-size: 13px; color: var(--muted-2); }
.stat-strip dd { margin: 4px 0 0; font-weight: 600; font-size: 17px; }
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { background: var(--cream); text-align: start; padding: 12px 16px; font-weight: 600; }
td { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--text-2); }
td:first-child { font-weight: 600; color: var(--text); }
.terms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.terms-grid div { background: var(--cream); border-radius: 12px; padding: 18px; }
.terms-grid dt { font-size: 13px; color: var(--muted-2); }
.terms-grid dd { margin: 4px 0 0; font-weight: 600; }
.aside-box { background: var(--cream); border-radius: var(--radius); padding: 28px; }

/* Legal */
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin-bottom: 16px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.prose a { color: var(--saffron); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tabs a { padding: 14px 20px; border-radius: 12px 12px 0 0; text-decoration: none; color: var(--muted); font-weight: 500; }
.tabs a[aria-current] { background: #fff; color: var(--navy); font-weight: 600; box-shadow: inset 0 3px 0 var(--saffron); }

/* Status pages */
.status-card { max-width: 620px; margin: 64px auto; }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--badge-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }

/* Footer */
.site-footer { background: var(--navy-3); color: var(--on-dark); font-size: 14px; }
.site-footer .grid { --min: 200px; gap: 32px; padding-block: 56px 32px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; }
.site-footer .col strong { color: #fff; }
.site-footer .legal-line { padding-bottom: 32px; color: #A9B3C7; }
.site-footer .logo-text { font-family: var(--display); font-weight: 700; font-size: 22px; color: #fff; }
.site-footer .logo-text b { color: var(--gold); }
.linkbutton { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: start; }
.linkbutton:hover { color: #fff; }

/* Cookie consent */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 1152px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 16px 48px rgba(20, 33, 61, 0.18); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-banner .text { flex: 999 1 420px; min-width: 0; }
.cookie-banner h2 { font-size: 19px; margin-bottom: 6px; }
.cookie-banner p { margin: 0; font-size: 15px; color: var(--text-2); }
.cookie-banner .buttons { flex: 1 1 340px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-modal { position: fixed; inset: 0; z-index: 60; background: rgba(14, 24, 48, 0.45); display: flex; align-items: center; justify-content: center; padding: 24px; }
.cookie-modal .box { background: #fff; border-radius: var(--radius); padding: 32px; width: 100%; max-width: 560px; }
.cookie-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.cookie-row input { width: 22px; height: 22px; accent-color: var(--navy); }

@media (max-width: 640px) {
  .section { padding-block: 48px; }
  .hero .wrap { padding-block: 40px; }
  .card, .aside-box { padding: 20px; }
}

/* ---- Languages ---- */
.lang-switch { display: flex; gap: 2px; align-items: center; }
.lang-switch a { padding: 2px 6px; border-radius: 6px; font-weight: 500; }
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.lang-switch a[aria-current] { color: var(--navy); background: var(--gold); font-weight: 700; }

/* Arabic: a typeface with Arabic glyphs, no negative letter-spacing (it breaks joined letters) */
html[lang="ar"] { --font: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif; --display: 'Noto Sans Arabic', 'Sora', system-ui, sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .logo span { letter-spacing: 0; }
html[lang="ar"] .eyebrow, html[lang="ar"] .badge { letter-spacing: 0; }
/* Cyrillic: Sora has no Cyrillic glyphs, use Inter for headings */
html[lang="ru"] { --display: 'Inter', system-ui, sans-serif; }

/* Right-to-left adjustments */
[dir="rtl"] .breadcrumb span[aria-hidden="true"] { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .search input, [dir="rtl"] .search select { text-align: right; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="url"] { text-align: left; }

/* ---- Country profile (Türkiye) ---- */
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.tp-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-hero, .tp-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.tp-hero-img { position: absolute; inset: 0; }
.tp-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 33, 61, 0.55) 0%, rgba(20, 33, 61, 0.78) 55%, rgba(20, 33, 61, 0.95) 100%); }
.tp-hero-inner { position: relative; padding-block: 28px 40px; }
.tp-band-inner { position: relative; padding-block: 72px; }
.tp-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 40px 0 0; }
.tp-figures > div { background: var(--cream); border-radius: 12px; padding: 18px 20px; }
.tp-figures.dark > div { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.15); }
.tp-fig { margin: 0; font-family: var(--display); font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--saffron); line-height: 1.1; }
.tp-figures.dark .tp-fig { color: var(--gold); }
.tp-fig-label { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.tp-figures.dark .tp-fig-label { color: #E8ECF4; }
.tp-sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tp-sector { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.tp-sector-img { height: 200px; }
.tp-sector-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tp-sector-body h3 { font-size: 21px; }
.tp-sector-value { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--saffron); }
.tp-sector-rank { font-weight: 600; font-size: 15px; }
.tp-sector-body p { margin: 4px 0 8px; color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.tp-markets { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .tp-markets { grid-template-columns: 1fr; } }
.tp-chart-cap { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 14px; }
.tp-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tp-bars li { display: grid; grid-template-columns: minmax(110px, 9.5rem) 1fr 3.2rem; gap: 12px; align-items: center; font-size: 15px; }
.tp-bar-rank { display: inline-block; width: 1.4em; color: var(--muted); font-size: 13px; }
.tp-bar-track { height: 14px; background: #EFEBE2; border-radius: 99px; overflow: hidden; }
.tp-bar { display: block; height: 100%; background: var(--navy); border-radius: 99px; }
.tp-bars li:nth-child(-n+3) .tp-bar { background: var(--saffron); }
.tp-bar-value { font-variant-numeric: tabular-nums; font-weight: 600; text-align: end; }
.tp-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tp-region { background: #fff; border-radius: 12px; padding: 18px; }
.tp-region-v { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--navy); }
.tp-region-l { font-size: 14px; color: var(--muted); margin-top: 4px; }
.tp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tp-split.reverse > :first-child { order: 2; }
.tp-split-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .tp-split { grid-template-columns: 1fr; gap: 28px; } .tp-split.reverse > :first-child { order: 0; } }
.tp-quality { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.tp-quality li { display: flex; gap: 16px; }
.tp-q-num { font-family: var(--display); font-weight: 700; color: var(--saffron); font-size: 20px; min-width: 2ch; }
.tp-quality strong { font-size: 17px; }
.tp-quality p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.tp-glass { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px; padding: 20px; backdrop-filter: blur(6px); }
.tp-brochure-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 28px; }
.tp-sources { font-size: 13px; color: var(--muted); line-height: 1.6; }
.tp-sources ul { margin: 6px 0 10px; padding-inline-start: 18px; columns: 2 320px; }
.tp-sources a { color: var(--muted); }
.tp-sources p { margin: 0 0 8px; }
