:root {
  --bg: #F5F3F0;
  --paper: #FFFFFF;
  --ink: #2C2B2B;
  --ink-soft: #6B6862;
  --line: #E0DDD8;
  --line-soft: #ECE9E4;
  --teal: #0E7C7B;
  --teal-deep: #0A5E5D;
  --teal-soft: #D7ECEB;
  --orange: #F28C28;
  --orange-soft: #FBE3CB;
}
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.17 0 0 0 0 0.17 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}
.font-display { font-family: 'Unbounded', sans-serif; letter-spacing: -0.02em; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* Hero phone trace */
.trace-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawTrace 6s linear infinite;
}
@keyframes drawTrace {
  0% { stroke-dashoffset: 1; opacity: 0; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.5; }
}

.pulse-dot { animation: pulseDot 2.2s ease-in-out infinite; }
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(14, 124, 123, 0.5); }
  50% { transform: scale(1.15); opacity: 0.85; box-shadow: 0 0 0 6px rgba(14, 124, 123, 0); }
}

/* Service card */
.service-card {
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 280ms, border-color 280ms;
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -12px rgba(44, 43, 43, 0.14);
  border-color: var(--teal);
}
.service-card:hover .icon-wrap { transform: translateY(-3px); }
.service-card:hover .card-underline { transform: scaleX(1); }
.service-card.open .accordion-content { max-height: 240px; opacity: 1; padding-top: 16px; }
.service-card.open .chevron { transform: rotate(180deg); }
.icon-wrap { transition: transform 280ms; }
.card-underline {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease-out;
}
.chevron { transition: transform 240ms; }
.accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms ease-out, opacity 240ms ease-out, padding 240ms ease-out;
}

/* Problem tags */
.problem-tag {
  transition: transform 200ms ease-out, border-color 200ms, background-color 200ms, color 200ms;
}
.problem-tag:hover {
  transform: scale(1.05);
  border-color: var(--teal);
  background-color: var(--paper);
  color: var(--teal);
}

/* Process */
.step-line-fill {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s ease-out;
}
.step-line-fill.active { transform: scaleX(1); }
.step-icon-wrap {
  opacity: 0;
  transform: scale(0.6) translateY(8px);
  transition: opacity 500ms ease-out, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step-icon-wrap.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Reviews */
.review-card { transition: transform 300ms ease-out; }

/* Buttons */
.btn { transition: transform 200ms ease-out, box-shadow 200ms, background-color 200ms, color 200ms, border-color 200ms; }
.btn:active { transform: scale(0.97); }
.btn-primary { box-shadow: 0 4px 14px -4px rgba(14, 124, 123, 0.4); }
.btn-primary:hover { box-shadow: 0 8px 22px -6px rgba(14, 124, 123, 0.55); background-color: var(--teal-deep); }

/* Inputs */
.input-field {
  transition: border-color 200ms, box-shadow 200ms, background-color 200ms;
}
.input-field:focus {
  outline: none;
  border-color: var(--teal);
  background-color: var(--paper);
  box-shadow: 0 0 0 4px rgba(14, 124, 123, 0.12);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Reviews scroll */
.reviews-scroll::-webkit-scrollbar { height: 4px; }
.reviews-scroll::-webkit-scrollbar-track { background: var(--line); border-radius: 2px; }
.reviews-scroll::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

/* Brand logo */
.brand-logo {
  transition: opacity 200ms, transform 200ms, color 200ms;
  opacity: 0.55;
  color: var(--ink);
}
.brand-logo:hover { opacity: 0.9; transform: translateY(-2px); }

/* Map marker illustration pulse */
@keyframes pinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.map-pin { animation: pinPulse 3s ease-in-out infinite; transform-origin: center bottom; }

/* Focus */
input:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
input:focus { outline: none; }

/* Floating label */
.float-label {
  animation: floatLabel 4s ease-in-out infinite;
}
@keyframes floatLabel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-label-2 {
  animation: floatLabel 4s ease-in-out infinite 1.5s;
}
.float-label-3 {
  animation: floatLabel 4s ease-in-out infinite 3s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .trace-line { stroke-dashoffset: 0 !important; opacity: 0.6 !important; }
}

/* === Call Widget === */
.cw { position: fixed; bottom: 28px; right: 28px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cw__panel { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #E0DDD8; border-radius: 12px; padding: 14px 16px; box-shadow: 0 12px 40px rgba(44,43,43,0.15); opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.97); transition: opacity 0.22s ease, transform 0.22s ease; min-width: 210px; }
.cw.is-open .cw__panel { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.cw__label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #6B6862; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.cw__panel a { display: flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #2C2B2B; padding: 8px 0; border-bottom: 1px solid #ECE9E4; transition: color 0.2s; }
.cw__panel a:last-child { border-bottom: none; }
.cw__panel a:hover { color: #0E7C7B; }
.cw__btn { width: 54px; height: 54px; border-radius: 50%; background: #0E7C7B; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(14,124,123,0.45); transition: background 0.2s, transform 0.2s; cursor: pointer; border: none; }
.cw__btn:hover { background: #0A5E5D; transform: scale(1.07); }
.cw.is-open .cw__btn svg.icon-phone { display: none; }
.cw:not(.is-open) .cw__btn svg.icon-close { display: none; }
@media (max-width: 640px) { .cw { bottom: 20px; right: 16px; } }
