/* SHURA Group - main stylesheet */

:root {
  --navy: #13345b;
  --navy-dark: #0e2744;
  --blue: #1f5aa6;
  --accent: #e8890c;
  --accent-dark: #c97206;
  --text: #3b4652;
  --muted: #6b7785;
  --line: #e3e8ee;
  --bg-alt: #f4f6f9;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 15px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

h1, h2, h3 { color: var(--navy); line-height: 1.25; }
p { margin: 0 0 14px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border: 2px solid var(--accent);
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.8); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* ---------- top bar ---------- */
.topbar { background: var(--navy-dark); color: #9fb3cb; font-size: 12px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.topbar a { color: #dbe6f3; }
.topbar a:hover { color: #fff; }
.topbar .sep { display: inline-block; width: 1px; height: 12px; margin: 0 14px; background: #3a5677; vertical-align: middle; }
.topbar .lang a { margin-left: 8px; font-weight: 600; letter-spacing: 0.05em; opacity: 0.7; }
.topbar .lang a.on { color: var(--accent); opacity: 1; }

/* ---------- navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 2px 12px rgba(19, 52, 91, 0.06);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; color: var(--navy); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand .name, .footer .name { display: block; font-size: 20px; font-weight: 300; letter-spacing: 0.14em; line-height: 1.1; }
.brand .name b, .footer .name b { font-weight: 700; }
.brand .tag { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.navbar ul { display: flex; margin: 0; padding: 0; list-style: none; }
.navbar nav a {
  display: block;
  padding: 26px 16px 23px;
  border-bottom: 3px solid transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.navbar nav a:hover, .navbar nav a.on { color: var(--accent-dark); border-bottom-color: var(--accent); text-decoration: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 39, 68, 0.88) 0, rgba(14, 39, 68, 0.6) 40%, rgba(14, 39, 68, 0) 70%);
}
.hero .container { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 130px; }
.hero h1 { max-width: 560px; margin: 0 0 18px; color: #fff; font-size: 44px; font-weight: 300; }
.hero h1 strong { font-weight: 700; }
.hero p { max-width: 480px; margin-bottom: 30px; color: #d6e2f0; font-size: 18px; }
.hero .btn { margin: 0 10px 10px 0; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy); color: #c5d4e6; }
.section h2 { margin: 0 0 20px; font-size: 32px; font-weight: 300; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2::after, .split h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--accent);
}
.split h2::after { margin-left: 0; }
.section-head p { color: var(--muted); }
.kicker { margin: 0 0 8px; color: var(--accent-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }

.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; }
.steps span {
  flex: none;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-dark);
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}
.steps h3 { margin: 0 0 4px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- cards ---------- */
.card { padding: 30px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.card h3 { margin: 0 0 10px; font-size: 17px; }
.card p:last-child { margin-bottom: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { transition: transform 0.2s, box-shadow 0.2s; }
.service:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(19, 52, 91, 0.1); }
.service p { color: var(--muted); font-size: 14px; }
.ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #e8f0fa;
  color: var(--blue);
}
.ico svg { width: 28px; height: 28px; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.why h3 { margin: 0 0 8px; font-size: 18px; }
.why h3::before { content: ""; display: block; width: 10px; height: 10px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent); }
.why p { margin: 0; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 0 auto; }
.contact .card { text-align: center; }

/* ---------- legal pages ---------- */
.page-head { padding: 56px 0 44px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0 0 8px; font-size: 36px; font-weight: 300; }
.page-head .meta { margin: 0; color: var(--muted); font-size: 14px; }
.crumbs { margin: 0 0 10px; color: var(--muted); font-size: 13px; }

.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; padding-top: 48px; padding-bottom: 80px; }
.legal { max-width: 760px; }
.legal h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 21px;
  font-weight: 600;
  scroll-margin-top: 96px;
}
.legal h2 span { color: var(--accent-dark); font-size: 15px; }
.legal h3 { margin: 22px 0 8px; font-size: 16px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.toc { margin: 28px 0 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-alt); }
.toc h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.toc ol { columns: 2; column-gap: 32px; margin: 0; font-size: 14px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toplink { margin-top: 40px; font-size: 13px; }

table.info { width: 100%; margin: 4px 0 16px; border-collapse: collapse; font-size: 14px; }
table.info th, table.info td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
table.info th { width: 34%; background: var(--bg-alt); color: var(--navy); font-weight: 600; }

.legal-side .card { position: sticky; top: 100px; padding: 24px; margin-bottom: 20px; font-size: 14px; }
.legal-side .card + .card { position: static; }
.legal-side h3 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.doc-links { margin: 0; padding: 0; list-style: none; }
.doc-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
.doc-links li:last-child a { border-bottom: 0; }
.doc-links a.on { color: var(--navy); font-weight: 600; }

/* ---------- footer ---------- */
.footer { padding-top: 56px; background: var(--navy-dark); color: #8fa4bd; font-size: 14px; }
.footer .container { display: flex; justify-content: space-between; gap: 40px; }
.footer .name { margin-bottom: 14px; color: #fff; font-size: 18px; }
.footer a { color: #c6d5e6; }
.footer a:hover { color: #fff; }
.footer-links { margin: 0; padding: 0; list-style: none; text-align: right; }
.footer-links li { margin-bottom: 8px; }
.footer .copy { display: block; margin-top: 40px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid #23415f; font-size: 12px; }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .split, .legal-wrap { grid-template-columns: 1fr; gap: 40px; }
  .legal-side .card { position: static; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .hide-sm { display: none; }
  .topbar .container { justify-content: flex-end; }
  .navbar { position: static; }
  .navbar .container { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 14px; }
  .navbar ul { flex-wrap: wrap; }
  .navbar nav { margin-left: -8px; }
  .navbar nav a { padding: 12px 8px 9px; font-size: 11px; letter-spacing: 0.02em; }
  .hero .container { padding-top: 64px; padding-bottom: 72px; }
  .hero::after { background: rgba(14, 39, 68, 0.72); }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 26px; }
  .grid, .why, .contact, .footer .container { grid-template-columns: 1fr; }
  .footer .container { flex-direction: column; gap: 20px; }
  .footer-links { text-align: left; }
  .page-head h1 { font-size: 28px; }
  .toc ol { columns: 1; }
  table.info th, table.info td { display: block; width: auto; }
  table.info th { border-bottom: 0; }
  table.info td { border-top: 0; }
}
