/* ============================================================
   Crosslane Global — Prototype Stylesheet
   v0.1 — Mayıs 2026
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --gold: #B87A2A;
  --gold-text: #9C6824;     /* WCAG AA on white — 4.6:1 */
  --gold-light: #FAEEDA;
  --gold-deep: #8E5A1A;
  --dark-bg: #1a1a1a;
  --dark-bg-2: #2d2520;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #666666;
  --border: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.12);
  --green-partner: #1D9E75;
  --focus-ring: #9C6824;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 3px;
  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-deep); }

/* ── Focus styles (WCAG 2.4.7) ── */
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ── Skip to content link (WCAG 2.4.1) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--text-primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.1s;
}
.skip-link:focus {
  top: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; }

p { color: var(--text-secondary); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: none;
}
.btn-primary {
  background: var(--gold-deep);
  color: var(--white);
}
.btn-primary:hover { background: #7a4d16; color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}
.btn-outline:hover { background: var(--text-primary); color: var(--white); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: background 0.25s, box-shadow 0.25s;
}
.nav.solid {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav.solid .nav-logo { color: var(--text-primary); }
.nav-logo .accent { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--white); }
.nav.solid .nav-links a { color: var(--text-primary); }
.nav.solid .nav-links a:hover { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.nav.solid .lang-toggle { color: var(--text-secondary); }
.lang-toggle button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 2px;
}
.lang-toggle button.active { color: var(--gold); font-weight: 600; }
.lang-toggle .sep { opacity: 0.4; }

.nav-cta {
  padding: 10px 18px;
  font-size: 13px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--gold-deep); color: var(--white); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}
.nav.solid .nav-toggle { color: var(--text-primary); }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(26,26,26,0.55) 0%, rgba(26,26,26,0.85) 100%),
    url('https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero h1 { color: var(--white); max-width: 820px; margin-bottom: 28px; }
.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  backdrop-filter: blur(8px);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Stats band ---------- */
.stats {
  background: var(--off-white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-item {
  text-align: left;
  padding-right: 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 500;
}
.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.stats-source {
  margin-top: 28px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { border-right: none; padding-right: 0; }
}

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-tag {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 16px;
  display: block;
  font-weight: 500;
}
.section-title { margin-bottom: 20px; max-width: 720px; }
.section-lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.section-dark { background: var(--dark-bg); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.7); }
.section-dark .section-lead { color: rgba(255, 255, 255, 0.7); }

.section-light { background: var(--off-white); }

/* ---------- Market cards ---------- */
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.market-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.market-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.market-flag { font-size: 28px; margin-bottom: 16px; }
.market-card h3 { margin-bottom: 14px; }
.market-card p { margin-bottom: 24px; }
.market-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.market-tag {
  font-size: 12px;
  padding: 6px 10px;
  background: var(--gold-light);
  color: var(--gold-deep);
  border-radius: 2px;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .market-grid { grid-template-columns: 1fr; }
}

/* ---------- Service grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(184, 122, 42, 0.3);
}
.service-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.service-card h3 { margin-bottom: 12px; font-size: 20px; }
.service-card p { font-size: 14px; margin-bottom: 20px; flex-grow: 1; }
.service-link {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.02em;
  font-weight: 500;
}
.service-link::after { content: ' →'; transition: margin 0.2s; }
.service-card:hover .service-link::after { margin-left: 4px; }

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- 3-column feature block ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature {
  padding: 0;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}
.section-dark .feature-icon { background: rgba(184, 122, 42, 0.18); }
.feature h4 { font-family: var(--serif); margin-bottom: 12px; font-size: 19px; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Partners band ---------- */
.partners-band {
  padding: 64px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.partners-band .label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.partner-card-inline {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--green-partner);
  text-align: left;
}
.partner-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--text-primary);
}
.partner-meta { font-size: 13px; color: var(--text-secondary); }

