/* ==========================================================================
   Jay Kishan Wire – public website
   Local fonts only. No frameworks, no external requests.
   ========================================================================== */

/* ---------- fonts (self-hosted, Latin subset) ---------- */
@font-face { font-family: "JK Display"; font-weight: 300; font-style: normal; font-display: swap; src: url("../assets/fonts/display-300.woff") format("woff"); }
@font-face { font-family: "JK Display"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/display-400.woff") format("woff"); }
@font-face { font-family: "JK Display"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/display-500.woff") format("woff"); }
@font-face { font-family: "JK Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/display-700.woff") format("woff"); }
@font-face { font-family: "JK Body"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/body-400.woff") format("woff"); }
@font-face { font-family: "JK Body"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/body-500.woff") format("woff"); }
@font-face { font-family: "JK Body"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/body-600.woff") format("woff"); }
@font-face { font-family: "JK Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/mono-400.woff") format("woff"); }

/* ---------- tokens ---------- */
:root {
  --navy-900: #04152a;
  --navy-800: #061b33;
  --navy-700: #0b3a66;
  --orange: #e8500f;
  --orange-600: #cc4309;
  --orange-700: #a33506;
  --orange-panel: #d4450a;
  --orange-light: #ff7a33;
  --grey-50: #f3f5f8;
  --line: #dce3eb;
  --text: #33465c;
  --muted: #5b6b7f;
  --on-dark: #c6d4e4;

  --font-display: "JK Display", "Poppins", "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "JK Body", "Inter", "Segoe UI", Arial, sans-serif;
  --font-mono: "JK Mono", "DejaVu Sans Mono", Consolas, monospace;

  --maxw: 1344px;
  --padx: 48px;
  --secy: 128px;
  --h1: clamp(40px, 5.83vw, 84px);
  --h2: clamp(30px, 3.2vw, 46px);
  --h2-big: clamp(34px, 3.9vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
html.no-scroll { overflow: hidden; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: #fff; }
svg { flex: none; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--navy-700); color: #fff; padding: 14px 20px; font-family: var(--font-display); font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

.disp { font-family: var(--font-display); }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.4; }
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--padx); padding-right: var(--padx); }

/* ---------- typography blocks ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.eyebrow__num { color: var(--orange-600); }
.eyebrow::before { content: none; }
.eyebrow__line { display: block; width: 40px; height: 1px; background: var(--orange-600); }
.eyebrow--dark { color: #9fb4cc; }
.eyebrow--dark .eyebrow__num { color: var(--orange-light); }
.eyebrow--dark .eyebrow__line { background: var(--orange-light); }

.h2 { margin-top: 24px; font-family: var(--font-display); font-weight: 300; font-size: var(--h2); line-height: 1.15; letter-spacing: -0.02em; color: var(--navy-700); }
.h2 strong { font-weight: 700; }
.h2--big { font-size: var(--h2-big); line-height: 1.08; letter-spacing: -0.025em; }
.on-dark .h2 { color: #fff; }

.section { padding-top: var(--secy); padding-bottom: var(--secy); }
.section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 80px; align-items: end; }
.section-head p { max-width: 460px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: stretch; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; border: 0; padding: 0; text-align: left; transition: background-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; }
.btn__label { display: flex; align-items: center; min-height: 56px; padding: 0 28px; }
.btn__icon { display: flex; align-items: center; justify-content: center; width: 56px; background: var(--orange); transition: background-color 0.25s; }
.btn__icon svg { transition: transform 0.3s var(--ease); }
.btn:hover .btn__icon svg, .btn:focus-visible .btn__icon svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(4, 21, 42, 0.22); }
.btn:active { transform: translateY(0); }
.btn--navy { background: var(--navy-700); }
.btn--navy:hover { background: #082e52; }
.btn--orange { background: var(--orange-600); }
.btn--orange .btn__icon { background: var(--orange-700); }
.btn--orange:hover { background: #b83c08; }
.btn--full { width: 100%; }
.btn--full .btn__label { flex: 1; }

.link-arrow { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; color: #fff; }
.link-arrow span { border-bottom: 1px solid currentColor; padding-bottom: 6px; transition: border-color 0.25s; }
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover span { border-color: var(--orange-light); }

/* ---------- top bar ---------- */
.topbar { background: var(--navy-900); color: #b7c7da; }
.topbar__in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--padx); min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__tag { font-size: 11px; }
.topbar__links { display: flex; align-items: center; gap: 28px; font-size: 13px; margin-left: auto; }
.topbar__links a { display: flex; align-items: center; gap: 8px; min-height: 40px; transition: color 0.2s; }
.topbar__links a:hover { color: #fff; }

/* ---------- header ---------- */
.header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header__in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--padx); min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 60px; height: 58px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--orange); letter-spacing: 0.02em; }
.brand__sub { font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--navy-700); margin-top: 5px; letter-spacing: 0.3em; }
.nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.nav a { position: relative; padding: 8px 0; color: var(--text); transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--navy-700); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header__cta { flex: none; }
.menu-toggle { display: none; width: 52px; height: 52px; align-items: center; justify-content: center; border: 1px solid var(--navy-700); border-radius: 0; background: #fff; color: var(--navy-700); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 8px var(--padx) 28px; }
.mobile-nav a.mobile-nav__link { display: flex; align-items: center; justify-content: space-between; min-height: 60px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-700); }
.mobile-nav a.mobile-nav__link[aria-current="true"] { color: var(--orange-600); }
.mobile-nav .btn { margin-top: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__in { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 96px var(--padx) 152px; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 4.5vw, 64px); align-items: center; }
.hero .eyebrow { color: var(--orange-light); }
.hero .eyebrow__line { width: 48px; background: var(--orange-light); }
.hero h1 { margin-top: 28px; font-family: var(--font-display); font-size: var(--h1); line-height: 1.02; letter-spacing: -0.03em; color: #fff; }
.hero h1 .l1 { display: block; font-weight: 300; }
.hero h1 .l2 { display: block; font-weight: 700; margin-top: 6px; }
.hero h1 .dot { color: var(--orange); }
.hero__sub { margin-top: 32px; max-width: 500px; font-size: 19px; line-height: 1.65; color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 44px; }
.hero__visual { position: relative; padding-left: 48px; }
.hero__frame { position: absolute; right: -20px; top: -20px; left: 96px; bottom: 20px; border: 1px solid var(--orange); }
.hero__vlabel { position: absolute; left: 0; top: 0; bottom: 0; writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; justify-content: center; color: #9fb4cc; }
.hero__img { position: relative; width: 100%; height: clamp(420px, 41.7vw, 600px); object-fit: cover; clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%); }

/* ---------- spec bar ---------- */
.spec { position: relative; z-index: 2; max-width: var(--maxw); margin: -64px auto 0; padding: 0 var(--padx); }
.spec__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; box-shadow: 0 30px 60px rgba(4, 21, 42, 0.22); }
.spec__cell { padding: 30px 32px; border-right: 1px solid var(--line); }
.spec__label { color: var(--muted); }
.spec__value { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--navy-700); }
.spec__value small { font-weight: 500; font-size: 16px; color: var(--muted); }
.spec__cta { padding: 30px 32px; background: var(--orange-panel); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: background-color 0.25s; }
.spec__cta:hover { background: #b83c08; }
.spec__cta .mono { display: block; }
.spec__cta strong { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; }
.spec__cta svg { transition: transform 0.3s var(--ease); }
.spec__cta:hover svg { transform: translateX(5px); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 7.2vw, 104px); align-items: center; }
.about__media { position: relative; padding-bottom: 72px; }
.about__media::before { content: ""; position: absolute; left: -20px; top: -20px; width: 60%; height: 70%; border: 1px solid var(--orange); }
.about__img1 { position: relative; width: 86%; height: clamp(440px, 41.7vw, 600px); object-fit: cover; }
.about__img2 { position: absolute; right: 0; bottom: 0; width: 52%; height: clamp(180px, 18vw, 260px); object-fit: cover; border: 8px solid #fff; }
.about__paras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 36px; }
.about__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--navy-700); }
.about__facts > div { padding: 20px 16px 0 0; }
.fact__label { color: var(--muted); }
.fact__value { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy-700); }

