:root {
  --bg: oklch(98.5% 0.006 210);
  --surface: oklch(100% 0 0);
  --fg: oklch(24% 0.035 215);
  --muted: oklch(50% 0.026 215);
  --border: oklch(91% 0.012 210);
  --accent: oklch(60.1% 0.106 215.0);
  --phoenix-green: oklch(75.8% 0.167 121.7);
  --phoenix-teal-soft: oklch(93% 0.026 210);
  --phoenix-green-soft: oklch(94% 0.050 124);
  --ink-soft: oklch(36% 0.030 215);
  --success: oklch(64% 0.120 145);
  --warning: oklch(76% 0.130 88);
  --font-display: 'Avenir Next', 'Sohne', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', ui-monospace, Menlo, monospace;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 70px color-mix(in oklch, var(--accent) 12%, transparent);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fg);
  background:
    radial-gradient(circle at top left, color-mix(in oklch, var(--phoenix-teal-soft) 74%, transparent), transparent 36rem),
    linear-gradient(180deg, var(--bg), oklch(99.5% 0.003 210) 44rem, var(--surface));
  font-family: var(--font-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.container {
  width: min(var(--max), calc(100% - clamp(32px, 6vw, 80px)));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in oklch, var(--border) 76%, transparent);
  background: color-mix(in oklch, var(--bg) 88%, white 12%);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 140px;
  height: auto;
  margin: 12px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.nav-links a {
  transition: color 160ms ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="true"] {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-button svg {
  width: 20px;
  height: 20px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 30px color-mix(in oklch, var(--accent) 24%, transparent);
}

.btn-secondary {
  color: var(--accent);
  background: color-mix(in oklch, var(--surface) 84%, var(--phoenix-teal-soft));
  border-color: color-mix(in oklch, var(--accent) 16%, var(--border));
}

.hero {
  padding: 50px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent);
  font: 700 0.78rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--phoenix-green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
  color: var(--fg);
}

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6.2vw, 3rem);
  line-height: 0.96;
  font-weight: 760;
  text-wrap: balance;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.33rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in oklch, var(--surface) 86%, transparent);
  overflow: hidden;
}

.proof-item {
  padding: 22px;
  border-right: 1px solid var(--border);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-kpi {
  display: block;
  font: 760 clamp(1.5rem, 3vw, 2.5rem)/1 var(--font-display);
  color: var(--accent);
}

.proof-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.document-stack {
  position: relative;
  display: grid;
  gap: 18px;
  z-index: 1;
}

.doc-panel {
  border: 1px solid color-mix(in oklch, var(--accent) 16%, var(--border));
  border-radius: 20px;
  background: var(--surface);
  padding: 22px;
}

.doc-panel:first-child {
  min-height: 212px;
}

.doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.doc-label {
  color: var(--accent);
  font: 700 0.76rem/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.doc-status {
  border-radius: 999px;
  padding: 7px 10px;
  color: color-mix(in oklch, var(--success) 62%, var(--fg));
  background: color-mix(in oklch, var(--success) 12%, white);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.line {
  height: 10px;
  border-radius: 999px;
  background: var(--border);
  margin-bottom: 12px;
}

.line.short {
  width: 68%;
}

.line.accent {
  width: 46%;
  background: color-mix(in oklch, var(--accent) 42%, var(--border));
}

.doc-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  border-radius: 14px;
  background: var(--bg);
  padding: 14px;
}

.metric strong {
  display: block;
  color: var(--fg);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: clamp(64px, 9vw, 116px) 0;
  border-top: 1px solid color-mix(in oklch, var(--border) 72%, transparent);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.52fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 2.875rem);
  line-height: 1.02;
  font-weight: 740;
  text-wrap: balance;
}

.section-intro {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  text-wrap: pretty;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: stretch;
}

.editorial-block {
  border-left: 3px solid var(--accent);
  padding-left: clamp(22px, 4vw, 38px);
}

.editorial-block p {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
  line-height: 1.65;
}

.experience-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 4vw, 34px);
}

.experience-number {
  color: var(--accent);
  font: 760 clamp(3.5rem, 8vw, 7.5rem)/0.9 var(--font-display);
  letter-spacing: 0;
}

