@font-face {
  font-family: Archivo;
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0B0B0C;
  --surface: #111113;
  --card: #141416;
  --card-2: #18181B;
  --line: #232327;
  --line-2: #27272A;
  --line-strong: #3F3F46;
  --text: #FAFAFA;
  --text-2: #D4D4D8;
  --text-3: #E4E4E7;
  --muted: #A1A1AA;
  --accent: #E11D2E;
  --accent-hover: #C41626;
  --error: #FCA5A5;

  --font-display: Archivo, 'Arial Narrow', Arial, sans-serif;
  --font-body: Archivo, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --header-height: 69px;
  --mobile-bar-height: 77px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 8px);
}

body {
  margin: 0;
  padding-bottom: var(--mobile-bar-height);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

h1, h2 {
  font-family: var(--font-display);
  font-stretch: 78%;
  font-weight: 800;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1;
}

/* Tools standing in for letters, sized to the capital height */
.tool {
  display: inline-block;
  width: .7em;
  height: .7em;
  margin: 0 .03em;
  color: var(--accent);
  vertical-align: -.007em;
  overflow: visible;
}

.tool-word { white-space: nowrap; }
.tool-wrench { width: .28em; margin: 0 .05em; }
.tool-driver { width: .21em; margin: 0 .06em; }

:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 2px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

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

.section { padding: 64px 0; }

.section-alt {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}

.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: .7; cursor: wait; }

