:root {
  color-scheme: dark light;
  --radius: 24px;
  --red: #f04a50;
  --blue: #4f8df7;
  --navy: #c8dcff;
  --ink: #f7f8fb;
  --muted: #b7c0cc;
  --paper: #070b12;
  --card: rgba(255,255,255,.055);
  --card-strong: rgba(255,255,255,.095);
  --hero-bg: radial-gradient(circle at 85% 12%, rgba(79,141,247,.24), transparent 30%), linear-gradient(135deg, #05070b 0%, #0a111d 48%, #101927 100%);
  --header-bg: rgba(7,11,18,.82);
  --header-border: rgba(255,255,255,.09);
  --nav-color: #d7deea;
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.34);
  --trust-bg: #071a33;
  --showcase-bg: #070b12;
  --showcase-text: #ffffff;
  --showcase-muted: rgba(255,255,255,.68);
  --gallery-card: #111a26;
  --gallery-caption: rgba(255,255,255,.78);
  --process-bg: #090f18;
  --step-bg: rgba(255,255,255,.055);
  --contact-bg: linear-gradient(135deg, #071a33, #103f78);
  --footer-bg: #070b12;
  --footer-color: #aab4c3;
  --button-secondary-bg: rgba(255,255,255,.06);
  --button-secondary-text: #e6eefb;
  --button-secondary-border: rgba(255,255,255,.16);
}
html[data-theme="dark"] {
  color-scheme: dark;
}
html[data-theme="light"] {
  color-scheme: light;
  --red: #c9252d;
  --blue: #0f5fa8;
  --navy: #0b2d57;
  --ink: #101418;
  --muted: #667085;
  --paper: #f6f7f9;
  --card: #ffffff;
  --card-strong: #ffffff;
  --hero-bg: radial-gradient(circle at 85% 12%, rgba(15,95,168,.22), transparent 28%), linear-gradient(135deg, #ffffff 0%, #f6f7f9 42%, #e9eef5 100%);
  --header-bg: rgba(255,255,255,.82);
  --header-border: rgba(16,20,24,.08);
  --nav-color: #2d3640;
  --line: rgba(16,20,24,.12);
  --shadow: 0 24px 80px rgba(15,32,60,.14);
  --trust-bg: #0b203a;
  --showcase-bg: #f1f4f8;
  --showcase-text: #101418;
  --showcase-muted: #667085;
  --gallery-card: #ffffff;
  --gallery-caption: #4b5565;
  --process-bg: #ffffff;
  --step-bg: #f6f7f9;
  --contact-bg: linear-gradient(135deg, #0b203a, #0f5fa8);
  --footer-bg: #ffffff;
  --footer-color: #475467;
  --button-secondary-bg: #ffffff;
  --button-secondary-text: #0b2d57;
  --button-secondary-border: rgba(16,20,24,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  transition: background .25s ease, color .25s ease;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--header-border);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 14px; font-weight: 650; color: var(--nav-color); }
nav a { text-decoration: none; }
nav a:hover { color: var(--blue); }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  border-radius: 999px;
  padding: 9px 13px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: var(--blue); }
.theme-icon { width: 1.1em; text-align: center; }
.hero {
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 110px) clamp(18px, 5vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  background: var(--hero-bg);
}
.eyebrow { margin: 0 0 14px; color: var(--red); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 880px; font-size: clamp(44px, 7vw, 86px); line-height: .96; letter-spacing: -.07em; margin-bottom: 24px; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 21px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--blue); color: white; box-shadow: 0 16px 34px rgba(15,95,168,.25); }
.button.secondary { background: var(--button-secondary-bg); color: var(--button-secondary-text); border: 1px solid var(--button-secondary-border); }
.hero-image { border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); background: #111; transform: rotate(1.2deg); }
.hero-image img { width: 100%; height: min(68vh, 680px); object-fit: cover; }
.trust-strip {
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--trust-bg);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.trust-strip div { padding: 26px; border-right: 1px solid rgba(255,255,255,.12); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { display: block; font-size: 17px; margin-bottom: 7px; }
.trust-strip span { display: block; color: rgba(255,255,255,.72); line-height: 1.5; font-size: 14px; }
.section { padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 82px); }
.section-heading { max-width: 880px; margin: 0 auto 42px; text-align: center; }
.section-heading h2 { font-size: clamp(34px, 5vw, 62px); line-height: 1.02; letter-spacing: -.055em; margin-bottom: 16px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.6; }
.service-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--card); border-radius: var(--radius); padding: 32px; min-height: 300px; box-shadow: 0 16px 50px rgba(0,0,0,.12); border: 1px solid var(--line); }
.service-card .number { color: var(--red); font-weight: 900; letter-spacing: .08em; }
.service-card h3 { font-size: 26px; line-height: 1.08; letter-spacing: -.035em; margin: 48px 0 16px; }
.service-card p { color: var(--muted); line-height: 1.65; }
.showcase { background: var(--showcase-bg); color: var(--showcase-text); }
.showcase .section-heading p:not(.eyebrow) { color: var(--showcase-muted); }
.gallery { max-width: 1280px; margin: 0 auto; columns: 3 300px; column-gap: 20px; }
.gallery-card { break-inside: avoid; margin: 0 0 20px; background: var(--gallery-card); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 70px rgba(0,0,0,.18); }
.gallery-card img { width: 100%; height: auto; }
.gallery-card figcaption { color: var(--gallery-caption); padding: 16px 18px 18px; font-size: 14px; line-height: 1.45; }
.process { background: var(--process-bg); }
.steps { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 28px; background: var(--step-bg); border-radius: 22px; border: 1px solid var(--line); }
.step strong { display: block; font-size: 20px; margin-bottom: 10px; color: var(--navy); }
.step span { color: var(--muted); line-height: 1.55; }
.contact { padding: clamp(70px, 9vw, 120px) clamp(18px, 5vw, 82px); background: var(--contact-bg); color: white; }
.contact-card { width: min(1050px, 100%); margin: 0 auto; display: grid; grid-template-columns: 260px 1fr; gap: clamp(26px, 5vw, 58px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 34px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 100px rgba(0,0,0,.22); }
.contact-card img { border-radius: 28px; box-shadow: 0 18px 60px rgba(0,0,0,.28); }
.contact-card h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.02; letter-spacing: -.055em; }
.contact .eyebrow { color: #fff; opacity: .85; }
.contact-line { font-size: 20px; line-height: 1.4; margin-bottom: 10px; }
.contact .button.primary { margin-top: 14px; background: #fff; color: #0b2d57; box-shadow: none; }
footer { padding: 28px clamp(18px, 5vw, 82px); display: flex; gap: 16px; justify-content: space-between; align-items: center; color: var(--footer-color); font-size: 14px; background: var(--footer-bg); border-top: 1px solid var(--line); }
footer p { margin: 0; }
footer a { color: var(--blue); font-weight: 800; text-decoration: none; }
.reveal { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .site-header { height: auto; min-height: 72px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  nav { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-image { transform: none; }
  .trust-strip, .service-grid, .steps, .contact-card { grid-template-columns: 1fr; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .trust-strip div:last-child { border-bottom: 0; }
  .contact-card img { width: min(260px, 100%); }
  footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .brand span { font-size: 15px; }
  nav { font-size: 13px; gap: 10px; }
  .theme-toggle { padding: 8px 11px; }
  h1 { font-size: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .gallery { columns: 1; }
}
