/* ---------- Base tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --ink: #0b0f19;
  --ink-2: #1b2030;
  --muted: #5b6472;
  --line: #e6e8ef;
  --brand: #ff5a36;
  --brand-2: #ff3d7f;
  --accent: #0057ff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11,15,25,.06), 0 2px 8px rgba(11,15,25,.04);
  --shadow-md: 0 4px 12px rgba(11,15,25,.06), 0 12px 32px rgba(11,15,25,.06);
  --shadow-lg: 0 20px 60px rgba(11,15,25,.12);
  --ease: cubic-bezier(.2,.8,.2,1);
  --container: 1160px;
}

* { 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, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 .4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--muted); }

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

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: absolute; top: 12px; left: 12px;
  width: auto; height: auto; margin: 0; overflow: visible;
  clip: auto;
  padding: 8px 12px;
  background: var(--ink); color: #fff; border-radius: 8px; z-index: 1000;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.88);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.05rem;
}
.brand-mark {
  display: inline-flex; width: 28px; height: 28px;
  filter: drop-shadow(0 4px 10px rgba(255,90,54,.35));
}
.brand-dot { color: var(--brand); }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: .95rem; font-weight: 500;
}
.nav-links a { color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--brand); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 5px 0; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 8px;
  padding: 16px 24px 24px; border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-menu a {
  padding: 12px 4px; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600;
  font-size: .95rem; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 8px 24px rgba(11,15,25,.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(11,15,25,.25);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
}
.btn-block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 120px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  will-change: transform;
}
.orb-1 {
  width: 520px; height: 520px; top: -140px; right: -120px;
  background: radial-gradient(circle, #ffb199, transparent 60%);
  animation: float 14s ease-in-out infinite;
}
.orb-2 {
  width: 420px; height: 420px; bottom: -160px; left: -100px;
  background: radial-gradient(circle, #ffc2d4, transparent 60%);
  animation: float 18s ease-in-out infinite reverse;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,15,25,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,15,25,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-20px, 30px) scale(1.05); }
}

.hero-grid {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-content {
  max-width: 820px;
  text-align: center;
}
.hero-content .hero-sub { margin-left: auto; margin-right: auto; }
.hero-content .hero-cta { justify-content: center; }
.hero-content .hero-meta { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: .82rem; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; position: relative;
}
.pulse::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: #22c55e; opacity: .35; animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: .6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-title { margin-bottom: 20px; }
.hero-title em { font-style: normal; color: var(--brand); }
.grad-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 640px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px; max-width: 600px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font-size: .95rem; font-weight: 600; color: var(--ink); }
.hero-meta span { font-size: .82rem; color: var(--muted); }



/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section-alt { background: var(--bg-soft); }

.section-head {
  max-width: 720px; margin: 0 auto 56px; text-align: center;
}
.section-head p { font-size: 1.05rem; }

.tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,90,54,.1); color: var(--brand);
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  text-transform: uppercase; margin-bottom: 16px;
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: #fff; border: 1px solid var(--line);
  padding: 28px; border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(400px circle at var(--x,50%) var(--y,0%),
    rgba(255,90,54,.06), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(255,90,54,.25);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; margin-bottom: 18px; }

.chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chips li {
  font-size: .78rem; padding: 4px 10px;
  background: var(--bg-soft); border-radius: 999px;
  color: var(--ink-2); font-weight: 500;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  background: #fff; padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-block; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1rem; color: var(--brand);
  margin-bottom: 14px; letter-spacing: .03em;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: .93rem; margin: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 64px; align-items: center;
}
.about-copy p { font-size: 1.05rem; max-width: 520px; }

.stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.stats strong {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem; font-weight: 700; color: var(--ink);
  letter-spacing: -.02em;
}
.stats span { font-size: .85rem; color: var(--muted); }

.about-visual { position: relative; }
.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.panel::before {
  content: ''; position: absolute; inset: -20px;
  background: radial-gradient(circle at 30% 30%, rgba(255,90,54,.14), transparent 60%);
  z-index: -1; border-radius: 40px;
}
.panel-row {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: .95rem; color: var(--ink-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.d1 { background: var(--brand); }
.d2 { background: var(--accent); }
.d3 { background: #22c55e; }
.panel-bar {
  height: 6px; background: var(--bg-soft); border-radius: 999px; overflow: hidden;
}
.panel-bar i {
  display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: inherit; transform-origin: left;
  animation: fillBar 1.8s var(--ease) both;
}
@keyframes fillBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---------- Contact ---------- */
.section-contact { background: var(--bg-soft); }

