/* ============ The Mechanic ATX ============ */
:root {
  --red: #e8232b;
  --red-dark: #b5121a;
  --bg: #0d0f12;
  --bg-alt: #14171c;
  --card: #1a1e24;
  --line: #262b33;
  --text: #eef0f3;
  --muted: #9aa3af;
  --heading: "Barlow Condensed", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--heading);
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.05;
}

h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1.2rem; }

.kicker {
  color: var(--red);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: .8rem;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 24px rgba(232, 35, 43, .35);
}
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255,255,255,.03);
}
.btn-ghost:hover { border-color: #25d366; color: #25d366; }
.btn-light { background: #fff; color: #111; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 18, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}
.brand img { width: 180px; height: auto; }
.nav { display: flex; gap: 30px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
}
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-header { padding: 10px 18px; font-size: .88rem; }

.lang-toggle {
  font-family: var(--body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 1px;
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 8px 13px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--red); color: var(--red); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-burger span {
  width: 24px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-glow {
  position: absolute;
  top: -30%; right: -15%;
  width: 70%; height: 130%;
  background: radial-gradient(ellipse at center, rgba(232,35,43,.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 48px;
  padding-top: 64px;
}
.hero-copy { padding-bottom: 64px; }
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--red);
  display: block;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 2.2rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
}
.hero-photo {
  align-self: end;
  position: relative;
}
.hero-photo img {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.55));
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--red);
  color: #fff;
}
.trustbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 24px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: var(--heading);
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
}
.trust-item span { font-size: .85rem; opacity: .92; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232,35,43,.55);
}
.service-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  background: rgba(232,35,43,.12);
  color: var(--red);
  border-radius: 12px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .93rem; }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-photos { position: relative; }
.about-main {
  border-radius: 18px;
  width: 100%;
  max-width: 400px;
}
.about-float {
  position: absolute;
  right: -10px; bottom: -30px;
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 5px solid var(--bg-alt);
  box-shadow: 0 14px 34px rgba(0,0,0,.5);
}
.about-copy p { color: var(--muted); margin-bottom: 1rem; }
.about-list {
  list-style: none;
  margin: 1.4rem 0 2rem;
}
.about-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: .7rem;
  font-weight: 500;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  background: var(--red);
  border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12l5 5 11-11"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12l5 5 11-11"/></svg>') center/contain no-repeat;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-inner .hero-ctas { justify-content: center; margin-top: 1.8rem; }
.cta-banner p { opacity: .93; max-width: 520px; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  margin-top: 2.5rem;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-content: start;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
}
.contact-card h3 {
  font-size: 1.05rem;
  color: var(--red);
  margin-bottom: .4rem;
}
.contact-card p, .contact-card a {
  color: var(--text);
  font-size: .95rem;
  text-decoration: none;
  word-break: break-word;
}
.contact-card a:hover { color: var(--red); }
.contact-map {
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact-map iframe { min-height: 380px; filter: grayscale(.2) contrast(1.05); }

/* ---------- Footer ---------- */
.footer {
  background: #0a0c0e;
  border-top: 1px solid var(--line);
  padding: 54px 0 40px;
  text-align: center;
}
.footer-brand img { margin: 0 auto 14px; width: 200px; }
.footer-brand p { color: var(--muted); font-size: .92rem; }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 26px 0;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--muted);
  transition: border-color .2s, color .2s, transform .15s;
}
.footer-social a:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-3px);
}
.footer-copy { color: #5b636e; font-size: .85rem; }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  transition: transform .15s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-copy { padding-bottom: 0; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 300px; }
  .about-inner { grid-template-columns: 1fr; gap: 72px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .trustbar-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 24px; font-size: 1.05rem; }
  .nav-burger { display: flex; }
  .btn-header span { display: none; }
  .btn-header { padding: 10px 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .brand img { width: 150px; }
  .about-float { width: 140px; height: 140px; bottom: -20px; }
}
