/* =========================================================
   Trimzy IT Solutions
   Theme: change brand colors here
   ========================================================= */
:root {
  --navy: #0b1f3f;
  --navy-2: #12305e;
  --navy-deep: #07152c;
  --brand: #1554d9;
  --brand-hover: #0f45bb;
  --brand-50: #f1f5fd;
  --brand-100: #e1eafb;
  --brand-200: #c6d6f6;

  --ink: #0f1b2d;
  --text: #3b4658;
  --muted: #667085;
  --line: #e4e7ec;
  --surface: #f6f8fb;
  --white: #ffffff;
  --green: #12805c;
  --green-bg: #e7f6ef;
  --wa: #1fa855;
  --wa-hover: #188f48;

  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -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%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.25rem); line-height: 1.12; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1.08rem; line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
[hidden] { display: none !important; }

.container { width: min(1200px, 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: 6px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  font: 600 .95rem/1 var(--font);
  border-radius: 6px; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-outline { background: var(--white); color: var(--ink); border-color: #cfd5de; }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--brand-100); color: var(--navy); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.text-link { font-weight: 600; font-size: .93rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.scrolled { box-shadow: 0 2px 16px rgba(16, 24, 40, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.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.1rem; letter-spacing: -.02em; }
.logo em { font-style: normal; font-weight: 400; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--text); font-size: .93rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--brand); }
.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); 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); }

/* ---------- Labels ---------- */
.label, .eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow { color: #9fbaf5; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  background-size: 48px 48px, 48px 48px, auto;
  color: rgba(255, 255, 255, .78);
}
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.hero-sub { margin-top: 22px; font-size: 1.12rem; line-height: 1.65; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 32px; font-size: .9rem; }
.hero-points li { position: relative; padding-left: 20px; }
.hero-points li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 9px; height: 5px; border: solid #7fa3f2; border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.record { background: var(--white); border-radius: var(--radius); padding: 26px 28px 22px; box-shadow: 0 24px 60px rgba(3, 10, 25, .35); }
.record-title { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.record li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.r-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--brand-50); flex: none; }
.r-icon svg { width: 21px; height: 21px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.record li div { display: flex; flex-direction: column; line-height: 1.35; }
.record b { font-weight: 600; color: var(--ink); font-size: .96rem; }
.record li span:not(.r-icon) { font-size: .86rem; color: var(--muted); }
.record-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--surface); border-block: 1px solid var(--line); }
.head { max-width: 660px; margin-bottom: 52px; }
.head > p:last-child:not(.label) { margin-top: 14px; font-size: 1.06rem; color: var(--muted); }

/* ---------- Capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap { padding: 34px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .3s var(--ease); }
.cap:hover { background: var(--surface); }
.cap-icon { width: 30px; height: 30px; margin-bottom: 20px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap > p:not(.proof-of) { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.proof-of { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .85rem; color: var(--muted); }
.proof-of a { font-weight: 500; }

/* ---------- Flagship: FormYaar ---------- */
.flag-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: end; margin-bottom: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.flag-title { display: flex; align-items: center; gap: 16px; }
.flag-title img { border-radius: 12px; }
.flag-title h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.flag-does { font-size: 1.28rem; line-height: 1.55; color: var(--ink); font-weight: 400; }

