:root {
  --ink: #211d1a;
  --muted: #6e6560;
  --paper: #ffffff;
  --card: #ffffff;
  --dark: #191413;
  --dark-2: #241d1c;
  --brand: #d42b26;
  --brand-deep: #a31e1a;
  --brand-ink: #7e1714;
  --brand-tint: #fbeae9;
  --line: #f0e4e3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 720px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 36px; width: auto; display: block; }
.links { display: flex; gap: 22px; align-items: center; }
.links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.links a:hover { color: var(--ink); }
.links .cta {
  color: #fff; background: var(--brand); padding: 8px 18px; border-radius: 6px; font-weight: 600;
}
.links .cta:hover { background: var(--brand-deep); color: #fff; }
.links .lang {
  border: 1.5px solid var(--line); border-radius: 6px; padding: 6px 12px;
  font-weight: 700; font-size: 13px; letter-spacing: 1px; color: var(--ink);
}
.links .lang:hover { border-color: var(--brand); color: var(--brand); }

/* hero */
.hero {
  background: linear-gradient(155deg, #d42b26 0%, #b0231f 55%, #8c1a17 100%);
  color: #fff;
  padding: 84px 0 56px;
}
.hero-logo { width: 230px; height: auto; margin: 0 0 26px; display: block; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12.5px; color: rgba(255,255,255,0.82); font-weight: 700; margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.5px; color: #fff; }
.hero .sub { font-size: 18px; color: rgba(255,255,255,0.88); max-width: 620px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; margin-bottom: 44px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 8px; font-weight: 650;
  text-decoration: none; font-size: 15.5px;
}
.btn.primary { background: #fff; color: var(--brand-ink); }
.btn.primary:hover { background: #f6f1f0; }
.btn.ghost { border: 1.5px solid rgba(255,255,255,0.85); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.14); }
.trust { display: flex; gap: 36px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.28); padding-top: 24px; }
.trust div { display: flex; flex-direction: column; }
.trust strong { font-size: 17px; color: #fff; }
.trust span { font-size: 13.5px; color: rgba(255,255,255,0.75); }

/* sections */
.section { padding: 72px 0; }
.kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 12.5px; color: var(--brand); font-weight: 700; margin: 0 0 10px; }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 14px; letter-spacing: -0.3px; }
.section-sub { color: var(--muted); font-size: 16.5px; max-width: 640px; }
.section.dark { background: var(--dark); color: #f2ede4; }
.section.dark .section-sub { color: #b9b0a1; }
.section.dark .kicker { color: #f06660; }

/* products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 30px; }
.product {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px;
}
.product.flagship { border: 2px solid var(--brand); grid-column: 1 / -1; }
.product h3 { margin: 0 0 2px; font-size: 20px; }
.product .flag {
  display: inline-block; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 4px; margin: 0 0 10px;
}
.product .tag { color: var(--brand); font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.product p { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips li {
  font-size: 12.5px; font-weight: 600; background: var(--brand-tint); color: var(--brand-ink);
  padding: 5px 12px; border-radius: 20px;
}

/* why */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 30px; }
.why-grid > div { background: var(--dark-2); border-radius: 12px; padding: 24px; border: 1px solid #3a2c2b; }
.why-grid h3 { margin: 0 0 8px; font-size: 17px; color: #f5efe3; }
.why-grid p { margin: 0; color: #b9b0a1; font-size: 14.5px; }

/* projects */
.proj-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.proj-list li {
  background: var(--card); border-left: 4px solid var(--brand); border-radius: 0 8px 8px 0;
  padding: 13px 16px; font-weight: 600; font-size: 15px; box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* contact */
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px; margin-top: 24px;
}
.contact-card .name { font-size: 21px; font-weight: 750; margin: 0; }
.contact-card .role { color: var(--brand); font-weight: 600; font-size: 14.5px; margin: 2px 0 14px; }
.contact-card p { margin: 6px 0; font-size: 16.5px; }
.contact-card a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brand); }
.contact-card a:hover { color: var(--brand); }

/* footer */
footer { background: var(--brand-deep); color: rgba(255,255,255,0.78); padding: 30px 0; font-size: 13.5px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
footer .brand img { height: 30px; }

@media (max-width: 640px) {
  .links a:not(.cta):not(.lang) { display: none; }
  .section { padding: 52px 0; }
  .hero { padding: 60px 0 44px; }
  .hero-logo { width: 180px; }
  .brand img { height: 30px; }
}