.contact-wrapper {
  max-width: 680px; margin: 0 auto;
}
.contact-intro {
  text-align: center; margin-bottom: 40px;
}
.contact-intro h2 { margin-bottom: 12px; }
.contact-intro p {
  font-size: 1.05rem; max-width: 520px; margin: 0 auto;
}

.contact-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 18px;
  position: relative; overflow: hidden;
}
.contact-form::before {
  content: ''; position: absolute; inset: -40% -40% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,90,54,.1), transparent 60%);
  pointer-events: none;
}
.contact-form > * { position: relative; z-index: 1; }

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
}
.field label .optional {
  font-weight: 400; color: var(--muted); font-size: .8rem;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 13px 14px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa1b2; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(11,15,25,.06);
}

/* Honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.btn-lg { padding: 16px 28px; font-size: 1rem; }

.form-note {
  font-size: .9rem; margin: 0; min-height: 1.2em;
  text-align: center;
}
.form-note.success { color: #16a34a; }
.form-note.error { color: #ef4444; }

.spinner {
  display: none;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn.is-loading .btn-label,
.btn.is-loading .btn-icon { display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: .9; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 32px; align-items: start;
}
.footer-brand p { font-size: .9rem; margin-top: 8px; }
.footer-links {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: .92rem; font-weight: 500;
}
.footer-links a { color: var(--ink-2); transition: color .2s; }
.footer-links a:hover { color: var(--brand); }
.footer-meta {
  text-align: right; font-size: .85rem; color: var(--muted);
}

/* ---------- WhatsApp floating button ---------- */
.wa-fab {
  position: fixed;
  right: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px;
  padding: 0;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  box-shadow:
    0 10px 24px rgba(37, 211, 102, .35),
    0 4px 10px rgba(11, 15, 25, .12);
  z-index: 90;
  overflow: hidden;
  max-width: 58px;
  transition: max-width .35s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  animation: wa-in .6s var(--ease) both .4s;
}
.wa-fab-icon {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  padding: 15px;
  box-sizing: border-box;
}
.wa-fab-label {
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  padding-right: 20px;
  opacity: 0;
  transition: opacity .2s var(--ease) .1s;
}
.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: wa-pulse 2.4s var(--ease) infinite;
  pointer-events: none;
}

.wa-fab:hover {
  transform: translateY(-2px);
  max-width: 280px;
  box-shadow:
    0 14px 28px rgba(37, 211, 102, .45),
    0 6px 14px rgba(11, 15, 25, .15);
}
.wa-fab:hover .wa-fab-label {
  opacity: 1;
}
.wa-fab:active { transform: translateY(0); }

@keyframes wa-in {
  from { opacity: 0; transform: scale(.4) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes wa-pulse {
  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); }
}

@media (max-width: 520px) {
  .wa-fab { right: 16px; bottom: 16px; height: 54px; max-width: 54px; }
  .wa-fab-icon { width: 54px; height: 54px; padding: 13px; }
  .wa-fab-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab, .wa-fab-pulse { animation: none; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .pulse::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .mobile-menu { display: flex; }

  .hero { padding: 64px 0 80px; }
  .hero-content { max-width: 100%; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-meta strong { font-size: .88rem; }
  .hero-meta span { font-size: .75rem; }

  .section { padding: 80px 0; }

  .about-grid {
    grid-template-columns: 1fr; gap: 40px;
  }
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr; text-align: left;
  }
  .footer-meta { text-align: left; }
}

@media (max-width: 520px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}