.flag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.flag-card, .work { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.flag-card:hover, .work:hover { box-shadow: var(--shadow); border-color: #d5dbe4; }
.media { display: block; border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
a.media:hover img { transform: scale(1.025); }
.flag-body, .work-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.store { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .82rem; font-weight: 600; color: var(--brand); }
.store svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.store img { width: 18px; height: 18px; }.flag-body h3 { font-size: 1.2rem; }
.flag-body > p:not(.store) { margin-top: 8px; font-size: .95rem; color: var(--text); }
.tool-list { margin-top: 12px; display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.tool-list li { position: relative; padding-left: 14px; }
.tool-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.tool-list b { color: var(--ink); font-weight: 600; }
.flag-body .text-link, .work-body .text-link { margin-top: auto; padding-top: 18px; }

.eng { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 56px 0 0; }
.eng div { border-top: 2px solid var(--navy); padding-top: 18px; }
.eng dt { font-weight: 600; color: var(--ink); }
.eng dd { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }

/* ---------- More work ---------- */
.group-title { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 64px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-wide { grid-column: 1 / -1; flex-direction: row; }
.work-wide .media { position: relative; flex: 0 0 58%; border-bottom: 0; border-right: 1px solid var(--line); }
.work-wide .media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: center; }
.work-wide .work-body { justify-content: center; min-height: 320px; padding: 36px 40px; }
.work-wide .work-body .text-link { margin-top: 0; }
.type { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.type img { width: 14px; height: 14px; }
.work-body h3 { font-size: 1.15rem; }
.does { margin-top: 10px; font-size: 1rem; line-height: 1.55; color: var(--ink); font-weight: 500; }
.built { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.alt-design { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: .85rem; line-height: 1.45; transition: border-color .2s var(--ease); }
.alt-design:hover { border-color: var(--brand-200); color: var(--muted); }
.alt-design img { width: 96px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 5px; border: 1px solid var(--line); flex: none; }
.alt-design b { display: block; color: var(--ink); font-weight: 600; }
.alt-design:hover b { color: var(--brand); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-pop { border: 2px solid var(--brand); padding-top: 44px; }
.plan-tag { position: absolute; top: 0; left: 0; right: 0; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.plan-for { margin-top: 6px; font-size: .9rem; color: var(--muted); min-height: 2.9em; }
.price { margin: 18px 0 20px; font-size: 1.9rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.price small { font-size: .82rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { display: grid; gap: 10px; flex: 1; padding-top: 20px; border-top: 1px solid var(--line); }
.plan li { position: relative; padding-left: 22px; font-size: .9rem; }
.plan 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); }
.plan-time { margin: 22px 0 14px; font-size: .85rem; color: var(--muted); }
.plans-note { margin-top: 28px; text-align: center; font-size: .88rem; color: var(--muted); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { border-top: 2px solid var(--line); padding-top: 22px; position: relative; }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--brand); }
.step { display: block; font-size: .85rem; font-weight: 700; color: var(--brand); letter-spacing: .06em; margin-bottom: 10px; }
.steps p { margin-top: 8px; font-size: .94rem; color: var(--muted); }

/* ---------- Why + tech + founder ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.why-item { padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.why-item p { margin-top: 8px; font-size: .93rem; color: var(--muted); }
.tech { margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tech h3 { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tech dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tech dl div { padding: 20px 24px; border-left: 1px solid var(--line); }
.tech dl div:first-child { border-left: 0; }
.tech dt { font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.tech dd { margin: 0; font-size: .9rem; color: var(--muted); }
.founder { display: flex; align-items: center; gap: 20px; margin-top: 24px; padding: 22px 26px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--radius); }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; flex: none; }
.founder b { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 72px; align-items: start; }
.head-left { margin-bottom: 0; position: sticky; top: 110px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; 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 48px 22px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding: 100px 0; background: var(--navy); color: rgba(255, 255, 255, .78); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.contact h2 { color: #fff; }
.contact-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 1.06rem; }
.contact-points { display: grid; gap: 12px; margin-top: 28px; }
.contact-points li { position: relative; padding-left: 26px; color: #fff; }
.contact-points li::before { content: ""; position: absolute; left: 3px; top: 8px; width: 10px; height: 6px; border: solid #7fa3f2; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.contact-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 34px; }
.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-card { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: 0 24px 60px rgba(3, 10, 25, .35); }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; }
.form label > span { font-size: .86rem; font-weight: 500; color: var(--ink); }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: 400 .96rem var(--font); color: var(--ink);
  padding: 11px 13px; border: 1px solid #cfd5de; border-radius: 6px; background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .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='%23667085' 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: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.form .invalid { border-color: #d64545; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form button[disabled] { opacity: .7; cursor: progress; }
.form-note { font-size: .86rem; color: var(--muted); text-align: center; min-height: 1.3em; }
.form-note.err { color: #c03030; }
.form-done { text-align: center; padding: 40px 12px; }
.done-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green-bg); margin-bottom: 18px; }
.done-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form-done p { margin-top: 8px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .6); padding: 64px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand p { margin-top: 16px; max-width: 32ch; }
.logo-light, .logo-light:hover { color: #fff; }
.logo-light em { color: rgba(255, 255, 255, .55); }
.footer h4 { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer a:not(.logo) { color: rgba(255, 255, 255, .7); }
.footer a:not(.logo):hover { color: #fff; }
.footer-bottom { padding: 24px 0 28px; font-size: .84rem; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .plans, .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { row-gap: 24px; }
  .eng { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 22px; }
}
@media (max-width: 960px) {
  .hero-grid, .contact-grid, .faq-wrap, .flag-head { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 48px; }
  .flag-head { gap: 20px; }
  .record { max-width: 560px; }
  .caps, .flag-grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .work-wide { flex-direction: column; }
  .work-wide .media { flex: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .work-wide .media img { position: static; height: auto; aspect-ratio: 2.3 / 1; }
  .work-wide .work-body { min-height: 0; padding: 24px 26px 26px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .tech dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech dl div:nth-child(3) { border-left: 0; }
  .tech dl div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-wrap { gap: 32px; }
  .head-left { position: static; }
  .contact-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { width: min(1200px, 100% - 32px); }
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 70px; 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(16, 24, 40, .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 .btn { margin-top: 16px; height: 48px; }

  .hero { padding: 56px 0 64px; }
  .hero-sub { font-size: 1.04rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .record { padding: 20px 20px 16px; }
  .section, .contact { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .caps, .flag-grid, .grid-3, .plans, .why, .steps, .eng { grid-template-columns: minmax(0, 1fr); }
  .work-wide .media img { aspect-ratio: 16 / 10; }
  .work-wide .work-body { padding: 20px 20px 22px; }
  .cap { padding: 26px 22px; }
  .flag-does { font-size: 1.12rem; }
  .flag-body, .work-body { padding: 20px 20px 22px; }
  .plan-for { min-height: 0; }
  .tech dl { grid-template-columns: minmax(0, 1fr); }
  .tech dl div { border-left: 0; border-bottom: 1px solid var(--line); }
  .tech dl div:last-child { border-bottom: 0; }
  .founder { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 22px; }
  .form .row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer { padding-bottom: 76px; }

  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16, 24, 40, .06);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; height: 46px; }
}

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