/* Tek Motors Service */
:root {
  --graphite: #22262B;
  --graphite-2: #2C3137;
  --graphite-3: #3A4047;
  --alu: #D9DDE1;
  --alu-2: #EDEFF1;
  --white: #F7F8F9;
  --ink: #1A1D21;
  --muted-dark: #A7AEB6;
  --muted-light: #5A626B;
  --m-light: #5AB4E5;
  --m-dark: #1E3D8F;
  --m-red: #E0262B;
  --focus: #5AB4E5;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 10px;

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --step-4: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--alu-2);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }

.h2 {
  font-size: var(--step-3);
  font-weight: 800;
  font-stretch: 112%;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  font: 700 0.9375rem/1 var(--f); font-stretch: 105%;
  text-decoration: none; border-radius: var(--r-sm); border: 2px solid transparent;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s;
}
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--primary { background: var(--m-red); color: #fff; }
.btn--primary:hover { background: #C51E23; }
.btn--ghost { color: var(--white); border-color: rgba(247,248,249,.35); }
.btn--ghost:hover { border-color: var(--white); }
.btn--dark { background: var(--graphite); color: var(--white); }
.btn--dark:hover { background: var(--m-dark); }

.link { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--m-light); }
.link:hover { text-decoration-color: var(--m-red); }

/* Stripe primitive: three bars */
.brand__stripe, .hero__stripe, .footer__stripe { display: flex; }
.brand__stripe i, .hero__stripe i, .footer__stripe i { display: block; flex: 1; }
.brand__stripe i:nth-child(1), .hero__stripe i:nth-child(1), .footer__stripe i:nth-child(1) { background: var(--m-light); }
.brand__stripe i:nth-child(2), .hero__stripe i:nth-child(2), .footer__stripe i:nth-child(2) { background: var(--m-dark); }
.brand__stripe i:nth-child(3), .hero__stripe i:nth-child(3), .footer__stripe i:nth-child(3) { background: var(--m-red); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .25s, box-shadow .25s;
}
.header.is-solid { background: rgba(34,38,43,.96); box-shadow: 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.header__in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand__stripe { width: 26px; height: 26px; gap: 3px; transform: skewX(-18deg); }
.brand__name {
  font-weight: 800; font-stretch: 120%; font-style: italic; font-size: 1.2rem; letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 8px; line-height: 1;
}
.brand__name small { font-weight: 500; font-style: normal; font-stretch: 100%; font-size: .8rem; color: var(--muted-dark); letter-spacing: .02em; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--alu); text-decoration: none; font-size: .9375rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--white); border-bottom-color: var(--m-light); }
.header__cta { min-height: 40px; padding: 0 18px; }
.burger { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--graphite); color: var(--white);
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  padding: 120px 0 96px;
}
.hero::after { /* subtle light falloff from the stripe */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 40%, rgba(90,180,229,.10), transparent 70%);
}
.hero__stripe {
  position: absolute; z-index: 0;
  top: -20%; bottom: -20%; right: 10%;
  width: clamp(120px, 16vw, 230px);
  gap: clamp(8px, 1vw, 14px);
  transform: skewX(-22deg);
  transform-origin: center;
}
.js .hero__stripe i { transform: scaleY(0); transform-origin: top; }
.is-ready .hero__stripe i { animation: draw .9s cubic-bezier(.7,0,.2,1) forwards; }
.is-ready .hero__stripe i:nth-child(2) { animation-delay: .1s; }
.is-ready .hero__stripe i:nth-child(3) { animation-delay: .2s; }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.hero__in { position: relative; z-index: 1; }
.hero__title {
  display: flex; flex-direction: column;
  font-size: clamp(3.4rem, 1.2rem + 9vw, 9rem);
  font-weight: 900; font-stretch: 125%; font-style: italic;
  line-height: .9; letter-spacing: -0.035em;
}
.hero__line { display: block; padding-right: .08em; }
.hero__line--sub {
  font-size: .34em; font-weight: 600; font-stretch: 125%; letter-spacing: .02em;
  color: var(--m-light); margin-top: .35em; padding-left: .12em;
}
/* page-load reveal, runs after the intro */
.js .hero__line, .js .hero__lead, .js .hero__actions { opacity: 0; transform: translateX(-28px); }
.is-ready .hero__line, .is-ready .hero__lead, .is-ready .hero__actions {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.is-ready .hero__line--sub { transition-delay: .12s; }
.is-ready .hero__lead { transition-delay: .24s; }
.is-ready .hero__actions { transition-delay: .36s; }

/* Skid marks */
.skid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.skid__tread { fill: none; stroke: #0E1012; stroke-width: 34; stroke-dasharray: 9 5; }
.skid__smear { fill: none; stroke: #16191C; stroke-width: 50; stroke-linecap: round; opacity: .7; }
.skid--hero { z-index: 0; opacity: .75; }

/* Intro overlay */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 200;
  background: var(--graphite);
  transition: transform .7s cubic-bezier(.75,0,.2,1);
}
.intro.is-leaving { transform: translateY(-100%); }
.intro.is-gone { display: none; }
.skid__reveal { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro.is-playing .skid__reveal { animation: skid 1.05s cubic-bezier(.55,.05,.25,1) forwards; }
@keyframes skid { to { stroke-dashoffset: 0; } }
.intro__mark {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 18px; color: var(--white);
  opacity: 0; transform: translateX(-40px) skewX(-8deg);
}
.intro.is-playing .intro__mark { animation: markIn .55s .75s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes markIn { to { opacity: 1; transform: none; } }
.intro__mark .brand__stripe { width: 46px; height: 46px; gap: 5px; }
.intro__name { font-weight: 900; font-style: italic; font-stretch: 125%; font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -0.03em; line-height: 1; }
.hero__lead { margin-top: 32px; max-width: 54ch; color: var(--alu); font-size: var(--step-1); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Brands */
.brands { background: var(--alu); padding: 88px 0; }
.brands__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.brands__head p { color: var(--muted-light); max-width: 52ch; }
.brands__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #C4C9CE; border-radius: var(--r-md); overflow: hidden; }
.plate {
  background: var(--alu-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: 44px 20px 28px; min-height: 230px;
}
.plate img { height: 96px; width: auto; max-width: 170px; object-fit: contain; transition: transform .3s; }
.plate:hover img { transform: scale(1.04); }
.plate span { font-weight: 600; font-size: var(--step--1); color: var(--muted-light); }

.partner {
  display: flex; align-items: center; gap: 32px;
  margin-top: 2px; padding: 26px 32px;
  background: var(--alu-2); border-radius: 0 0 var(--r-md) var(--r-md);
  border-top: 2px solid #C4C9CE;
}
.brands__row { border-radius: var(--r-md) var(--r-md) 0 0; }
.partner img { height: 64px; width: auto; max-width: 180px; object-fit: contain; }
.partner p { color: var(--muted-light); font-size: var(--step-1); }
.partner strong { color: var(--ink); }
.partner.no-logo img { display: none; }

/* Services */
.services { background: var(--alu-2); padding: 104px 0; }
.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.services__intro p { margin: 20px 0 24px; color: var(--muted-light); max-width: 40ch; }
.services__intro { position: sticky; top: 104px; align-self: start; }
.services__list { border-top: 2px solid var(--ink); }
.svc { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid #C4C9CE; }
.svc dt { font-weight: 800; font-stretch: 108%; font-size: var(--step-1); line-height: 1.2; }
.svc dd { color: var(--muted-light); }

/* Process: the stripe becomes the track */
.process { background: var(--graphite); color: var(--white); padding: 104px 0; }
.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; padding-top: 44px; counter-reset: s; }
.track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px;
  background: linear-gradient(to bottom, var(--m-light) 0 3px, var(--m-dark) 3px 6px, var(--m-red) 6px 9px);
  border-radius: 2px;
}
.track__step { position: relative; counter-increment: s; }
.track__dot {
  position: absolute; top: -52px; left: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--graphite); border: 3px solid var(--white);
}
.track__step h3 { font-size: var(--step-2); font-weight: 800; font-style: italic; font-stretch: 112%; margin-bottom: 10px; }
.track__step h3::before { content: counter(s) " "; color: var(--m-light); font-stretch: 100%; }
.track__step p { color: var(--muted-dark); max-width: 30ch; }

/* Booking */
.booking { background: var(--alu-2); padding: 104px 0; }
.booking__grid { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.booking__copy p { margin-top: 20px; color: var(--muted-light); max-width: 40ch; }
.booking__alt a { font-weight: 700; color: var(--ink); }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px;
  background: #fff; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-md);
  border: 1px solid #D3D7DB;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full, .field--brands { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: .9375rem; padding: 0; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--alu-2); border: 1px solid #C4C9CE; border-radius: var(--r-sm);
  padding: 12px 14px; width: 100%; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--m-dark); box-shadow: 0 0 0 3px rgba(30,61,143,.18); background: #fff; }
.field__err { display: none; color: var(--m-red); font-size: var(--step--1); font-weight: 600; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input { border-color: var(--m-red); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid #C4C9CE; border-radius: 999px; background: var(--alu-2);
  font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.chip input:checked + span { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Contact */
.contact { background: var(--alu); padding: 104px 0; }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: stretch; }
.contact__list { margin: 32px 0 36px; display: grid; gap: 22px; }
.contact__list dt { font-size: var(--step--1); color: var(--muted-light); font-weight: 600; margin-bottom: 4px; }
.contact__list dd { font-size: var(--step-1); font-weight: 600; line-height: 1.35; }
.contact__list a { text-decoration: none; border-bottom: 2px solid var(--m-light); }
.contact__map { border-radius: var(--r-md); overflow: hidden; min-height: 380px; background: #C4C9CE; }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(.6); }

/* Footer */
.footer { background: var(--graphite); color: var(--muted-dark); }
.footer__stripe { height: 9px; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 36px; font-size: var(--step--1); }
.footer .brand__name { color: var(--white); }
.footer a { color: var(--alu); text-decoration: none; }
.footer a:hover { color: #fff; }

/* WhatsApp button */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Responsive */
@media (max-width: 960px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--graphite); padding: 8px var(--gutter) 24px;
    transform: translateY(-120%); transition: transform .3s; margin: 0;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--graphite-3); font-size: 1.0625rem; }
  .header { background: rgba(34,38,43,.96); }
  .header__cta { margin-left: auto; }
  .burger {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .burger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform .2s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .brands__head, .services__grid, .booking__grid, .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .services__intro { position: static; }
  .brands__row { grid-template-columns: repeat(2, 1fr); }
  .track { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}
@media (max-width: 640px) {
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .hero { min-height: 0; padding: 120px 0 80px; }
  .hero__stripe { right: -70px; width: 110px; opacity: .32; }
  .partner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 20px; }
  .hero__actions .btn { width: 100%; }
  .brands, .services, .process, .booking, .contact { padding: 72px 0; }
  .plate { min-height: 170px; padding: 30px 12px 20px; }
  .plate img { height: 64px; max-width: 120px; }
  .svc { grid-template-columns: 1fr; gap: 8px; }
  .form { grid-template-columns: 1fr; }
  /* vertical track on phones */
  .track { grid-template-columns: 1fr; padding: 0 0 0 40px; margin-top: 40px; row-gap: 36px; }
  .track::before { top: 0; bottom: 0; left: 0; right: auto; width: 9px; height: auto;
    background: linear-gradient(to right, var(--m-light) 0 3px, var(--m-dark) 3px 6px, var(--m-red) 6px 9px); }
  .track__dot { top: 4px; left: -48px; }
  .contact__map, .contact__map iframe { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__stripe i, .is-ready .hero__stripe i { animation: none; transform: none; }
  .js .hero__line, .js .hero__lead, .js .hero__actions { opacity: 1; transform: none; }
  .js .intro { display: none; }
  * { transition: none !important; }
}
