/* ==========================================================
   KRASMEY — Crafted to Engineer. Built for Industry.
   Main stylesheet
   ========================================================== */

:root {
  --orange: #F26522;        /* brochure primary orange */
  --orange-deep: #D9481A;   /* logo red-orange */
  --red: #D3232A;           /* brochure wordmark red */
  --yellow: #F7B81E;        /* logo yellow */
  --yellow-soft: #FFD25A;
  --cream: #FBF6EC;         /* page background */
  --cream-2: #F5EEDF;
  --paper: #FFFDF8;
  --stone: #E6E1DA;         /* brochure grey band */
  --ink: #141210;
  --ink-2: #3A3530;
  --muted: #6E665D;
  --line: rgba(20, 18, 16, .1);
  --shadow: 0 18px 40px -20px rgba(80, 40, 10, .35);
  --radius: 14px;
  --max: 1220px;
  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.015em; text-transform: uppercase; }
h3 { font-weight: 800; font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--paper { background: var(--paper); }
.section--stone { background: var(--stone); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--orange); border-radius: 2px; }
.bar { width: 64px; height: 6px; background: var(--orange); border-radius: 3px; margin: 18px 0 26px; }
.bar--center { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.text-orange { color: var(--orange); }
.text-yellow { color: var(--yellow); }
.center { text-align: center; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: .92rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 101, 34, .8); }
.btn--primary:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--orange-deep); }
.btn--light:hover { background: var(--yellow); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Top strip & Header ---------- */
.topbar { background: var(--ink); color: #d9d2c8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--yellow); }
.topbar svg { width: 15px; height: 15px; color: var(--yellow); }
.topbar__links { display: flex; gap: 22px; }
.topbar__tag { font-weight: 600; letter-spacing: .04em; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.header.is-scrolled { box-shadow: 0 8px 26px -18px rgba(0, 0, 0, .45); border-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { height: 46px; width: auto; }
.brand__word { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__drop > a {
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .06em; color: var(--ink);
  padding: 10px 14px; border-radius: 6px; position: relative; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a::after, .nav__drop > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav > a:hover::after, .nav > a.active::after, .nav__drop:hover > a::after, .nav__drop > a.active::after { transform: scaleX(1); }
.nav__drop { position: relative; }
.nav__drop > a svg { width: 14px; height: 14px; }
.dropdown {
  position: absolute; top: 100%; left: -10px; min-width: 330px;
  background: var(--paper); border-radius: 12px; padding: 10px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .35); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .22s;
}
.nav__drop:hover .dropdown, .nav__drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: .93rem; color: var(--ink); }
.dropdown a:hover { background: var(--cream-2); color: var(--orange-deep); }
.dropdown img { width: 46px; height: 34px; object-fit: cover; border-radius: 6px; }
.dropdown .dropdown__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--orange); font-family: var(--font-display); text-transform: uppercase; font-size: .8rem; letter-spacing: .08em; }
.nav .btn { margin-left: 12px; padding: 12px 22px; }
.nav .btn::after { display: none; }

.menu-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 3px; background: var(--ink); border-radius: 2px; transition: .25s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.nav-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Corner accent (brochure motif) ---------- */
.corner { position: absolute; top: 0; left: 0; width: 260px; height: 260px; background: linear-gradient(135deg, var(--orange) 0%, #FF8A3D 100%); clip-path: polygon(0 0, 100% 0, 0 100%); opacity: .95; pointer-events: none; }
.corner--sm { width: 150px; height: 150px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 90px; background: radial-gradient(1200px 500px at 85% 20%, #fff 0%, rgba(255,255,255,0) 60%), var(--cream); }
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px 7px 8px; font-size: .82rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow); margin-bottom: 26px; }
.hero__badge b { background: var(--orange); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: min(3.15rem, 4.1vw); line-height: 1.08; }
.hero h1 span { display: block; }
.hero h1 .line-2 { white-space: nowrap; }
.hero h1 .line-2 { color: var(--orange); }
.hero__sub { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--orange-deep); font-size: 1.05rem; margin: 6px 0 18px; }
.hero__copy { max-width: 540px; font-size: 1.1rem; margin-bottom: 32px; }
.hero__visual { position: relative; }
.hero__visual img.hero__img { width: 100%; border-radius: 22px; box-shadow: 0 40px 70px -35px rgba(90, 40, 0, .55); background: #fff; }
.hero__chip { position: absolute; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: .85rem; line-height: 1.35; }
.hero__chip strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.hero__chip .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--cream-2); display: grid; place-items: center; color: var(--orange); }
.hero__chip .ico svg { width: 22px; height: 22px; }
.hero__chip--a { left: -26px; bottom: 34px; }

/* ---------- Marquee ---------- */
.ticker { background: var(--orange); color: #fff; overflow: hidden; padding: 16px 0; }
.ticker__track { display: flex; gap: 48px; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker span::after { content: "✦"; color: var(--yellow-soft); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--wide-text { grid-template-columns: 1.1fr .9fr; }
.media-frame { position: relative; }
.media-frame img { border-radius: 20px; width: 100%; box-shadow: var(--shadow); }
.media-frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 3px solid var(--yellow); border-radius: 20px; z-index: -1; }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.check-list li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center/13px no-repeat; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card {
  background: var(--paper); border-radius: 18px; overflow: hidden; position: relative;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(90, 40, 0, .5); }
.cat-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; position: relative; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__num { position: absolute; top: 0; left: 0; width: 76px; height: 76px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 0 100%); color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 1rem; padding: 10px 0 0 12px; }
.cat-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: -.005em; }
.cat-card__body p { font-size: .96rem; color: var(--muted); flex: 1; }
.cat-card__link { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .1em; color: var(--orange); display: inline-flex; align-items: center; gap: 8px; }
.cat-card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.cat-card:hover .cat-card__link svg { transform: translateX(5px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.tags li { font-size: .74rem; font-weight: 600; background: var(--cream-2); color: var(--ink-2); padding: 4px 10px; border-radius: 999px; }

/* ---------- Pillars / features ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar { background: var(--paper); border-radius: var(--radius); padding: 32px 26px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .25s, transform .25s; }
.pillar:hover { border-color: var(--orange); transform: translateY(-4px); }
.pillar__ico { width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, var(--orange), #FF8A3D); color: #fff; display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 12px 22px -12px rgba(242, 101, 34, .9); }
.pillar__ico svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.08rem; text-transform: uppercase; }
.pillar p { font-size: .94rem; color: var(--muted); margin: 0; }
.pillar::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 80px; height: 80px; border-radius: 50%; border: 8px solid rgba(247, 184, 30, .14); }

/* ---------- Dark band ---------- */
.band { background: var(--ink); color: #cfc7bc; position: relative; overflow: hidden; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--yellow); }
.band .eyebrow::before { background: var(--yellow); }
.band__glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 101, 34, .35), transparent 65%); right: -200px; top: -200px; }
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255, 255, 255, .08); border-radius: 16px; overflow: hidden; }
.industry { background: #1d1a17; padding: 30px 28px; transition: background .25s; }
.industry:hover { background: #26201b; }
.industry__ico { color: var(--orange); margin-bottom: 14px; }
.industry__ico svg { width: 36px; height: 36px; }
.industry h3 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: 6px; }
.industry p { font-size: .9rem; margin: 0; color: #a99f93; }

/* ---------- Global band ---------- */
.global { position: relative; overflow: hidden; }
.global__img img { border-radius: 22px; box-shadow: var(--shadow); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(120deg, var(--orange-deep) 0%, var(--orange) 55%, #FF9A3C 100%); color: #fff; padding: 64px 60px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, .9); margin: 0; font-size: 1.08rem; }
.cta::before { content: ""; position: absolute; right: -60px; bottom: -110px; width: 320px; height: 320px; background: url("../img/krasmey-mark.png") center/contain no-repeat; opacity: .12; filter: brightness(0) invert(1); }
.cta::after { content: ""; position: absolute; left: 0; bottom: 0; height: 8px; width: 45%; background: var(--yellow); }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--stone); padding: 90px 0 80px; }
.page-hero .corner { width: 340px; height: 100%; clip-path: polygon(0 0, 100% 0, 40% 100%, 0 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__inner { max-width: 760px; margin-left: 260px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero p { font-size: 1.12rem; max-width: 640px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--orange); }
.crumbs span { color: var(--orange); }

/* ---------- Category detail page ---------- */
.cat-hero { position: relative; overflow: hidden; background: var(--cream); padding: 96px 0 70px; }
.cat-hero .corner { width: 120px; height: 120px; }
.cat-hero__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.cat-hero h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); }
.cat-hero__sub { font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.cat-hero__img { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -35px rgba(90, 40, 0, .55); }
.cat-hero__img img { width: 100%; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: relative; transition: transform .25s, border-color .25s, box-shadow .25s; }
.prod:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: var(--shadow); }
.prod__ico { width: 54px; height: 54px; color: var(--orange); margin-bottom: 18px; }
.prod__ico svg { width: 100%; height: 100%; }
.prod h3 { font-size: 1.12rem; text-transform: uppercase; margin-bottom: 8px; }
.prod p { font-size: .94rem; color: var(--muted); margin: 0; }
.prod__n { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--stone); }

.prose h3 { font-size: 1.15rem; text-transform: uppercase; margin-top: 30px; }
.prose h3:first-child { margin-top: 0; }
.info-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.info { background: var(--paper); border-radius: 18px; padding: 36px 34px; border-left: 6px solid var(--orange); }
.info:nth-child(even) { border-left-color: var(--yellow); }
.info h3 { text-transform: uppercase; font-size: 1.15rem; }
.info p:last-child { margin-bottom: 0; }

.apps { display: flex; flex-wrap: wrap; gap: 12px; }
.apps span { background: var(--paper); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.apps span::before { content: ""; width: 8px; height: 8px; background: var(--orange); border-radius: 2px; transform: rotate(45deg); }

.note { display: flex; gap: 16px; background: #FFF4D6; border: 1px solid #F3D48A; border-radius: 14px; padding: 20px 22px; font-size: .95rem; color: #5B4512; }
.note svg { flex: 0 0 24px; width: 24px; height: 24px; color: #C98A00; }

.quote-line { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--ink); line-height: 1.2; border-left: 6px solid var(--orange); padding-left: 24px; margin: 0; }

.other-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mini-cat { background: var(--paper); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.mini-cat:hover { transform: translateY(-4px); border-color: var(--orange); }
.mini-cat img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: #fff; }
.mini-cat span { display: block; padding: 14px 16px; font-family: var(--font-display); font-weight: 800; font-size: .86rem; text-transform: uppercase; color: var(--ink); line-height: 1.3; }

/* ---------- Solutions index rows ---------- */
.sol-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.sol-row:last-child { border-bottom: 0; }
.sol-row:nth-child(even) .sol-row__img { order: 2; }
.sol-row__img { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow); position: relative; }
.sol-row__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.sol-row:hover .sol-row__img img { transform: scale(1.04); }
.sol-row__num { font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--orange); margin-bottom: 10px; }
.sol-row h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value { background: var(--paper); border-radius: 18px; padding: 36px 30px; border: 1px solid var(--line); }
.value__n { font-family: var(--font-display); font-weight: 900; color: var(--orange); font-size: .9rem; letter-spacing: .14em; margin-bottom: 14px; display: block; }
.value h3 { text-transform: uppercase; }
.value p { color: var(--muted); font-size: .96rem; margin: 0; }
.portfolio-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.portfolio-list a { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 700; color: var(--ink); transition: border-color .2s, color .2s; }
.portfolio-list a:hover { border-color: var(--orange); color: var(--orange-deep); }
.portfolio-list img { width: 62px; height: 46px; object-fit: cover; border-radius: 8px; background: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.c-card { display: flex; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: border-color .2s; }
.c-card:hover { border-color: var(--orange); }
.c-card__ico { flex: 0 0 52px; height: 52px; border-radius: 12px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.c-card__ico svg { width: 24px; height: 24px; }
.c-card h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.c-card p, .c-card a { margin: 0; font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.5; }
.c-card a:hover { color: var(--orange); }
.form-card { background: var(--paper); border-radius: 22px; padding: 44px 40px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.field label i { color: var(--orange); font-style: normal; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink); background: var(--cream);
  border: 1.5px solid #E2D9CA; border-radius: 10px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(242, 101, 34, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field .err { color: var(--red); font-size: .8rem; display: none; }
.field.has-error .err { display: block; }
.hp { position: absolute; left: -9999px; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.form-status.ok { display: block; background: #E8F6EA; color: #1C6B2A; }
.form-status.fail { display: block; background: #FDECEC; color: #9B1C1C; }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; filter: saturate(.85); }

/* ---------- Footer ---------- */
.footer-skyline { line-height: 0; margin-top: 40px; }
.footer-skyline img { width: 100%; height: 220px; object-fit: cover; object-position: center 20%; }
.footer { background: linear-gradient(180deg, #E9561E 0%, #D9481A 100%); color: rgba(255, 255, 255, .88); padding: 70px 0 0; position: relative; margin-top: -2px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { background: var(--cream); border-radius: 16px; padding: 18px 20px; display: inline-block; margin-bottom: 20px; }
.footer__logo img { height: 92px; width: auto; }
.footer h4 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--yellow-soft); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 4px; color: var(--yellow-soft); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .22); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer__bottom b { color: #fff; letter-spacing: .06em; }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 12px; background: var(--orange); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 24px -10px rgba(242, 101, 34, .9); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s; z-index: 40; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .ticker__track { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .other-cats { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .page-hero__inner { margin-left: 160px; }
}
@media (max-width: 960px) {
  .topbar__tag { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 82px 0 auto 0; background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 16px 20px 26px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    max-height: calc(100vh - 82px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav__drop > a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a::after, .nav__drop > a::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 4px 0 8px 8px; min-width: 0; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
  .hero__grid, .split, .split--wide-text, .cat-hero__grid, .contact-grid, .sol-row { grid-template-columns: 1fr; }
  .sol-row:nth-child(even) .sol-row__img { order: 0; }
  .hero__chip--a { left: 10px; }
  .cat-grid, .prod-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .info-blocks { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 48px 34px; }
  .page-hero { padding: 40px 0 56px; }
  .page-hero__inner { margin-left: 0; padding-top: 36px; }
  .page-hero .corner { width: 90px; height: 60px; clip-path: polygon(0 0, 100% 0, 0 100%); }
  .cat-hero { padding: 60px 0 56px; }
  .cat-hero .corner { width: 70px; height: 46px; }
  .hero { padding: 40px 0 70px; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 3.2rem); }
  .hero h1 .line-2 { white-space: normal; }
  .hero .corner { width: 110px; height: 80px; }
  .hero__badge { margin-top: 30px; }
  .section { padding: 76px 0; }
  .split { gap: 50px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar__links a:nth-child(2) { display: none; }
  .brand__mark { height: 38px; } .brand__word { height: 26px; }
  .cat-grid, .prod-grid, .values, .industries, .pillars, .form-grid, .portfolio-list { grid-template-columns: 1fr; }
  .other-cats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__chip { display: none; }
  .form-card { padding: 34px 22px; }
  .media-frame::before { inset: 14px -10px -14px 14px; }
  .corner { width: 140px; height: 140px; }
  .sol-row__num { font-size: 3.4rem; }
  .map iframe { height: 320px; }
}
