/* ==========================================================
   DCR Technologies — main stylesheet
   ========================================================== */

:root {
  --ink: #0b1430;
  --ink-2: #1d2a4d;
  --text: #475069;
  --muted: #6b7591;
  --line: #e4e8f2;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --primary: #3b5bfd;
  --primary-2: #6a3dfd;
  --accent: #10c9b5;
  --wa: #25d366;
  --grad: linear-gradient(135deg, #3b5bfd 0%, #6a3dfd 55%, #a23dfd 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(17, 30, 80, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 30, 80, 0.14);
  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #c5cce0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.text-center { text-align: center; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--primary); background: rgba(59, 91, 253, .08);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow svg { width: 14px; height: 14px; }
.section-dark .eyebrow { background: rgba(255,255,255,.08); color: #9fb0ff; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1 var(--font); cursor: pointer; transition: .25s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(75, 70, 253, .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(75, 70, 253, .4); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1eb858; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #b8c1dc; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #dfe5f7; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: .25s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(17,30,80,.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.02em; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: .95rem; font-weight: 800; }
.logo small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-top: -2px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink-2); font-weight: 600; padding: 10px 14px; border-radius: 10px; font-size: .96rem; }
.nav a:hover, .nav a.active { color: var(--primary); background: rgba(59,91,253,.07); }
.nav .btn { margin-left: 10px; padding: 12px 22px; color: #fff; }
.nav .btn:hover { background: var(--grad); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 110px; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(106,61,253,.12), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(16,201,181,.10), transparent 60%); }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 36px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust div { font-size: .9rem; color: var(--muted); }
.hero-trust strong { display: block; font-size: 1.6rem; color: var(--ink); font-weight: 800; }

.hero-visual { position: relative; }
.mock { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ffbdbd; }
.mock-bar i:nth-child(2) { background: #ffe3a3; }
.mock-bar i:nth-child(3) { background: #b8f0c8; }
.mock-body { padding: 26px; display: grid; gap: 14px; }
.mock-line { height: 12px; border-radius: 6px; background: var(--line); }
.mock-hero { height: 120px; border-radius: 14px; background: var(--grad); opacity: .9; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-grid div { height: 70px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.float-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: .88rem; animation: float 5s ease-in-out infinite; }
.float-card strong { display: block; color: var(--ink); font-size: 1rem; }
.float-card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-card .ic svg { width: 20px; height: 20px; }
.fc-1 { left: -30px; bottom: 40px; }
.fc-2 { right: -20px; top: 30px; animation-delay: -2.5s; }
.phone-mock { position: absolute; right: 30px; bottom: -40px; width: 130px; height: 250px; border-radius: 26px; background: var(--ink); padding: 10px; box-shadow: var(--shadow-lg); }
.phone-mock div { height: 100%; border-radius: 18px; background: linear-gradient(180deg, #10c9b5, #3b5bfd); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 80px 0 70px; text-align: center; background: var(--ink); color: #c5cce0; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 80% 0%, rgba(106,61,253,.45), transparent 60%), radial-gradient(600px 300px at 10% 100%, rgba(16,201,181,.25), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { font-size: .9rem; margin-bottom: 14px; color: #9aa6c8; }
.breadcrumb a { color: #fff; }

/* ---------- Clients strip ---------- */
.strip { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip p { margin: 0; font-weight: 600; color: var(--muted); font-size: .9rem; }
.strip ul { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.strip li { font-weight: 800; color: #aab3cb; font-size: 1.05rem; letter-spacing: .02em; }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: .3s ease; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card p { color: var(--muted); }
.icon-box { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; color: #fff; background: var(--grad); }
.icon-box svg { width: 26px; height: 26px; }
.icon-box.teal { background: linear-gradient(135deg, #10c9b5, #0c8fd6); }
.icon-box.orange { background: linear-gradient(135deg, #ff8a3d, #ff3d77); }
.icon-box.soft { background: rgba(59,91,253,.1); color: var(--primary); }
.card-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.card-link svg { width: 16px; height: 16px; transition: .2s; }
.card-link:hover svg { transform: translateX(4px); }

.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(16,201,181,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230aa894' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.card .checklist { margin: 18px 0 8px; }
.card .checklist li { font-size: .95rem; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse > :first-child { order: 2; }
.split-visual { border-radius: 24px; aspect-ratio: 5 / 4; display: grid; place-items: center; position: relative; overflow: hidden; }
.split-visual > svg { width: 42%; height: auto; color: #fff; opacity: .95; }
.sv-web { background: var(--grad); }
.sv-app { background: linear-gradient(135deg, #10c9b5, #0c8fd6); }
.sv-mkt { background: linear-gradient(135deg, #ff8a3d, #ff3d77); }
.sv-about { background: linear-gradient(135deg, #0b1430, #3b5bfd); }
.split-visual::after { content: ""; position: absolute; width: 140%; height: 140%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 40%); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Why / features ---------- */
.feature { display: flex; gap: 18px; }
.feature .icon-box { flex: none; margin: 0; width: 50px; height: 50px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.section-dark .feature p { color: #9aa6c8; }
.section-dark .icon-box.soft { background: rgba(255,255,255,.08); color: #9fb0ff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 10px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.stat strong { display: block; font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { font-size: .92rem; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-size: 2.6rem; font-weight: 800; line-height: 1; display: block; margin-bottom: 16px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 10px 20px; border-radius: 999px; font: 600 .92rem var(--font); color: var(--ink-2); cursor: pointer; transition: .2s; }
.filters button.active, .filters button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.project { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: .3s; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project.hide { display: none; }
.project-thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; color: #fff; position: relative; }
.project-thumb svg { width: 56px; height: 56px; opacity: .9; }
.project-body { padding: 22px 24px 26px; }
.project-body span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }
.project-body h3 { margin: 6px 0 6px; font-size: 1.12rem; }
.project-body p { margin: 0; color: var(--muted); font-size: .93rem; }
.t1 { background: var(--grad); } .t2 { background: linear-gradient(135deg,#10c9b5,#0c8fd6); } .t3 { background: linear-gradient(135deg,#ff8a3d,#ff3d77); }
.t4 { background: linear-gradient(135deg,#0b1430,#3b5bfd); } .t5 { background: linear-gradient(135deg,#7b2ff7,#f107a3); } .t6 { background: linear-gradient(135deg,#00b09b,#96c93d); }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial p { color: var(--ink-2); flex: 1; }
.person { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; }
.person strong { display: block; color: var(--ink); }
.person span { font-size: .86rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-card { text-align: left; display: flex; flex-direction: column; }
.price-card.featured { background: var(--ink); border-color: var(--ink); color: #c5cce0; transform: scale(1.03); }
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .checklist li { color: #c5cce0; }
.price-card.featured p { color: #9aa6c8; }
.price-badge { position: absolute; top: 18px; right: 18px; background: var(--grad); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price { font-size: 2.3rem; font-weight: 800; color: var(--ink); margin: 6px 0 2px; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price-card .checklist { flex: 1; margin-bottom: 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; transition: .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 500; color: var(--primary); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { border-radius: 28px; padding: 64px; background: var(--grad); color: #e9ebff; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); right: -120px; top: -160px; }
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-item .icon-box { width: 48px; height: 48px; margin: 0; flex: none; }
.info-item .icon-box svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 1rem; margin-bottom: 2px; }
.info-item p, .info-item a { margin: 0; color: var(--muted); word-break: break-word; }
.info-item a:hover { color: var(--primary); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font: 500 .97rem var(--font); color: var(--ink); background: var(--bg-soft); transition: .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(59,91,253,.1); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ef4444; }
.field .err { display: none; color: #ef4444; font-size: .82rem; margin-top: 5px; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; margin-top: 16px; font-weight: 600; font-size: .95rem; }
.form-status.ok { display: block; background: rgba(16,201,181,.12); color: #087a6b; }
.form-status.fail { display: block; background: rgba(239,68,68,.1); color: #b91c1c; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 56px; }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Values / team ---------- */
.value { text-align: center; }
.value .icon-box { margin: 0 auto 20px; }

/* ---------- Legal ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.footer { background: #070d22; color: #97a2c2; padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer a { color: #97a2c2; transition: .2s; }
.footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #7f8fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.socials a:hover { background: var(--primary); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }

/* ---------- Floating buttons ---------- */
.float-wa, .float-call, .to-top {
  position: fixed; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.2); transition: .25s;
}
.float-wa { right: 22px; bottom: 22px; background: var(--wa); }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2s infinite; z-index: -1; }
.float-wa svg { width: 30px; height: 30px; }
.float-wa:hover { transform: scale(1.08); }
.float-wa .tip { position: absolute; right: 70px; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 10px; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: .25s; pointer-events: none; }
.float-wa:hover .tip { opacity: 1; transform: none; }
.float-call { left: 22px; bottom: 22px; background: var(--primary); display: none; }
.float-call svg { width: 24px; height: 24px; }
.to-top { right: 28px; bottom: 94px; width: 44px; height: 44px; background: var(--ink); opacity: 0; visibility: hidden; border: 0; cursor: pointer; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .float-wa::before { animation: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.notfound .big { font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .process, .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
}

@media (max-width: 900px) {
  .nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 24px 20px; gap: 4px; transform: translateX(100%); transition: .3s ease; overflow-y: auto; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 14px 0 0; }
  .nav-open .nav { transform: none; }
  .nav-open { overflow: hidden; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .cta { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
  .price-card.featured { transform: none; }
  .topbar-info span.hide-sm { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4, .process, .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-social, .topbar-info a[data-link="mail"] { display: none; }
  .hero { padding: 56px 0 80px; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .phone-mock { width: 100px; height: 190px; right: 10px; }
  .form-card { padding: 26px 20px; }
  .card { padding: 26px; }
  .float-call { display: grid; }
  .hero-actions .btn { flex: 1; }
}
