:root {
  --bg: #140405;
  --bg-2: #1f0a09;
  --surface: #ffffff;
  --surface-alt: #fbf6ee;
  --text: #1b0b08;
  --muted: #6b5a52;
  --line: #efe4d6;
  --orange: #ff6a2b;
  --yellow: #ffc94a;
  --cream: #fbf6ea;
  --orange-ink: #c2410c;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(27, 11, 8, .07);
  --shadow-lg: 0 24px 60px rgba(27, 11, 8, .16);
  --grad: linear-gradient(135deg, #ff6a2b, #ffb23e 60%, #ffc94a);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #1b0806; box-shadow: 0 10px 24px rgba(255, 106, 43, .35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(255, 106, 43, .5); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--orange); color: var(--orange-ink); background: transparent; }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange-ink); background: rgba(255,106,43,.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.scrolled, .header.solid { background: rgba(20,4,5,.9); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo img { width: 52px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 21px; font-weight: 800; letter-spacing: .02em; }
.logo-text small { font-size: 11px; font-weight: 600; color: var(--yellow); letter-spacing: .06em; margin-top: 4px; }
.logo-text small i { color: var(--orange); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a, .dd > a { color: rgba(255,255,255,.82); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links > a:hover, .dd > a:hover, .nav-links a.active { color: var(--yellow); }
.nav-links .btn { color: #1b0806; }
.dd { position: relative; }
.dd > a::after { content: " ▾"; font-size: 11px; }
.dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; min-width: 250px;
  opacity: 0; visibility: hidden; transition: .2s;
}
.dd-menu::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%); }
.dd-menu a { display: block; padding: 9px 14px; border-radius: 9px; color: var(--text); font-weight: 600; font-size: 14.5px; }
.dd-menu a:hover { background: var(--surface-alt); color: var(--orange-ink); }
.dd-menu.dd-cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 400px; }
.section-head h2 a, h3.reveal a { color: inherit; }
.section-head h2 a:hover, h3.reveal a:hover { color: var(--orange-ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }

/* Hero */
.hero { position: relative; background: var(--bg); color: #fff; padding: 150px 0 110px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .4; }
.b1 { width: 520px; height: 520px; background: #ff6a2b; top: -200px; right: -100px; animation: drift 14s ease-in-out infinite; }
.b2 { width: 420px; height: 420px; background: #ffc94a; bottom: -240px; left: -140px; opacity: .25; animation: drift 18s ease-in-out infinite reverse; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes drift { 50% { transform: translate(40px, 30px) scale(1.08); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .eyebrow, .page-hero .eyebrow, .contact .eyebrow, .cta-band .eyebrow { color: var(--yellow); background: rgba(255,201,74,.1); }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.lead { font-size: 18px; color: rgba(255,255,255,.75); max-width: 600px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; color: rgba(255,255,255,.72); font-size: 14px; font-weight: 600; }

.hero-visual { position: relative; }
.code-card {
  background: rgba(31,10,9,.9); border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden;
  transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
}
.code-top { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.code-top i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-top i:nth-child(2) { background: #febc2e; }
.code-top i:nth-child(3) { background: #28c840; }
.code-top span { margin-left: 10px; font-size: 13px; color: rgba(255,255,255,.5); }
.code-card pre { padding: 24px; font-family: "Cascadia Code", Consolas, monospace; font-size: 14.5px; line-height: 1.8; color: #f6e9d8; overflow-x: auto; }
.code-card .k { color: #ff8a5c; } .code-card .s { color: #ffd77a; } .code-card .f { color: #fbf6ea; font-weight: 700; }
.code-card .b { color: #ffb23e; } .code-card .c { color: #8a746a; }

.float-chip {
  position: absolute; background: #fff; color: var(--text); font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: 14px; box-shadow: var(--shadow-lg); animation: float 5s ease-in-out infinite; white-space: nowrap;
}
.chip-1 { top: -18px; left: -24px; }
.chip-2 { bottom: 40px; right: -20px; animation-delay: 1.2s; }
.chip-3 { bottom: -22px; left: 30px; animation-delay: 2.4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Inner page hero */
.page-hero { position: relative; background: var(--bg); color: #fff; padding: 140px 0 80px; overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; max-width: 900px; }
.page-hero .lead { margin-bottom: 28px; max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb li:last-child { color: var(--yellow); }

/* Stats */
.stats { position: relative; margin-top: -48px; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 30px 10px;
}
.stat { text-align: center; padding: 6px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 38px; font-weight: 800; color: var(--orange); }
.stat span { color: var(--muted); font-weight: 600; font-size: 14px; }

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head h2, .split h2, .contact-info h2, .prose h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.center { text-align: center; margin-top: 44px; }

/* Cards */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; background: #fff1e8; color: var(--orange); }
.icon svg { width: 28px; height: 28px; }
.service-card:nth-child(even) .icon { background: #fff7e0; color: #d99300; }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.service-card ul { margin-bottom: 18px; }
.check li { position: relative; padding-left: 26px; font-weight: 600; margin-bottom: 8px; }
.service-card .check li { font-size: 14px; margin-bottom: 6px; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.more { margin-top: auto; font-weight: 700; color: var(--orange-ink); font-size: 14.5px; }
.more::after { content: " →"; transition: margin .2s; }
.service-card:hover .more::after { margin-left: 4px; }

/* About */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.founder-card { position: relative; background: var(--bg); color: #fff; border-radius: 24px; padding: 48px 36px; text-align: center; overflow: hidden; }
.founder-card::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--orange);
  filter: blur(100px); opacity: .35; top: -120px; right: -100px;
}
.founder-card > * { position: relative; }
.founder-card img { width: 150px; margin: 0 auto 22px; }
.founder-card h3 { font-size: 24px; }
.founder-card p { color: rgba(255,255,255,.65); margin-bottom: 22px; }
.founder-card blockquote { font-size: 16px; font-style: italic; color: rgba(255,255,255,.88); border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
.split p, .prose p { color: var(--muted); margin-bottom: 16px; font-size: 16.5px; }
.split strong, .prose strong { color: var(--text); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.values div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.values strong { display: block; color: var(--orange-ink); margin-bottom: 6px; }
.values span { color: var(--muted); font-size: 14.5px; }

/* Prose content */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 36px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 26px 0 10px; }
.prose ul.check { margin: 10px 0 20px; }
.prose ul.check li { color: var(--text); font-weight: 500; }
.prose a { color: var(--orange-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.feature h3 { font-size: 17.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why { text-align: center; padding: 34px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: .3s; }
.why:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.why span { font-size: 34px; display: block; margin-bottom: 14px; }
.why h3 { font-size: 18px; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 14.5px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process li { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); }
.process b { font-size: 44px; font-weight: 800; line-height: 1; color: var(--orange); }
.process h3 { font-size: 19px; margin: 14px 0 8px; }
.process p { color: var(--muted); font-size: 14.5px; }

/* Tech / tags */
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.tags span, .tags a {
  padding: 10px 20px; border-radius: 999px; background: var(--surface-alt); border: 1px solid var(--line);
  font-weight: 600; font-size: 14.5px; transition: .2s;
}
.tags span:hover, .tags a:hover { background: var(--grad); color: #1b0806; border-color: transparent; }
.tags.left { justify-content: flex-start; }

/* Locations */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.loc {
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; padding: 26px; border-top: 4px solid var(--orange);
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.loc:nth-child(even) { border-top-color: var(--yellow); }
a.loc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.loc h3 { font-size: 19px; margin-bottom: 6px; }
.loc h3::before { content: "📍 "; }
.loc p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }

/* FAQ */
.faq-wrap { max-width: 840px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: #fff; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--orange); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--bg); color: #fff; position: relative; overflow: hidden; padding: 80px 0; text-align: center; }
.cta-band::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--orange); filter: blur(130px); opacity: .3; top: -260px; left: 50%; transform: translateX(-50%); }
.cta-band .container { position: relative; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.72); margin-bottom: 28px; font-size: 17px; }
.cta-band .hero-cta { justify-content: center; margin: 0; }

/* Contact */
.contact { background: var(--bg); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--orange); filter: blur(130px); opacity: .25; top: -200px; left: -150px; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info > p { color: rgba(255,255,255,.72); margin-bottom: 32px; font-size: 17px; }
.contact-list li { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.ci { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255,255,255,.08); flex-shrink: 0; }
.contact-list small { display: block; color: rgba(255,255,255,.55); font-size: 13px; }
.contact-list a, .contact-list span, .contact-list address { font-weight: 700; font-size: 17px; word-break: break-word; }
.contact-list a:hover { color: var(--yellow); }

.contact-form { background: #fff; color: var(--text); border-radius: 24px; padding: 36px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.contact-form h2, .contact-form h3 { font-size: 22px; margin-bottom: 22px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; background: var(--surface-alt); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,43,.15); background: #fff; }
.contact-form .invalid { border-color: #dc2626; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }

/* Footer */
.footer { background: #0c0203; color: rgba(255,255,255,.65); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer .logo { margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer li { margin-bottom: 9px; font-size: 14.5px; }
.footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 14px; }
.footer-web { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13.5px; line-height: 1.9; }
.footer-web strong { color: #fff; margin-right: 6px; }
.pkg-grid .feature h3 { color: var(--orange-ink); }

/* Floating buttons */
.fab { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 60; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.25); transition: transform .2s; }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab-call { background: var(--orange); }
.fab-wa { background: #25d366; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid, .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(20,4,5,.98); padding: 12px 16px 24px; transform: translateX(100%); transition: transform .35s; overflow-y: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links > a, .dd > a { display: block; padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .dd > a::after { content: ""; }
  .dd-menu { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; box-shadow: none; padding: 4px 0 8px 14px; min-width: 0; }
  .dd:hover .dd-menu, .dd:focus-within .dd-menu { transform: none; }
  .dd-menu.dd-cols { display: block; min-width: 0; }
  .dd-menu a { color: rgba(255,255,255,.7); padding: 8px 6px; }
  .dd-menu a:hover { background: transparent; color: var(--yellow); }
  .nav-links .btn { margin-top: 18px; border: 0; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header { background: rgba(20,4,5,.94); backdrop-filter: blur(12px); }
}
@media (max-width: 880px) {
  .hero { padding: 120px 0 100px; }
  .page-hero { padding: 120px 0 64px; }
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .code-card { transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .section { padding: 76px 0; }
}
@media (max-width: 600px) {
  .services-grid, .why-grid, .process, .loc-grid, .values, .feature-grid, .contact-form .row, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .chip-1 { left: 0; } .chip-2 { right: 0; }
  .code-card pre { font-size: 12.5px; padding: 18px; }
  .contact-form { padding: 26px 20px; }
  .stat strong { font-size: 30px; }
  .logo img { width: 44px; }
  .logo-text b { font-size: 18px; }
}

/* ---------------------------------------------------------------- Playful effects */
/* Pinned sticker label (a word "pinned" to the page at an angle) */
.sticker {
  position: relative; display: inline-block; padding: 0 .28em; margin: 0 .08em; border-radius: 6px;
  background: var(--yellow); color: #1b0806; -webkit-text-fill-color: #1b0806;
  transform: rotate(-3deg); box-shadow: 0 8px 18px rgba(0,0,0,.18); transition: transform .3s;
}
.sticker::before { /* pin hole */
  content: ""; position: absolute; top: .18em; left: .18em; width: .16em; height: .16em; min-width: 7px; min-height: 7px;
  border-radius: 50%; background: rgba(27,8,6,.55);
}
.sticker::after { /* pin */
  content: ""; position: absolute; top: -.32em; right: .5em; width: .42em; height: .42em; min-width: 12px; min-height: 12px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9a76, #e2361b 60%, #9c1c0b);
  box-shadow: 0 3px 4px rgba(0,0,0,.35);
}
.sticker:hover { transform: rotate(0deg); }
.sticker.alt { background: #7ee8f8; transform: rotate(2deg); }

/* Hand-drawn scribble decoration */
.scribble { position: absolute; width: 110px; height: auto; pointer-events: none; opacity: .85; }
.hero .scribble { right: 4%; top: 120px; transform: rotate(-12deg); }
.page-hero .scribble { right: 6%; bottom: 36px; transform: rotate(-10deg); }
.scribble path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.6s .4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Cards sit slightly tilted, like notes on a board, and straighten on hover */
@media (min-width: 881px) {
  .services-grid .service-card:nth-child(3n+1), .why-grid .why:nth-child(odd), .loc-grid .loc:nth-child(odd) { rotate: -1.2deg; }
  .services-grid .service-card:nth-child(3n+2), .loc-grid .loc:nth-child(even) { rotate: .8deg; }
  .services-grid .service-card:nth-child(3n), .why-grid .why:nth-child(even) { rotate: 1.4deg; }
  .service-card, .why, .loc { transition: transform .3s, box-shadow .3s, border-color .3s, rotate .35s ease; }
  .service-card:hover, .why:hover, .loc:hover { rotate: 0deg; }
}

/* Buttons: a little wiggle, and a dashed ring on the ghost button */
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -3deg; } 75% { rotate: 3deg; } }
.btn-primary:hover { animation: wiggle .4s ease-in-out; }
.btn-ghost:hover { border-style: dashed; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { rotate: -2deg; }

/* ---------------------------------------------------------------- Build-your-project blocks */
.builder { --mx: 50%; --my: 50%; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: end; }
.builder-palette { display: flex; flex-wrap: wrap; gap: 30px 18px; align-content: flex-start; padding-top: 14px; }
.builder-stage { display: flex; flex-direction: column; align-items: center; }
.builder-scale { padding-top: 30px; }
.tower { position: relative; width: 390px; }
.tower-stack { position: relative; height: 0; margin-bottom: -6px; transition: height .4s ease; }
.tower-stack .lego { position: absolute; transition: left .4s ease, bottom .4s ease; }
.builder-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 92px; margin-top: 28px; }
.builder-go:not([hidden]) { animation: pop .4s ease-out; }
.builder-reset { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.builder-reset:hover { color: var(--orange-ink); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.92); } }

.lego {
  --w: calc(var(--studs, 2) * 65px);
  position: relative; width: var(--w); height: 64px; padding: 0; border: 0; border-radius: 8px; cursor: pointer;
  font: inherit; color: #fff; text-align: left; background: none; display: block;
  filter: drop-shadow(0 8px 10px rgba(27,11,8,.18)); transition: translate .2s, filter .2s;
}
.lego[data-studs="2"] { --studs: 2; } .lego[data-studs="4"] { --studs: 4; } .lego[data-studs="6"] { --studs: 6; }
.builder-palette .lego:hover { translate: 0 -6px; filter: drop-shadow(0 14px 14px rgba(27,11,8,.22)); }
.lego:active { scale: .96; }
.lego:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.lego-face {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, var(--c1) 0 12px, var(--c2) 12px, var(--c3));
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.18), inset 0 13px 0 -1px rgba(255,255,255,.16), inset 0 2px 6px rgba(255,255,255,.35);
}
.lego-face::after { /* light that follows the pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle 140px at var(--mx) var(--my), rgba(255,255,255,.22), transparent);
  background-attachment: fixed;
}
.lego-face b { position: relative; font-size: 15px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.lego-face small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-top: 2px; }
.lego-icon { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(0,0,0,.18); box-shadow: inset 0 1px 2px rgba(0,0,0,.25); font-size: 18px; }
.lego-icon svg { width: 18px; height: 18px; }
.studs { position: absolute; left: 0; right: 0; top: -9px; display: flex; z-index: -1; }
.studs i {
  flex: 1; position: relative; height: 12px; margin: 0 auto; max-width: 34px; transition: opacity .25s;
  background: linear-gradient(90deg, var(--c3), var(--c2) 45%, var(--c1) 55%, var(--c3)); border-radius: 50% / 30%;
  margin-inline: 15px;
}
.studs i::before { content: ""; position: absolute; left: 0; right: 0; top: -5px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #fff8, var(--c1) 45%, var(--c2)); }
.studs i.covered { opacity: 0; }
.lego-base { --studs: 6; cursor: default; filter: drop-shadow(0 18px 24px rgba(27,11,8,.25)); }
.lego-base .lego-face { height: 78px; inset: auto 0 0; }
.lego-base { height: 78px; }

.lego-orange { --c1: #ffb27a; --c2: #ff6a2b; --c3: #c2410c; }
.lego-blue   { --c1: #93c5fd; --c2: #3b82f6; --c3: #1e40af; }
.lego-green  { --c1: #a3e635; --c2: #65a30d; --c3: #3f6212; }
.lego-teal   { --c1: #6ee7b7; --c2: #10b981; --c3: #047857; }
.lego-purple { --c1: #e879f9; --c2: #c026d3; --c3: #86198f; }
.lego-sky    { --c1: #7dd3fc; --c2: #0ea5e9; --c3: #0369a1; }
.lego-dark   { --c1: #71717a; --c2: #3f3f46; --c3: #18181b; }
.lego-base   { --c1: #fde68a; --c2: #ffc94a; --c3: #d99300; color: #3b1d06; }
.lego-base .lego-face b, .lego-base .lego-face small { text-shadow: none; }

@media (max-width: 960px) {
  .builder { grid-template-columns: 1fr; gap: 40px; }
  .builder-palette { justify-content: center; }
}
@media (max-width: 600px) {
  .builder-scale { width: 312px; }
  .tower { transform: scale(.8); transform-origin: bottom left; }
  .builder-palette { gap: 26px 12px; }
  .scribble { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover { animation: none; }
  .scribble path { animation: none; stroke-dashoffset: 0; }
}
[hidden] { display: none !important; }
.lego[data-studs="2"] .lego-icon { display: none; }
.lego[data-studs="2"] .lego-face { padding: 0 10px; justify-content: center; }
.lego[data-studs="2"] .lego-face b { font-size: 13px; }

/* ---------------------------------------------------------------- Hero price cards */
.price-cards { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: -26px; padding: 0 10px; }
.price-card {
  position: relative; display: flex; flex-direction: column; padding: 18px 18px 16px; border-radius: 16px;
  background: #fff; color: var(--text); box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .3s, box-shadow .3s, rotate .35s;
}
.price-card::after { /* pin */
  content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff9a76, #e2361b 60%, #9c1c0b); box-shadow: 0 3px 4px rgba(0,0,0,.35);
}
.pc-web { rotate: -2.5deg; }
.pc-app { rotate: 2deg; background: #fff7e0; }
.price-card:hover { rotate: 0deg; transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.pc-tag { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--orange-ink); background: #fff1e8; border-radius: 99px; padding: 4px 10px; margin-bottom: 10px; }
.pc-app .pc-tag { background: #ffe9a8; color: #7a4a00; }
.pc-from { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.price-card strong { font-size: 34px; line-height: 1.1; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-app strong { background: linear-gradient(135deg, #c2410c, #ff6a2b); -webkit-background-clip: text; background-clip: text; }
.pc-note { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.pc-go { margin-top: auto; font-size: 13px; font-weight: 800; color: var(--orange-ink); }
.code-card { padding-top: 26px; }
.code-badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 20px; }
.code-badges span { font-size: 12.5px; font-weight: 700; color: #fbe9d6; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 99px; padding: 6px 12px; }
@media (max-width: 600px) {
  .price-cards { gap: 12px; padding: 0; }
  .price-card { padding: 16px 14px 14px; }
  .price-card strong { font-size: 28px; }
  .pc-tag { font-size: 11px; padding: 3px 8px; }
  .code-badges { padding: 0 18px 16px; }
}
.services-grid > :last-child:nth-child(3n+1) { grid-column: 2; }
@media (max-width: 1024px) { .services-grid > :last-child:nth-child(3n+1) { grid-column: auto; } }
.lego-android { --c1: #86efac; --c2: #22c55e; --c3: #15803d; }
