/* ==========================================================
   Webbily – main stylesheet
   ========================================================== */
:root {
  --dark: #101700;
  --dark-2: #1a2306;
  --dark-3: #242e10;
  --orange: #ff512a;
  --orange-2: #ff6a47;
  --lime: #cafc01;
  --lime-2: #b5e300;
  --text: #101700;
  --muted: #5c6150;
  --muted-light: #b9bdae;
  --line: #e7e8e2;
  --bg: #ffffff;
  --bg-soft: #f4f4f2;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(16, 23, 0, .25);
  --shadow-sm: 0 8px 24px -10px rgba(16, 23, 0, .2);
  --font-head: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-num: "Kanit", "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .9, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.center { text-align: center; }
.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  left: 0; top: 0;
}
form { position: relative; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--lime); padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.dark-section { background: var(--dark); color: #fff; }
.lead { font-size: 1.12rem; color: var(--muted); }
.dark-section .lead, .muted-light { color: var(--muted-light); }
.muted { color: var(--muted); }
.hl { color: var(--orange); font-weight: 600; }
.hl-orange { color: var(--orange); font-weight: 700; }

/* ---------- Tags ---------- */
.tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #ffe6df; color: var(--dark); font-weight: 700; font-size: .92rem; margin-bottom: 18px;
}
.tag-light { background: var(--dark-3); color: #fff; }
.tag-dark { background: var(--dark); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; justify-content: center;
  padding: 10px 10px 10px 24px; min-height: 52px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn:not(:has(.btn-icon)) { padding-right: 24px; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn-icon {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--dark); flex: none; transition: transform .4s var(--ease);
}
.btn-icon.dark { background: var(--dark); color: #fff; }
.btn-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-icon.dark svg[fill="currentColor"] { fill: currentColor; stroke: none; }
.btn:hover .btn-icon { transform: rotate(45deg); }
.btn-call:hover .btn-icon { transform: rotate(-12deg) scale(1.08); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-2); }
.btn-orange .btn-icon { color: var(--orange); }
.btn-lime { background: linear-gradient(90deg, var(--lime), #a6f000); color: var(--dark); }
.btn-lime:hover { background: var(--lime); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-3); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.dark-section .btn-ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 18px !important; font-size: .9rem; }
.btn-block { width: 100%; padding-right: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s, padding .3s;
}
.site-header.scrolled { box-shadow: 0 6px 30px -12px rgba(16,23,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; transition: padding .3s; }
.site-header.scrolled .header-inner { padding: 10px 0; }
.logo img { width: 150px; height: auto; transition: width .3s; }
.site-header.scrolled .logo img { width: 120px; }
.main-nav {
  display: flex; align-items: center; gap: 4px;
  border: 1px solid #d9dbd3; border-radius: 999px; padding: 6px 10px;
}
.main-nav > a, .nav-drop > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 16px; border-radius: 999px; font-weight: 500; transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--orange); }
.main-nav a[aria-current="page"] { color: var(--orange); }
.nav-mobile-only { display: none !important; }
.nav-drop { position: relative; }
.caret { font-size: .7em; }
.drop-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 8px;
  min-width: 240px; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 10px; display: grid; opacity: 0; visibility: hidden; transition: .25s var(--ease);
}
.drop-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.drop-menu a { padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.drop-menu a:hover { background: var(--bg-soft); }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; translate: -50% 0; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--dark); margin: 6px 0; transition: .3s; border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 90px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero-title { font-size: clamp(2.8rem, 6.4vw, 5.4rem); font-weight: 600; line-height: 1.08; margin-bottom: 30px; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .1s; }
.hero-title .line:nth-child(3) > span { animation-delay: .2s; }
.hero-title .line:nth-child(4) > span { animation-delay: .3s; }
@keyframes lineUp { to { transform: none; } }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 470px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 10px; }
.hero-actions.center { justify-content: center; }
.hero-squiggle { margin: 6px 0 0 280px; opacity: .6; animation: floatY 4s ease-in-out infinite; }
.reviews-title { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 12px; }
.avatars { display: flex; align-items: center; }
.avatars img, .avatar-count {
  width: 60px; height: 60px; border-radius: 50%; border: 3px solid #fff; object-fit: cover;
  margin-left: -14px; transition: transform .3s var(--ease);
}
.avatars img:first-child { margin-left: 0; }
.avatars img:hover { transform: translateY(-6px) scale(1.08); z-index: 2; }
.avatar-count { display: grid; place-items: center; background: var(--lime); font-weight: 700; font-size: .95rem; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.arch { position: relative; width: min(500px, 100%); aspect-ratio: 620 / 720; }
.arch-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-person {
  position: absolute; left: 7%; bottom: 6%; width: 86%; height: auto;
  clip-path: inset(0 0 0 0 round 0 0 0 0);
  transform-origin: 50% 100%;
}
.orbit {
  position: absolute; width: 17%; aspect-ratio: 1; display: block;
  transition: transform .3s var(--ease); animation: orbitFloat 6s ease-in-out infinite;
}
.orbit img { width: 100%; height: 100%; }
.orbit:hover { transform: scale(1.15) !important; animation-play-state: paused; }
.o1 { top: 10%; left: 12%; animation-delay: -.5s; }
.o2 { top: 4%; right: 10%; animation-delay: -2s; }
.o3 { top: 30%; right: 12%; animation-delay: -3.5s; width: 13%; }
.o4 { top: 36%; left: 8%; animation-delay: -1.2s; width: 14%; }
.o5 { top: 46%; right: -6%; animation-delay: -4s; width: 22%; }
@keyframes orbitFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(6px, -10px); }
  66% { transform: translate(-6px, 6px); }
}
.stat-card {
  position: absolute; background: #fff; border-radius: 14px; padding: 18px 22px;
  box-shadow: var(--shadow); display: grid; gap: 2px; min-width: 140px; z-index: 3;
}
.stat-card img { width: 48px; height: 48px; margin-bottom: 10px; }
.stat-card strong { font-family: var(--font-head); font-size: 1.3rem; }
.stat-card > span { color: var(--muted); font-size: .92rem; }
.stat-card.s1 { left: -10%; top: 50%; }
.stat-card.s2 { right: 0; bottom: -4%; }

