/* Identidad visual de Véloce Atelier Motor: elegancia editorial, tonos
   minerales y detalles burdeos. Estilos aislados de la demo /taller/. */

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

:root {
  --tal-ink: #242421;
  --tal-paper: #f3f0e9;
  --tal-white: #fffdfa;
  --tal-muted: #77746f;
  --tal-line: #ded9d0;
  --tal-wine: #773a37;
  --tal-wine-dark: #602c2a;
  --tal-gold: #b39468;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--tal-paper);
  color: var(--tal-ink);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  object-fit: cover;
  width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.tal-page {
  overflow: hidden;
}

.tal-container {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 48px;
}

.tal-tag {
  align-items: center;
  color: var(--tal-gold);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 0.7rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.tal-tag::before {
  background: currentColor;
  content: '';
  height: 1px;
  width: 28px;
}

.tal-btn {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 1.6rem;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 54px;
  padding: 0.9rem 1.45rem;
  text-transform: uppercase;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.tal-btn-solid {
  background: var(--tal-wine);
  border-color: var(--tal-wine);
  color: var(--tal-white);
}

.tal-btn-solid:hover {
  background: var(--tal-wine-dark);
  border-color: var(--tal-wine-dark);
}

.tal-btn-outline {
  border-color: rgba(255, 253, 250, 0.55);
  color: var(--tal-white);
}

.tal-btn-outline:hover {
  background: var(--tal-white);
  border-color: var(--tal-white);
  color: var(--tal-ink);
}


/* Cabecera */

.tal-header {
  background: var(--tal-paper);
  border-bottom: 1px solid var(--tal-line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.tal-header .tal-container {
  align-items: center;
  display: flex;
  height: 86px;
  justify-content: space-between;
}

.tal-brand {
  align-items: center;
  display: inline-flex;
  gap: 0.9rem;
}

.tal-brand-mark {
  align-items: center;
  border: 1px solid var(--tal-gold);
  border-radius: 50%;
  color: var(--tal-wine);
  display: inline-flex;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  height: 44px;
  justify-content: center;
  line-height: 1;
  width: 44px;
}

.tal-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.tal-brand-copy > span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.36rem;
  letter-spacing: 0.05em;
}

.tal-brand-copy small {
  color: var(--tal-muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.tal-nav {
  align-items: center;
  display: flex;
  gap: 2rem;
}

.tal-nav a {
  color: #625f59;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.tal-nav a:hover {
  color: var(--tal-wine);
}

.tal-nav-cta {
  min-height: 44px;
  padding: 0.65rem 1rem;
}

.tal-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 6px;
  height: 40px;
  justify-content: center;
  padding: 4px;
  width: 40px;
}

.tal-hamburger span {
  background: var(--tal-ink);
  display: block;
  height: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.tal-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tal-hamburger--open span:nth-child(2) { opacity: 0; }
.tal-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* Hero fotográfico */

.tal-hero {
  align-items: center;
  background: #272522;
  color: var(--tal-white);
  display: flex;
  min-height: min(760px, calc(100vh - 86px));
  overflow: hidden;
  position: relative;
}

.tal-hero-photo,
.tal-hero-shade {
  inset: 0;
  position: absolute;
}

.tal-hero-photo {
  background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=2400&q=88');
  background-position: center 57%;
  background-size: cover;
  transform: scale(1.015);
}

.tal-hero-shade {
  background: linear-gradient(90deg, rgba(22, 21, 19, 0.88) 0%, rgba(22, 21, 19, 0.66) 39%, rgba(22, 21, 19, 0.12) 100%),
    linear-gradient(0deg, rgba(22, 21, 19, 0.38), transparent 45%);
}

.tal-hero-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 100%;
  z-index: 1;
}

.tal-hero-copy {
  max-width: 680px;
  padding: 6.5rem 0 7rem;
}

.tal-hero-copy .tal-tag {
  color: #dbc29e;
}

.tal-hero-copy h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.8rem, 8vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-bottom: 1.65rem;
}

.tal-hero-copy h1 em,
.tal-section-head h2 em {
  color: #d5b88e;
  font-weight: 400;
}

.tal-hero-copy > p:not(.tal-tag) {
  color: rgba(255, 253, 250, 0.77);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 470px;
}

.tal-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tal-hero-note {
  align-self: flex-end;
  border-left: 1px solid rgba(255, 253, 250, 0.48);
  margin-bottom: 4.3rem;
  padding: 0.2rem 0 0.2rem 1.15rem;
}

.tal-hero-note-index,
.tal-part-caption > span {
  color: #dbc29e;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tal-hero-note p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 0.8rem 0;
}

.tal-hero-note > a {
  align-items: center;
  border: 1px solid rgba(255, 253, 250, 0.55);
  border-radius: 50%;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}


/* Sello de servicio */

.tal-brands-bar {
  background: var(--tal-paper);
  border-bottom: 1px solid var(--tal-line);
  padding: 1.25rem 0;
}

.tal-brands-track {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2.7rem;
  justify-content: space-between;
}

.tal-brands-track span {
  color: #6c6861;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}


/* Filosofía y piezas seleccionadas */

.tal-parts-section {
  padding-bottom: 7rem;
}

.tal-parts-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.tal-section-head {
  max-width: 700px;
}

.tal-section-head .tal-tag {
  color: var(--tal-wine);
}

.tal-section-head h2,
.tal-quote-copy h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.tal-section-head h2 em {
  color: var(--tal-wine);
}

.tal-parts-heading > p {
  color: var(--tal-muted);
  font-size: 0.88rem;
  margin: 0 0 0.25rem 3rem;
  max-width: 370px;
}

.tal-parts-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.5fr 1fr 1fr;
}

.tal-part-card {
  min-width: 0;
}

.tal-part-image {
  background-color: #c8c3ba;
  background-position: center;
  background-size: cover;
  min-height: 270px;
}

.tal-part-card-large .tal-part-image {
  min-height: 380px;
}

.tal-part-image-engine {
  background-image: url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=1200&q=85');
}

.tal-part-image-brakes {
  background-image: url('https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1000&q=85');
}

.tal-part-image-finish {
  background-image: url('https://images.unsplash.com/photo-1552519507-da3b142c6e3d?auto=format&fit=crop&w=1000&q=85');
}

.tal-part-caption {
  border-bottom: 1px solid var(--tal-line);
  padding: 1rem 0 1.25rem;
}

.tal-part-caption > span {
  color: var(--tal-wine);
  font-size: 0.58rem;
}

.tal-part-caption h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-top: 0.35rem;
}


/* Secciones y servicios */

.tal-section {
  padding: 6.5rem 0;
}

.tal-section-alt {
  background: #282725;
  color: var(--tal-white);
}

.tal-section-head {
  margin-bottom: 3rem;
}

.tal-section-head > p:not(.tal-tag) {
  color: var(--tal-muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  max-width: 510px;
}

.tal-section-alt .tal-section-head .tal-tag,
.tal-section-alt .tal-section-head h2 em {
  color: #d5b88e;
}

.tal-section-alt .tal-section-head > p:not(.tal-tag) {
  color: rgba(255, 253, 250, 0.63);
}

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

.tal-service-card {
  background: var(--tal-white);
  border: 1px solid var(--tal-line);
  min-height: 230px;
  padding: 1.8rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.tal-service-card:hover {
  border-color: var(--tal-gold);
  transform: translateY(-3px);
}

.tal-service-number {
  color: #b7afa2;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
}

.tal-service-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin: 1.3rem 0 0.5rem;
}

.tal-service-card p {
  color: var(--tal-muted);
  font-size: 0.8rem;
  margin-bottom: 1.15rem;
}

.tal-service-price {
  border-top: 1px solid var(--tal-line);
  color: var(--tal-wine);
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-top: 0.75rem;
  text-transform: uppercase;
}


/* Proceso */

.tal-process-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
}

.tal-process-step {
  border-top: 1px solid rgba(255, 253, 250, 0.28);
  padding-top: 1rem;
}

.tal-process-step > span {
  color: #d5b88e;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
}

.tal-process-step h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0.65rem 0;
}

.tal-process-step p {
  color: rgba(255, 253, 250, 0.63);
  font-size: 0.8rem;
}


/* Presupuesto */

.tal-quote-box {
  background: var(--tal-white);
  display: grid;
  gap: 4rem;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 4rem;
}

.tal-quote-copy h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}

.tal-quote-copy h2 em {
  color: var(--tal-wine);
}

.tal-quote-copy > p:not(.tal-tag) {
  color: var(--tal-muted);
  font-size: 0.86rem;
  margin: 1rem 0 1.5rem;
  max-width: 410px;
}

.tal-quote-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
}

