:root {
  --red: #be1e2d;
  --orange: #f15a29;
  --grad: linear-gradient(90deg, var(--orange), var(--red) 60%);
  --ink: #1c1c1f;
  --ink-2: #414042;
  --muted: #6b6b70;
  --line: #e8e6e3;
  --bg: #ffffff;
  --bg-alt: #f7f5f3;
  --dark: #17171a;
  --dark-2: #222226;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(28, 28, 31, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: "Sora", sans-serif; color: var(--ink); line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1rem; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; margin-bottom: .5rem; }
p + p { margin-top: .9rem; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head p:last-child { color: var(--muted); }

.eyebrow {
  font-family: "Sora", sans-serif;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: .8rem;
}
.eyebrow.light { color: var(--orange); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: .95rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(190, 30, 45, .6); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: var(--red); text-decoration: none; }
.nav-links .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, #3a1418 0%, transparent 60%), var(--dark);
  color: #cfcfd4; padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 90px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hex-net {
  position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: min(720px, 80vw); color: var(--red); opacity: .22;
  animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.hero-inner { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.4rem; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0 3.5rem; }
.stats {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; max-width: 900px;
}
.stats li { background: rgba(23,23,26,.85); padding: 1.3rem 1.4rem; }
.stats strong { display: block; font-family: "Sora", sans-serif; font-size: 1.6rem; color: #fff; }
.stats span { font-size: .85rem; color: #9b9ba3; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-cards { display: grid; gap: 1rem; }
.vm-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem;
}
.vm-card h3, .vm-card p { grid-column: 2; }
.vm-card p { color: var(--muted); font-size: .95rem; }
.vm-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; background: #fdecea; display: grid; place-items: center; }
.vm-icon svg, .s-icon svg, .contact-list svg { width: 24px; height: 24px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vm-card.accent { background: var(--dark); border-color: var(--dark); }
.vm-card.accent h3 { color: #fff; }
.vm-card.accent p { color: #b5b5bc; }
.vm-card.accent .vm-icon { background: rgba(241,90,41,.15); }
.vm-card.accent svg { stroke: var(--orange); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card p { color: var(--muted); font-size: .94rem; }
.s-icon { width: 52px; height: 52px; border-radius: 12px; background: #fdecea; display: grid; place-items: center; margin-bottom: 1.2rem; }
.s-icon svg { width: 26px; height: 26px; }

/* NOC */
.noc { background: var(--dark); color: #b5b5bc; }
.noc h2 { color: #fff; }
.noc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.noc .btn { margin-top: 1.8rem; }
.noc-list { list-style: none; display: grid; gap: .9rem; }
.noc-list li { display: flex; gap: 1rem; background: var(--dark-2); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 1.1rem 1.3rem; }
.noc-list h4 { color: #fff; font-size: 1rem; margin-bottom: .2rem; }
.noc-list p { font-size: .9rem; }
.dot { flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }

/* Serve */
.serve-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.serve-grid li {
  border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem;
  font-weight: 500; color: var(--ink); position: relative; padding-left: 2.6rem;
}
.serve-grid li::before { content: ""; position: absolute; left: 1.2rem; top: 1.55rem; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }

/* Clients */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.logo-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 120px;
  display: grid; place-items: center; padding: 1rem;
  transition: box-shadow .2s, transform .2s;
}
.logo-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-tile img { max-height: 84px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.partners { margin-top: 3.5rem; text-align: center; }
.partners h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.partner-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.partner { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .75rem 1.5rem; display: flex; gap: .7rem; align-items: baseline; }
.partner strong { font-family: "Sora", sans-serif; color: var(--ink); }
.partner span { color: var(--muted); font-size: .9rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 900px; margin-inline: auto; }
.person { display: flex; gap: 1.4rem; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }
.person .role { color: var(--red); font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.person p { font-size: .95rem; }
.person a { display: inline-block; margin-top: .6rem; font-size: .9rem; word-break: break-all; }

/* Contact */
.contact { background: radial-gradient(900px 500px at 10% 100%, #3a1418 0%, transparent 60%), var(--dark); color: #b5b5bc; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { flex: none; stroke: var(--orange); margin-top: 2px; }
.contact-list a { color: #fff; }
.contact-form { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%;
  border: 1px solid var(--line); border-radius: 10px; padding: .7rem .85rem; background: var(--bg-alt);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241,90,41,.15); background: #fff; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: #0f0f11; color: #8a8a92; padding: 2.5rem 0; font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; justify-content: space-between; }
.footer-logo { height: 28px; width: auto; }
.muted { color: #66666d; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hex-net, .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .serve-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: .8rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about-grid, .noc-grid, .contact-grid, .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services-grid, .serve-grid { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .person { flex-direction: column; }
  .brand img { height: 30px; }
  .stats strong { font-size: 1.3rem; }
}
