/* ============================================================
   LUXO TRUCKS — Mobile Truck Mechanic Service
   Réplica fiel del sitio original (Wix) en HTML/CSS/JS estático
   ============================================================ */

:root {
  --orange: #ff4d00;
  --orange-dark: #e64500;
  --black: #0e0e0e;
  --ink: #141414;
  --ink-2: #1c1c1c;
  --white: #ffffff;
  --grey: #8a8a8a;
  --grey-light: #c7c7c7;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.12);
  --maxw: 1280px;
  --nav-h: 84px;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-label {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--black);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  z-index: 100;
}
.nav--solid {
  position: sticky;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
}
.nav__logo img { height: 56px; width: auto; display: block; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav__menu a {
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.nav__menu a:hover,
.nav__menu a.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav__cta { margin-left: 1rem; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--black);
  padding-bottom: 60px;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__bg::after { content: ""; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0.65) 0%, rgba(14,14,14,0.25) 40%, rgba(14,14,14,0.55) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero__title {
  font-size: clamp(3rem, 9vw, 7.5rem);
  max-width: 12ch;
}
.hero__card {
  background: var(--orange);
  color: var(--black);
  display: flex;
  gap: 1.2rem;
  align-items: center;
  padding: 1.1rem;
  max-width: 430px;
  border-radius: 2px;
}
.hero__card img {
  width: 130px; height: 130px;
  object-fit: cover;
  flex-shrink: 0;
}
.hero__card-text { font-size: 0.95rem; font-weight: 500; }
.hero__card-text a {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero__card-text a .lang {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; opacity: 0.7;
}

/* Teléfonos en la página de contacto */
.contact__phones { display: flex; gap: 2.5rem; margin-top: 1.8rem; flex-wrap: wrap; }
.contact__phone { display: flex; flex-direction: column; gap: 0.25rem; }
.contact__phone .phone-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.7; color: var(--grey-light);
}
.contact__phone a { font-family: var(--font-display); font-size: 1.7rem; color: var(--orange); text-decoration: none; letter-spacing: 0.02em; }
.contact__phone a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   SECCIONES
   ============================================================ */
.section { padding: 120px 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 70px;
  flex-wrap: wrap;
}
.section__head p { max-width: 420px; color: inherit; opacity: 0.85; }

/* Services grid */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.service__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1.2rem;
}
.service h3 {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.service p { color: var(--grey-light); font-size: 0.98rem; }
.section:not(.section--dark):not(.section--ink) .service p { color: var(--grey); }

/* Difference (titulares gigantes apilados) */
.difference__list { border-top: 1px solid var(--line); }
.section:not(.section--dark):not(.section--ink) .difference__list { border-top-color: var(--line-dark); }
.difference__item {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(2.2rem, 7vw, 5.5rem);
}
.section:not(.section--dark):not(.section--ink) .difference__item { border-bottom-color: var(--line-dark); }

/* Guiding principles (label izq + texto der) */
.principles { border-top: 1px solid var(--line-dark); }
.principle {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
}
.principle__title {
  font-size: clamp(2rem, 6vw, 4.5rem);
}
.principle__desc { color: var(--grey); font-size: 1.05rem; }

/* Commitment (split naranja + imagen) */
.commitment { display: grid; grid-template-columns: 1fr 1.4fr; min-height: 640px; }
.commitment__panel {
  background: var(--orange);
  color: var(--black);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.commitment__panel h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.commitment__panel p { font-size: 1.05rem; max-width: 38ch; }
.commitment__img { width: 100%; height: 100%; object-fit: cover; }

/* Trusted (texto izq, imagen centro, texto der) */
.trusted {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 3rem;
  align-items: center;
}
.trusted__title { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.trusted__img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.trusted__desc { color: var(--grey); align-self: flex-end; }

/* Reviews */
.reviews { display: flex; flex-direction: column; }
.review {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--line-dark);
}
.review:first-child { border-top: 1px solid var(--line-dark); }
.review__quote { font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 300; letter-spacing: -0.01em; line-height: 1.12; }
.review__author { text-align: right; min-width: 160px; }
.review__author strong { display: block; text-transform: uppercase; font-weight: 600; letter-spacing: 0.04em; }
.review__author span { color: var(--grey); font-size: 0.95rem; }

/* Image section full-bleed */
.imgband img { width: 100%; height: clamp(360px, 60vh, 680px); object-fit: cover; }

/* ============================================================
   PAGE HERO (sub-páginas)
   ============================================================ */
.pagehero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--black);
  padding-bottom: 70px;
}
.pagehero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.pagehero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,14,0.6), rgba(14,14,14,0.2) 45%, rgba(14,14,14,0.55)); z-index: 1; }
.pagehero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.pagehero__title { font-size: clamp(3rem, 8.5vw, 6.5rem); max-width: 14ch; }
.pagehero__sub { max-width: 320px; opacity: 0.9; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.contact__intro { margin-bottom: 2.5rem; }
.contact__intro h1 { font-size: clamp(3rem, 6vw, 5.5rem); margin-bottom: 1rem; }
.contact__intro p { color: var(--grey-light); max-width: 46ch; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.95rem; margin-bottom: 0.5rem; }
.field input,
.field select,
.field textarea {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--orange); }
.field textarea { resize: vertical; min-height: 64px; }
.field select option { color: #000; }
.contact__img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.form-note { font-size: 0.85rem; color: var(--grey); margin-top: 1rem; }
.form-success { display: none; color: var(--orange); font-weight: 600; margin-top: 1rem; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal { padding: calc(var(--nav-h) + 80px) 0 120px; background: var(--black); color: var(--white); }
.legal__title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 3rem; }
.legal h2 { font-size: 1.7rem; font-weight: 700; margin: 2.5rem 0 1rem; }
.legal p { color: var(--grey-light); max-width: 70ch; margin-bottom: 1rem; }
.legal a { color: var(--orange); text-decoration: underline; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.pf-card { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4/3; }
.pf-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pf-card:hover img { transform: scale(1.05); }
.pf-card__cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 1.4rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
}
.pf-card__cap h3 { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.05; letter-spacing: 0.02em; }
.pf-card__cap span { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: var(--white); }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 40px 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer__logo { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: 0.02em; }
.footer__logo-img { height: 104px; width: auto; display: block; }
.footer__social { display: flex; gap: 2rem; }
.footer__social a { text-transform: uppercase; letter-spacing: 0.04em; text-decoration: underline; text-underline-offset: 5px; }
.footer__band { background: var(--orange); color: var(--black); }
.footer__band-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.footer__addr { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: 0.01em; }
.footer__email { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.footer__phones { display: flex; flex-direction: column; align-items: flex-end; gap: 0.9rem; }
.footer__phone {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  text-decoration: underline; text-underline-offset: 4px;
  text-align: right; line-height: 1;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.2rem;
}
.phone-label {
  font-family: var(--font-body);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; opacity: 0.72;
}
.footer__legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  background: var(--orange);
  color: var(--black);
  border-top: 1px solid rgba(0,0,0,0.15);
}
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; font-size: 0.95rem; }
.footer__legal .copy { margin-left: auto; font-size: 0.9rem; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.svc-hero__panel {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 360px;
}
.svc-list__item { display: flex; align-items: center; gap: 1rem; color: var(--white); }
.svc-list__ico {
  width: 56px; height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.svc-list__ico svg { width: 26px; height: 26px; }
.svc-list__txt { font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.95rem; line-height: 1.25; }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #000; }

/* Card expand ("Mostrar más") */
.service p strong { font-weight: 600; color: inherit; }
.svc-checklist { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.svc-checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--grey);
  font-size: 0.95rem;
}
.svc-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
}
.service__more { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.service__more.is-open { max-height: 700px; }
.service__toggle {
  margin-top: 0.7rem;
  background: none; border: none;
  color: inherit; font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
  padding: 0;
}

/* CTA band */
.cta { background: var(--white); }
.cta__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  padding: 110px 0;
  flex-wrap: wrap;
}
.cta__title { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 13ch; color: var(--black); }
.cta__right { max-width: 320px; }
.cta__right p { margin-bottom: 1.6rem; color: var(--grey); }
.cta__img img { width: 100%; height: clamp(360px, 62vh, 660px); object-fit: cover; display: block; }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.price-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--orange); }
.price-card--featured { border-color: var(--orange); }
.price-card__media {
  background: #000;
  padding: 1.4rem;
  text-align: center;
}
.price-card__media img { width: 100%; aspect-ratio: 3/2; object-fit: contain; }
.price-card__body { padding: 1.6rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.price-card__tag {
  align-self: flex-start;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--orange); color: var(--black);
  padding: 0.25rem 0.7rem; border-radius: 3px; font-weight: 600;
  margin-bottom: 0.6rem;
}
.price-card__name { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--white); }
.price-card__price { font-family: var(--font-display); font-size: 2.6rem; color: var(--orange); line-height: 1.1; margin-bottom: 0.4rem; }
.price-card__price small { font-size: 1rem; color: var(--grey-light); font-family: var(--font-body); }
.price-card__sub { color: var(--grey-light); font-weight: 600; margin: 0.4rem 0 0.2rem; }
.price-card__list { list-style: none; padding: 0; margin: 0.4rem 0 1.6rem; }
.price-card__list li {
  position: relative; padding-left: 1.4rem; margin-bottom: 0.45rem;
  color: var(--grey-light); font-size: 0.97rem;
}
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; background: var(--orange); border-radius: 50%;
}
.price-card .btn { margin-top: auto; }

