/* Harsh Web Enterprises — Digital Product Studio
   Handwritten CSS3. Mobile-first. No frameworks. */

:root {
  --primary: #2563eb;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --highlight: #f59e0b;
  --bg: #fcfcfd;
  --section: #f4f7fb;
  --card: rgba(255, 255, 255, 0.94);
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;

  --grad-primary: linear-gradient(120deg, #2563eb, #7c3aed);
  --grad-accent: linear-gradient(120deg, #06b6d4, #67e8f9);
  --grad-highlight: linear-gradient(120deg, #f59e0b, #fcd34d);
  --grad-hero: linear-gradient(180deg, #fcfcfd, #f4f7fb);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 18px 40px -20px rgba(37, 99, 235, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(37, 99, 235, 0.42);

  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }

p { margin: 0 0 1rem; color: var(--muted); }

a { color: var(--primary); text-decoration: none; }

img { max-width: 100%; display: block; height: auto; }

ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }
.section--tint { background: var(--section); }

.eyebrow {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  display: inline-block;
}

.lead {
  font-family: "Manrope", sans-serif;
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 62ch;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--link {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--primary);
}
.btn--link::after { content: "→"; transition: transform 0.3s var(--ease); }
.btn--link:hover::after { transform: translateX(5px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.is-stuck {
  background: rgba(252, 252, 253, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark {
  width: 34px; height: 34px; flex: none;
  border-radius: 11px;
  background: var(--grad-primary);
  display: grid; place-items: center;
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}
.brand__name {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.brand__name span { color: var(--primary); }

.nav__links { display: none; align-items: center; gap: 26px; }
.nav__links a {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: none; }

.burger {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  display: grid; place-items: center; gap: 4px;
  cursor: pointer;
}
.burger span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 55;
  background: rgba(252, 252, 253, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 24px;
  display: grid;
  gap: 2px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  color: var(--text);
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 116px 0 64px;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  z-index: 0;
  animation: drift 16s ease-in-out infinite alternate;
}
.hero::before {
  width: 380px; height: 380px;
  background: rgba(37, 99, 235, 0.35);
  top: -110px; left: -120px;
}
.hero::after {
  width: 420px; height: 420px;
  background: rgba(124, 58, 237, 0.28);
  bottom: -160px; right: -120px;
  animation-delay: -6s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(30px, -24px, 0) scale(1.12); }
}

.hero__grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }

.hero h1 { margin-bottom: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }

.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.trust li {
  display: flex; align-items: center; gap: 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text);
  min-width: 0;
}
.trust li::before {
  content: "✔";
  width: 20px; height: 20px; flex: none;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #06364a;
  font-size: 0.6rem;
  display: grid; place-items: center;
}

.hero__visual { position: relative; }
.hero__visual img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.chip {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  animation: float 6s ease-in-out infinite;
}
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.68rem; }
.chip--a { top: 8%; left: -6px; animation-delay: -1.5s; }
.chip--b { bottom: 12%; right: -6px; animation-delay: -3.5s; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-primary); flex: none; }
.dot--accent { background: var(--grad-accent); }

/* ---------- Marquee / logos ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 52px; width: max-content; animation: slide 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #9aa4b2;
  white-space: nowrap;
  letter-spacing: -0.02em;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Service rows ---------- */
.srow { display: grid; gap: 28px; align-items: center; padding: 34px 0; }
.srow + .srow { border-top: 1px solid var(--border); }

.srow__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--section);
}
.srow__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.srow__media:hover img { transform: scale(1.07); }
.srow__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.14), transparent 55%);
  pointer-events: none;
}
.srow__index {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: "Sora", sans-serif;
  font-weight: 800; font-size: 0.75rem;
  padding: 6px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.benefits { display: grid; gap: 8px; margin: 18px 0 22px; }
.benefits li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.92rem; color: var(--text);
}
.benefits li::before {
  content: ""; width: 7px; height: 7px; margin-top: 9px; flex: none;
  border-radius: 50%; background: var(--grad-primary);
}

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; }
.bento__card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.bento__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.35);
}
.bento__card::after {
  content: "";
  position: absolute;
  width: 160px; height: 160px;
  right: -70px; top: -70px;
  border-radius: 50%;
  background: var(--grad-accent);
  opacity: 0.14;
  transition: transform 0.6s var(--ease);
}
.bento__card:hover::after { transform: scale(1.5); }
.bento__card h3 { margin-bottom: 6px; }
.bento__card p { margin: 0; font-size: 0.92rem; }
.ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-primary);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}
.ico--accent { background: var(--grad-accent); color: #06364a; }
.ico--warm { background: var(--grad-highlight); color: #4a2f04; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.1;
}
.stat span { font-family: "Manrope", sans-serif; font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* ---------- Process timeline ---------- */
.timeline {
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 20px 20px 66px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px; top: 18px;
  width: 34px; height: 34px;
  border-radius: 12px;
  background: var(--grad-primary);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800; font-size: 0.9rem;
  display: grid; place-items: center;
}
.step h3 { font-size: 1.02rem; margin-bottom: 2px; }
.step p { margin: 0; font-size: 0.88rem; }

/* ---------- Testimonials ---------- */
.slider { position: relative; }
.slider__track { display: flex; overflow: hidden; }
.slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 4px;
}
.slide.is-active { opacity: 1; }
.slide:not(.is-active) { position: absolute; inset: 0; pointer-events: none; }
.quote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.quote p {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.65;
}
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center;
  font-family: "Sora", sans-serif; font-weight: 800;
}
.quote strong { display: block; font-size: 0.92rem; }
.quote small { color: var(--muted); }
.slider__dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.slider__dots button {
  width: 9px; height: 9px; padding: 0;
  border-radius: 50%; border: none; cursor: pointer;
  background: var(--border);
  transition: width 0.3s var(--ease), background 0.3s ease;
}
.slider__dots button[aria-selected="true"] { width: 26px; border-radius: 999px; background: var(--grad-primary); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 4px 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq details[open] { border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 30px 16px 0;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--primary); font-size: 1.3rem;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 16px; font-size: 0.93rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font-family: "Manrope", sans-serif;
  font-weight: 700; font-size: 0.84rem;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff; color: var(--muted);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filters button:hover { color: var(--text); border-color: var(--primary); }
.filters button[aria-pressed="true"] { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }

.grid { display: grid; gap: 18px; }
.work {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font: inherit;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work.is-hidden { display: none; }
.work__thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 11; background: var(--section); }
.work__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.work:hover .work__thumb img { transform: scale(1.09); }
.work__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0) 40%, rgba(17, 24, 39, 0.72));
  opacity: 0; transition: opacity 0.4s ease;
  display: flex; align-items: flex-end; padding: 16px;
  color: #fff; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 0.86rem;
}
.work:hover .work__overlay { opacity: 1; }
.work__body { padding: 18px 20px 22px; }
.work__body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.work__body p { margin: 0; font-size: 0.86rem; }
.tag {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 10px;
}