.tal-quote-list li {
  color: #5e5b56;
  font-size: 0.8rem;
  padding-left: 1.3rem;
  position: relative;
}

.tal-quote-list li::before {
  color: var(--tal-wine);
  content: '—';
  left: 0;
  position: absolute;
}

.tal-quote-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tal-quote-form label {
  color: #66615a;
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.tal-quote-form input,
.tal-quote-form select,
.tal-quote-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--tal-line);
  border-radius: 0;
  color: var(--tal-ink);
  font-size: 0.88rem;
  padding: 0.65rem 0;
  width: 100%;
}

.tal-quote-form input:focus,
.tal-quote-form textarea:focus {
  border-bottom-color: var(--tal-wine);
  outline: none;
}

.tal-quote-form textarea {
  min-height: 86px;
  resize: vertical;
}

.tal-quote-form button {
  align-self: flex-start;
  margin-top: 0.5rem;
}


/* Reseñas */

.tal-reviews-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, 1fr);
}

.tal-review-card {
  border: 1px solid rgba(255, 253, 250, 0.17);
  padding: 1.7rem;
}

.tal-stars {
  color: #d5b88e;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.tal-review-card > p {
  color: rgba(255, 253, 250, 0.82);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.08rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.tal-reviewer {
  align-items: center;
  border-top: 1px solid rgba(255, 253, 250, 0.17);
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
}

.tal-reviewer-avatar {
  align-items: center;
  border: 1px solid #d5b88e;
  border-radius: 50%;
  color: #d5b88e;
  display: flex;
  flex-shrink: 0;
  font-family: Georgia, 'Times New Roman', serif;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.tal-reviewer-name {
  font-size: 0.76rem;
  font-weight: 700;
}

.tal-reviewer-sub {
  color: rgba(255, 253, 250, 0.55);
  font-size: 0.68rem;
}


/* Pie */

.tal-footer {
  background: #1d1c1a;
  color: rgba(255, 253, 250, 0.62);
  padding: 3.5rem 0 1.5rem;
}

.tal-footer-inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 3rem;
}

.tal-footer-brand .tal-brand {
  color: var(--tal-white);
  margin-bottom: 0.75rem;
}

.tal-footer-brand .tal-brand-copy small {
  color: rgba(255, 253, 250, 0.55);
}

.tal-footer-brand p,
.tal-footer-col ul li a {
  font-size: 0.77rem;
}

.tal-footer-brand p {
  max-width: 280px;
}

.tal-footer-col h4 {
  color: var(--tal-white);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.tal-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.tal-footer-col ul li a:hover {
  color: #d5b88e;
}

.tal-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 253, 250, 0.15);
  display: flex;
  font-size: 0.7rem;
  justify-content: space-between;
  padding-top: 1.25rem;
}

