/* Luxarte Ltd — site styles */

:root {
  --ink: #0e1116;
  --ink-soft: #3c4552;
  --muted: #6b7686;
  --line: #e3e7ed;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --accent: #1f4fd8;
  --accent-dark: #16389a;
  --gold: #c8a24a;
  /* division accents */
  --d-studio: #b8863b;
  --d-films: #c2503a;
  --d-software: #1f4fd8;
  --d-consultancy: #16806a;
  --radius: 14px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 8px 24px rgba(14, 17, 22, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

img, svg { max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .74rem;
  font-weight: 700; color: var(--accent); margin: 0 0 .9em;
}
.muted { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; font-size: 1.12rem; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav-links a[aria-current="page"] { font-weight: 650; }

.btn {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--accent); transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--bg-alt); }
.btn.lg { padding: 14px 26px; font-size: 1rem; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px 0; border-radius: 2px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 68ch; margin-bottom: 44px; }

/* ---------- Hero ---------- */
.hero {
  padding: 92px 0 84px;
  background:
    radial-gradient(1000px 420px at 12% -10%, rgba(31, 79, 216, .10), transparent 62%),
    radial-gradient(760px 360px at 92% 4%, rgba(200, 162, 74, .12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero h1 { max-width: 18ch; }
.hero .lede { font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(31, 79, 216, .09); color: var(--accent); margin-bottom: 16px;
}
.card .icon svg { width: 22px; height: 22px; }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-soft); }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Division tiles ---------- */
.divisions { gap: 24px; }
.division {
  position: relative; display: block; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px 30px; box-shadow: var(--shadow);
  overflow: hidden; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.division::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--tone, var(--accent));
}
.division:hover {
  text-decoration: none; transform: translateY(-2px);
  border-color: var(--tone, var(--accent));
  box-shadow: 0 2px 4px rgba(14, 17, 22, .05), 0 16px 34px rgba(14, 17, 22, .10);
}
.division-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--tone, var(--accent));
  margin-bottom: 12px;
}
.division h3 { font-size: 1.5rem; margin-bottom: .35em; }
.division p { color: var(--ink-soft); margin-bottom: 1.1em; }
.division-more { font-weight: 600; font-size: .93rem; color: var(--tone, var(--accent)); }

.d-studio { --tone: var(--d-studio); }
.d-films { --tone: var(--d-films); }
.d-software { --tone: var(--d-software); }
.d-consultancy { --tone: var(--d-consultancy); }

/* Whole-page division tinting (body carries .tone .d-<slug>) */
body.tone .eyebrow { color: var(--tone); }
body.tone .card .icon {
  color: var(--tone);
  background: color-mix(in srgb, var(--tone) 12%, transparent);
}
body.tone .list-check li::before { border-color: var(--tone); }
body.tone .step::before { color: var(--tone); }
body.tone .btn { background: var(--tone); border-color: var(--tone); }
body.tone .btn:hover { filter: brightness(.92); }
body.tone .btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); filter: none; }
body.tone .btn.ghost:hover { background: var(--bg-alt); }
body.tone .cta-band { background: linear-gradient(135deg, #101a33, var(--tone)); }
body.tone .cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }

/* Division-tinted page headers */
.page-head.d-studio, .page-head.d-films,
.page-head.d-software, .page-head.d-consultancy {
  background: var(--bg-alt);
  border-top: 3px solid var(--tone);
}
.page-head.d-studio .eyebrow, .page-head.d-films .eyebrow,
.page-head.d-software .eyebrow, .page-head.d-consultancy .eyebrow { color: var(--tone); }

/* ---------- Product cards ---------- */
.card.product { border-top: 3px solid var(--gold); }
.pill {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 14px;
}
.card.product h3 { font-size: 1.35rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { border-top: 2px solid var(--line); padding-top: 18px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--gold); margin-bottom: 8px;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Stats ---------- */
.stat { text-align: left; }
.stat .num { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; }
.stat .lbl { font-size: .9rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #101a33, #1f4fd8);
  color: #fff; border-radius: 20px; padding: 48px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 56ch; margin-inline: auto; }
.cta-band .btn { background: #fff; color: var(--accent-dark); border-color: #fff; }
.cta-band .btn:hover { background: #eef2ff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.info-row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .k { min-width: 118px; font-weight: 650; font-size: .93rem; }
.info-row .v { color: var(--ink-soft); font-size: .96rem; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .96rem; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid rgba(31, 79, 216, .35); border-color: var(--accent); }
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- Legal pages ---------- */
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; color: var(--ink-soft); }
.legal li { margin-bottom: .5em; }
.page-head { padding: 62px 0 30px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }

/* ---------- Footer ---------- */
.site-footer { background: #0e1116; color: #aeb7c4; padding: 60px 0 28px; font-size: .93rem; }
.site-footer a { color: #d7dee9; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .mark { width: 28px; height: 28px; }
.legal-line {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font-size: .85rem; color: #8792a3;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .brand small { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { text-align: center; margin-top: 12px; border-bottom: 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
  .info-row { flex-direction: column; gap: 2px; }
}
