/* ============================================================
   Kenan Yıldırım Avukatlık — Premium Law Firm Theme
   Navy + Gold | Modern, refined, accessible
   ============================================================ */

:root {
  /* Brand palette */
  --navy-900: #0a1733;
  --navy-800: #112045;
  --navy-700: #1a2a6c;
  --navy-600: #25356f;
  --navy-50:  #f3f5fb;

  --gold-500: #c9a35a;
  --gold-400: #d6b46f;
  --gold-300: #e6c887;
  --gold-100: #f6ecd2;

  --ink-900: #1a1f2c;
  --ink-700: #3b4252;
  --ink-500: #6c7280;
  --ink-300: #c7ccd6;
  --ink-100: #eef0f5;
  --ink-50:  #f8f9fc;

  --white: #ffffff;
  --danger: #b21f1f;

  /* Semantic tokens — LIGHT mode */
  --bg-page:      var(--ink-50);
  --bg-surface:   var(--white);
  --bg-elevated:  var(--white);
  --bg-input:     var(--ink-50);
  --text-body:    var(--ink-700);
  --text-heading: var(--navy-900);
  --text-muted:   var(--ink-500);
  --border:       var(--ink-100);
  --shadow-card:  0 2px 8px rgba(10, 23, 51, .06);
  --shadow-card-hover: 0 10px 30px rgba(10, 23, 51, .08);

  /* Typography */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Geometry */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(10, 23, 51, .06);
  --shadow-md: 0 10px 30px rgba(10, 23, 51, .08);
  --shadow-lg: 0 24px 60px rgba(10, 23, 51, .15);

  --container: 1200px;
  --gutter: clamp(1rem, 3vw, 2rem);

  --header-h: 78px;

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* Semantic tokens — DARK mode */
[data-theme="dark"] {
  --bg-page:      #060e22;
  --bg-surface:   #0f1b3a;
  --bg-elevated:  #16234a;
  --bg-input:     rgba(255, 255, 255, .04);
  --text-body:    #b8c0d0;
  --text-heading: #ffffff;
  --text-muted:   #8b94a8;
  --border:       rgba(255, 255, 255, .08);
  --shadow-card:  0 2px 8px rgba(0, 0, 0, .3);
  --shadow-card-hover: 0 14px 36px rgba(0, 0, 0, .5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg-page);
  font-size: 16px;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

/* RTL */
html[dir="rtl"] body { text-align: right; }

img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-500); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.01em;
}

p { color: var(--text-body); }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--ink-500);
  font-size: 1.05rem;
}

.section-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border: 0;
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  box-shadow: 0 10px 24px rgba(201, 163, 90, .35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(201, 163, 90, .5);
  color: var(--navy-900);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: var(--gold-300);
  color: var(--gold-300);
}

/* ============================================================
   Header / Navbar
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 23, 51, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s var(--ease), height .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 23, 51, .98);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.navbar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: .01em;
  text-decoration: none;
}
.brand:hover { color: var(--gold-300); }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25));
}
.brand-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: .25rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: width .25s var(--ease), left .25s var(--ease);
}
.nav-links a:hover { color: var(--gold-300); }
.nav-links a:hover::after { width: 60%; left: 20%; }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .08);
}
.lang-switcher a {
  color: rgba(255, 255, 255, .7);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 5px 10px;
  border-radius: 999px;
  transition: all .2s var(--ease);
}
.lang-switcher a:hover { color: var(--gold-300); }
.lang-switcher a.active {
  background: var(--gold-500);
  color: var(--navy-900);
}

.theme-toggle {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--gold-300);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: .95rem;
  transition: background .2s var(--ease), color .2s var(--ease), transform .25s var(--ease);
}
.theme-toggle:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: rotate(15deg);
}
.theme-toggle .icon-light { display: none; }
.theme-toggle .icon-dark  { display: inline-block; }
[data-theme="dark"] .theme-toggle .icon-light { display: inline-block; }
[data-theme="dark"] .theme-toggle .icon-dark  { display: none; }

.hamburger {
  display: none;
  background: transparent;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.hamburger .bar {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer (hidden on desktop, shown by media query on small screens) */