.tal-footer-bottom a {
  color: #d5b88e;
}


/* Responsive */

@media (max-width: 1000px) {
  .tal-container {
    padding: 0 32px;
  }

  .tal-nav {
    gap: 1.1rem;
  }

  .tal-nav a {
    font-size: 0.59rem;
  }

  .tal-parts-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .tal-part-card-large {
    grid-row: span 2;
  }

  .tal-part-card-large .tal-part-image {
    height: calc(100% - 75px);
  }

  .tal-part-image {
    min-height: 230px;
  }
}

@media (max-width: 760px) {
  .tal-header .tal-container {
    height: 74px;
  }

  .tal-nav-cta {
    display: none;
  }

  .tal-hamburger {
    display: flex;
  }

  .tal-nav {
    background: var(--tal-paper);
    border-bottom: 1px solid var(--tal-line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 0.7rem 32px 1rem;
    position: absolute;
    right: 0;
    top: 74px;
  }

  .tal-nav--open {
    display: flex;
  }

  .tal-nav a {
    border-bottom: 1px solid var(--tal-line);
    font-size: 0.7rem;
    padding: 0.85rem 0;
  }

  .tal-nav a:last-child {
    border-bottom: none;
  }

  .tal-hero {
    min-height: 690px;
  }

  .tal-hero-photo {
    background-position: 61% center;
  }

  .tal-hero-shade {
    background: linear-gradient(90deg, rgba(22, 21, 19, 0.82), rgba(22, 21, 19, 0.3)),
      linear-gradient(0deg, rgba(22, 21, 19, 0.45), transparent 60%);
  }

  .tal-hero-inner {
    align-items: flex-end;
  }

  .tal-hero-copy {
    padding: 5rem 0 5.6rem;
  }

  .tal-hero-copy h1 {
    font-size: clamp(3.8rem, 13vw, 6.2rem);
  }

  .tal-hero-note {
    display: none;
  }

  .tal-brands-track {
    justify-content: flex-start;
  }

  .tal-brands-track span {
    flex: 1 1 40%;
  }

  .tal-parts-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .tal-parts-heading > p {
    margin: 0;
    max-width: 500px;
  }

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

  .tal-process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }

  .tal-quote-box {
    gap: 2.5rem;
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }

  .tal-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .tal-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .tal-container {
    padding: 0 22px;
  }

  .tal-brand {
    gap: 0.65rem;
  }

  .tal-brand-mark {
    height: 39px;
    width: 39px;
  }

  .tal-brand-copy > span {
    font-size: 1.2rem;
  }

  .tal-hero {
    min-height: 650px;
  }

  .tal-hero-copy {
    padding: 4.5rem 0;
  }

  .tal-hero-copy h1 {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }

  .tal-hero-copy > p:not(.tal-tag) {
    font-size: 0.9rem;
  }

  .tal-hero-cta {
    align-items: stretch;
    flex-direction: column;
    max-width: 300px;
  }

  .tal-hero-cta .tal-btn {
    justify-content: space-between;
  }

  .tal-brands-track span {
    flex-basis: 100%;
  }

  .tal-parts-grid,
  .tal-services-grid,
  .tal-reviews-grid,
  .tal-process-grid {
    grid-template-columns: 1fr;
  }

  .tal-part-card-large {
    grid-row: auto;
  }

  .tal-part-card-large .tal-part-image,
  .tal-part-image {
    height: auto;
    min-height: 260px;
  }

  .tal-section {
    padding: 4.5rem 0;
  }

  .tal-parts-section {
    padding-bottom: 4.5rem;
  }

  .tal-section-head h2 {
    font-size: clamp(2.6rem, 12vw, 3.7rem);
  }

  .tal-quote-box {
    padding: 1.5rem;
  }

  .tal-footer-inner {
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  .tal-footer-brand {
    grid-column: auto;
  }

  .tal-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
