/* ─── Variables ──────────────────────────────────────────────────────────── */
:root {
  --primary:       #0c2340;
  --primary-light: #1a3a60;
  --accent:        #e85d04;
  --accent-hover:  #c44f00;
  --blue:          #1565c0;
  --light-bg:      #f7f9fc;
  --border:        #e2e8f0;
  --text:          #1a202c;
  --muted:         #52637a;
  --white:         #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 10px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 24px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);
  --radius:    8px;
  --radius-lg: 14px;
  --ease:      0.2s ease;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}
img  { max-width: 100%; display: block; }
ul   { list-style: none; }
a    { color: var(--blue); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.logo:hover { color: var(--primary); }
.logo .accent,
.footer-logo .accent { color: var(--accent); }

.nav { display: flex; gap: 2px; align-items: center; }
.nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--ease), color var(--ease);
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(232,93,4,.07);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.375rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.25rem;
  line-height: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}
.lang-current {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  line-height: 1;
}
.lang-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
  border: 1px solid transparent;
  line-height: 1;
  transition: all var(--ease);
}
.lang-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(232,93,4,.06);
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.875rem; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,93,4,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--light-bg);
  color: var(--primary);
  transform: translateY(-1px);
}

/* ─── Hero (home) ────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-light) 55%, #1e4d8c 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 60%, rgba(30,106,176,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(232,93,4,.18) 0%, transparent 45%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.125rem;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.375rem;
  position: relative;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin: 0 auto 2.75rem;
  line-height: 1.72;
  position: relative;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── Section header ─────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.section-header p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ─── Features / Card grid ───────────────────────────────────────────────── */
.features { padding: 5.5rem 0; background: var(--light-bg); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.875rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 1.375rem;
  flex-shrink: 0;
}
.card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--primary);
}
.card p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.68;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* ─── Why us section ─────────────────────────────────────────────────────── */
.why-us { padding: 5.5rem 0; background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--primary);
}
.why-text > p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.72;
  margin-bottom: 1.5rem;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; }
.check-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.check-list em { font-style: normal; font-weight: 600; color: var(--text); }

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.stat-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ─── CTA band ───────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  padding: 4.5rem 0;
  text-align: center;
  color: var(--white);
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.cta-band p {
  color: rgba(255,255,255,.85);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

/* ─── Page hero (interior) ───────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(140deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}
.breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 0.875rem;
  display: flex;
  gap: 0.375rem;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.page-subtitle {
  color: rgba(255,255,255,.78);
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 560px;
}

/* ─── Page content area ──────────────────────────────────────────────────── */
.page-content { padding: 4rem 0 5rem; }

.intro-prose {
  max-width: 680px;
  margin-bottom: 3rem;
}
.intro-prose p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

/* ─── Prose (rich text) ──────────────────────────────────────────────────── */
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2.75rem 0 0.875rem;
  letter-spacing: -0.022em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin: 2rem 0 0.625rem;
}
.prose p {
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 1.125rem;
  font-size: 1rem;
}
.prose ul {
  list-style: none;
  margin: 0 0 1.25rem;
}
.prose ul li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.prose ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.prose strong { color: var(--text); font-weight: 600; }
.prose em { font-style: italic; }

/* ─── Services grid override ─────────────────────────────────────────────── */
.services-grid { margin-top: 0; }
.service-card .card-icon { font-size: 1.1rem; }

/* ─── Contact page ───────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.375rem;
}
.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}
.form-group { margin-bottom: 1.125rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,.14);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-details h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.625rem;
}
.contact-details > p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.375rem;
}
.contact-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: var(--radius);
  background: rgba(232,93,4,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}
.contact-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-item span {
  font-size: 0.9375rem;
  color: var(--muted);
}
.contact-note {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--light-bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.contact-note p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,.72);
  padding: 4rem 0 0;
}
.footer-logo {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.68;
  max-width: 300px;
}
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: 0.9375rem;
}
.footer-links a:hover { color: var(--accent); }
.footer-contact p {
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
}
.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,.38);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .why-grid        { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav         { display: none; flex-direction: column; width: 100%; padding: 0.5rem 0 1rem; border-top: 1px solid var(--border); margin-top: 0.5rem; gap: 2px; }
  .nav.open    { display: flex; }
  .nav-toggle  { display: block; }
  .site-header .container { flex-wrap: wrap; height: auto; padding-top: 0.875rem; padding-bottom: 0.875rem; }
  .nav-link    { width: 100%; }
  .lang-switcher { border-left: none; padding-left: 0; }

  .hero        { padding: 4rem 0 3.5rem; }
  .features    { padding: 3.5rem 0; }
  .why-us      { padding: 3.5rem 0; }
  .why-stats   { grid-template-columns: 1fr 1fr; }
  .cta-band    { padding: 3.5rem 0; }

  .card-grid   { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .page-content { padding: 2.75rem 0 4rem; }
}
