/* Litrix Technologies site. Approved direction: A + C hybrid (minimal tech luxury with editorial accents).
   Tokens from the concept board. Button text on the orange accent is dark: white on #FF603B is only 3:1. */
:root {
  --bg: #0B0D10;
  --surface: #1D2026;
  --surface-2: #15181D;
  --line: #2A2E36;
  --line-strong: #3A3F49;
  --accent: #FF603B;
  --accent-hover: #FF7A5A;
  --on-accent: #0B0D10;
  --text: #F5F5F2;
  --muted: #9299A3;
  --display: Manrope, Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
em { font-style: italic; color: var(--accent); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.i { flex: none; }
.ic { color: var(--accent); flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11, 13, 16, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--text); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.brand-name small { margin-top: 4px; font-size: 9.5px; letter-spacing: 3px; color: var(--muted); }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 40px)); display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.menu-panel a:not(.btn) { color: var(--text); text-decoration: none; padding: 10px 8px; border-radius: 8px; font-weight: 500; }
.menu-panel a:not(.btn):hover, .menu-panel a[aria-current="page"] { background: var(--surface-2); color: var(--accent); }
.menu-panel .btn { margin-top: 8px; justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; font-family: var(--body); transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #FFFFFF; color: var(--bg); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Eyebrow */
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text); }
.eyebrow .rule { width: 32px; height: 2px; background: var(--accent); }

/* Hero */
.hero, .page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .waves { left: 42%; width: 70%; }
.page-hero .waves { left: 45%; width: 70%; opacity: 0.8; }
.hero-inner { position: relative; padding-block: 96px 64px; }
.hero h1 { max-width: 720px; font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; }
.lede { position: relative; margin: 24px 0 0; max-width: 600px; font-size: 19px; color: #D5D8DD; }
.page-hero .wrap { position: relative; padding-block: 88px 72px; }
.page-hero.short .wrap { padding-block: 110px 120px; }
.page-hero h1 { max-width: 760px; font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; }
.strip { position: relative; list-style: none; margin: 0; padding: 26px 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid var(--line); }
.strip li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; }
.strip li + li { border-left: 1px solid var(--line); padding-left: 20px; }