.mobile-drawer { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  color: var(--white);
  padding: clamp(5rem, 12vw, 9rem) var(--gutter) clamp(6rem, 14vw, 11rem);
  background:
    linear-gradient(135deg, rgba(10, 23, 51, .92) 0%, rgba(26, 42, 108, .85) 60%, rgba(17, 32, 69, .92) 100%),
    url('/images/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201, 163, 90, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(178, 31, 31, .18), transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.hero-content { max-width: 640px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--gold-300); font-style: italic; }
.hero p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, .82);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 163, 90, .6), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.hero-card ul { display: grid; gap: .8rem; }
.hero-card li {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
}
.hero-card li i {
  color: var(--gold-300);
  width: 22px;
  text-align: center;
}

/* ============================================================
   Page Header (inner pages)
   ============================================================ */
.page-header {
  position: relative;
  background:
    linear-gradient(135deg, rgba(10, 23, 51, .94), rgba(26, 42, 108, .9)),
    url('/images/hero-bg.jpg') center/cover no-repeat;
  background-color: var(--navy-900);
  color: var(--white);
  text-align: center;
  padding: clamp(4rem, 9vw, 6rem) var(--gutter) clamp(4rem, 9vw, 6rem);
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 20% 0%, rgba(201, 163, 90, .22), transparent 60%);
  pointer-events: none;
}
.page-header > * { position: relative; }
.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: .75rem;
}
.page-header p {
  color: rgba(255, 255, 255, .8);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================================
   Sections
   ============================================================ */
section, .section {
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.section-alt { background: var(--bg-surface); transition: background-color .3s var(--ease); }
.section-subtitle { color: var(--text-muted); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.service-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
  position: relative;
  overflow: hidden;
  text-align: left;
}
html[dir="rtl"] .service-card { text-align: right; }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transition: width .4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold-300);
}
.service-card:hover::before { width: 100%; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: var(--gold-300);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: transform .3s var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-3deg); }
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: .6rem;
  color: var(--text-heading);
}
.service-card p {
  color: var(--text-muted);
  font-size: .96rem;
  line-height: 1.65;
}

/* ---------- About + Stats ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1rem; line-height: 1.8; }
.about-text ul { margin: 1.25rem 0; display: grid; gap: .65rem; }
.about-text ul li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-body);
}
html[dir="rtl"] .about-text ul li { padding-left: 0; padding-right: 1.6rem; }
.about-text ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--gold-500);
  font-size: .85rem;
}
html[dir="rtl"] .about-text ul li::before { left: auto; right: 0; }

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 163, 90, .35), transparent 55%),
    linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .6);
  box-shadow: var(--shadow-lg);
}
.about-visual i { font-size: 5rem; color: var(--gold-300); }
.about-visual::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.stat-item .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1;
}
[data-theme="light"] .stat-item .stat-num,
:root:not([data-theme="dark"]) .stat-item .stat-num { color: var(--navy-700); }
.stat-item .stat-num .plus { color: var(--gold-500); }
.stat-item p {
  margin-top: .5rem;
  color: var(--text-muted);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Qualifications ---------- */
.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.qual-card {
  padding: 2rem 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.qual-card i {
  font-size: 2rem;
  color: var(--gold-500);
  margin-bottom: 1rem;
}
.qual-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.qual-card p { color: var(--text-muted); font-size: .94rem; }

/* ---------- News ---------- */
.news-section { background: var(--bg-page); transition: background-color .3s var(--ease); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold-300);
}
.news-card:hover::before { transform: scaleX(1); }

.news-meta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}
.news-meta i { font-size: .85rem; }

.news-card h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--text-heading);
  font-family: var(--font-serif);
  font-weight: 600;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: .01em;
}
[data-theme="dark"] .news-cta { color: var(--gold-300); }
.news-card:hover .news-cta { color: var(--gold-500); }