/* zoom & float animations */
.breathe { animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.zoom-in-on-load { animation: zoomIn 1.2s var(--ease) both; }
@keyframes zoomIn { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.zoom-loop { overflow: hidden; }
.zoom-loop img { animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.zoom-hover { overflow: hidden; }
.zoom-hover img { transition: transform .8s var(--ease); }
.zoom-hover:hover img { transform: scale(1.1); }
.float-y { animation: floatY 5s ease-in-out infinite; }
.float-y.delay { animation-delay: -2.5s; }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.spin-slow { animation: spin 14s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: 50px; }
.section-head.center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin-top: 14px; }

/* ---------- About band ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.about-left { position: relative; }
.about-left .star { position: absolute; top: -6px; right: 20%; width: 56px; }
.about-thumb { width: 160px; border-radius: 12px; margin: 30px 0 20px; }
.about-thumb img { border-radius: 12px; }
.about-left p { font-size: 1.12rem; color: #e6e8de; max-width: 380px; }
.about-right { position: relative; }
.split-heading { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 600; margin-bottom: 36px; }
.split-heading .dim { color: #9ea38f; }
.about-badge { position: absolute; top: -10px; right: 0; width: 90px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 80px; padding-top: 50px; border-top: 1px solid #2d3713; }
.stats-row.light { margin-top: 0; padding-top: 0; border: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; margin-bottom: 10px; }
.stat > span { color: var(--muted-light); }
.stats-row.light .stat > span { color: var(--muted); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; padding: 36px 32px 80px; border-radius: var(--radius);
  background: var(--bg-soft); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .4s, box-shadow .5s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; background: var(--dark); z-index: -1;
  clip-path: circle(0% at 100% 100%); transition: clip-path .7s var(--ease);
}
.service-card:hover { transform: translateY(-8px); color: #fff; box-shadow: var(--shadow); }
.service-card:hover::before { clip-path: circle(150% at 100% 100%); }
.svc-icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--orange); color: #fff; margin-bottom: 26px; transition: background .4s, color .4s, transform .5s var(--ease);
}
.svc-icon svg { width: 30px; height: 30px; }
.service-card:hover .svc-icon { background: var(--lime); color: var(--dark); transform: rotate(-8deg) scale(1.08); }
.service-card p { color: var(--muted); transition: color .4s; }
.service-card:hover p { color: var(--muted-light); }
.card-arrow {
  position: absolute; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--dark); transition: transform .4s var(--ease), background .3s;
}
.card-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .card-arrow { background: var(--lime); transform: rotate(45deg); }

/* ---------- Showcase / device mockups ---------- */
.showcase { background: var(--bg-soft); overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 20px 0 26px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 4px rgba(202, 252, 1, .18);
}
.check-list.dark li::before { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 81, 42, .15); }
.showcase-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.showcase-switch button, .filter-tabs button {
  border: 1px solid #cfd2c6; background: #fff; border-radius: 999px; padding: 9px 18px; font-weight: 600; transition: .25s;
}
.showcase-switch button.is-active, .showcase-switch button:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.devices { position: relative; padding: 20px 40px 40px 0; }
.laptop { position: relative; width: 100%; }
.laptop-screen {
  border: 12px solid #1b1f12; border-bottom-width: 18px; border-radius: 18px 18px 0 0;
  aspect-ratio: 16 / 10; overflow: hidden; background: #e9eae4; box-shadow: var(--shadow);
}
.laptop-base {
  height: 18px; width: 116%; margin-left: -8%; background: linear-gradient(#d5d7cf, #9fa395);
  border-radius: 0 0 20px 20px; position: relative;
}
.laptop-base::before { content: ""; position: absolute; left: 42%; width: 16%; height: 6px; background: #8a8e80; border-radius: 0 0 8px 8px; }
.laptop-screen img, .phone-screen img {
  width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .5s, transform .5s;
}
.phone {
  position: absolute; right: 0; bottom: 0; width: 26%; aspect-ratio: 9 / 19;
  border: 8px solid #1b1f12; border-radius: 30px; background: #1b1f12; overflow: hidden; box-shadow: var(--shadow);
}
.phone-notch { position: absolute; top: 6px; left: 50%; translate: -50% 0; width: 38%; height: 14px; background: #1b1f12; border-radius: 10px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #e9eae4; }
.is-swapping img { opacity: 0; transform: scale(1.04); }

/* ---------- Projects ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.dark-section .filter-tabs button { background: transparent; color: #fff; border-color: #3a4520; }
.filter-tabs button.is-active, .filter-tabs button:hover { background: var(--lime) !important; color: var(--dark) !important; border-color: var(--lime) !important; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { display: block; border-radius: var(--radius); background: var(--dark-2); padding: 14px; transition: transform .5s var(--ease), opacity .4s; }
.project-card:hover { transform: translateY(-8px); }
.project-card.is-hidden { display: none; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eceee6; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 8px; font-size: .75rem; color: #6b6f60; background: #fff; border-radius: 6px; padding: 2px 10px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-screen { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #e9eae4, #d8dbce); }
.browser-screen img { width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top; transition: transform 4s ease-in-out; }
/* auto-scroll the screenshot on hover */
.project-card:hover .browser-screen img { transform: translateY(calc(-100% + var(--frame-h, 250px))); }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 8px 6px; color: #fff; }
.project-meta h3 { margin: 0 0 4px; font-size: 1.25rem; }
.project-meta p { margin: 0; color: var(--muted-light); font-size: .92rem; }
.project-meta .card-arrow { position: static; flex: none; }
.project-card:hover .card-arrow { background: var(--lime); transform: rotate(45deg); }

/* ---------- Partners ---------- */
.partners-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.partners-grid p { color: var(--muted); max-width: 440px; }
.partners-grid .spin-slow { margin-bottom: 18px; }
.marquee {
  overflow: hidden; display: grid; gap: 22px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 84px; width: 190px; object-fit: contain; padding: 24px 28px; background: var(--bg-soft);
  border-radius: 16px; filter: grayscale(1); opacity: .75; transition: .3s;
}
.marquee-track img:hover { filter: none; opacity: 1; transform: scale(1.05); }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- Testimonials ---------- */
.mini-stats { display: flex; gap: 40px; }
.mini-stats strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.mini-stats div > span { color: var(--muted); }
.slider { overflow: hidden; }
.slider-track { display: flex; transition: transform .8s var(--ease); }
.testi { flex: 0 0 100%; margin: 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; padding: 6px; }
.testi-photo { border-radius: var(--radius); aspect-ratio: 4 / 5; max-height: 460px; }
.testi-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.testi blockquote { margin: 0; }
.quote-mark { width: 54px; margin-bottom: 20px; }
.testi blockquote p { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.35; font-weight: 600; }
.testi figcaption { display: grid; gap: 2px; margin-top: 20px; }
.testi figcaption strong { font-size: 1.15rem; }
.testi figcaption span { color: var(--muted); }
.stars { color: #f5a623 !important; letter-spacing: 3px; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.slider-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #cfd2c6; background: #fff; font-size: 1.2rem; transition: .25s; }
.slider-btn:hover { background: var(--dark); color: #fff; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: #cfd2c6; padding: 0; transition: width .3s, background .3s; }
.slider-dots button.is-active { width: 30px; background: var(--orange); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card {
  position: relative; background: #151d03; border: 1px solid #222c0c; border-radius: var(--radius);
  padding: 34px 32px; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.price-card:hover { transform: translateY(-10px) scale(1.015); border-color: var(--lime); box-shadow: 0 30px 60px -30px rgba(202, 252, 1, .35); }
.price-card.featured { border-color: #3c4a12; background: linear-gradient(180deg, #1c2608, #141b03); }
.badge { position: absolute; top: -14px; right: 26px; background: var(--orange); color: #fff; font-weight: 700; font-size: .8rem; padding: 6px 14px; border-radius: 999px; }
.price-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.price-title img { width: 44px; height: 44px; }
.price-title h3 { margin: 0; font-size: 1.35rem; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 3rem; margin: 6px 0 4px; line-height: 1; }
.renewal { font-style: italic; color: #9ea38f; margin-bottom: 10px; }
.price-desc { padding-bottom: 22px; border-bottom: 1px solid #2d3713; }
.price-card h4 { font-size: 1.2rem; margin: 22px 0 6px; }
.price-card .check-list { color: #c9ccbf; font-size: .98rem; margin-bottom: 30px; flex: 1; }
.pricing-foot { text-align: center; margin-top: 40px; color: var(--muted-light); }
.pricing-foot a { color: var(--lime); font-weight: 700; }
.pricing-foot a:hover { text-decoration: underline; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-family: var(--font-head); background: var(--dark); color: #fff; }
.compare-table tbody th { font-weight: 600; }
.compare-table .hl-col { background: #fbffe8; }
.compare-table thead .hl-col { background: var(--orange); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 60px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.ring-stats { display: grid; gap: 22px; margin: 30px 0 34px; }
.ring-stat { display: flex; align-items: center; gap: 18px; }
.ring-stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; line-height: 1; }
.ring-stat div > span { color: var(--muted); }
@property --fill { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--orange) calc(var(--fill, 0) * 1%), #eee 0);
  transition: --fill 1.6s;
}
.ring.lime { background: conic-gradient(var(--lime-2) calc(var(--fill, 0) * 1%), #eee 0); }
.ring::before { content: ""; position: absolute; inset: 8px; background: #fff; border-radius: 50%; }
.ring img { position: relative; width: 34px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 22px 50px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; transition: color .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); font-size: 1.3rem; transition: transform .35s var(--ease), background .3s;
}
.accordion details[open] summary { color: var(--orange); }
.accordion details[open] summary::after { content: "–"; background: var(--orange); color: #fff; transform: translateY(-50%) rotate(180deg); translate: 0 0; }
.acc-body { padding: 0 0 22px; color: var(--muted); overflow: hidden; }
.acc-body ul { padding-left: 20px; margin-bottom: 1em; }
.acc-body a { color: var(--orange); font-weight: 600; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.blog-cover {
  display: flex; align-items: flex-end; aspect-ratio: 16 / 10; padding: 20px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 80% 20%, var(--lime) 0 18%, transparent 19%), linear-gradient(135deg, var(--dark), #2b3a0a);
}
.blog-cover.cover-1 { background: radial-gradient(circle at 20% 30%, var(--orange) 0 20%, transparent 21%), linear-gradient(135deg, #1a2306, #3a4a12); }
.blog-cover.cover-2 { background: radial-gradient(circle at 75% 70%, #fff 0 14%, transparent 15%), linear-gradient(135deg, var(--orange), #ff8a5c); }
.blog-cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px); transition: transform 1.2s var(--ease); }
.blog-card:hover .blog-cover::after { transform: scale(1.3) rotate(4deg); }
.blog-cover span { position: relative; z-index: 1; background: #fff; color: var(--dark); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-date { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.blog-body h3 { font-size: 1.2rem; }
.blog-body h3 a:hover { color: var(--orange); }
.blog-body > p:not(.blog-date) { color: var(--muted); font-size: .97rem; flex: 1; }
.read-more { font-weight: 700; color: var(--orange); }

/* post page */
.post-title { font-size: clamp(2rem, 4.2vw, 3.4rem) !important; max-width: 900px; }
.post-meta { color: var(--muted-light); }
.post-grid { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.post-cover { border-radius: var(--radius); margin-bottom: 34px; aspect-ratio: 21 / 9; }
.post-content { font-size: 1.1rem; }
.post-content h2 { font-size: 1.8rem; margin-top: 1.4em; }
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 1.2em; display: grid; gap: 6px; }
.post-content a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share a, .share .link-btn { text-decoration: none !important; color: var(--dark) !important; background: var(--bg-soft); padding: 8px 14px; border-radius: 999px; font-size: .9rem; border: 0; font-weight: 600; }
.share a:hover, .share .link-btn:hover { background: var(--lime); }
.post-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.aside-card { padding: 28px; border-radius: var(--radius); background: var(--bg-soft); }
.dark-card { background: var(--dark); color: #fff; }
.dark-card p { color: var(--muted-light); }
.aside-links { list-style: none; display: grid; gap: 10px; }
.aside-links a:hover { color: var(--orange); }

/* ---------- Page hero ---------- */
.page-hero {
  background: var(--dark); color: #fff; padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 7vw, 90px);
  position: relative; overflow: hidden; text-align: center;
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55;
  animation: blob 12s ease-in-out infinite alternate;
}
.page-hero::before { width: 380px; height: 380px; background: radial-gradient(circle, rgba(255,81,42,.55), transparent 65%); left: -120px; top: -120px; }
.page-hero::after { width: 420px; height: 420px; background: radial-gradient(circle, rgba(202,252,1,.35), transparent 65%); right: -140px; bottom: -180px; animation-delay: -6s; }
@keyframes blob { to { transform: translate(60px, 40px) scale(1.15); } }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 14px; }
.post-page .page-hero { text-align: left; }
.post-page .page-hero h1 { margin-inline: 0; }
.crumbs { color: var(--muted-light); }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--lime); }
.crumbs span { color: var(--lime); }

/* ---------- About page ---------- */
.about-page-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about-collage { position: relative; }
.collage-main { border-radius: var(--radius); aspect-ratio: 3 / 2; }
.collage-main img { width: 100%; height: 100%; object-fit: cover; }
.collage-star { position: absolute; top: -28px; right: -20px; width: 64px; }
.about-collage .stat-card.s2 { right: auto; left: -20px; bottom: -70px; }
.pull-quote { margin: 24px 0 30px; padding: 20px 24px; border-left: 4px solid var(--lime); background: var(--bg-soft); border-radius: 0 14px 14px 0; font-style: italic; color: var(--muted); }
.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vm-card { padding: 36px 30px; border-radius: var(--radius); background: var(--bg-soft); transition: transform .5s var(--ease), box-shadow .5s; }
.vm-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.vm-card.featured { background: var(--orange); color: #fff; }
.vm-card p { color: var(--muted); }
.vm-card.featured p { color: #ffe9e3; }
.vm-icon { font-size: 2.2rem; display: block; margin-bottom: 16px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 34px 20px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid #263010; transition: transform .5s var(--ease), border-color .3s; }
.team-card:hover { transform: translateY(-8px); border-color: var(--lime); }
.team-avatar {
  width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--dark);
  background: linear-gradient(135deg, var(--lime), #8fd400); transition: transform .6s var(--ease);
}
.team-card:hover .team-avatar { transform: scale(1.08) rotate(-6deg); }
.team-avatar.a2 { background: linear-gradient(135deg, var(--orange), #ff9a6b); color: #fff; }
.team-avatar.a3 { background: linear-gradient(135deg, #fff, #d9dccf); }
.team-avatar.a4 { background: linear-gradient(135deg, #ffd25c, #ff9f1c); }
.team-card p { color: var(--muted-light); font-size: .95rem; }
.team-link { color: var(--lime); font-weight: 700; }

/* ---------- Services page ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { padding: 32px 26px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid #263010; position: relative; transition: transform .5s var(--ease), border-color .3s; }
.process-step:hover { transform: translateY(-8px); border-color: var(--orange); }
.step-num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--dark); font-family: var(--font-head); font-weight: 800; margin-bottom: 20px; }
.process-step p { color: var(--muted-light); font-size: .97rem; }
.process-step strong { color: #fff; }

/* service detail */
.svc-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.svc-visual { position: relative; }
.svc-visual-card { border-radius: var(--radius); aspect-ratio: 4 / 3.2; }
.svc-visual-card img { width: 100%; height: 100%; object-fit: cover; }
.svc-visual .stat-card.s1 { left: -24px; top: auto; bottom: 20px; }
.svc-visual .stat-card.s2 { right: -16px; bottom: auto; top: -20px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 32px 28px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid #263010; transition: transform .5s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-6px); border-color: var(--lime); }
.feature-num { font-family: var(--font-head); font-weight: 800; color: var(--lime); font-size: 1.1rem; display: block; margin-bottom: 14px; }
.feature p { color: var(--muted-light); margin: 0; }
.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.deliver-list { list-style: none; counter-reset: d; display: grid; gap: 14px; margin-top: 20px; }
.deliver-list li { counter-increment: d; display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--bg-soft); border-radius: 14px; font-weight: 600; transition: transform .3s var(--ease); }
.deliver-list li:hover { transform: translateX(8px); }
.deliver-list li::before { content: counter(d, decimal-leading-zero); font-family: var(--font-head); color: var(--orange); font-weight: 800; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 30px; }
.tech-chips span { padding: 9px 16px; border-radius: 999px; background: var(--bg-soft); font-weight: 600; border: 1px solid var(--line); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.info-list { list-style: none; display: grid; gap: 22px; margin: 30px 0; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list strong { display: block; font-family: var(--font-head); }
.info-list a:hover { color: var(--orange); }
.info-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; }
.info-icon svg { width: 22px; height: 22px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-form-wrap, .form-card { background: var(--bg-soft); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.4); }

/* ---------- Forms ---------- */
.form-row { display: grid; gap: 16px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; margin-bottom: 16px; }
.field input, .field select, .field textarea, .newsletter-form input {
  font: inherit; font-weight: 400; width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid #d9dbd3; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .newsletter-form input:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 81, 42, .14);
}
.field .is-invalid, .is-invalid { border-color: #e0362c !important; }
.field-label { font-weight: 700; margin: 6px 0 10px; }
.field-label small { font-weight: 400; color: var(--muted); }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip input, .plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid #d9dbd3; background: #fff; font-size: .93rem; font-weight: 500; cursor: pointer; transition: .2s; user-select: none; }
.chip span:hover { border-color: var(--dark); }
.chip input:checked + span { background: var(--dark); color: #fff; border-color: var(--dark); }
.chip input:focus-visible + span, .plan-option input:focus-visible + .plan-option-body { outline: 3px solid var(--orange); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin-top: 8px; }
.check input { margin-top: 5px; accent-color: var(--orange); width: 18px; height: 18px; }
.check a { color: var(--orange); text-decoration: underline; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #2e7d00; }
.form-status.err { color: #d0261b; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* scope form */
.steps-indicator { list-style: none; display: flex; gap: 6px; margin-bottom: 28px; counter-reset: s; }
.steps-indicator li { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--muted); padding-bottom: 10px; border-bottom: 3px solid #dcdfd4; transition: .3s; }
.steps-indicator li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #dcdfd4; font-size: .8rem; flex: none; transition: .3s; }
.steps-indicator li.is-active, .steps-indicator li.is-done { color: var(--dark); border-color: var(--orange); }
.steps-indicator li.is-active span, .steps-indicator li.is-done span { background: var(--orange); color: #fff; }
.scope-grid { display: grid; grid-template-columns: 1fr 290px; gap: 30px; align-items: start; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.step legend { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; margin-bottom: 18px; padding: 0; }
.plan-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.plan-option { position: relative; cursor: pointer; }
.plan-option-body { display: grid; gap: 2px; padding: 18px 16px; border-radius: 16px; border: 2px solid #d9dbd3; background: #fff; transition: .25s var(--ease); height: 100%; }
.plan-option-body strong { font-family: var(--font-head); font-size: 1.05rem; }
.plan-option-body em { font-style: normal; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--orange); }
.plan-option-body small { color: var(--muted); }
.plan-option:hover .plan-option-body { border-color: var(--dark); transform: translateY(-3px); }
.plan-option input:checked + .plan-option-body { border-color: var(--orange); background: #fff6f3; box-shadow: 0 10px 24px -14px rgba(255, 81, 42, .6); }
.step-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 10px; }
.step-nav [data-next], .step-nav [data-submit] { margin-left: auto; }
.scope-summary { position: sticky; top: 20px; background: var(--dark); color: #fff; border-radius: var(--radius); padding: 26px; }
.summary-kicker { color: var(--lime); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.scope-summary h4 { font-size: 1.2rem; margin-bottom: 8px; }
.summary-price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; margin: 0; line-height: 1.1; }
.summary-renewal { color: var(--muted-light); font-size: .9rem; font-style: italic; }
.scope-summary ul { list-style: none; display: grid; gap: 7px; font-size: .9rem; color: #d4d7cb; margin: 10px 0 18px; }
.scope-summary li::before { content: "✓ "; color: var(--lime); font-weight: 700; }
.summary-note { font-size: .82rem; color: var(--muted-light); margin: 0; padding-top: 14px; border-top: 1px solid #2d3713; }
.form-success { text-align: center; padding: 40px 10px; animation: zoomIn .6s var(--ease); }
.success-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; margin: 0 auto 20px; }
.form-success p { color: var(--muted); max-width: 460px; margin-inline: auto; margin-bottom: 24px; }
.scope-form.is-sent .steps-indicator, .scope-form.is-sent .scope-grid { display: none; }

/* dialog */
.scope-dialog {
  width: min(1060px, 100% - 24px); max-height: calc(100dvh - 24px); border: 0; padding: 0; border-radius: 26px;
  background: #fff; color: var(--text); box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); overflow: auto;
}
.scope-dialog[open] { animation: dialogIn .5s var(--ease); }
.scope-dialog::backdrop { background: rgba(16, 23, 0, .7); backdrop-filter: blur(4px); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 28px 32px 0; }
.dialog-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.dialog-head .tag { margin-bottom: 10px; }
.dialog-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-soft); font-size: 1.6rem; line-height: 1; flex: none; transition: .25s; }
.dialog-close:hover { background: var(--orange); color: #fff; rotate: 90deg; }
.scope-dialog .scope-form { padding: 24px 32px 32px; }
body.dialog-open { overflow: hidden; }

/* ---------- CTA + Footer ---------- */
.cta-band { background: var(--lime); padding: 60px 0; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-copy h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 0; }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.cta-link svg { width: 22px; height: 22px; }
.cta-link:hover { text-decoration: underline; }
.site-footer { background: var(--dark); color: #d4d7cb; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted-light); }
.footer-address { font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { transition: color .2s, padding .2s; }
.site-footer ul a:hover { color: var(--lime); padding-left: 4px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--dark-3); color: #fff; transition: .3s var(--ease); }
.socials a:hover { background: var(--lime); color: var(--dark); transform: translateY(-4px); }
.socials svg { width: 18px; height: 18px; }
.footer-news p { color: var(--muted-light); font-size: .95rem; }
.newsletter-form { display: grid; gap: 10px; }
.newsletter-form input { background: var(--dark-2); border-color: #2d3713; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; padding: 24px 0; border-top: 1px solid #2d3713; }
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: var(--orange); }
.to-top { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--dark); font-weight: 800; transition: transform .3s; }
.to-top:hover { transform: translateY(-4px); }
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 64px; height: 64px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  animation: waPulse 2.4s infinite; transition: transform .3s;
}
.wa-float img { width: 56px; height: 56px; }
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Legal / 404 ---------- */
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.legal-nav { position: sticky; top: 110px; display: grid; gap: 6px; }
.legal-nav a { padding: 10px 16px; border-radius: 10px; background: var(--bg-soft); font-weight: 600; }
.legal-nav a:hover { background: var(--lime); }
.legal-content { max-width: 780px; }
.legal-content h2 { font-size: 2rem; margin-top: 1.4em; scroll-margin-top: 110px; }
.legal-content h2:first-of-type { margin-top: .4em; }
.legal-content ul { padding-left: 22px; margin-bottom: 1em; display: grid; gap: 6px; }
.legal-content a { color: var(--orange); }
.big-404 { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: 1; margin: 0; background: linear-gradient(90deg, var(--orange), var(--lime-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand, .footer-news { grid-column: span 3; }
  .footer-news { grid-column: span 3; max-width: 420px; }
  .process-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  /* backdrop-filter would make the fixed drawer position relative to the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); flex-direction: column; align-items: stretch;
    background: #fff; border: 0; border-radius: 0; padding: 100px 24px 30px; gap: 4px;
    transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; z-index: -1; overflow-y: auto;
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform .45s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,.2); }
  .main-nav > a, .nav-drop > a { padding: 14px 16px; font-size: 1.1rem; border-radius: 12px; }
  .nav-mobile-only { display: inline-flex !important; }
  .drop-menu { position: static; translate: none !important; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
  .drop-menu a { font-size: .98rem; color: var(--muted); }
  .nav-toggle { display: block; z-index: 2; }
  .btn-call span:last-child { display: none; }
  .btn-call { padding: 8px !important; min-height: 0; margin-left: auto; }
  .hero-grid, .about-grid, .showcase-grid, .partners-grid, .faq-grid, .contact-grid, .about-page-grid, .svc-intro-grid, .svc-split, .post-grid, .cta-inner, .legal-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 30px; }
  .hero-squiggle { display: none; }
  .services-grid, .projects-grid, .blog-grid, .pricing-grid, .feature-grid, .vm-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .faq-side, .post-aside, .legal-nav { position: static; }
  .testi { grid-template-columns: 1fr; gap: 26px; }
  .testi-photo { max-height: 340px; aspect-ratio: 16 / 10; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-summary { position: static; order: -1; }
  .scope-summary ul, .summary-note { display: none; }
  .plan-options { grid-template-columns: repeat(2, 1fr); }
  .legal-nav { grid-auto-flow: column; overflow-x: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid, .projects-grid, .blog-grid, .pricing-grid, .feature-grid, .vm-grid, .process-grid, .team-grid { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; gap: 0; }
  .stat-card { padding: 12px 14px; min-width: 0; }
  .stat-card img { width: 36px; height: 36px; margin-bottom: 6px; }
  .stat-card strong { font-size: 1.05rem; }
  .stat-card.s1 { left: -2%; }
  .collage-star { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-news { grid-column: span 2; }
  .steps-indicator li { font-size: 0; gap: 0; justify-content: center; }
  .steps-indicator li span { font-size: .8rem; }
  .dialog-head { padding: 20px 18px 0; }
  .scope-dialog .scope-form { padding: 18px; }
  .mini-stats { gap: 24px; }
  .devices { padding-right: 20px; }
  .wa-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
  .wa-float img { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
}

/* Numbers use Kanit (as on the original site) – Syne's numerals are very wide */
.price, .stat strong, .stat-card strong, .mini-stats strong, .ring-stat strong, .summary-price, .plan-option-body em, .avatar-count, .big-404 { font-family: var(--font-num); font-weight: 600; letter-spacing: 0; }
.ring.lime::before { background: var(--dark); }

[hidden] { display: none !important; }

/* ---------- Pricing tabs (Website / App) ---------- */
.price-tabs {
  display: flex; width: max-content; max-width: 100%; margin: -16px auto 44px; padding: 6px; gap: 6px;
  background: var(--dark-2); border: 1px solid #2d3713; border-radius: 999px;
}
.price-tabs button {
  border: 0; background: transparent; color: #d4d7cb; padding: 12px 26px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; transition: background .3s, color .3s;
}
.price-tabs button:hover { color: #fff; }
.price-tabs button[aria-selected="true"] { background: var(--lime); color: var(--dark); }
[data-price-panel]:not([hidden]) { animation: stepIn .5s var(--ease); }
.price-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; color: var(--lime); }
.price-icon svg { width: 40px; height: 40px; }
.price-from { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: #9ea38f; margin-right: 8px; vertical-align: middle; }
.pricing-foot small { display: inline-block; margin-top: 8px; opacity: .8; }
.plan-group-label { font-weight: 700; font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.plan-options.apps { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) {
  .price-tabs button { padding: 10px 16px; font-size: .92rem; }
  .plan-options.apps { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Service pages ---------- */
.svc-highlights { margin: 18px 0 8px; }
.svc-why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.svc-why-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.svc-why .stats-row { margin-top: 60px; }
.feature-grid.light .feature { background: var(--bg-soft); border-color: var(--line); }
.feature-grid.light .feature p { color: var(--muted); }
.feature-grid.light .feature-num { color: var(--orange); }
.feature-grid.light .feature:hover { border-color: var(--orange); }
.pricing-note { margin: 16px auto 0; max-width: 620px; }
.pricing-note strong { color: var(--lime); }
.custom-plan-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.custom-plan-grid .price-card h3 { margin: 10px 0 6px; }
.custom-plan-grid .price-card:hover { transform: translateY(-6px); }
#svc-pricing { scroll-margin-top: 80px; }
.svc-visual { min-height: 320px; display: flex; align-items: center; justify-content: center; }
.svc-visual > .stat-card.s1 { left: -24px; top: auto; bottom: 10px; }
.svc-visual > .stat-card.s2 { right: -16px; bottom: auto; top: -20px; }
.svc-devices { width: 100%; padding: 30px 40px 30px 0; }

/* shared mock window */
.mock-window {
  width: 100%; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid var(--line); position: relative; font-size: 14px;
}

/* e-commerce store */
.store-mock { overflow: visible; }
.store-mock .browser-bar { border-radius: 18px 18px 0 0; }
.store-body { padding: 16px; }
.store-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.store-top strong { font-family: var(--font-head); letter-spacing: .06em; }
.store-search { flex: 1; height: 28px; border-radius: 999px; background: var(--bg-soft); }
.store-cart { position: relative; font-size: 1.2rem; }
.cart-count { position: absolute; top: -6px; right: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .7rem; display: grid; place-items: center; animation: pop 2.4s ease-in-out infinite; }
@keyframes pop { 0%, 80%, 100% { transform: scale(1); } 90% { transform: scale(1.35); } }
.store-banner { border-radius: 12px; padding: 18px; margin-bottom: 14px; color: #fff; display: grid; background: linear-gradient(120deg, var(--dark), #2f3d0b); }
.store-banner span { color: var(--lime); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.store-banner b { font-family: var(--font-head); font-size: 1.4rem; }
.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.product { display: grid; gap: 6px; }
.p-img { aspect-ratio: 1; border-radius: 10px; }
.p-img.c1 { background: radial-gradient(circle at 50% 60%, var(--orange) 0 30%, #ffe6df 31%); }
.p-img.c2 { background: radial-gradient(circle at 50% 55%, var(--dark) 0 28%, #eef7c8 29%); }
.p-img.c3 { background: radial-gradient(circle at 50% 60%, var(--lime-2) 0 26%, #f1f2ec 27%); }
.product i { height: 8px; width: 80%; border-radius: 4px; background: #e6e8e0; }
.product b { font-size: .85rem; }
.product .add { font-size: .72rem; font-weight: 700; text-align: center; padding: 6px; border-radius: 999px; background: var(--dark); color: #fff; }
.checkout-toast {
  position: absolute; left: -24px; bottom: -22px; display: flex; gap: 10px; align-items: center;
  background: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow);
}
.checkout-toast > span { width: 32px; height: 32px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-weight: 800; }
.checkout-toast b { display: block; font-size: .9rem; }
.checkout-toast small { color: var(--muted); }
.svc-visual:has(.store-mock) > .stat-card.s1 { display: none; }

/* app phones */
.phones-mock { position: relative; width: min(420px, 100%); height: 440px; }
.phones-mock .phone { position: absolute; width: 46%; bottom: auto; right: auto; }
.phones-mock .phone-a { left: 8%; top: 0; rotate: -6deg; }
.phones-mock .phone-b { right: 4%; top: 40px; rotate: 5deg; }
.store-badges { position: absolute; left: 50%; bottom: -10px; translate: -50% 0; display: flex; gap: 10px; z-index: 3; }
.store-badges span { display: inline-flex; align-items: center; gap: 8px; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: .88rem; white-space: nowrap; box-shadow: var(--shadow-sm); }
.store-badges svg { width: 18px; height: 18px; }
.svc-visual:has(.phones-mock) > .stat-card.s1 { bottom: 70px; }

/* google ads */
.ads-search { display: flex; align-items: center; gap: 10px; margin: 16px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.06); color: var(--muted); }
.g-dot { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0); flex: none; }
.ad-result { margin: 0 16px 14px; padding: 14px; border-radius: 12px; background: #f7fbe6; border: 1px solid #e3f2a6; }
.ad-result small { color: var(--muted); }
.ad-result strong { display: block; color: #1a0dab; font-size: 1.05rem; margin: 4px 0; }
.ad-result p { margin: 0 0 8px; color: var(--muted); font-size: .85rem; }
.ad-links { display: flex; gap: 14px; color: #1a0dab; font-size: .82rem; }
.ads-panel { background: var(--dark); color: #fff; padding: 16px; }
.ads-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.ads-kpis small { display: block; color: var(--muted-light); font-size: .75rem; }
.ads-kpis b { font-size: .95rem; }
.ads-kpis .up { color: var(--lime); }
.ads-kpis .down { color: #7ee0a0; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(var(--lime), #7fb800); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bars i:nth-child(2) { animation-delay: .08s; }
.bars i:nth-child(3) { animation-delay: .16s; }
.bars i:nth-child(4) { animation-delay: .24s; }
.bars i:nth-child(5) { animation-delay: .32s; }
.bars i:nth-child(6) { animation-delay: .4s; }
.bars i:nth-child(7) { animation-delay: .48s; }
.bars i:nth-child(8) { animation-delay: .56s; }
@keyframes grow { from { transform: scaleY(0); } }

/* seo serp */
.serp-list { padding: 0 16px 10px; display: grid; gap: 8px; }
.serp-item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; align-items: flex-start; }
.serp-item .rank { font-family: var(--font-num); font-weight: 600; color: var(--muted); min-width: 28px; }
.serp-item small { color: #188038; font-size: .78rem; }
.serp-item strong { display: block; color: #1a0dab; }
.serp-item p { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }
.serp-item:not(.you) strong { color: #8a90a6; }
.serp-item:not(.you) p { width: 140px; height: 8px; border-radius: 4px; background: #eceee6; }
.serp-item.you { background: #f7fbe6; border: 1px solid #e3f2a6; animation: climb 1.2s var(--ease) both; }
.serp-item.you .rank { color: #fff; background: var(--orange); border-radius: 8px; text-align: center; padding: 2px 4px; }
@keyframes climb { from { transform: translateY(120px); opacity: 0; } }
.rank-chart { background: var(--dark); padding: 14px 16px 10px; }
.rank-chart small { color: var(--muted-light); }
.rank-chart svg { width: 100%; height: 70px; display: block; margin-top: 6px; }
.rank-area { fill: rgba(202, 252, 1, .15); }
.rank-line { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2s var(--ease) .3s forwards; vector-effect: non-scaling-stroke; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 980px) {
  .svc-why-grid, .custom-plan-grid { grid-template-columns: 1fr; gap: 24px; }
  .svc-visual { margin-top: 20px; }
}
@media (max-width: 640px) {
  .svc-visual > .stat-card.s1 { left: 0; }
  .svc-visual > .stat-card.s2 { right: 0; }
  .checkout-toast { left: 0; }
  .phones-mock { height: 380px; }
  .store-badges span { padding: 8px 12px; font-size: .8rem; }
}

/* Keep floating stat cards off the important parts of the ads / search mockups */
.svc-visual:has(.ads-mock), .svc-visual:has(.serp-mock) { padding: 30px 0 50px; }
.svc-visual:has(.ads-mock) > .stat-card.s1, .svc-visual:has(.serp-mock) > .stat-card.s1 { bottom: -10px; left: -30px; }
.svc-visual:has(.ads-mock) > .stat-card.s2, .svc-visual:has(.serp-mock) > .stat-card.s2 { top: -30px; right: -30px; }
@media (max-width: 640px) {
  .svc-visual:has(.ads-mock) > .stat-card.s1, .svc-visual:has(.serp-mock) > .stat-card.s1 { left: 0; }
  .svc-visual:has(.ads-mock) > .stat-card.s2, .svc-visual:has(.serp-mock) > .stat-card.s2 { right: 0; }
}

/* ---------- Blog photo covers ---------- */
.blog-cover.has-photo { background: var(--dark); margin: 0; }
.blog-cover.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.blog-cover.has-photo::after { background: linear-gradient(180deg, rgba(16,23,0,0) 45%, rgba(16,23,0,.55)); transform: none !important; }
.blog-card:hover .blog-cover.has-photo img { transform: scale(1.08); }
.post-cover.has-photo { aspect-ratio: 16 / 9; margin: 0 0 34px; }
@media (max-width: 980px) {
  .about-collage { margin-bottom: 60px; }
  .about-collage .stat-card.s2 { left: 0; bottom: -60px; }
}

/* ---------- Social Media Marketing page ---------- */
.social-mock { position: relative; }
.social-bubble { position: absolute; width: 64px; height: 64px; animation: orbitFloat 6s ease-in-out infinite; z-index: 2; }
.social-bubble.b1 { top: -6px; left: 6%; }
.social-bubble.b2 { top: -18px; left: 42%; animation-delay: -2s; }
.social-bubble.b3 { top: 38%; left: -26px; width: 52px; height: 52px; animation-delay: -3.5s; }
.social-bubble.b4 { bottom: 4%; left: 30%; width: 76px; height: 76px; animation-delay: -1.2s; }
.svc-visual:has(.social-mock) > .stat-card.s1 { bottom: -24px; left: -30px; }
.svc-visual:has(.social-mock) > .stat-card.s2 { top: -36px; right: -20px; }
.platform-band { background: linear-gradient(135deg, #f6f1ff 0%, var(--bg-soft) 60%); overflow: hidden; }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.platform-list { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.platform-shot { background: #1b0f33; }
.platform-shot:hover { transform: translateY(-8px) rotate(-.5deg); }
.services-grid > .service-card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
@media (max-width: 980px) {
  .platform-grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid > .service-card:last-child:nth-child(3n + 1) { grid-column: auto; }
  .services-grid > .service-card:last-child:nth-child(2n + 1) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .platform-list { grid-template-columns: 1fr; }
  .social-bubble { width: 44px; height: 44px; }
  .social-bubble.b3 { left: 0; }
  .social-bubble.b4 { width: 54px; height: 54px; }
  .svc-visual:has(.social-mock) > .stat-card.s1 { left: 0; }
  .svc-visual:has(.social-mock) > .stat-card.s2 { right: 0; }
  .services-grid > .service-card:last-child:nth-child(2n + 1) { grid-column: auto; }
}
.price, .stat strong, .stat-card strong, .mini-stats strong, .ring-stat strong, .summary-price, .plan-option-body em, .avatar-count { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* Mobile app portfolio card */
.browser-screen.static img { height: 100%; object-fit: cover; object-position: center; }
.project-card:hover .browser-screen.static img { transform: scale(1.05); transition: transform .8s var(--ease); }
.app-bar-icon { width: 18px; height: 18px; border-radius: 5px; }
.play-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--lime); color: var(--dark); font-size: .72rem; font-weight: 700; vertical-align: middle; }

/* ---------- E-commerce mockup: real products with motion ---------- */
.store-grid .p-img { background: #f1f2ec; overflow: hidden; position: relative; transform: translateY(var(--py, 0px)); transition: transform .15s linear; }
.store-grid .p-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(calc(1.08 + var(--pz, 0))); transition: transform .15s linear; }
.store-grid .product:nth-child(1) .p-img img { animation: productBob 5s ease-in-out infinite; }
.store-grid .product:nth-child(2) .p-img img { animation: productBob 5s ease-in-out -1.7s infinite; }
.store-grid .product:nth-child(3) .p-img img { animation: productBob 5s ease-in-out -3.3s infinite; }
@keyframes productBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.store-grid .p-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite; }
.store-grid .product:nth-child(2) .p-img::after { animation-delay: 1.5s; }
.store-grid .product:nth-child(3) .p-img::after { animation-delay: 3s; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.p-tag { position: absolute; top: 6px; left: 6px; z-index: 1; font-style: normal; font-size: .66rem; font-weight: 800; color: #fff; background: var(--orange); padding: 2px 7px; border-radius: 999px; }
.p-tag.new { background: var(--dark); color: var(--lime); }
.store-grid .product i { height: auto; width: auto; background: none; border-radius: 0; font-style: normal; font-size: .72rem; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-grid .product:hover .p-img img { scale: 1.06; }
.store-grid .product .add { transition: background .25s, color .25s; }
.store-grid .product:hover .add { background: var(--lime); color: var(--dark); }
@media (prefers-reduced-motion: reduce) { .store-grid .p-img, .store-grid .p-img img { transform: none !important; } }
.p-tag.hot { background: #e11d2e; }
.store-grid .p-img { aspect-ratio: 1; }
