/* ==========================================================
   Nozha | Security Systems & IT Solutions
   Brand: navy #293D7F · red #A21E23 (from logo)
   ========================================================== */
:root {
  --navy: #293D7F;
  --navy-600: #1F2F66;
  --navy-800: #111C45;
  --navy-900: #0A1330;
  --navy-950: #060C22;
  --red: #A21E23;
  --red-500: #C3272D;
  --red-400: #E0444A;
  --ink: #141A33;
  --muted: #5B6384;
  --line: #E3E6F0;
  --bg: #FFFFFF;
  --bg-soft: #F5F6FA;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(17, 28, 69, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 19, 48, .35);
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hl { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .78em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--lg { padding: .95em 1.6em; font-size: 1.02rem; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(162, 30, 35, .7); }
.btn--red:hover { background: var(--red-500); }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(41, 61, 127, .7); }
.btn--navy:hover { background: var(--navy-600); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--white { background: #fff; color: var(--red); }
.btn--outline-white { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline-white:hover { background: #fff; color: var(--red); }
.btn--navy-outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn--navy-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--dark { color: #FF8A8E; }
.hero .eyebrow::before { display: none; }
.hero .eyebrow {
  color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  padding: .5em 1em; border-radius: 999px; letter-spacing: .12em; font-size: .74rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-400); box-shadow: 0 0 0 0 rgba(224, 68, 74, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(224, 68, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 68, 74, 0); } }

/* ---------- Section ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; text-align: left; flex-wrap: wrap; }
.section__head--split .h2 { max-width: 560px; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; margin-bottom: 1rem; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ==========================================================
   NAV
   ========================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, padding .35s; padding: 18px 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { height: 40px; width: auto; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__word { position: relative; height: 22px; }
.brand__word img { height: 22px; width: auto; transition: opacity .3s; }
.brand__dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { color: rgba(255, 255, 255, .85); font-family: var(--font-head); font-weight: 500; font-size: .98rem; position: relative; transition: color .2s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red-400); transform: scaleX(0); transition: transform .3s var(--ease); border-radius: 2px; }
.nav__links a:not(.btn):hover, .nav__links a.is-current { color: #fff; }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__cta { padding: .6em 1.2em; }

.nav.is-scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(17, 28, 69, .3); padding: 12px 0; }
.nav.is-scrolled .brand__light { opacity: 0; }
.nav.is-scrolled .brand__dark { opacity: 1; }
.nav.is-scrolled .nav__links a:not(.btn) { color: var(--ink); }
.nav.is-scrolled .nav__links a:not(.btn):hover, .nav.is-scrolled .nav__links a.is-current { color: var(--red); }
.nav.is-scrolled .nav__toggle span { background: var(--navy); }

.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.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); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1000px 600px at 85% 20%, rgba(41, 61, 127, .55), transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(162, 30, 35, .22), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  padding: 150px 0 0;
}
.hero::before { /* grid */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero__circuit { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__circuit .traces path { fill: none; stroke: rgba(120, 140, 220, .16); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.hero__circuit .nodes circle { fill: var(--navy-900); stroke: rgba(120, 140, 220, .3); stroke-width: 6; }
.hero__circuit .pulses path { fill: none; stroke: var(--red-400); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 90; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(224, 68, 74, .9)); animation: pulse 5s linear infinite; opacity: .9; }
.hero__circuit .pulses path:nth-child(2) { animation-delay: -1.3s; animation-duration: 6s; }
.hero__circuit .pulses path:nth-child(3) { animation-delay: -2.6s; animation-duration: 5.5s; }
.hero__circuit .pulses path:nth-child(4) { animation-delay: -.7s; animation-duration: 6.5s; }
.hero__circuit .pulses path:nth-child(5) { animation-delay: -3.4s; animation-duration: 4.5s; }
@keyframes pulse { to { stroke-dashoffset: 0; } }
.hero__glow { position: absolute; width: 520px; height: 520px; right: -120px; top: 80px; background: radial-gradient(circle, rgba(162, 30, 35, .35), transparent 65%); filter: blur(20px); pointer-events: none; }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-bottom: 90px; }
.hero__title { font-size: clamp(2.4rem, 4.9vw, 3.9rem); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; margin-bottom: 1.4rem; }
.hero__title .hl { color: transparent; background: linear-gradient(90deg, #FF5A60, #E0444A 50%, #ff9a9d); -webkit-background-clip: text; background-clip: text; }
.hero__lead { font-size: 1.14rem; color: rgba(225, 230, 250, .78); max-width: 560px; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(225, 230, 250, .8); font-size: .95rem; }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks .ic { color: #FF7378; stroke-width: 2.4; }

.hero__visual { position: relative; perspective: 1400px; }
.monitor {
  margin: 0; position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14); background: #000;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 8px rgba(255, 255, 255, .03);
  transform: rotateY(-8deg) rotateX(3deg); transition: transform .6s var(--ease);
}
.hero__visual:hover .monitor { transform: rotateY(-2deg) rotateX(1deg); }
.monitor img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
.monitor::after { /* scanlines */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px), linear-gradient(180deg, transparent 55%, rgba(6, 12, 34, .85));
}
.monitor__corner { position: absolute; width: 26px; height: 26px; border: 2.5px solid rgba(255, 255, 255, .85); z-index: 2; }
.monitor__corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.monitor__corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.monitor__corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.monitor__corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.monitor__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 18px 50px 22px; font: 600 .75rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; color: rgba(255, 255, 255, .85); }
.rec { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: var(--red); padding: 5px 9px; border-radius: 6px; }
.rec span { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.monitor__cam { flex: 1; opacity: .8; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .96); color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 14px;
  box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.25; animation: float 6s ease-in-out infinite;
}
.chip b { display: block; font-family: var(--font-head); font-weight: 600; }
.chip small { color: var(--muted); font-size: .78rem; }
.chip__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(41, 61, 127, .1); color: var(--navy); }
.chip__icon .ic { width: 22px; height: 22px; }
.chip__icon--green { background: rgba(22, 163, 74, .12); color: #16A34A; }
.chip--a { left: -38px; top: 38px; }
.chip--b { right: -20px; bottom: -26px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.marquee { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 45s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: rgba(255, 255, 255, .55); white-space: nowrap; letter-spacing: .02em; }
.marquee__track i { width: 10px; height: 10px; border: 2.5px solid var(--red-400); border-radius: 50%; flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   ABOUT
   ========================================================== */
.about { background: var(--bg-soft); }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.about__media { position: relative; padding: 0 60px 60px 0; }
.about__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-lg); }
.about__img--main { width: 100%; aspect-ratio: 1 / 1.05; }
.about__img--float { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 6px solid var(--bg-soft); }
.about__badge {
  position: absolute; left: -18px; bottom: 90px; display: flex; align-items: center; gap: 14px;
  background: var(--navy); color: #fff; padding: 16px 22px 16px 16px; border-radius: 16px; box-shadow: var(--shadow-lg); max-width: 250px; line-height: 1.3; font-size: .88rem;
}
.about__badge img { width: 44px; height: auto; flex: none; }
.about__badge b { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.about__copy p:not(.lead) { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1.8rem; }
.value { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); padding: 16px; border-radius: var(--radius-sm); transition: border-color .3s, transform .3s var(--ease); }
.value:hover { border-color: rgba(162, 30, 35, .35); transform: translateY(-3px); }
.value__n { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: .9rem; padding-top: 2px; }
.value b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.value small { color: var(--muted); font-size: .86rem; line-height: 1.45; display: block; margin-top: 2px; }

/* ==========================================================
   SOLUTIONS
   ========================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
  isolation: isolate;
}
.card::before { /* hover fill */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-800) 100%);
  opacity: 0; transition: opacity .4s;
}
.card::after { /* circuit corner */
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  border: 14px solid rgba(162, 30, 35, .07); transition: border-color .4s, transform .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card:hover::after { border-color: rgba(224, 68, 74, .35); transform: scale(1.15); }
.card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(162, 30, 35, .08); color: var(--red); margin-bottom: 22px; transition: background .4s, color .4s; }
.card__icon .ic { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--red); color: #fff; }
.card h3 { font-size: 1.28rem; font-weight: 600; margin-bottom: .55rem; transition: color .4s; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; transition: color .4s; }
.card:hover h3 { color: #fff; }
.card:hover p { color: rgba(225, 230, 250, .78); }
.card__num { position: absolute; right: 26px; bottom: 18px; font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; color: rgba(41, 61, 127, .06); transition: color .4s; line-height: 1; }
.card:hover .card__num { color: rgba(255, 255, 255, .08); }

/* ==========================================================
   STATS
   ========================================================== */
.stats { background: linear-gradient(110deg, var(--red) 0%, #7E1519 55%, var(--navy-800) 100%); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 8px 16px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .18); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; margin-bottom: 8px; }
.stat > span { font-size: .95rem; color: rgba(255, 255, 255, .8); letter-spacing: .02em; }

/* ==========================================================
   PROJECTS
   ========================================================== */
.projects { background: var(--navy-900); color: #fff; overflow: hidden; }
.projects::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 100% 0%, rgba(41, 61, 127, .5), transparent 70%); pointer-events: none; }
.projects .container { position: relative; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .75); border: 1px solid rgba(255, 255, 255, .12); padding: .55em 1.1em; border-radius: 999px; font-family: var(--font-head); font-weight: 500; font-size: .9rem; transition: all .25s; }
.filter:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.filter.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; background: var(--navy-800); border: 0; padding: 0; text-align: left; color: #fff; transition: opacity .4s, transform .4s var(--ease); }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 12, 34, .92)); transition: opacity .4s; }
.tile:hover img { transform: scale(1.07); }
.tile__meta { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.tile__tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(162, 30, 35, .9); padding: 4px 9px; border-radius: 6px; margin-bottom: 8px; }
.tile__meta h3 { font-size: 1.2rem; font-weight: 600; }
.tile--big .tile__meta h3 { font-size: 1.6rem; }
.tile__meta small { display: block; color: rgba(255, 255, 255, .7); font-size: .85rem; margin-top: 2px; }
.tile__expand { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .15); backdrop-filter: blur(8px); opacity: 0; transform: scale(.7); transition: all .35s var(--ease); }
.tile:hover .tile__expand { opacity: 1; transform: scale(1); }
.tile__count { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: .75rem; font-weight: 600; background: rgba(6, 12, 34, .6); backdrop-filter: blur(8px); padding: 4px 9px; border-radius: 6px; }
.tile.is-hidden { display: none; }
.gallery.is-filtered { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; }
.gallery.is-filtered .tile { grid-column: auto; grid-row: auto; }
.gallery.is-filtered .tile__meta h3 { font-size: 1.25rem; }
.tile:focus-visible { outline: 3px solid var(--red-400); outline-offset: 3px; }

/* ==========================================================
   INDUSTRIES
   ========================================================== */
.industries { background: var(--bg-soft); }
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; transition: all .35s var(--ease); position: relative; overflow: hidden; }
.ind .ic { width: 40px; height: 40px; color: var(--navy); margin-bottom: 14px; stroke-width: 1.5; transition: color .35s, transform .35s var(--ease); }
.ind b { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.ind small { color: var(--muted); font-size: .9rem; }
.ind::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ind:hover .ic { color: var(--red); transform: scale(1.08); }
.ind:hover::after { transform: scaleX(1); }

/* ==========================================================
   WHY
   ========================================================== */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.why__intro { position: sticky; top: 120px; }
.why__intro .lead { margin-bottom: 1.8rem; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; }
.why__item { display: flex; gap: 16px; }
.why__ring { width: 22px; height: 22px; border-radius: 50%; border: 5px solid var(--red); flex: none; margin-top: 3px; position: relative; }
.why__ring::after { content: ""; position: absolute; left: 50%; top: 100%; width: 5px; height: 26px; background: linear-gradient(var(--red), transparent); transform: translateX(-50%); border-radius: 2px; }
.why__item h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: .4rem; }
.why__item p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ==========================================================
   PROCESS
   ========================================================== */
.process { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; overflow: hidden; }
.process .h2 { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.steps::before { /* circuit trace */
  content: ""; position: absolute; left: 4%; right: 4%; top: 15px; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-400) 50%, var(--red) 100%);
  opacity: .9;
}
.step { position: relative; padding-top: 58px; }
.step__node { position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); border: 7px solid var(--red-400); box-shadow: 0 0 0 6px rgba(224, 68, 74, .15); transition: box-shadow .3s; }
.step:hover .step__node { box-shadow: 0 0 0 12px rgba(224, 68, 74, .2); }
.step__n { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: #FF8A8E; letter-spacing: .1em; }
.step h3 { font-size: 1.15rem; font-weight: 600; margin: .3rem 0 .45rem; }
.step p { color: rgba(225, 230, 250, .7); font-size: .93rem; margin: 0; }

/* ==========================================================
   CTA
   ========================================================== */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--red) 0%, #861A1E 100%); color: #fff; padding: 72px 0; }