/* ---------- products ---------- */
.products { background: var(--grey-50); }
.products__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px 32px; margin-top: 72px; min-height: 320px; }
.pcard { grid-column: span var(--span, 4); display: block; color: inherit; }
.pcard__media { position: relative; height: var(--h, 300px); overflow: hidden; background: var(--navy-700); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.pcard:hover .pcard__media img, .pcard:focus-visible .pcard__media img { transform: scale(1.05); }
.pcard__num { position: absolute; left: 0; top: 0; background: var(--navy-800); color: #fff; padding: 12px 16px; }
.pcard__tag { position: absolute; right: 16px; top: 16px; background: var(--orange-600); color: #fff; padding: 7px 10px; }
.pcard__cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 22px; }
.pcard__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--navy-700); transition: color 0.2s; }
.pcard__desc { margin-top: 8px; font-size: 15px; color: #4a5c70; max-width: 420px; }
.pcard__arrow { flex: none; width: 48px; height: 48px; border: 1px solid #9fb0c3; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--navy-700); transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.3s var(--ease); }
.pcard:hover .pcard__name, .pcard:focus-visible .pcard__name { color: var(--orange-600); }
.pcard:hover .pcard__arrow, .pcard:focus-visible .pcard__arrow { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateX(3px); }
.products__empty { grid-column: 1 / -1; padding: 48px 0; font-size: 17px; }

/* ---------- why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(32px, 3.9vw, 56px); margin-top: 64px; }
.why__item { border-top: 1px solid var(--navy-700); padding: 28px 0 8px; }
.why__top { display: flex; align-items: center; justify-content: space-between; color: var(--orange-600); }
.why__top .mono { color: var(--muted); }
.why__item h3 { margin: 36px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.25; color: var(--navy-700); }
.why__item p { font-size: 15px; max-width: 320px; }

/* ---------- quality ---------- */
.quality { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.quality__bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.07; pointer-events: none; }
.quality__grid { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 7.2vw, 104px); align-items: center; }
.quality__media { position: relative; }
.quality__media::before { content: ""; position: absolute; left: -20px; bottom: -20px; right: 20px; top: 20px; border: 1px solid var(--orange); }
.quality__media img { position: relative; width: 100%; height: clamp(460px, 47vw, 680px); object-fit: cover; }
.quality__lead { margin-top: 24px; max-width: 520px; color: #b7c7da; }
.quality__list { margin-top: 36px; border-bottom: 1px solid #1f3f63; }
.quality__row { display: grid; grid-template-columns: 56px 1fr; gap: 8px; align-items: baseline; border-top: 1px solid #1f3f63; padding: 20px 0; }
.quality__row .mono { color: var(--orange-light); }
.quality__row h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff; }
.quality__row p { margin-top: 4px; font-size: 15px; color: #b7c7da; }
.quality__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.5vw, 36px); line-height: 1; color: #fff; white-space: nowrap; }
.stat__num span { color: var(--orange); }
.stat__label { margin-top: 10px; color: #9fb4cc; }

/* ---------- applications ---------- */
.apps__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 20px; margin-top: 56px; }
.app__media { position: relative; height: clamp(300px, 26.4vw, 380px); overflow: hidden; background: var(--navy-800); }
.app__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.app:hover .app__media img { transform: scale(1.06); }
.app__icon { position: absolute; right: 0; bottom: 0; width: 52px; height: 52px; background: var(--orange-panel); color: #fff; display: flex; align-items: center; justify-content: center; }
.app__cap { border-bottom: 1px solid #c9d3df; padding: 16px 0 18px; }
.app__cap .mono { color: var(--muted); }
.app__cap h3 { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--navy-700); }

/* ---------- call to action ---------- */
.cta { background: var(--navy-700); color: #fff; }
.cta__grid { display: grid; grid-template-columns: 7fr 5fr; }
.cta__left { padding: 112px var(--padx); }
.cta__inner { max-width: 672px; margin-left: auto; }
.cta .eyebrow { color: var(--orange-light); }
.cta .eyebrow__line { width: 48px; background: var(--orange-light); }
.cta__text { margin-top: 24px; max-width: 500px; color: var(--on-dark); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 40px; }
.cta__right { background: var(--orange-panel); color: #fff; padding: 112px clamp(32px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.cta__phone { display: block; margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -0.01em; color: #fff; overflow-wrap: anywhere; }
.cta__email { display: block; margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; overflow-wrap: anywhere; }
.cta__phone:hover, .cta__email:hover { text-decoration: underline; text-underline-offset: 6px; }
.cta__wa { display: inline-flex; align-items: stretch; margin-top: 16px; border: 1px solid rgba(255,255,255,0.55); font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; color: #fff; transition: border-color 0.25s, background-color 0.25s; }
.cta__wa-icon { display: flex; align-items: center; justify-content: center; width: 48px; background: var(--navy-700); transition: background-color 0.25s; }
.cta__wa-label { display: flex; align-items: center; padding: 0 20px; min-height: 48px; }
.cta__wa:hover { border-color: #fff; background: rgba(255,255,255,0.1); text-decoration: none; }
.cta__wa:hover .cta__wa-icon { background: var(--navy-900); }
.wa-glyph { flex: none; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 7.2vw, 104px); align-items: start; }
.contact__company { margin-top: 36px; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy-700); }
.contact__list { margin-top: 20px; border-top: 1px solid var(--navy-700); }
.contact__row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact__row svg { color: var(--orange-600); }
.contact__row .mono { color: var(--muted); }
.contact__row a, .contact__row address { display: inline-block; margin-top: 6px; font-style: normal; color: #0b2a4a; }
.contact__row a:hover { color: var(--orange-600); text-decoration: underline; text-underline-offset: 4px; }
.contact__wa { display: inline-flex !important; align-items: center; gap: 8px; margin-left: 16px; font-weight: 600; font-size: 14px; color: var(--orange-600) !important; }

.form { background: var(--grey-50); padding: clamp(24px, 3.9vw, 56px); }
.form__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy-700); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; margin-top: 28px; }
.field { display: block; }
.field--full { margin-top: 28px; }
.field__label { display: block; color: var(--muted); }
.field__label i { font-style: normal; color: var(--orange-600); }
.field__control { width: 100%; min-height: 52px; padding: 14px 0; border: 0; border-bottom: 1px solid #7d91a8; border-radius: 0; background: transparent; font-size: 16px; color: #0b2a4a; transition: border-color 0.2s, box-shadow 0.2s; }
.field__control::placeholder { color: #6b7c90; opacity: 1; }
.field__control:focus { outline: none; border-bottom-color: var(--orange-600); box-shadow: 0 1px 0 var(--orange-600); }
.field textarea.field__control { resize: vertical; min-height: 96px; }
.field select.field__control { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%230B3A66' stroke-width='2'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 28px; }
.field.is-invalid .field__control { border-bottom-color: #b42318; box-shadow: 0 1px 0 #b42318; }
.field__error { min-height: 0; margin-top: 6px; font-size: 13px; line-height: 1.4; color: #b42318; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { margin-top: 24px; padding: 14px 16px; background: #fdeceb; border: 1px solid #f1b5b0; color: #8a1c13; font-size: 14px; }
.form__submit { margin-top: 36px; }
.form__submit .btn__label { min-height: 60px; }
.form__submit .btn__icon { width: 60px; }
.form__submit[disabled] { opacity: 0.7; cursor: progress; transform: none; box-shadow: none; }
.form__note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.form-success { background: var(--grey-50); padding: clamp(24px, 3.9vw, 56px); border-top: 4px solid var(--orange); }
.form-success:focus { outline: none; }
.form-success__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--navy-700); color: #fff; }
.form-success h3 { margin-top: 24px; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--navy-700); }
.form-success p { margin-top: 12px; max-width: 460px; }
.form-success__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.form-success .link-arrow { color: var(--navy-700); }
.form-success .link-arrow:hover span { border-color: var(--orange-600); }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: #b7c7da; overflow: hidden; }
.footer__grid { max-width: var(--maxw); margin: 0 auto; padding: 80px var(--padx) 40px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px 40px; }
.footer__logo { display: inline-block; background: #fff; padding: 14px 18px; }
.footer__logo img { width: 132px; height: auto; }
.footer__about { margin-top: 24px; font-size: 15px; max-width: 340px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.footer__social a { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid #3b5c80; color: #fff; font-family: var(--font-display); font-weight: 700; transition: background-color 0.25s, border-color 0.25s; }
.footer__social a:hover { background: var(--orange); border-color: var(--orange); }
.footer h2 { color: var(--orange-light); font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.footer__links { display: flex; flex-direction: column; margin-top: 16px; font-size: 15px; }
.footer__links a { min-height: 40px; display: flex; align-items: center; transition: color 0.2s, transform 0.25s var(--ease); }
.footer__links a:hover { color: var(--orange-light); transform: translateX(3px); }
.footer__contact { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; font-size: 15px; }
.footer__contact a { transition: color 0.2s; overflow-wrap: anywhere; }
.footer__contact a:hover { color: var(--orange-light); }
.footer__contact address { font-style: normal; }
.footer__giant { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--padx); }
.footer__giant div { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 9.7vw, 140px); line-height: 0.9; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px #274a72; white-space: nowrap; overflow: hidden; user-select: none; }
.footer__bar { border-top: 1px solid #16324f; margin-top: 32px; }
.footer__bar-in { max-width: var(--maxw); margin: 0 auto; padding: 22px var(--padx); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.footer__bar .mono { color: #9fb4cc; }
.footer__bar-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.footer__admin { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #7f95ae; min-height: 24px; display: inline-flex; align-items: center; padding-left: 22px; border-left: 1px solid #234160; transition: color 0.2s; }
.footer__admin:hover { color: var(--orange-light); }
.credit { background: #020d1b; border-top: 1px solid #0f2a45; }
.credit__in { max-width: var(--maxw); margin: 0 auto; padding: 14px var(--padx); text-align: center; font-size: 13px; letter-spacing: 0.02em; color: #8ea3bb; }
.credit a { color: #fff; font-weight: 600; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.credit a:hover { color: var(--orange-light); border-color: var(--orange-light); }

/* ---------- product dialog ---------- */
.pdialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: #fff; color: var(--text); overflow: auto; }
.pdialog::backdrop { background: rgba(4, 21, 42, 0.72); }
.pdialog[open] { animation: dialogIn 0.35s var(--ease); }
.pdialog__grid { display: grid; grid-template-columns: 1fr 1fr; }
.pdialog__media { background: var(--navy-800); min-height: 100%; }
.pdialog__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.pdialog__body { position: relative; padding: 48px 40px 40px; display: flex; flex-direction: column; justify-content: center; }
.pdialog__close { position: absolute; right: 12px; top: 12px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); color: var(--navy-700); transition: background-color 0.2s, color 0.2s; }
.pdialog__close:hover { background: var(--navy-700); color: #fff; }
.pdialog__body .mono { color: var(--orange-600); }
.pdialog__body h3 { margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.2; color: var(--navy-700); padding-right: 40px; }
.pdialog__body p { margin-top: 16px; }
.pdialog__range { margin-top: 24px; border-top: 1px solid var(--navy-700); padding-top: 16px; }
.pdialog__range .mono { color: var(--muted); }
.pdialog__range strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 20px; color: var(--navy-700); }
.pdialog__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.pdialog__actions .link-arrow { color: var(--navy-700); }
.pdialog__actions .link-arrow:hover span { border-color: var(--orange-600); }

/* ---------- animation ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes reveal-img { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }

.js [data-hero] { opacity: 0; animation: rise 0.9s var(--ease) forwards; animation-delay: calc(0.12s + var(--i, 0) * 0.11s); }
.js .hero__visual { opacity: 0; animation: reveal-img 1.1s var(--ease) 0.35s forwards; }
.js .spec { opacity: 0; animation: rise 0.9s var(--ease) 0.7s forwards; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0ms); will-change: opacity, transform; }
.js .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

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

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .spec__cell, .spec__cta { padding: 26px 24px; }
  .spec__value { font-size: 26px; }
  .why__item h3 { font-size: 19px; }
  .apps__grid { gap: 32px 14px; }
}

@media (max-width: 980px) {
  :root { --padx: 40px; --secy: 88px; --h1: clamp(40px, 7.2vw, 62px); --h2: clamp(30px, 4.6vw, 40px); --h2-big: clamp(34px, 5.4vw, 46px); }
  .nav, .header__cta--desktop, .topbar__tag { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: block; }
  .topbar__in { justify-content: flex-end; }
  .hero__in { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 120px; gap: 64px; }
  .hero__visual { padding-left: 0; }
  .hero__frame { left: 24px; }
  .hero__vlabel { display: none; }
  .hero__img { height: clamp(300px, 54vw, 420px); }
  .spec__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec__cell { border-bottom: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; }
  .about__grid, .quality__grid, .contact__grid, .cta__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .about__img1 { height: clamp(340px, 60vw, 460px); }
  .about__img2 { height: clamp(150px, 26vw, 220px); }
  .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; margin-top: 56px; }
  .pcard { grid-column: span 1; }
  .pcard:last-child:nth-child(odd) { grid-column: span 2; }
  .pcard__media { height: clamp(220px, 34vw, 300px); }
  .pcard:last-child:nth-child(odd) .pcard__media { height: clamp(240px, 38vw, 320px); }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 40px; margin-top: 48px; }
  .quality__media img { height: clamp(320px, 60vw, 460px); }
  .quality__media { max-width: 600px; }
  .apps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; margin-top: 48px; }
  .app__media { height: clamp(220px, 38vw, 300px); }
  .cta__left { padding: 80px var(--padx); }
  .cta__inner { max-width: none; }
  .cta__right { padding: 64px var(--padx); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdialog__grid { grid-template-columns: 1fr; }
  .pdialog__media img { min-height: 0; height: 260px; }
  .pdialog__body { padding: 32px 28px 28px; justify-content: flex-start; }
}

@media (max-width: 640px) {
  :root { --padx: 20px; --secy: 64px; --h1: 40px; --h2: 30px; --h2-big: 34px; }
  .topbar__links a.topbar__mail { display: none; }
  .topbar__links { gap: 16px; }
  .header__in { min-height: 80px; }
  .header__cta { display: none; }
  .brand img { width: 52px; height: 50px; }
  .brand__name { font-size: 20px; }
  .brand__sub { font-size: 14px; }
  .hero__in { padding-top: 48px; padding-bottom: 104px; gap: 48px; }
  .hero__sub { font-size: 17px; }
  .hero__frame { left: 16px; right: -12px; top: -12px; }
  .spec { margin-top: -56px; }
  .spec__grid { grid-template-columns: 1fr; }
  .spec__cell { padding: 22px 20px; }
  .spec__cta { padding: 24px 20px; }
  .about__paras { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr; }
  .about__facts > div { padding-bottom: 12px; }
  .about__media { padding-bottom: 48px; }
  .about__img1 { height: 320px; }
  .about__img2 { height: 150px; border-width: 6px; }
  .products__grid { grid-template-columns: 1fr; gap: 44px; margin-top: 44px; }
  .pcard:last-child:nth-child(odd) { grid-column: span 1; }
  .pcard__media, .pcard:last-child:nth-child(odd) .pcard__media { height: 250px; }
  .why__grid { grid-template-columns: 1fr; gap: 32px; }
  .why__item h3 { margin-top: 24px; }
  .quality__media img { height: 320px; }
  .quality__stats { grid-template-columns: 1fr; gap: 24px; }
  .apps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .app__media { height: 200px; }
  .app__icon { width: 44px; height: 44px; }
  .app__cap h3 { font-size: 15px; }
  .cta__left { padding: 64px var(--padx); }
  .cta__right { padding: 48px var(--padx); }
  .cta__phone { font-size: 28px; }
  .form__grid { grid-template-columns: 1fr; gap: 24px; }
  .form__submit { width: 100%; }
  .form__submit .btn__label { flex: 1; }
  .contact__wa { margin-left: 0; display: flex !important; }
  .footer__grid { grid-template-columns: 1fr; padding-top: 56px; }
  .footer__bar-in { flex-direction: column; }
  .footer__admin { padding-left: 0; border-left: 0; }
  .pdialog { width: calc(100vw - 24px); max-height: calc(100vh - 24px); }
  .pdialog__media img { height: 200px; }
  .pdialog__actions .btn { width: 100%; }
  .pdialog__actions .btn .btn__label { flex: 1; }
}

/* QA: comfortable tap targets for inline contact links without changing the look */
.contact__row a:not(.contact__wa), .footer__contact a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.contact__wa { padding-top: 10px; padding-bottom: 10px; margin-top: -10px; margin-bottom: -10px; }
.footer__admin { min-height: 40px; }
.credit a { display: inline-block; padding: 12px 2px; margin: -12px 0; }

/* QA: keep header on one line between the hamburger breakpoint and full desktop */
.nav a, .brand__text { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1220px) {
  .header__in { padding-left: 28px; padding-right: 28px; gap: 16px; }
  .nav { gap: 22px; font-size: 13px; letter-spacing: 0.04em; }
  .brand { gap: 10px; }
  .brand img { width: 52px; height: 50px; }
  .brand__name { font-size: 21px; }
  .brand__sub { font-size: 15px; }
}
@media (min-width: 981px) and (max-width: 1100px) { .stat__num { font-size: 26px; } .quality__stats { gap: 20px; } }