.experience-panel h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.experience-panel p {
  color: var(--muted);
}

.services-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-btn[aria-pressed="true"] {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: color-mix(in oklch, var(--surface) 92%, var(--bg));
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-2px);
  border-color: color-mix(in oklch, var(--accent) 36%, var(--border));
  background: var(--surface);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: color-mix(in oklch, var(--phoenix-teal-soft) 72%, white);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 0;
  font-size: 1.18rem;
  line-height: 1.18;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.process {
  background: linear-gradient(180deg, color-mix(in oklch, var(--phoenix-teal-soft) 64%, white), var(--surface));
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.step {
  padding: 24px;
  min-height: 238px;
  border-right: 1px solid var(--border);
}

.step:last-child {
  border-right: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 999px;
  color: var(--accent);
  background: color-mix(in oklch, var(--accent) 10%, white);
  font: 800 0.84rem/1 var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.16;
}

.step p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.reason-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 24px;
}

.reason-card strong {
  display: block;
  margin-bottom: 12px;
  font: 740 1.1rem/1.2 var(--font-display);
  color: var(--fg);
}

.reason-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-section {
  padding-bottom: clamp(72px, 10vw, 132px);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 70px);
  border: 1px solid color-mix(in oklch, var(--accent) 20%, var(--border));
  border-radius: 28px;
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--surface) 88%, var(--phoenix-teal-soft)), var(--surface) 62%),
    var(--surface);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
}

.contact-copy h2 {
  margin-bottom: 22px;
}

.contact-copy p {
  max-width: 610px;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 160ms ease;
}

.contact-phone:hover {
  opacity: 0.76;
}

.check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 999px;
  color: var(--fg);
  background: var(--phoenix-green);
  font-size: 0.82rem;
  font-weight: 900;
}

.form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in oklch, var(--surface) 94%, var(--bg));
  padding: clamp(20px, 3vw, 28px);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--fg);
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--fg);
  padding: 13px 14px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: color-mix(in oklch, var(--accent) 58%, var(--border));
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 12%, transparent);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer img {
  width: 128px;
  opacity: 0.9;
}

.footer-copy {
  display: grid;
  gap: 6px;
}

.footer-copy span {
  display: block;
}

.footer-phone {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-phone:hover {
  color: var(--accent);
}

/* ── WhatsApp FAB ───────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px oklch(0% 0 0 / 22%);
  transition: transform 200ms ease, box-shadow 200ms ease;
  text-decoration: none;
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px oklch(0% 0 0 / 30%);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 520px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: color-mix(in oklch, var(--surface) 88%, var(--bg));
  color: var(--ink-soft);
  padding: 0;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.social-link svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in oklch, var(--accent) 34%, var(--border));
  background: color-mix(in oklch, var(--surface) 78%, var(--phoenix-teal-soft));
  color: var(--accent);
}

.mobile-panel {
  display: none;
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 680px;
    border-radius: 28px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step {
    border-bottom: 1px solid var(--border);
  }

  .step:nth-child(2n) {
    border-right: 0;
  }

  .step:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .mobile-panel {
    display: grid;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    transition: max-height 180ms ease, padding 180ms ease, border-color 180ms ease;
  }

  .mobile-panel[data-open="true"] {
    max-height: 360px;
    padding: 0 0 18px;
    border-color: var(--border);
  }

  .mobile-panel a {
    display: flex;
    min-height: 42px;
    align-items: center;
    color: var(--ink-soft);
  }

  .hero {
    padding-top: 52px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .services-grid,
  .steps,
  .reasons-grid,
  .doc-metrics {
    grid-template-columns: 1fr;
  }

  .step,
  .step:nth-child(2n),
  .step:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    min-height: auto;
  }

  .step:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-inner {
    min-height: 68px;
  }

  .brand img {
    width: 148px;
  }

  .hero-actions,
  .services-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .filter-btn {
    width: 100%;
  }

  .hero-card {
    border-radius: 22px;
  }

  .contact-card {
    border-radius: 22px;
  }
}
