/* iView Global Tech Services — site styles */
:root {
  --navy: #0B1B33;
  --navy-2: #13284A;
  --blue: #3D6BFF;
  --blue-dark: #2A55E0;
  --ink: #0B1B33;
  --text: #3A4654;
  --muted: #5A6472;
  --line: #D9DDE3;
  --bg: #F6F7F9;
  --white: #FFFFFF;
  --lavender: #ECE8FA;
  --lavender-ink: #4B3A9E;
  --sun: #FFF4D6;
  --sun-ink: #7A5200;
  --radius: 20px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #E3E9FF; color: var(--navy); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-size: 24px; font-weight: 800; letter-spacing: -0.05em; }
.brand-name span { font-size: 11px; font-weight: 500; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-dark); }
.nav .btn, .nav .btn[aria-current="page"] { color: var(--white); }
.menu-btn {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: none; }
}

/* Sections */
section { padding: 88px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; }
.section-head p { font-size: 18px; color: var(--text); }
.bg-white { background: var(--white); }

/* Hero */
.hero { padding: 96px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy p { font-size: 19px; color: var(--text); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-phones { position: relative; display: flex; justify-content: center; gap: 20px; }
.phone {
  width: 220px; border-radius: 34px; overflow: hidden; background: var(--white);
  box-shadow: 0 24px 60px rgba(11, 27, 51, 0.18); border: 6px solid var(--navy);
}
.phone img { width: 100%; height: auto; }
.hero-phones .phone:nth-child(2) { margin-top: 64px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { width: 46%; max-width: 220px; }
}

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-size: 22px; font-weight: 800; }
.card p { color: var(--text); }
.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; background: #E3E9FF; color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
}
.icon-tile svg { width: 26px; height: 26px; }

/* App showcase */
.apps { display: grid; gap: 32px; }
.app {
  border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.app-tally { background: var(--navy); color: var(--white); }
.app-car { background: var(--sun); color: var(--navy); }
.app-head { display: flex; align-items: center; gap: 16px; }
.app-head img { width: 72px; height: 72px; border-radius: 18px; }
.app h3 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.app-copy { display: flex; flex-direction: column; gap: 18px; }
.app-copy p { font-size: 18px; }
.app-tally .app-copy p, .app-tally li { color: #D5DCE6; }
.app-car .app-copy p, .app-car li { color: #4A3A10; }
.app ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.app-shots { display: flex; gap: 16px; justify-content: center; }
.app-shots img { width: 47%; max-width: 220px; border-radius: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.app-shots img:nth-child(2) { margin-top: 40px; }
.app-tally .eyebrow { color: #B9C6FF; }
.app-car .eyebrow { color: var(--sun-ink); }
.app-tally a.more { color: var(--white); font-weight: 700; }
.app-car a.more { color: var(--navy); font-weight: 700; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* Store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 18px;
  border-radius: 12px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35);
}
.store:hover { color: #fff; background: #1d1d1f; }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 11px; opacity: .85; }
.store b { font-size: 17px; font-weight: 700; }

/* About */
.about .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.about-mark {
  background: var(--navy); border-radius: 28px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
}
.about-mark svg { width: 46%; height: auto; }
.about-copy { display: flex; flex-direction: column; gap: 16px; }
.about-copy h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; }
.about-copy p { font-size: 18px; color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.fact { border-top: 2px solid var(--ink); padding-top: 12px; }
.fact b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.fact span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about-mark { max-width: 280px; }
}

/* CTA band */
.cta { text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.cta p { font-size: 18px; color: var(--text); max-width: 560px; }

/* Product pages */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }
.product-hero { padding: 56px 0 88px; }
.product-hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.product-hero h1 { font-size: clamp(44px, 6vw, 64px); font-weight: 800; }
.product-hero .tagline { font-size: 22px; font-weight: 700; color: var(--ink); }
.product-hero p { font-size: 18px; color: var(--text); }
.product-hero .app-head img { width: 80px; height: 80px; border-radius: 20px; }
@media (max-width: 900px) { .product-hero .wrap { grid-template-columns: 1fr; } }
.shots-row { display: flex; gap: 20px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; }
.shots-row img { flex: 0 0 auto; width: 240px; border-radius: 24px; scroll-snap-align: start; box-shadow: 0 12px 30px rgba(11,27,51,.14); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: 16px; color: var(--text); }
.steps li::before { content: counter(step); display: flex; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; }
.pro-band { border-radius: 28px; padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.pro-band h2 { font-size: clamp(28px, 3.6vw, 36px); font-weight: 800; }
.pro-band p { font-size: 17px; max-width: 720px; }
.pill { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .1em; padding: 6px 12px; border-radius: 999px; }
.links-box { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.contact h1 { font-size: clamp(40px, 5vw, 56px); font-weight: 800; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-info p { font-size: 18px; color: var(--text); }
.contact-item .eyebrow { font-size: 12px; }
.contact-item a, .contact-item div { font-size: 18px; font-weight: 700; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 500; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid #A7AEB8; border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.form-status { font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: #1E7A46; }
.form-status.err { color: #B42318; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy); color: #C9D2DE; padding: 56px 0 32px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 32px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.foot-brand .brand { color: var(--white); }
.foot-brand .brand-name span { color: #A9B6C8; }
.site-footer a { color: #C9D2DE; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-col h4 { margin: 0 0 4px; color: var(--white); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.foot-bottom { border-top: 1px solid #22385C; padding-top: 24px; font-size: 13px; color: #94A3B8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.notfound .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.notfound h1 { font-size: 56px; font-weight: 800; }