.cta__mark { position: absolute; right: -40px; top: 50%; height: 340px; width: auto; transform: translateY(-50%) rotate(-12deg); opacity: .09; pointer-events: none; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; margin-bottom: .4rem; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.08rem; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { background: var(--bg-soft); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
.contact__list a, .contact__list span { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.contact__list a:hover { color: var(--red); }
.contact__ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(162, 30, 35, .08); color: var(--red); display: grid; place-items: center; flex: none; }
.contact__ic .ic { width: 22px; height: 22px; }

.form { background: #fff; border-radius: 24px; padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 18px; position: relative; }
.form::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--navy)); border-radius: 0 0 4px 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; width: 100%;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(41, 61, 127, .1); }
.form .is-invalid { border-color: var(--red); background: #FFF6F6; }
.form__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form__actions .btn { flex: 1 1 200px; }
.form__note { margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.4em; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--navy-950); color: rgba(225, 230, 250, .7); padding: 80px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__logo { height: 120px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 18px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 30px; font-size: .86rem; }
.footer__top { color: #FF8A8E; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 12, 34, .94); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 70px 80px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 76vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #fff; margin-top: 16px; font-family: var(--font-head); font-size: 1.1rem; }
.lightbox figcaption small { display: block; color: rgba(255, 255, 255, .6); font-family: var(--font-body); font-size: .85rem; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.wa-float .ic { width: 28px; height: 28px; stroke-width: 1.8; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 640px; margin: 10px auto 0; width: 100%; }
  .chip--a { left: -12px; }
  .chip--b { right: -6px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .inds { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0 0 auto; top: 0; padding: 90px 24px 30px; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-900); transform: translateY(-105%); transition: transform .45s var(--ease); box-shadow: var(--shadow-lg);
  }
  .nav__links.is-open { transform: none; }
  .nav__links a:not(.btn) { color: #fff !important; padding: 12px 4px; font-size: 1.15rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }
  .nav__toggle { position: relative; z-index: 2; }
  .nav.menu-open .nav__toggle span { background: #fff; }
  .nav.menu-open .brand__light { opacity: 1; }
  .nav.menu-open .brand__dark { opacity: 0; }
  .brand { position: relative; z-index: 2; }
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .why__intro { position: static; }
  .about__media { max-width: 560px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 120px; }
  .hero__inner { padding-bottom: 70px; gap: 40px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .chip { font-size: .8rem; padding: 9px 12px 9px 9px; }
  .chip__icon { width: 32px; height: 32px; }
  .chip--a { top: -18px; left: -4px; }
  .chip--b { bottom: -22px; right: -4px; }
  .monitor { transform: none; }
  .monitor__bar { padding: 14px 40px 18px; font-size: .62rem; }
  .monitor__cam, .monitor__time { display: none; }
  .about__media { padding: 0 30px 40px 0; }
  .about__badge { left: 10px; bottom: 50px; max-width: 210px; }
  .values, .why__list, .form__row { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .stat:nth-child(3) { border-left: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
  .tile--big { grid-column: span 2; }
  .tile--wide { grid-column: span 2; }
  .gallery.is-filtered { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .tile__meta { left: 14px; right: 14px; bottom: 12px; }
  .tile__meta h3 { font-size: 1rem; }
  .tile__meta small { display: none; }
  .inds { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ind { padding: 20px 16px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .lightbox { padding: 70px 12px; }
  .lightbox__nav { top: auto; bottom: 18px; transform: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
