:root{
    --asphalt: #18100C;
    --asphalt-2: #251B14;
    --asphalt-3: #2E2119;
    --chalk: #F4EEE4;
    --steel: #A79A8B;
    --steel-dim: #78685A;
    --yellow: #FFC42B;
    --orange: #E8541E;
    --line: rgba(244,238,228,0.12);
    --font-display: 'Anton', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
  }
  *{ margin:0; padding:0; box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    background: var(--asphalt);
    color: var(--chalk);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
  }
  ::selection{ background: var(--yellow); color: var(--asphalt); }
  a{ color: inherit; text-decoration:none; }
  img,svg{ display:block; max-width:100%; }
  .wrap{ max-width: 1180px; margin: 0 auto; padding: 0 28px; }
  .eyebrow{
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--yellow);
    display:flex; align-items:center; gap:10px;
  }
  .eyebrow::before{
    content:""; width:18px; height:2px; background: var(--yellow); display:inline-block;
  }
  h1,h2,h3{ font-family: var(--font-display); font-weight:400; letter-spacing: 0.01em; text-transform:uppercase; line-height:0.98; }
  h2{ font-size: clamp(32px, 4.5vw, 54px); }
  h3{ font-size: 22px; }
  p{ color: var(--steel); }
  .btn{
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px 26px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
  }
  .btn-primary{ background: var(--yellow); color: var(--asphalt); font-weight: 700; }
  .btn-primary:hover{ transform: translateY(-2px); }
  .btn-ghost{ border-color: var(--line); color: var(--chalk); }
  .btn-ghost:hover{ border-color: var(--chalk); }

  /* ---------- Tread pattern divider (signature motif) ---------- */
  .tread{
    height: 14px;
    width: 100%;
    background-image: repeating-linear-gradient(115deg, var(--orange) 0 3px, transparent 3px 26px);
    opacity: 0.9;
  }

  /* ---------- Nav ---------- */
  header{
    position: fixed; top:0; left:0; right:0; z-index: 100;
    background: rgba(24,16,12,0);
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease;
  }
  header.scrolled{ background: rgba(24,16,12,0.92); backdrop-filter: blur(8px); border-color: var(--line); }
  nav{
    display:flex; align-items:center; justify-content:space-between;
    padding: 18px 28px; max-width: 1180px; margin: 0 auto;
  }
  .logo{
    font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; text-transform:uppercase;
    display:flex; align-items:center; gap:12px;
  }
  .logo-mark{
    width: 38px; height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--line);
    background: var(--chalk);
  }
  .logo-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
  }
  .logo-text .full-name{
    font-family: var(--font-display);
    font-size: 17px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--chalk);
  }
  .logo-text .short-name{
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--steel-dim);
    margin-top: 3px;
    text-align: center;
  }
  .nav-links{ display:flex; gap:34px; font-size:14px; text-transform:uppercase; letter-spacing:0.04em; }
  .nav-links a{ color: var(--steel); transition: color .2s; position:relative; }
  .nav-links a:hover{ color: var(--chalk); }
  .nav-cta{ display:flex; align-items:center; gap:18px; }
  .burger{ display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; }
  .burger span{ width:24px; height:2px; background: var(--chalk); }

  /* ---------- Hero ---------- */
  .hero{
    position: relative;
    min-height: 100vh;
    display:flex; align-items:center;
    padding: 140px 0 80px;
    background:
      radial-gradient(ellipse 900px 500px at 82% 18%, rgba(232,84,30,0.16), transparent 60%),
      radial-gradient(ellipse 700px 500px at 10% 90%, rgba(255,196,43,0.08), transparent 60%);
  }
  .hero > .wrap{ min-width: 0; width: 100%; }
  .hero-grid{
    display:grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items:center;
    min-width: 0;
  }
  .hero h1{
    font-size: clamp(40px, 6vw, 74px);
    margin: 18px 0 22px;
  }
  .hero h1 .hl{ color: var(--yellow); }
  .hero p.lead{
    font-size: 18px; max-width: 480px; margin-bottom: 34px;
  }
  .hero-list{
    list-style:none;
    display:flex; flex-wrap:wrap; gap:10px;
    max-width: 560px;
    margin: 26px 0 36px;
  }
  .hero-list li{
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--chalk);
    background: var(--asphalt-2);
    border: 1px solid var(--line);
    padding: 9px 15px;
    border-radius: 20px;
    white-space: nowrap;
  }
  .hero-list li.more{
    color: var(--yellow);
    border-color: var(--yellow);
    background: transparent;
  }
  .hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }

  .line-banner{
    padding: 90px 0;
    text-align: center;
    background:
      radial-gradient(ellipse 800px 450px at 15% 10%, rgba(255,196,43,0.09), transparent 60%),
      radial-gradient(ellipse 700px 450px at 90% 90%, rgba(232,84,30,0.14), transparent 60%);
  }
  .line-banner .wrap{ display:flex; flex-direction:column; align-items:center; }
  .line-banner .eyebrow{ justify-content:center; }
  .line-banner h2{ margin: 16px 0 6px; }
  .line-banner h2 .hl{ color: var(--yellow); }
  .line-banner .hero-list{ justify-content:center; max-width: 640px; }
  .line-banner .hero-ctas{ justify-content:center; margin-top: 10px; }

  .tire-signature{ position:relative; width:100%; aspect-ratio:1/1; max-width: 420px; margin:0 auto; }
  .tire-signature svg{ width:100%; height:100%; }
  .tire-state{ transform-origin: 150px 290px; }
  .tire-flat{ animation: tireFlatFade 9s ease-in-out infinite; }
  .tire-fixed{ animation: tireFixedFade 9s ease-in-out infinite; }
  .tire-fixed-spin{ transform-origin: 150px 210px; animation: spin 30s linear infinite; }
  .label-flat{ animation: tireFlatFade 9s ease-in-out infinite; }
  .label-fixed{ animation: tireFixedFade 9s ease-in-out infinite; }
  @keyframes tireFlatFade{
    0%, 35% { opacity: 1; }
    45%, 90% { opacity: 0; }
    100% { opacity: 1; }
  }
  @keyframes tireFixedFade{
    0%, 35% { opacity: 0; }
    45%, 90% { opacity: 1; }
    100% { opacity: 0; }
  }
  @keyframes spin{ to{ transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce){
    .tire-flat, .tire-fixed, .tire-fixed-spin, .label-flat, .label-fixed{ animation: none; }
    .tire-flat, .label-flat{ opacity: 0; }
    .tire-fixed, .label-fixed{ opacity: 1; }
  }

  /* ---------- Section base ---------- */
  section{ padding: 110px 0; position:relative; }
  .section-head{ max-width: 620px; margin-bottom: 56px; }
  .section-head h2{ margin-top:14px; }
  .section-head p{ margin-top: 16px; font-size:16px; }

  /* ---------- Productos ---------- */
  .cat-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
  .cat-card{
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--asphalt-2);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 30px 26px;
    transition: transform .2s ease, border-color .2s ease;
  }
  .cat-card:hover{ transform: translateY(-4px); border-color: var(--orange); }
  .cat-card .icon{ width:44px; height:44px; margin-bottom: 22px; color: var(--yellow); }
  .cat-card h3{ margin-bottom: 10px; }
  .cat-card p{ font-size: 14px; }
  .cat-card .see-more{
    display: inline-block; margin-top: 16px;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--yellow);
  }
  .cat-card:hover .see-more{ text-decoration: underline; }

  /* ---------- Por qué elegirnos ---------- */
  .why{ background: var(--asphalt-2); }
  .why-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top:1px solid var(--line); }
  .why-item{ padding: 34px 26px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
  .why-item:nth-child(4){ border-right:none; }
  .why-item b.num{ font-family:var(--font-mono); color:var(--orange); font-size:13px; }
  .why-item h3{ margin: 14px 0 10px; font-size:19px; }
  .why-item p{ font-size:14px; }

  /* ---------- Marcas ---------- */
  .brands-note{ font-size:13px; color: var(--steel-dim); margin-top:10px; }
  .brand-grid{
    display:grid; grid-template-columns: repeat(6,1fr); gap: 16px;
  }
  .brand-card{
    position: relative;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 14px;
    background: var(--asphalt-2);
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap: 12px;
    min-height: 180px;
    overflow: hidden;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
  }
  .brand-card::before{
    content:"";
    position:absolute; top:0; left:0; right:0; height:3px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
  }
  .brand-card:hover{ border-color: var(--yellow); transform: translateY(-3px); }
  .brand-card:hover::before{ transform: scaleX(1); }
  .brand-card .brand-name{
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--asphalt);
    text-align: center;
    background: var(--yellow);
    padding: 5px 12px;
    border-radius: 20px;
  }
  .brand-logo-plate{
    background: var(--chalk);
    border-radius: 4px;
    width: 100%;
    flex: 1;
    display:flex; align-items:center; justify-content:center;
    padding: 10px;
  }
  .brand-logo-plate img{
    max-width: 100%;
    max-height: 88px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }

  /* ---------- Proceso ---------- */
  .steps{ display:grid; grid-template-columns: repeat(3,1fr); gap: 30px; counter-reset: step; }
  .step{ position:relative; padding-top: 30px; border-top: 2px solid var(--orange); }
  .step .num{ font-family: var(--font-mono); color: var(--orange); font-size: 13px; }
  .step h3{ margin: 12px 0 10px; }
  .step p{ font-size:14px; }

  /* ---------- Testimonios ---------- */
  .testi{ background: var(--asphalt-2); }
  .testi-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
  .testi-card{ background: var(--asphalt); border:1px solid var(--line); border-radius:6px; padding:28px; }
  .testi-card p.quote{ color: var(--chalk); font-size:15px; margin-bottom:0; }
  .testi-card .who{ font-family: var(--font-mono); font-size:12px; color: var(--steel-dim); text-transform:uppercase; }

  /* ---------- CTA banner ---------- */
  .cta-banner{
    padding: 90px 0;
    text-align:center;
    background:
      radial-gradient(ellipse 700px 400px at 50% 0%, rgba(255,196,43,0.10), transparent 60%);
  }
  .cta-banner h2{ margin-bottom: 22px; }
  .cta-banner p{ max-width: 480px; margin: 0 auto 34px; }
  .cta-banner .btn-primary{ font-size:14px; padding:18px 34px; }

  /* ---------- Contacto ---------- */
  .contact-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
  .contact-info .item{ margin-bottom: 26px; }
  .contact-info .item b{ display:block; font-family:var(--font-mono); font-size:12px; color:var(--orange); text-transform:uppercase; letter-spacing:.05em; margin-bottom:6px; }
  .contact-info .item span{ font-size:16px; }
  form{ display:grid; gap: 16px; }
  .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  input, textarea, select{
    width:100%; background: var(--asphalt-2); border:1px solid var(--line); color: var(--chalk);
    padding: 14px 16px; border-radius:4px; font-family: var(--font-body); font-size:14px;
  }
  input:focus, textarea:focus, select:focus{ outline:2px solid var(--yellow); border-color:transparent; }
  textarea{ resize: vertical; min-height:110px; }
  label{ font-size:12px; text-transform:uppercase; letter-spacing:.04em; color: var(--steel-dim); font-family: var(--font-mono); display:block; margin-bottom:6px; }

  /* ---------- Footer ---------- */
  /* ---------- Galería / Slider ---------- */
  .slider{
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--asphalt-2);
  }
  .slider-track{
    display: flex;
    transition: transform .45s ease;
  }
  .slide{ min-width: 100%; box-sizing: border-box; }
  .slide img{
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background: var(--asphalt-3);
  }
  .slide-caption{
    display: block;
    padding: 14px 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .03em;
    color: var(--chalk);
    text-align: center;
    border-top: 1px solid var(--line);
  }
  .slider-btn{
    position: absolute;
    top: calc(50% - 24px);
    transform: translateY(-50%);
    background: rgba(24,16,12,0.65);
    color: var(--chalk);
    border: 1px solid var(--line);
    width: 38px; height: 38px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
  }
  .slider-btn:hover{ background: var(--yellow); color: var(--asphalt); border-color: var(--yellow); }
  .slider-btn.prev{ left: 12px; }
  .slider-btn.next{ right: 12px; }
  .slider-dots{
    display: flex; justify-content: center; gap: 8px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  .slider-dot{
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--line);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
  }
  .slider-dot.active{ background: var(--yellow); transform: scale(1.3); }

  footer{ border-top: 1px solid var(--line); padding: 50px 0 30px; }


  .foot-grid{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:30px; }
  .foot-links{ display:flex; flex-wrap:wrap; gap:16px 24px; font-size:13px; color: var(--steel); text-transform:uppercase; letter-spacing:.04em; }
  .foot-bottom{ margin-top:40px; padding-top:20px; border-top:1px solid var(--line); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12px; color: var(--steel-dim); font-family: var(--font-mono); }

  /* ---------- Reveal on scroll ---------- */
  .reveal{ opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.visible{ opacity:1; transform: translateY(0); }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px){
    .nav-links, .nav-cta .btn-ghost{ display:none; }
    .burger{ display:flex; }
    .hero-grid{ display:flex; flex-direction:column; }
    .tire-signature{ order:-1; max-width: 260px; }
    .cat-grid, .why-grid, .brand-grid, .steps, .testi-grid{ grid-template-columns: repeat(2,1fr); }
    .why-item:nth-child(2){ border-right:none; }
    .why-item:nth-child(3){ border-right:1px solid var(--line); }
    .contact-grid{ grid-template-columns: 1fr; }
    .form-row{ grid-template-columns: 1fr; }
  }
  @media (max-width: 560px){
    .cat-grid, .why-grid, .brand-grid, .steps, .testi-grid{ grid-template-columns: 1fr; }
    .why-item{ border-right:none !important; }
    section{ padding:70px 0; }
  }
  @media (max-width: 420px){
    nav{ padding: 14px 16px; gap: 10px; }
    .logo{ gap: 8px; }
    .logo-mark{ width: 32px; height: 32px; }
    .logo-text .full-name{ font-size: 14px; }
    .logo-text .short-name{ font-size: 8px; }
    .nav-cta .btn-primary{ padding: 10px 14px; font-size: 11px; }
    .burger{ margin-left: 2px; }
  }
  @media (max-width: 340px){
    .logo-text .full-name{ display:none; }
    .logo-text .short-name{ font-size: 15px; letter-spacing: 0.08em; margin-top:0; }
  }

/* Vitrina de la portada: cada foto lleva a su producto (27/09/2026). */
a.slide{ text-decoration: none; color: inherit; display: block; }
a.slide:hover .slide-caption{ color: var(--yellow); }
a.slide:focus-visible{ outline: 2px solid var(--yellow); outline-offset: -2px; }

/* El logo, el mismo en toda la web que en el catálogo (27/09/2026).
   El de marca es apaisado y ya lleva el nombre dentro, así que:
   no se recorta en círculo (lo destrozaba), no lleva borde ni fondo, y se
   quita el nombre en texto que iba al lado, que lo repetía. Mismos 8px de
   redondeo que en el catálogo, porque el archivo trae su propia textura
   oscura y sin ellos se ve como un recorte pegado sobre la cabecera. */
.logo-mark{
  width: auto; height: 46px;
  border-radius: 8px;
  object-fit: contain;
  border: 0;
  background: transparent;
}
.logo-text{ display: none; }
@media (max-width: 760px){ .logo-mark{ height: 36px; } }