/* Extras */
.extras-wrap { max-width: 720px; margin: 0 auto; }
.extras-list { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.extras-list li {
  display: flex; align-items: baseline; gap: 0.8rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
  font-size: 1.15rem; color: var(--white);
}
.extras-list li .name { text-transform: capitalize; }
.extras-list li .dots { flex: 1; border-bottom: 2px dotted rgba(255,255,255,0.3); transform: translateY(-4px); }
.extras-list li .price { font-family: var(--font-display); color: var(--orange); font-size: 1.5rem; }
.pricing-note { text-align: center; color: var(--grey-light); margin-top: 2.5rem; font-style: italic; max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .commitment { grid-template-columns: 1fr; }
  .commitment__img { min-height: 380px; }
  .trusted { grid-template-columns: 1fr; gap: 1.5rem; }
  .trusted__img { max-width: 420px; }
}

@media (max-width: 860px) {
  .container, .nav__inner, .hero__inner, .pagehero__inner { padding-left: 22px; padding-right: 22px; }
  .nav__menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 22px 2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu li { width: 100%; padding: 0.7rem 0; }
  .nav__cta { margin: 0.5rem 0 0; }
  .nav__toggle { display: flex; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 80px 0; }
  .services { grid-template-columns: 1fr; }
  .principle { grid-template-columns: 1fr; gap: 0.6rem; }
  .contact { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact__img { min-height: 320px; }
  .review { grid-template-columns: 1fr; }
  .review__author { text-align: left; }
  .pricing { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pf-card { aspect-ratio: 16/9; }
  .footer__band-inner { grid-template-columns: 1fr; }
  .footer__phone { text-align: left; align-items: flex-start; }
  .footer__phones { align-items: flex-start; }
  .footer__legal .copy { margin-left: 0; width: 100%; }
  .hero__card { max-width: 100%; }
}