.news-attribution {
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.news-attribution a {
  color: var(--gold-500);
  font-weight: 500;
}
.news-attribution a:hover { text-decoration: underline; }

/* ---------- CTA Band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 80% 50%, rgba(201, 163, 90, .25), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 540px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info-card {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(201, 163, 90, .25), transparent 70%);
}
.contact-info-card h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.contact-info-card .info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.contact-info-card .info-item:last-of-type { border-bottom: none; }
.contact-info-card .info-item i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(201, 163, 90, .15);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info-card .info-item strong {
  display: block;
  color: var(--gold-300);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 2px;
  font-weight: 600;
}
.contact-info-card .info-item span,
.contact-info-card .info-item a {
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
}
.contact-info-card .info-item a:hover { color: var(--gold-300); }

.contact-form-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.contact-form-card h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 500;
  font-size: .9rem;
  color: var(--text-body);
}
.form-group label .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: .82rem;
  margin-left: .25rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-input);
  color: var(--text-body);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 4px rgba(201, 163, 90, .15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-feedback {
  margin-top: 1rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  display: none;
  align-items: center;
  gap: .6rem;
}
.form-feedback-success {
  background: rgba(34, 139, 34, .12);
  border: 1px solid rgba(34, 139, 34, .25);
  color: #2a8a3e;
}
.form-feedback-error {
  background: rgba(178, 31, 31, .1);
  border: 1px solid rgba(178, 31, 31, .25);
  color: #b21f1f;
}
.form-feedback-error i.fa-circle-check::before { content: '\f071'; }
[data-theme="dark"] .form-feedback-success { color: #6dd185; }
[data-theme="dark"] .form-feedback-error   { color: #ff8a8a; }

/* Honeypot field — hidden from users, visible to bots that fill all inputs */
.botcheck {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#formSubmit:disabled { opacity: .7; cursor: not-allowed; }
.form-feedback.show { display: flex; animation: fadeIn .4s var(--ease); }

/* ---------- Legal page ---------- */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}
.legal-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--gold-500);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
html[dir="rtl"] .legal-block { border-left: 1px solid var(--border); border-right: 4px solid var(--gold-500); }
.legal-block h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.legal-block h2 i { color: var(--gold-500); }
.legal-block p { margin-bottom: .85rem; line-height: 1.8; }
.legal-block p:last-child { margin-bottom: 0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--navy-900), #060e22);
  color: rgba(255, 255, 255, .75);
  padding: 4rem 0 0;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.footer-col p, .footer-col li { font-size: .94rem; line-height: 1.8; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col ul a { color: rgba(255, 255, 255, .7); }
.footer-col ul a:hover { color: var(--gold-300); }

.footer-brand .brand {
  margin-bottom: 1rem;
}
.footer-brand p { color: rgba(255, 255, 255, .65); max-width: 320px; }

.social-links {
  display: flex;
  gap: .6rem;
  margin-top: 1.25rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.social-links a:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}

/* ============================================================
   Scroll to top
   ============================================================ */
.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-700);
  color: var(--white);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease);
  z-index: 999;
  box-shadow: var(--shadow-md);
}
html[dir="rtl"] .scroll-top { right: auto; left: 24px; }
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--gold-500); color: var(--navy-900); }

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 16 / 11; max-width: 520px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .lang-switcher {
    display: none;
  }
  .hamburger { display: flex; }

  .mobile-drawer {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(10, 23, 51, .98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem var(--gutter);
    display: none;
    flex-direction: column;
    gap: .5rem;
    z-index: 999;
    overflow-y: auto;
  }
  .mobile-drawer.open { display: flex; animation: fadeIn .25s var(--ease); }
  .mobile-drawer a {
    color: var(--white);
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .mobile-drawer .lang-row {
    display: flex;
    gap: .5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
  }
  .mobile-drawer .lang-row a {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    font-size: .85rem;
  }
  .mobile-drawer .lang-row a.active {
    background: var(--gold-500);
    color: var(--navy-900);
    border-color: var(--gold-500);
  }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .contact-info-card, .contact-form-card { padding: 1.75rem; }
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .site-header, .site-footer, .scroll-top, .hero-actions, .cta-band { display: none; }
}