/* ---------- Insights / blog cards ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
}
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.insight-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--dark-bg-2), var(--gold-deep));
  position: relative;
}
.insight-thumb .category {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--white);
  color: var(--gold);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.insight-body { padding: 24px; }
.insight-body h4 {
  font-family: var(--serif);
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-primary);
}
.insight-body .meta { font-size: 12px; color: var(--text-muted); }

@media (max-width: 960px) { .insights-grid { grid-template-columns: 1fr; } }

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--dark-bg);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 18px; }
.cta-section p { color: rgba(255, 255, 255, 0.7); max-width: 560px; margin: 0 auto 36px; font-size: 17px; }

/* ---------- Sub-page hero ---------- */
.subhero {
  background: var(--dark-bg);
  color: var(--white);
  padding: 160px 0 80px;
}
.subhero h1 { color: var(--white); margin-bottom: 18px; max-width: 760px; }
.subhero .lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  max-width: 620px;
}
.subhero .crumb {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ---------- Content blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 15px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  background: var(--gold-light);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ---------- Tables ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.data-table th {
  background: var(--off-white);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.data-table td.center { text-align: center; }
.data-table .yes { color: var(--green-partner); font-weight: 600; }

/* ---------- Opportunity cards ---------- */
.opp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .opp-grid { grid-template-columns: 1fr; } }
.opp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
}
.opp-card.featured { border-left-color: var(--green-partner); background: linear-gradient(180deg, #f8fbf9, var(--white)); }
.opp-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 0.04em; text-transform: uppercase; }
.opp-card h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 12px; }
.opp-details { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 12px 0 16px; font-size: 13px; color: var(--text-secondary); }
.opp-details span strong { color: var(--text-primary); }
.opp-summary { font-size: 14px; color: var(--text-secondary); margin-bottom: 14px; }

/* ---------- Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-primary);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-bg-2);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 14px; max-width: 320px; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ---------- Skeleton / Shimmer loading ---------- */
.skeleton {
  background: linear-gradient(90deg, #f0ece6 25%, #e8e4dc 50%, #f0ece6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 3px;
}
.skeleton-text {
  height: 14px;
  margin-bottom: 10px;
  width: 80%;
}
.skeleton-text:last-child { width: 60%; }
.skeleton-title {
  height: 22px;
  margin-bottom: 14px;
  width: 70%;
}
.skeleton-meta {
  height: 12px;
  width: 40%;
  margin-bottom: 20px;
}
.skeleton-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid #e8e4dc;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Honeypot (invisible bot trap) ---------- */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
  tab-index: -1;
}

/* ---------- Qualification Access Modal ---------- */
.qual-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.65);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  -webkit-overflow-scrolling: touch;
}
.qual-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.qual-modal {
  background: #fff;
  border-radius: 3px;
  max-width: 620px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.qual-overlay.active .qual-modal {
  transform: translateY(0);
}
.qual-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  z-index: 1;
}
.qual-close:hover { color: #1a1a1a; }
.qual-header {
  padding: 40px 40px 0;
}
.qual-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.qual-header h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0 0 8px;
}
.qual-opp-title {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.qual-body {
  padding: 24px 40px 40px;
}
.qual-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 24px;
}
.qual-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.qual-field {
  margin-bottom: 16px;
  position: relative;
}
.qual-field.qual-full { grid-column: 1 / -1; }
.qual-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5px;
  letter-spacing: 0.03em;
}
.qual-field input,
.qual-field select,
.qual-field textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: 14px;
  border: 1px solid #d5d1ca;
  border-radius: 3px;
  background: #fff;
  color: #1a1a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.qual-field input:focus,
.qual-field select:focus,
.qual-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 122, 42, 0.1);
}
.qual-field input.qual-input-err,
.qual-field select.qual-input-err,
.qual-field textarea.qual-input-err {
  border-color: #d44;
  box-shadow: 0 0 0 3px rgba(221, 68, 68, 0.08);
}
.qual-err {
  display: none;
  font-size: 11px;
  color: #d44;
  margin-top: 4px;
  line-height: 1.4;
}
.qual-err.visible { display: block; }
.qual-submit-row {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.qual-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.qual-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
}
.qual-submit:hover { background: var(--gold); }
.qual-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.qual-submit-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.qual-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px 0;
}
.qual-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f7f2;
  color: var(--green-partner);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.qual-success h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.qual-success p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto;
}
.qual-error-banner {
  grid-column: 1 / -1;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 3px;
  font-size: 13px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .qual-header { padding: 28px 24px 0; }
  .qual-body { padding: 20px 24px 32px; }
  .qual-form { grid-template-columns: 1fr; }
  .qual-modal { margin: 0 4px; }
}

/* ---------- Access CTA button states ---------- */
[data-access-btn] {
  cursor: pointer;
}

/* Language toggle behavior — controlled by data-lang attribute on <html> */
html[data-lang="en"] [data-tr] { display: none; }
html[data-lang="tr"] [data-en] { display: none; }
