/* =========================================================
   Trimzy IT Solutions
   Theme: change brand colors here
   ========================================================= */
:root {
  --brand: #1554d9;
  --brand-hover: #0f45bb;
  --brand-deep: #0a2a6e;
  --brand-50: #f2f6ff;
  --brand-100: #e4ecff;
  --brand-200: #c9d8ff;

  --ink: #0b1b33;
  --text: #3a4760;
  --muted: #6b7890;
  --line: #e5e9f1;
  --surface: #f7f9fc;
  --white: #ffffff;
  --green: #12805c;
  --green-bg: #e7f6ef;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .05);
  --shadow: 0 1px 2px rgba(11, 27, 51, .04), 0 6px 20px rgba(11, 27, 51, .06);
  --shadow-lg: 0 2px 4px rgba(11, 27, 51, .04), 0 24px 60px rgba(21, 84, 217, .14);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.65 var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.35rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); line-height: 1.15; letter-spacing: -.03em; }
h3 { font-size: 1.1rem; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
.muted { color: var(--muted); }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px;
  font: 500 .98rem/1 var(--font);
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(21, 84, 217, .3), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; box-shadow: 0 8px 22px rgba(21, 84, 217, .28); }
.btn-ghost { color: var(--ink); background: var(--white); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--brand-200); background: var(--brand-50); }
.btn-ghost:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: .92rem; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(11, 27, 51, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { width: 32px; height: 32px; }
.logo span { font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.logo em { font-style: normal; font-weight: 400; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { color: var(--text); font-size: .95rem; font-weight: 500; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--brand); border-radius: 2px; transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 0;
  background:
    radial-gradient(60% 70% at 85% 10%, var(--brand-100) 0%, rgba(228, 236, 255, 0) 70%),
    linear-gradient(180deg, var(--brand-50) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero-sub { margin-top: 22px; font-size: 1.15rem; line-height: 1.6; color: var(--text); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.assurances { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.assurances li, .contact-points li { display: flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--text); }
.assurances svg, .contact-points svg {
  width: 20px; height: 20px; padding: 3px; border-radius: 50%;
  background: var(--brand-100); fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}

/* Dashboard card */
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 28px -20px 52px 32px;
  background: linear-gradient(135deg, var(--brand) 0%, #4f86ff 100%);
  border-radius: 28px; opacity: .1; transform: rotate(3deg);
}
.dash {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
}
.dash-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dash-label { font-size: .8rem; color: var(--muted); }
.dash-title { font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-top: 2px; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 99px; font-size: .8rem; font-weight: 500; white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-green { background: var(--green-bg); color: var(--green); }
.pill-green i { animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(18, 128, 92, .35); } 50% { box-shadow: 0 0 0 5px rgba(18, 128, 92, 0); } }

.dash-progress { margin: 24px 0 22px; }
.dash-progress-row { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.dash-progress-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 99px; background: var(--brand-50); overflow: hidden; }
.bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--brand), #4f86ff); }
.js .bar span { width: 0; }

.milestones { position: relative; display: grid; gap: 4px; }
.milestones::before { content: ""; position: absolute; left: 9px; top: 14px; bottom: 14px; width: 2px; background: var(--line); }
.milestones li { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.milestones b { display: block; font-size: .93rem; font-weight: 500; color: var(--ink); }
.milestones small { display: block; font-size: .8rem; color: var(--muted); }
.mk { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); flex: none; }
.milestones .done .mk { background: var(--brand); border-color: var(--brand); }
.milestones .done .mk::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.milestones .active .mk { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.milestones .active .mk::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand); }
.milestones li:not(.done):not(.active) b { color: var(--muted); }

.dash-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.dash-foot div { background: var(--surface); border-radius: 10px; padding: 12px 14px; }
.dash-foot small { display: block; font-size: .78rem; color: var(--muted); }
.dash-foot b { font-size: .9rem; font-weight: 600; color: var(--ink); }
.hero-caption { position: relative; margin-top: 16px; text-align: center; font-size: .85rem; color: var(--muted); }

/* Platforms strip */
.platforms { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 72px; padding: 28px 0; border-top: 1px solid var(--line); }
.platforms p { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.platforms ul { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.platforms li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); font-size: .98rem; }
.platforms svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-soft { background: var(--surface); }
.head { max-width: 640px; margin-bottom: 56px; }
.head .label { font-size: .9rem; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.head > p:last-child:not(.label) { margin-top: 16px; font-size: 1.08rem; color: var(--muted); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.service:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); margin-bottom: 22px; transition: background .3s var(--ease); }
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s var(--ease); }
.service:hover .service-icon { background: var(--brand); }
.service:hover .service-icon svg { stroke: #fff; }
.service > p { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.service ul { margin-top: 20px; display: grid; gap: 9px; flex: 1; }
.service li { position: relative; padding-left: 22px; font-size: .92rem; color: var(--text); }
.service li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px; border: solid var(--brand); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.service-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; }
.service-meta span { color: var(--muted); }
.service-meta b { color: var(--ink); font-weight: 600; }
.services-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 32px; font-size: .95rem; color: var(--muted); }
.services-note svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linejoin: round; }

/* ---------- Work ---------- */
.featured {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.featured-body { padding: 40px; }
.featured-top { display: flex; align-items: center; gap: 16px; }
.featured-top img { border-radius: 12px; }
.featured-top div { flex: 1; }
.featured-top h3 { font-size: 1.45rem; }
.featured-top .muted { font-size: .95rem; }
.featured-body > p { margin-top: 22px; font-size: 1.02rem; max-width: 36rem; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 30px; }
.metrics div { padding: 16px 18px; border-radius: var(--radius); background: var(--brand-50); }
.metrics dt { font-size: 1.6rem; font-weight: 600; color: var(--brand); letter-spacing: -.03em; line-height: 1.1; }
.metrics dd { margin: 6px 0 0; font-size: .84rem; color: var(--text); line-height: 1.4; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.arrow-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.arrow-link:hover svg { transform: translateX(3px); }

.featured-side { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.side-title { font-size: .9rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.deliverables { display: grid; gap: 12px; }
.deliverables li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s var(--ease); }
.deliverables li:hover { background: rgba(255, 255, 255, .13); }
.d-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .14); flex: none; }
.d-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.deliverables b { display: block; font-weight: 600; font-size: .98rem; }
.deliverables small { display: block; font-size: .83rem; color: rgba(255, 255, 255, .72); }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.product {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.product:hover { border-color: var(--brand-200); box-shadow: var(--shadow); transform: translateY(-3px); }
.product-art { display: grid; place-items: center; height: 132px; background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); }
.product-art img, .art-glyph { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 8px 20px rgba(11, 27, 51, .12); transition: transform .4s var(--ease); }
.product:hover .product-art img, .product:hover .art-glyph { transform: scale(1.06); }
.art-glyph { display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
.art-glyph svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.product-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-type { font-size: .8rem; font-weight: 500; color: var(--brand); margin-bottom: 4px; }
.product-body > p:not(.product-type) { margin-top: 8px; font-size: .93rem; color: var(--muted); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { font-size: .8rem; font-weight: 500; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.why-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); margin-bottom: 20px; }
.why-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why-item p { margin-top: 8px; font-size: .95rem; color: var(--muted); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.process::before { content: ""; position: absolute; top: 22px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--brand-200), var(--brand-100)); }
.process li { position: relative; }
.step { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 2px solid var(--brand); color: var(--brand); font-weight: 600; margin-bottom: 22px; box-shadow: 0 0 0 6px var(--surface); }
.process li:first-child .step { background: var(--brand); color: #fff; }
.process p { margin-top: 8px; font-size: .95rem; color: var(--muted); max-width: 16rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.head-left { margin-bottom: 0; position: sticky; top: 110px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 24px; font-weight: 500; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--brand); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding: 112px 0; background: linear-gradient(160deg, var(--brand-deep) 0%, #0d3a9a 55%, var(--brand) 100%); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 65%); }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.contact h2 { color: #fff; }
.contact-copy > p:first-of-type { margin-top: 16px; font-size: 1.08rem; }
.contact-points { display: grid; gap: 14px; margin-top: 32px; }
.contact-points li { color: #fff; font-size: 1rem; }
.contact-points svg { background: rgba(255, 255, 255, .16); stroke: #fff; }
.contact-mail { margin-top: 36px; font-size: .95rem; }
.contact-mail a { color: #fff; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.contact-mail a:hover { color: #fff; border-bottom-color: #fff; }

.form { background: var(--white); border-radius: 20px; padding: 36px; display: grid; gap: 18px; box-shadow: 0 30px 80px rgba(4, 18, 52, .35); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; }
.form label > span { font-size: .87rem; font-weight: 500; color: var(--ink); }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: 400 .97rem var(--font); color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.form select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%236b7890' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--brand-200); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: var(--white); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.form .invalid { border-color: #d64545; background: #fff7f7; }
.form-note { font-size: .87rem; color: var(--muted); text-align: center; min-height: 1.3em; }
.form-note.err { color: #c03030; }

/* ---------- Footer ---------- */
.footer { background: #071633; color: rgba(255, 255, 255, .6); padding: 48px 0 0; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.logo-light, .logo-light:hover { color: #fff; }
.logo-light em { color: rgba(255, 255, 255, .55); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer a:not(.logo) { color: rgba(255, 255, 255, .7); }
.footer a:not(.logo):hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 28px; font-size: .85rem; }

/* ---------- Reveal (smooth entrance) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-copy > *, .js .hero-visual { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; }
.js .hero-visual { animation-delay: .2s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .featured, .contact-grid, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 56px; }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .process::before { display: none; }
  .faq-wrap { gap: 40px; }
  .head-left { position: static; }
  .contact-grid { gap: 48px; }
  .platforms { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .container { width: min(1180px, 100% - 32px); }
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(11, 27, 51, .08);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; height: 48px; }

  .hero { padding-top: 48px; }
  .hero-sub { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .platforms { margin-top: 56px; }
  .platforms ul { gap: 14px 28px; }
  .section, .contact { padding: 80px 0; }
  .head { margin-bottom: 40px; }
  .services, .products, .why, .process { grid-template-columns: minmax(0, 1fr); }
  .featured-body, .featured-side { padding: 28px 24px; }
  .metrics { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .metrics div { display: flex; align-items: baseline; gap: 12px; }
  .metrics dd { margin: 0; }
  .dash { padding: 20px; }
  .form { padding: 24px; }
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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