/* Sections */
.section { padding-block: 88px; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.display { font-size: clamp(32px, 4.2vw, 48px); font-weight: 800; }
.display-sm { font-size: clamp(26px, 3vw, 34px); font-weight: 700; margin-bottom: 16px; }
.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.split-head p { margin: 0 0 10px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.card h2, .card h3 { font-size: 22px; font-weight: 700; }
.card p { margin: 0; color: #C3C8CF; }
.card-link { text-decoration: none; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.card-link:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.card-link:first-child { background: linear-gradient(160deg, rgba(255, 96, 59, 0.16), var(--surface) 55%); border-color: rgba(255, 96, 59, 0.45); }
.card-arrow { margin-top: auto; padding-top: 10px; color: var(--text); }
.placeholder { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.tag { align-self: flex-start; padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.note { margin: 32px 0 0; font-size: 15px; color: var(--muted); max-width: 820px; }
.empty { padding: 56px 40px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
.empty h2 { font-size: clamp(26px, 3vw, 34px); }
.empty p { max-width: 560px; margin: 14px auto 0; color: #C3C8CF; }
.empty .actions { justify-content: center; }

/* Process */
.flow { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.flow li { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.flow strong { font-family: var(--display); font-size: 19px; }
.flow span { color: #C3C8CF; font-size: 15px; }

/* CTA band */
.cta-band { padding-block: 0 88px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 44px 48px; border-radius: 18px; border: 1px solid rgba(255, 96, 59, 0.5);
  background: radial-gradient(120% 160% at 0% 0%, rgba(255, 96, 59, 0.35), rgba(255, 96, 59, 0.06) 45%, var(--surface) 75%);
}
.cta-inner h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta-inner p { margin: 8px 0 0; color: #D5D8DD; }

/* Services, about */
.services .card { padding-bottom: 34px; }
.about p { color: #C3C8CF; }
.values { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.values li { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.values .i, .checks .i { color: var(--accent); margin-top: 4px; }
.values span { color: #C3C8CF; }
.values strong { color: var(--text); }

/* Pricing */
.plans { margin-bottom: 8px; }
.care-title { margin-top: 56px; }
.plan .muted { font-size: 15px; }
.plan.featured { border: 2px solid var(--accent); background: linear-gradient(170deg, rgba(255, 96, 59, 0.14), var(--surface) 50%); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 4px !important; }
.price strong { font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--text); line-height: 1.1; }
.price s, .price span { color: var(--muted); }
.plan .btn { justify-content: center; }
.checks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; color: #C3C8CF; font-size: 15px; }

/* Contact */
.contact-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.phone-big { font-family: var(--display); font-size: clamp(26px, 3vw, 32px); font-weight: 800; color: var(--text); text-decoration: none; }
.phone-big:hover { color: var(--accent); }
.inquiry { gap: 18px; }
.inquiry label { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-weight: 600; font-size: 15px; }
.inquiry .optional { font-weight: 400; color: var(--muted); }
.inquiry input, .inquiry textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 10px; min-height: 50px; padding: 12px 14px; width: 100%;
}
.inquiry input:focus-visible, .inquiry textarea:focus-visible { border-color: var(--accent); }
.inquiry textarea { resize: vertical; }
.field-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field-row label { flex: 1 1 240px; }
.form-note { font-size: 14px; color: var(--muted) !important; }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: 10px; font-weight: 600; border: 1px solid var(--line-strong); color: var(--text) !important; }
.form-status[data-tone="ok"] { border-color: #3FB37F; background: rgba(63, 179, 127, 0.12); }
.form-status[data-tone="error"] { border-color: var(--accent); background: rgba(255, 96, 59, 0.12); }
.inquiry .btn { align-self: flex-start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Policy pages */
.policy .wrap > * { max-width: 760px; }
.policy h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 6px; }
.policy h2 { margin: 36px 0 8px; font-size: 22px; }
.policy .updated { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.policy p, .policy li { color: #C3C8CF; }
.policy ul { padding-left: 22px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: 56px 32px; }
.foot h2 { font-family: var(--body); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot nav, .foot > div:last-child { display: flex; flex-direction: column; gap: 8px; }
.foot a:not(.brand) { color: var(--text); text-decoration: none; font-size: 15px; }
.foot a:not(.brand):hover { color: var(--accent); }
.foot p { margin: 0; color: var(--muted); font-size: 15px; }
.foot-brand p { margin-top: 14px; max-width: 320px; }
.foot-base { padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Our Work: project case */
.project { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.project-shots { position: relative; padding-bottom: 28px; padding-right: 48px; }
.project-shots img { display: block; height: auto; border: 1px solid var(--line-strong); }
.shot-desktop { width: 100%; border-radius: 10px; }
.shot-phone { position: absolute; right: 0; bottom: 0; width: 26%; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.project-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.project-body h2 { font-size: clamp(26px, 3vw, 34px); }
.project-body p { color: #C3C8CF; }
.more-work { margin-top: 40px; }
@media (max-width: 980px) { .project { grid-template-columns: 1fr; padding: 22px; } }

@media (max-width: 980px) {
  .nav, .hide-sm { display: none; }
  .menu { display: block; }
  .grid-3, .flow { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip li + li { border-left: 0; padding-left: 0; }
  .split-head, .contact-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .hero .waves { left: 0; width: 100%; opacity: 0.55; }
  .page-hero .waves { left: 0; width: 100%; opacity: 0.45; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .flow, .strip { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 64px 40px; }
  .page-hero .wrap { padding-block: 64px 52px; }
  .section { padding-block: 64px; }
  .cta-band { padding-block: 0 64px; }
  .cta-inner { padding: 32px 24px; }
  .empty { padding: 40px 20px; }
  .card { padding: 24px; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .card-link:hover { transform: none; }
}