/* Before / after */
.ba {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__range {
  position: absolute; inset: auto 0 0 0;
  width: 100%; margin: 0; padding: 0;
  opacity: 0; height: 100%; cursor: ew-resize;
}
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.15);
  pointer-events: none;
}
.ba__handle::after {
  content: "↔";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--primary);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.ba__label {
  position: absolute; top: 12px;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 0.7rem;
  background: var(--card); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 999px;
}
.ba__label--l { left: 12px; }
.ba__label--r { right: 12px; }

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 90;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; animation: fade 0.3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__panel {
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 640px; width: 100%;
  max-height: 88vh; overflow: auto;
  box-shadow: var(--shadow-lg);
  animation: pop 0.35s var(--ease);
}
@keyframes pop { from { transform: translateY(18px) scale(0.97); opacity: 0; } }
.modal__panel img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.modal__body { padding: 26px; }
.modal__close {
  float: right;
  border: 1px solid var(--border); background: #fff;
  width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; color: var(--muted);
}

/* ---------- Tech cards ---------- */
.tech { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tech__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.tech__card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-md); border-color: rgba(124, 58, 237, 0.35); }
.tech__logo {
  width: 52px; height: 52px; margin: 0 auto 12px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 0.9rem;
  color: #fff;
  background: var(--grad-primary);
}
.tech__card strong { font-family: "Manrope", sans-serif; font-size: 0.9rem; display: block; }
.tech__card small { color: var(--muted); font-size: 0.76rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: "Manrope", sans-serif; font-weight: 700;
  font-size: 0.82rem; color: var(--text);
}
.field input,
.field select,
.field textarea {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form__row { display: grid; gap: 14px; }
.form__note { font-size: 0.8rem; color: var(--muted); }
.form__status {
  display: none;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 0.88rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #075e6b;
}
.form__status.is-visible { display: block; }
.error { color: #b91c1c; font-size: 0.76rem; min-height: 0; }

/* ---------- Contact info ---------- */
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.info-list { display: grid; gap: 18px; margin: 20px 0; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { margin: 0; width: 40px; height: 40px; font-size: 1rem; }
.info-list strong { display: block; font-family: "Manrope", sans-serif; font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.info-list a, .info-list address {
  font-style: normal;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-word;
}
.map {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 40%, rgba(6, 182, 212, 0.25), transparent 55%),
    radial-gradient(circle at 70% 60%, rgba(124, 58, 237, 0.25), transparent 55%),
    repeating-linear-gradient(0deg, #eef2f7 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, #eef2f7 0 1px, transparent 1px 34px),
    #f8fafc;
  display: grid; place-items: center;
  text-align: center;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: 0.85rem;
  color: var(--muted);
  padding: 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 46px 28px;
  background: var(--grad-primary);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: "";
  position: absolute; width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  top: -220px; right: -120px;
}
.cta-band h2, .cta-band p { color: #fff; position: relative; z-index: 1; }
.cta-band p { opacity: 0.9; max-width: 60ch; margin-inline: auto; }
.cta-band .btn { position: relative; z-index: 1; }
.cta-band .btn--primary { background: #fff; color: var(--primary); }
.cta-band .btn--ghost { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

/* ---------- Page header ---------- */
.pagehead {
  padding: 120px 0 52px;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--border);
}
.crumbs { font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }

/* ---------- Legal ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.35rem; margin-top: 34px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal li { color: var(--muted); margin-bottom: 6px; }

/* ---------- Footer ---------- */
.footer {
  background: #0b1020;
  color: #cbd5e1;
  padding: 56px 0 28px;
}
.footer h4 {
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #94a3b8; margin: 0 0 14px;
}
.footer a { color: #cbd5e1; font-size: 0.9rem; transition: color 0.25s ease; }
.footer a:hover { color: #fff; }
.footer p { color: #94a3b8; font-size: 0.9rem; }
.footer .brand__name { color: #fff; }
.footer__grid { display: grid; gap: 30px; }
.footer__links { display: grid; gap: 9px; }
.footer__bottom {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid; gap: 8px;
  font-size: 0.83rem; color: #94a3b8;
}
.footer__bottom a { font-size: 0.83rem; }
.footer__legal { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Floating actions ---------- */
.fab {
  position: fixed; right: 16px; z-index: 70;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  border: none; cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab--wa { bottom: 16px; background: #25d366; color: #fff; font-size: 1.4rem; }
.fab--top {
  bottom: 76px; background: #fff; color: var(--primary);
  border: 1px solid var(--border);
  opacity: 0; pointer-events: none;
}
.fab--top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .section { padding: 88px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tech { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 900px) {
  .nav__links, .nav__cta { display: flex; }
  .burger, .mobile-menu { display: none; }
  .section { padding: 104px 0; }
  .hero { padding: 150px 0 96px; }
  .hero__grid { grid-template-columns: 1.02fr 1fr; gap: 56px; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srow { grid-template-columns: 1fr 1fr; gap: 54px; padding: 52px 0; }
  .srow--flip .srow__media { order: 2; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__card--wide { grid-column: span 2; }
  .tech { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
  .cta-band { padding: 66px 48px; }
  .pagehead { padding: 160px 0 72px; }
}

@media (min-width: 1100px) {
  .timeline { grid-template-columns: repeat(7, 1fr); }
  .step { padding: 56px 16px 20px; }
  .step::before { top: 16px; }
}
