/* Webtract - style.css
   Colours are set once at the top. Change them here and the whole site updates. */
:root {
  --cobalt: #2A2C30;
  --cobalt-dark: #1B1C1F;
  --ink: #08080A;
  --paper: #F4F4F5;
  --mist: #E4E4E7;
  --line: #CFCFD4;
  --signal: #E7E2D8;
  --muted: #4A4C52;
  --radius: 14px;
  --max: 1160px;
  --lux: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --display: "Segoe UI Variable Display", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); background: var(--paper); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--signal); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 2000; font-weight: 700; }
.skip:focus { left: 12px; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 16ch; }
.section-intro { color: var(--muted); max-width: 52ch; margin-top: 16px; font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 99px; font-weight: 800; font-size: 1.02rem; text-decoration: none; border: 0; cursor: pointer; font-family: var(--body); transition: transform .2s, box-shadow .2s; }
.btn-signal { background: var(--signal); color: var(--ink); box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.btn-signal:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.btn svg { width: 20px; height: 20px; }
.link-light { color: #fff; font-weight: 700; text-underline-offset: 5px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 68px; background: var(--cobalt); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand svg { width: 38px; height: 38px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; opacity: .92; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-cta { background: var(--signal); color: var(--ink); padding: 9px 18px; border-radius: 99px; font-weight: 800; opacity: 1; }
.nav .nav-cta:hover { text-decoration: none; filter: brightness(1.05); }
.nav-toggle { display: none; background: none; border: 2px solid rgba(255, 255, 255, .5); color: #fff; border-radius: 10px; width: 46px; height: 46px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: #fff; margin: auto; position: relative; transition: transform .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; --mx: 72%; --my: 28%; background: var(--cobalt); background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 38px); color: #fff; min-height: 100vh; min-height: 100svh; padding: 110px 0 70px; display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, .09), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.8rem); line-height: .96; letter-spacing: -0.045em; }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: block; }
.hero-sub { margin-top: 26px; font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 34ch; color: rgba(255, 255, 255, .88); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.ticks { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; font-size: .95rem; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--signal); }

/* Hero picture: a website assembling itself */
.mock-stage { perspective: 1100px; position: relative; padding-bottom: 30px; }
.mock-wrap { transition: transform .25s ease-out; transform-style: preserve-3d; }
.mock { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 40px 70px rgba(0, 0, 0, .5); overflow: hidden; animation: float 7s ease-in-out infinite; }
.mock-bar { display: flex; gap: 6px; align-items: center; padding: 12px 14px; background: var(--mist); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #B4B4BB; }
.mock-bar span { margin-left: 10px; flex: 1; background: #fff; border-radius: 99px; padding: 3px 14px; font-size: .78rem; color: var(--muted); }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.m-nav { display: flex; justify-content: space-between; align-items: center; }
.m-logo { width: 54px; height: 14px; background: var(--cobalt); border-radius: 5px; }
.m-links { display: flex; gap: 8px; }
.m-links b { width: 30px; height: 7px; background: var(--mist); border-radius: 4px; }
.m-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; align-items: center; }
.m-t { height: 17px; background: var(--ink); border-radius: 5px; margin-bottom: 9px; }
.m-t.s { width: 68%; }
.m-p { height: 7px; background: var(--mist); border-radius: 4px; margin-bottom: 6px; }
.m-btn { width: 88px; height: 26px; background: var(--signal); border-radius: 8px; margin-top: 12px; }
.m-img { height: 124px; border-radius: 14px; background: var(--cobalt); position: relative; overflow: hidden; }
.m-img::after { content: ""; position: absolute; width: 70px; height: 70px; border-radius: 50%; background: var(--signal); right: -14px; bottom: -14px; }
.m-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-row u { height: 56px; background: var(--paper); border: 1px solid var(--mist); border-radius: 12px; }
.phone { position: absolute; right: -10px; bottom: -6px; width: 96px; background: var(--ink); border-radius: 18px; padding: 8px 6px 10px; box-shadow: 0 22px 40px rgba(0, 0, 0, .5); }
.phone-screen { background: #fff; border-radius: 12px; padding: 8px; display: grid; gap: 6px; }
.phone-screen .m-img { height: 50px; border-radius: 8px; }
.phone-screen .m-img::after { width: 30px; height: 30px; }
.phone-screen .m-t { height: 9px; margin: 0; }
.phone-screen .m-btn { width: 100%; height: 14px; margin: 0; border-radius: 6px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Hero entrance (starts when <html> gets the "go" class) */
.js .line > span { transform: translateY(108%); }
.js .h-fade { opacity: 0; transform: translateY(14px); }
.js .blk { opacity: 0; transform: translateY(20px) scale(.96); }
.go .line > span { transform: none; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.go .line:nth-child(2) > span { transition-delay: .12s; }
.go .line:nth-child(3) > span { transition-delay: .24s; }
.go .h-fade { opacity: 1; transform: none; transition: opacity .8s .7s, transform .8s .7s; }
.go .blk { opacity: 1; transform: none; transition: opacity .6s, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.5s + var(--i, 0) * .13s); }

/* ---------- Intro animation (home page only) ---------- */
.loader { display: none; position: fixed; inset: 0; z-index: 1000; cursor: pointer; color: #fff; font-family: var(--lux); }
.intro .loader { display: block; }
.intro body { overflow: hidden; }
.p { position: absolute; left: 0; right: 0; height: 50%; background: #050506; display: flex; justify-content: center; overflow: hidden; transition: transform 1.25s cubic-bezier(.76, 0, .24, 1); will-change: transform; }
.p-top { top: 0; align-items: flex-end; padding-bottom: 26px; background: radial-gradient(ellipse 70% 120% at 50% 100%, #1d1e22 0, #050506 70%); }
.p-bot { bottom: 0; align-items: flex-start; padding-top: 24px; background: radial-gradient(ellipse 70% 120% at 50% 0, #1d1e22 0, #050506 70%); }
.p-top::after { content: ""; position: absolute; left: 50%; bottom: 0; height: 1px; width: 0; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--signal) 22%, var(--signal) 78%, transparent); animation: hairline 1.5s .1s cubic-bezier(.6, 0, .2, 1) forwards; }
.loader.done .p-top { transform: translateY(-101%); }
.loader.done .p-bot { transform: translateY(101%); }
.loader-top { text-align: center; padding: 0 16px; }
.loader-w { width: 56px; margin: 0 auto 20px; overflow: visible; }
.loader-w path { fill: none; stroke: var(--signal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader-w .w-main { animation: draw 1.2s 1.9s cubic-bezier(.6, 0, .2, 1) forwards; }
.loader-w .w-head { animation: draw .5s 3s ease-out forwards; }
.loader-word { font-weight: 400; font-size: clamp(1.8rem, 7.2vw, 3.5rem); letter-spacing: .3em; line-height: 1; white-space: nowrap; }
.loader-word span { display: inline-block; opacity: 0; animation: lux 1.1s cubic-bezier(.2, .7, .2, 1) forwards; }
.loader-word .sfx { font-style: italic; letter-spacing: .08em; color: var(--signal); }
.loader-tag { font-style: italic; color: rgba(255, 255, 255, .72); font-size: clamp(.95rem, 2.4vw, 1.2rem); letter-spacing: .06em; opacity: 0; animation: fade 1.2s 2.7s forwards; padding: 0 16px; text-align: center; }
.loader-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; transition: opacity .4s; }
.loader.done .loader-canvas { opacity: 0; }
.loader-count { position: absolute; right: clamp(18px, 4vw, 48px); bottom: clamp(16px, 4vw, 34px); font-family: var(--body); font-variant-numeric: tabular-nums; font-size: .85rem; letter-spacing: .24em; color: rgba(255, 255, 255, .5); }
@keyframes hairline { to { width: min(680px, 86vw); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes lux { from { opacity: 0; filter: blur(12px); transform: translateY(10px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Services ---------- */
.services { margin-top: 48px; border-bottom: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px 56px; padding: 38px 0; border-top: 1px solid var(--line); }
.svc h3 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.svc p { color: var(--muted); font-size: 1.08rem; max-width: 48ch; }
.svc ul { margin-top: 16px; display: grid; gap: 8px; font-weight: 600; }
.svc li { display: flex; gap: 10px; align-items: flex-start; }
.svc li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--cobalt); }

/* ---------- Included ---------- */
.included { background: var(--ink); color: #fff; }
.included .section-intro { color: rgba(255, 255, 255, .78); }
.inc-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 56px; }
.inc-grid li { display: flex; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.inc-grid svg { flex: none; width: 24px; height: 24px; color: var(--signal); margin-top: 3px; }
.inc-grid strong { display: block; font-size: 1.1rem; }
.inc-grid span { color: rgba(255, 255, 255, .75); font-size: .98rem; }

/* ---------- Process (the line fills as you scroll) ---------- */
.steps { --p: 1; position: relative; margin-top: 48px; padding-left: 64px; display: grid; gap: 52px; max-width: 760px; }
.js .steps { --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 15px; top: 6px; width: 4px; border-radius: 4px; }
.steps::before { bottom: 6px; background: var(--mist); }
.steps::after { height: calc((100% - 12px) * var(--p)); background: var(--cobalt); }
.step { position: relative; }
.node { position: absolute; left: -64px; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .92rem; background: var(--cobalt); color: #fff; border: 3px solid var(--cobalt); transition: background .3s, color .3s, border-color .3s; z-index: 1; }
.js .step:not(.on) .node { background: #fff; color: var(--muted); border-color: var(--line); }
.step h3 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
.step p { color: var(--muted); margin-top: 8px; max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-list { margin-top: 40px; max-width: 800px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.12rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--cobalt); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* ---------- Call-to-action band ---------- */
.cta-band { background: var(--cobalt); color: #fff; text-align: left; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 14ch; }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--cobalt); color: #fff; padding: 140px 0 60px; }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); letter-spacing: -0.04em; }
.page-hero p { margin-top: 14px; color: rgba(255, 255, 255, .88); max-width: 50ch; font-size: 1.1rem; }
.legal { padding: 56px 0 90px; }
.legal .wrap { max-width: 800px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 10px; letter-spacing: -0.02em; }
.legal p, .legal li { color: #2B2D31; margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.legal .note { background: var(--mist); border-radius: var(--radius); padding: 16px 20px; margin-top: 24px; font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { padding: 64px 0 90px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; }
.form { display: grid; gap: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 52px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(42, 44, 48, .18); }
.field [aria-invalid="true"] { border-color: #C0262D; }
.err { color: #B01E26; font-size: .92rem; font-weight: 600; margin-top: 6px; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form .btn-signal { background: var(--cobalt); color: #fff; box-shadow: none; justify-self: start; }
.form .btn-signal:hover { background: var(--cobalt-dark); }
.side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; align-self: start; }
.side h2 { font-size: 1.5rem; }
.side p, .side li { color: var(--muted); margin-top: 10px; }
.side a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 56px 0 30px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 12px; font-family: var(--body); }
.site-footer li { margin-top: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100svh; background: var(--cobalt); color: #fff; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.lost .big { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 24vw, 14rem); line-height: .9; letter-spacing: -0.06em; color: var(--signal); }
.lost p { margin: 16px auto 30px; max-width: 36ch; font-size: 1.15rem; }

/* ---------- Phones and tablets ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .mock-stage { max-width: 520px; }
  .svc { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--cobalt-dark); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .nav .nav-cta { text-align: center; margin-top: 14px; border-bottom: 0; }
  .inc-grid { grid-template-columns: 1fr; }
  .phone { right: 0; }
}

/* ---------- Scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Respect "reduce motion" ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .line > span, .js .h-fade, .js .blk, .js .rv { transform: none; opacity: 1; }
}
