:root {
  --red: #ed1c24;
  --red-dark: #bf1118;
  --ink: #14181d;
  --ink-soft: #2b3037;
  --paper: #ffffff;
  --mist: #f3f5f7;
  --line: #e2e6ea;
  --muted: #66707b;
  --shadow: 0 22px 60px rgba(20, 24, 29, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 1000; background: var(--paper); padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.topbar { background: var(--red); color: #fff; }
.topbar-inner { min-height: 46px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: .9rem; font-weight: 650; }
.topbar-group { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-size: .75rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(226,230,234,.9); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 240px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; font-weight: 750; font-size: .93rem; }
.main-nav > a { position: relative; padding: 31px 0 28px; }
.main-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 21px; height: 3px; background: var(--red); transition: right .2s ease; }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { right: 0; }
.nav-cta { color: #fff !important; background: var(--ink); padding: 12px 19px !important; border-radius: 999px; }
.nav-cta::after { display: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); font-size: 1.3rem; }

.hero { position: relative; min-height: 650px; overflow: hidden; background: #111; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .75s ease, visibility .75s; background-position: center; background-size: cover; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,13,.88) 0%, rgba(7,10,13,.62) 46%, rgba(7,10,13,.18) 100%); }
.slide.active { opacity: 1; visibility: visible; }
.slide-inner { position: relative; z-index: 2; min-height: 650px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--red); font-size: .79rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.hero h1 { margin: 0 0 20px; font-size: clamp(2.65rem, 5vw, 5.2rem); line-height: 1.02; letter-spacing: -.04em; max-width: 820px; }
.hero h1 strong { color: var(--red); }
.hero p { margin: 0 0 32px; max-width: 650px; white-space: pre-line; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: rgba(255,255,255,.9); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid var(--red); border-radius: 999px; color: #fff; background: var(--red); font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--red-dark); border-color: var(--red-dark); }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.button.secondary:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.hero-controls { position: absolute; z-index: 5; right: max(24px, calc((100vw - var(--container))/2)); bottom: 36px; display: flex; gap: 10px; }
.hero-control { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(0,0,0,.22); font-size: 1.3rem; }
.hero-control:hover { background: var(--red); border-color: var(--red); }
.hero-dots { position: absolute; z-index: 5; left: max(24px, calc((100vw - var(--container))/2)); bottom: 50px; display: flex; gap: 9px; }
.hero-dot { width: 24px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.42); }
.hero-dot.active { width: 48px; background: var(--red); }

.section { padding: 105px 0; }
.section.muted { background: var(--mist); }
.section.dark { color: #fff; background: var(--ink); }
.section-head { max-width: 700px; margin: 0 auto 50px; text-align: center; }
.section-head h2, .split-copy h2 { margin: 0 0 18px; font-size: clamp(2.15rem, 4vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; }
.section-head p { color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(42px, 7vw, 90px); }
.split-copy p { color: var(--muted); }
.split-copy p + p { margin-top: 18px; }
.about-visual { position: relative; min-height: 540px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(145deg, var(--mist), #dfe4e8); box-shadow: var(--shadow); }
.about-visual img { position: absolute; inset: 28px 18px 0 auto; width: 95%; height: calc(100% - 28px); object-fit: contain; object-position: right bottom; }
.about-badge { position: absolute; left: 0; bottom: 42px; z-index: 2; padding: 18px 26px; color: #fff; background: var(--red); font-weight: 850; border-radius: 0 12px 12px 0; box-shadow: 0 14px 30px rgba(237,28,36,.28); }

.logo-strip { display: grid; grid-template-columns: repeat(8, minmax(110px, 1fr)); gap: 12px; align-items: center; }
.logo-tile { min-height: 100px; display: grid; place-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.logo-tile img { max-height: 54px; filter: saturate(.9); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 270px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.service-card::before { content: attr(data-number); position: absolute; right: 18px; top: 4px; color: #edf0f2; font-size: 5.4rem; line-height: 1; font-weight: 900; }
.service-icon { position: relative; width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 16px; color: var(--red); background: rgba(237,28,36,.09); font-size: 1.45rem; font-weight: 900; }
.service-card h3 { position: relative; margin: 0 0 12px; font-size: 1.25rem; line-height: 1.3; }
.service-card p { position: relative; margin: 0 0 22px; color: var(--muted); }
.text-link { position: relative; color: var(--red); font-weight: 850; }
.text-link::after { content: " →"; }

.contact-band { display: grid; grid-template-columns: 1fr .9fr; border-radius: 30px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.contact-form { padding: clamp(34px, 6vw, 64px); background: #fff; }
.contact-form h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.contact-form > p { margin: 0 0 28px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 800; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 14px 15px; color: var(--ink); background: #fbfcfd; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(237,28,36,.08); }
.field textarea { min-height: 130px; resize: vertical; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.form-note { color: var(--muted); font-size: .82rem; }
.contact-info { padding: clamp(34px, 6vw, 64px); color: #fff; background: linear-gradient(145deg, var(--ink-soft), #111419); }
.contact-info h3 { margin: 0 0 28px; font-size: 1.55rem; }
.contact-list { display: grid; gap: 24px; }
.contact-item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.contact-item-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--red); font-weight: 900; }
.contact-item small { display: block; color: rgba(255,255,255,.55); font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.contact-item a:hover { color: #ff7479; }

.page-hero { position: relative; padding: 110px 0 95px; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -100px; top: -250px; border: 80px solid rgba(237,28,36,.9); border-radius: 50%; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 850px; margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.045em; }
.breadcrumbs { margin-bottom: 18px; color: rgba(255,255,255,.65); font-size: .9rem; font-weight: 700; }
.breadcrumbs a:hover { color: #fff; }
.feature-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 30px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 900; }
.feature-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.feature-card h3 { margin: 0 0 12px; }
.feature-card ul { margin: 0; padding-left: 19px; color: var(--muted); }
.wide-image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.tech-grid { display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: 16px; }
.tech-card { min-height: 130px; display: grid; place-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.tech-card img { max-height: 70px; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { padding: 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.process-step span { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 50%; color: #fff; background: var(--red); font-weight: 900; }
.process-step h3 { margin: 0 0 10px; font-size: 1.12rem; }
.process-step p { margin: 0; color: var(--muted); }
.partner-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-wall .logo-tile { min-height: 150px; }
.map-frame { width: 100%; height: 430px; border: 0; border-radius: var(--radius); }

.site-footer { color: rgba(255,255,255,.78); background: #0e1115; }
.footer-main { display: grid; grid-template-columns: 1.35fr .7fr .8fr 1fr; gap: 52px; padding: 72px 0; }
.footer-logo { width: 230px; margin-bottom: 22px; }
.site-footer h3 { color: #fff; margin: 0 0 20px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .main-nav { gap: 18px; font-size: .86rem; }
  .logo-strip { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .topbar-inner { justify-content: center; padding: 10px 0; }
  .topbar-group:first-child { justify-content: center; }
  .socials, .topbar-hours { display: none; }
  .nav-wrap { min-height: 76px; }
  .brand img { width: 210px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 16px 20px 24px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(20,24,29,.14); }
  .main-nav.open { display: grid; gap: 0; }
  .main-nav > a { padding: 13px 5px; border-bottom: 1px solid var(--line); }
  .main-nav > a::after { display: none; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .hero, .slide-inner { min-height: 590px; }
  .split, .contact-band { grid-template-columns: 1fr; }
  .about-visual { min-height: 440px; order: -1; }
  .contact-info { order: -1; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .partner-wall { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar-group { gap: 12px; font-size: .78rem; }
  .topbar-group span:first-child { display: none; }
  .brand img { width: 185px; }
  .hero, .slide-inner { min-height: 610px; }
  .slide::before { background: linear-gradient(90deg, rgba(7,10,13,.88), rgba(7,10,13,.55)); }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.7rem); }
  .hero p { font-size: 1rem; }
  .hero-controls { right: 18px; bottom: 20px; }
  .hero-dots { left: 18px; bottom: 34px; }
  .section { padding: 78px 0; }
  .service-grid, .feature-cards, .form-grid, .process, .partner-wall { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .about-visual { min-height: 360px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding: 56px 0; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
