:root {
  --bg: #ffffff;
  --bg-alt: #f5f4f1;
  --ink: #16181d;
  --ink-soft: #4a4f59;
  --line: #e3e1db;
  --accent: #c8861d;
  --accent-dark: #a66e12;
  --navy: #16202e;
  --navy-soft: #20303f;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(20, 30, 45, 0.25);
  --maxw: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.8vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; }
.display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }

p { color: var(--ink-soft); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.lead { font-size: 1.12rem; max-width: 60ch; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(200,134,29,0.6); }
.btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-soft); transform: translateY(-2px); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
/* Transparent state (over the dark hero) */
.site-header:not(.scrolled) .brand { color: #fff; }
.site-header:not(.scrolled) .brand span { color: #e6b24a; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
@media (min-width: 901px) {
  .site-header:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.82); }
  .site-header:not(.scrolled) .nav-links a:hover,
  .site-header:not(.scrolled) .nav-links a.active { color: #fff; }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem;
}
.brand span { color: var(--accent-dark); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 600; font-size: 0.96rem; color: var(--ink-soft); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 18px; }

/* Language switcher */
.lang-switch { display: flex; gap: 4px; background: var(--bg-alt); padding: 4px; border-radius: 100px; border: 1px solid var(--line); }
.lang-btn {
  border: none; background: transparent; cursor: pointer;
  width: 34px; height: 30px; border-radius: 100px;
  display: grid; place-items: center; font-size: 1.05rem;
  opacity: 0.55; transition: all 0.15s;
}
.lang-btn:hover { opacity: 1; }
.lang-btn.active { background: #fff; opacity: 1; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.lang-btn .flag { width: 22px; height: 15px; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }

/* Reveal-on-scroll animations */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(.2,.6,.2,1), transform 0.7s cubic-bezier(.2,.6,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-video, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; }
.hero-overlay { background: linear-gradient(rgba(13,20,30,0.66), rgba(13,20,30,0.84)); }
.hero .container { position: relative; z-index: 2; }
.hero-inner { padding: 110px 0 60px; max-width: 880px; }
.hero p { color: rgba(255,255,255,0.82); }
.hero .lead { margin: 20px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  color: #fff;
  background: linear-gradient(rgba(13,20,30,0.78), rgba(13,20,30,0.86)),
    url("https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1920&q=80") center/cover;
}
.page-hero .hero-inner { padding: 96px 0 84px; }
.page-hero p { color: rgba(255,255,255,0.82); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat-num { font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.9rem; color: var(--ink-soft); }

/* Section heads */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Cards grid */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-img { height: 210px; object-fit: cover; width: 100%; }
.card-body { padding: 26px; }
.card-body h3 { margin-bottom: 10px; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(200,134,29,0.12); color: var(--accent-dark);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }

/* Service detailed list */
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: none; }
.service-row.flip .service-text { order: 2; }
.service-img { border-radius: var(--radius); height: 380px; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.feature-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.feature-list svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); height: 460px; object-fit: cover; width: 100%; }

.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.value { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value h3 { margin-bottom: 8px; }

/* CTA band */
.cta-band {
  background: var(--navy); color: #fff; border-radius: 20px;
  padding: 56px; text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 52ch; margin: 0 auto 28px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.info-item svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.info-item h4 { font-size: 1rem; margin-bottom: 2px; }
.info-item p { font-size: 0.95rem; }

form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 700; }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--bg-alt);
  transition: border 0.15s, background 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); }
.form-success { background: rgba(34,139,76,0.1); color: #1e7a44; padding: 14px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; display: none; }

/* Legal / privacy */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { margin: 40px 0 14px; font-size: 1.5rem; }
.legal h3 { margin: 26px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* Statement / editorial block */
.statement { padding: 120px 0; }
.statement .display { max-width: 20ch; }
.statement p { font-size: 1.2rem; max-width: 56ch; margin-top: 30px; }

/* Process steps */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-num { font-size: 2.4rem; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; line-height: 1; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }

/* FAQ accordion */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 28px;
  font-family: inherit; font-weight: 700; color: var(--ink);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: -0.01em;
}
.faq-q .icon { flex: none; width: 28px; height: 28px; position: relative; }
.faq-q .icon::before, .faq-q .icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-q .icon::before { top: 13px; left: 3px; right: 3px; height: 2px; }
.faq-q .icon::after { left: 13px; top: 3px; bottom: 3px; width: 2px; transition: transform 0.3s ease; }
.faq-item.open .faq-q .icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq-a p { padding-bottom: 28px; max-width: 74ch; font-size: 1.05rem; }

@media (max-width: 900px) {
  .step-grid { grid-template-columns: 1fr 1fr; }
  .statement { padding: 80px 0; }
}
@media (max-width: 520px) { .step-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 0.92rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }

/* Cookie banner */
.cookie {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 100;
  max-width: 460px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.3);
  padding: 24px; display: none;
}
.cookie.show { display: block; animation: pop 0.35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.cookie h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cookie p { font-size: 0.9rem; margin-bottom: 18px; }
.cookie .btn { width: 100%; justify-content: center; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-2, .value-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .service-row, .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-row.flip .service-text { order: 0; }
  .split img, .service-img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 24px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 18px 24px; gap: 14px; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
