/* ITwood — shared styles. Plain CSS, no build step. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --surface: #ffffff;
  --ink: #0b1020;
  --ink-soft: #545b6e;
  --line: #e6e8ef;
  --brand: #4f46e5;        /* indigo */
  --brand-hover: #4338ca;
  --brand-ink: #ffffff;
  --brand-2: #8b5cf6;      /* violet, used only in gradients */
  --brand-soft: #eef0ff;
  --gradient: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  --radius: 16px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(11, 16, 32, .04), 0 4px 16px rgba(11, 16, 32, .05);
  --shadow-lg: 0 24px 60px -12px rgba(79, 70, 229, .25);
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.03em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-soft); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--brand); background: var(--brand-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 1.1em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .8); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.logo-word span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; color: var(--ink); font: 500 .9rem var(--font-body); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 20px -6px rgba(79, 70, 229, .6); }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.nav-links .btn, .nav-links .btn:hover, .nav-links .btn[aria-current="page"] { color: var(--brand-ink); padding: 9px 16px; font-size: .94rem; text-decoration: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Hero */
.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(139, 92, 246, .16), transparent 70%),
    radial-gradient(500px 360px at 10% 0%, rgba(79, 70, 229, .12), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 40%, transparent 100%);
  opacity: .55; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; padding: 0; list-style: none; color: var(--ink-soft); font-size: .93rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234f46e5'%3E%3Cpath d='M8.1 13.6 4.6 10l1.3-1.3 2.2 2.2 5.9-5.9 1.3 1.3z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Phone mock in hero */
.mock { position: relative; justify-self: center; width: min(310px, 100%); }
.mock-phone { background: #0b1020; border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 16, 32, .08); }
.mock-screen { background: var(--surface); border-radius: 31px; overflow: hidden; }
.mock-bar { height: 150px; background: var(--gradient); color: #fff; padding: 26px 20px; }
.mock-bar b { display: block; font-family: var(--font-head); font-size: 1.3rem; letter-spacing: -.02em; }
.mock-bar small { opacity: .85; }
.mock-body { padding: 18px 20px 24px; display: grid; gap: 10px; }
.mock-line { height: 9px; border-radius: 6px; background: #eceef4; }
.mock-line.short { width: 60%; }
.mock-cta { margin-top: 8px; height: 40px; border-radius: 12px; background: var(--ink); }
.mock-badge { position: absolute; right: -24px; bottom: 48px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .82rem; color: var(--ink-soft); }
.mock-badge strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.25rem; letter-spacing: -.02em; }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-2px); border-color: #d6d9e4; box-shadow: 0 12px 32px -12px rgba(11, 16, 32, .14); }
.card p { color: var(--ink-soft); }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gradient); color: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6); }
.icon svg { width: 22px; height: 22px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--brand); margin-bottom: 14px; letter-spacing: .02em; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); position: relative; }
.price-card--featured { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box; box-shadow: var(--shadow-lg); }
.price-tag { position: absolute; top: -12px; left: 28px; background: var(--gradient); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.price { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; margin: 4px 0 2px; }
.price-meta { color: var(--ink-soft); font-size: .9rem; margin-bottom: 22px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234f46e5'%3E%3Cpath d='M8.1 13.6 4.6 10l1.3-1.3 2.2 2.2 5.9-5.9 1.3 1.3z'/%3E%3C/svg%3E") center/14px no-repeat; }
.care { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; margin-top: 28px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 36px; }
.care p { color: rgba(255, 255, 255, .75); }
.care .eyebrow { background: rgba(255, 255, 255, .1); color: #c7c4ff; }
.care .fine { color: rgba(255, 255, 255, .6); }
.care .price { font-size: 2.4rem; }
.fine { font-size: .9rem; color: var(--ink-soft); }

/* Portfolio */
.work-card { overflow: hidden; padding: 0; }
.work-thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; align-content: center; color: #fff; font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; text-align: center; padding: 20px; }
.work-thumb small { display: block; font-family: var(--font-body); font-size: .82rem; font-weight: 500; letter-spacing: 0; opacity: .85; margin-top: 6px; }
.t-trades { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.t-food { background: linear-gradient(135deg, #be123c, #fb7185); }
.t-salon { background: linear-gradient(135deg, #6d28d9, #c084fc); }
.t-clinic { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.work-body { padding: 24px 28px 28px; }
.pill { display: inline-block; font-size: .74rem; font-weight: 600; background: var(--brand-soft); color: var(--brand); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }

/* FAQ */
.faq { max-width: 760px; margin: 36px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 1.1rem; line-height: 1; color: var(--ink); background: var(--bg-soft); }
.faq details[open] summary::after { content: "–"; background: var(--brand-soft); color: var(--brand); }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 24px; padding: 64px 40px; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 50% 0%, rgba(139, 92, 246, .45), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .72); max-width: 52ch; margin: 0 auto; }
.cta-band .btn--primary { background: #fff; color: var(--ink); box-shadow: none; }
.cta-band .btn--primary:hover { background: #eef0ff; color: var(--ink); }
.cta-band .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.cta-band .btn--ghost:hover { border-color: #fff; color: #fff; }
.cta-band .btn-row { justify-content: center; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: .98rem; color: var(--ink); background: var(--surface); border: 1px solid #d9dce6; border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.hidden { display: none; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list strong { display: block; font-family: var(--font-head); }

/* Page header */
.page-head { padding: 80px 0 24px; }

/* Footer */
.site-footer { margin-top: 88px; border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink-soft); font-size: .93rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-grid p { margin: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 24px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .pricing { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .mock-badge { right: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .grid-2, .form-row, .steps, .care { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; }
  .cta-band { padding: 44px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