.btn-outline { border-color: var(--line-strong); color: #FFFFFF; font-weight: 700; }
.btn-outline:hover { border-color: #FFFFFF; }

.btn-outline-white { border-color: #FFFFFF; color: #FFFFFF; font-weight: 700; }
.btn-outline-white:hover { background: #FFFFFF; color: var(--bg); }

.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 18px; }
.btn-lg .icon { width: 20px; height: 20px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 11, 12, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 21px;
  font-stretch: 82%;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

.main-nav { display: none; }

.header-call {
  flex: none;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.call-long { display: none; }

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-photo figcaption { display: none; }

.live-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.8);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22C55E;
}

#live-time { color: var(--text-2); font-weight: 500; }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 8, 9, 0.74);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.eyebrow {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

h1 {
  font-size: min(calc((100vw - 48px) / 7.75), 96px);
  line-height: .98;
}

.h1-accent { display: block; color: var(--accent); }

.hero-sub {
  max-width: 620px;
  color: var(--text-3);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 12px;
  color: var(--text-3);
  font-size: 15px;
  font-weight: 600;
}

.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--accent); stroke-width: 3; }

/* Services */
.services-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.services-head p {
  max-width: 380px;
  color: var(--muted);
  font-size: 18px;
}

.symptoms { display: grid; gap: 24px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
}

.pill {
  min-height: 50px;
  padding: 12px 20px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: #FFFFFF;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}

.pill:hover { border-color: #FFFFFF; }

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

.diagnosis {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--card);
  scroll-margin-top: calc(var(--header-height) + 12px);
  scroll-margin-bottom: calc(var(--mobile-bar-height) + 12px);
}

.diagnosis-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.diamond {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}

.diagnosis h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.diagnosis-why { color: var(--text-2); font-size: 17px; }
.diagnosis-fix { color: var(--muted); }
.diagnosis-fix strong { color: var(--text); }

.diagnosis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

/* Numbers */
.numbers { background: var(--accent); color: #FFFFFF; }

.numbers-inner {
  display: grid;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.number {
  display: flex;
  flex-direction: column;
  padding: 4px 0 4px 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.45);
}

.number strong {
  font-family: var(--font-display);
  font-size: clamp(46px, 5vw, 64px);
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.number span { font-weight: 700; }

/* Brand marquee */
.brands {
  position: relative;
  padding: 32px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.brands-label {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
}

.marquee { overflow: hidden; }

.marquee-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
}

.brand-name {
  display: flex;
  flex: none;
  align-items: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 34px;
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Small red diamond after every name, so the loop reads as one long line */
.brand-name::after {
  content: '';
  width: 8px;
  height: 8px;
  margin: 0 26px;
  background: var(--accent);
  transform: rotate(45deg);
}

.marquee-track.is-looping {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Steps */
#how h2 { margin-bottom: 40px; }

.steps { display: grid; gap: 32px; }

.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 3px solid var(--accent);
}

.step-label {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); }

/* Real work */
.work { display: grid; align-items: center; gap: 40px; }

.work-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.work-copy p { color: var(--muted); font-size: 18px; }

.work-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-bottom: 32px;
}

.work-photos figure { margin: 0; min-width: 0; }

.photo-frame {
  height: clamp(260px, 70vw, 460px);
  overflow: hidden;
  border-radius: 14px;
  background: var(--card-2);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-photos figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.tiktok-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  height: clamp(260px, 70vw, 460px);
  padding: 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
  position: relative;
  top: 32px;
  transition: background-color .15s;
}

.tiktok-tile:hover { background: var(--accent-hover); }

.tiktok-kicker {
  margin-bottom: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tiktok-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 46px);
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.tiktok-sub { font-size: 15px; font-weight: 600; }
.tiktok-tile .icon { width: 24px; height: 24px; margin-top: 6px; }

/* Quote */
.section-quote {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.section-quote h2 { margin-bottom: 40px; }

.quote-grid { display: grid; align-items: start; gap: 32px; }

.quote-panel {
  padding: 24px 20px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--card-2);
}

#quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#quote-form[hidden] { display: none; }

.field-row { display: grid; gap: 18px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input[type="file"] { padding: 10px; color: var(--text-2); }
.field [aria-invalid="true"] { border: 2px solid var(--error); }

.field-error,
.form-error {
  color: var(--error);
  font-size: 15px;
  font-weight: 600;
}

.form-note { color: var(--muted); font-size: 15px; }
.form-note a { color: var(--text-2); }

.field-hint { color: var(--muted); font-size: 14px; }

/* Spam trap: people never see it, bots fill it in */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile:empty { display: none; }

.form-result {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-result[hidden] { display: none; }
.form-result:focus { outline: none; }

.form-result h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.form-result p { color: var(--text-2); }
.form-result p a { color: var(--text); font-weight: 700; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item { display: flex; gap: 14px; min-width: 0; }

.contact-item .icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--accent);
}

.contact-item > div { min-width: 0; }
.contact-item h3 { font-size: 17px; }
.contact-item p { color: var(--muted); }

.contact-item a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

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

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.footer-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-stretch: 82%;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.footer-tagline { color: var(--muted); font-size: 14px; }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-2);
}

.footer-social a:hover { color: #FFFFFF; }

.footer-legal {
  width: 100%;
  color: var(--muted);
  font-size: 13px;
}

.footer-legal a { color: var(--text-2); }

/* Phone sticky bar */
.mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-2);
  background: rgba(11, 11, 12, 0.96);
}

.mobile-bar a {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 52px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.mobile-call { background: var(--accent); color: #FFFFFF; }
.mobile-text { background: #FFFFFF; color: var(--bg); }
.mobile-whatsapp { background: var(--line-2); color: #FFFFFF; }

@media (prefers-reduced-motion: reduce) {
  .btn, .pill { transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Soft reveal as each part scrolls into view */
  .js :is(.services-head, .pills, .diagnosis, .number, .brands-label, .marquee, #how h2, .steps li, .work-copy, .work-photos > *, .section-quote h2, .quote-panel, .contact-item, .footer-inner):not(.is-in) {
    opacity: 0;
  }

  .is-in { animation: rise .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) backwards; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
  }

  /* Tools turn into place with their heading */
  .tool-gear { animation: turn 26s linear infinite; }
  .is-in .tool-wrench, .is-in .tool-driver { animation: swing 1s cubic-bezier(.2, .7, .2, 1) .1s backwards; }
  .is-in .tool-wheel { animation: roll 1.2s cubic-bezier(.2, .7, .2, 1) .1s backwards; }
  .is-in .tool-nut { animation: tighten 1s cubic-bezier(.2, .7, .2, 1) .1s backwards; }

  @keyframes turn { to { transform: rotate(360deg); } }
  @keyframes swing { from { transform: rotate(-32deg); } }
  @keyframes roll { from { transform: translateX(-.5em) rotate(-240deg); } }
  @keyframes tighten { from { transform: rotate(-120deg); } }

  .live-dot { animation: pulse 2.6s ease-out infinite; }

  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  }

  /* Photos and logos ease into focus once they've loaded */
  .photo-frame {
    background: linear-gradient(100deg, var(--card-2) 30%, #26262B 50%, var(--card-2) 70%) 0 0 / 220% 100%;
    animation: shimmer 1.6s linear infinite;
  }

  .photo-frame:has(img.is-loaded) { animation: none; }

  .photo-frame img { transition: opacity .8s ease, filter .9s ease, transform 1.1s ease; }

  .js .photo-frame img:not(.is-loaded) {
    opacity: 0;
    filter: blur(14px);
    transform: scale(1.05);
  }

  @keyframes shimmer {
    from { background-position: 120% 0; }
    to { background-position: -120% 0; }
  }
}

@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .quote-panel { padding: 28px; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }

  .section { padding: 96px 0; }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
  }

  .main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-2);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
  }

  .main-nav a:hover { color: #FFFFFF; }

  .call-short { display: none; }
  .call-long { display: inline; }

  .hero-inner { padding-top: 96px; padding-bottom: 96px; }
  .hero-sub { font-size: 19px; }

  .diagnosis { padding: 32px; }

  .numbers-inner { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }

  .work-photos { gap: 16px; padding-bottom: 48px; }
  .photo-frame, .tiktok-tile { height: 460px; }
  .tiktok-tile { top: 48px; padding: 24px; }
}

@media (min-width: 1024px) {
  .main-nav { gap: 24px; }

  h1 { font-size: min(calc((100vw - 448px) / 7.75), 96px); }

  .hero::after { display: none; }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 40px;
  }

  .hero-photo {
    position: relative;
    inset: auto;
    z-index: 0;
  }

  .hero-photo img {
    height: 520px;
    border-radius: 14px;
  }

  .hero-photo figcaption {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
  }

  .symptoms {
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
  }

  .work {
    grid-template-columns: 1fr 1.25fr;
    gap: 48px;
  }

  .quote-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }
}

/* Privacy and 404 pages */
.plain-page { padding-bottom: 0; }

.legal { max-width: 760px; }
.legal h1 { margin-bottom: 20px; }

.legal h2 {
  margin: 36px 0 10px;
  font-size: 30px;
}

.legal p { color: var(--text-2); font-size: 17px; }
.legal p + p { margin-top: 14px; }
.legal a:not(.btn) { color: var(--text); }
.legal .btn { margin-top: 28px; }

.legal-lead { font-size: 19px; }

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
