/* ════════════════════════════════════════════════════════════
   SANTICHIA — Estilos del home
   ════════════════════════════════════════════════════════════ */

/* ============== HERO ============== */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: clamp(660px, 94vh, 940px);
  color: var(--bone);
  overflow: hidden;
  background: var(--field-3);
  padding: clamp(38px, 6vh, 72px) 0 clamp(40px, 6vh, 76px);
}
/* Imagen de fondo. Reemplazá assets/hero.jpg por tu imagen;
   mientras no exista, cae al frente de la ruta. */
.hero-img {
  position: absolute; inset: 0;
  background-image: url('../assets/hero.jpg'), url('../assets/frente_de_ruta_34.webp');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* Oscurece ARRIBA y ABAJO (donde va el texto) y deja libre el CENTRO (las máquinas) */
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(0,12,32,.82) 0%,
    rgba(0,14,38,.34) 22%,
    rgba(0,16,42,.04) 42%,
    rgba(0,16,42,.04) 58%,
    rgba(0,14,38,.5) 80%,
    rgba(0,11,28,.86) 100%);
}
/* Distribuye: bloque de arriba arriba, bloque de abajo abajo (máquinas en el medio) */
.hero-inner {
  position: relative; z-index: 2; flex: 1;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  text-align: center;
}
.hero-top, .hero-bottom { width: 100%; max-width: 840px; }

.hero-eyebrows { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 14px; }
.hero-eyebrows .eyebrow { color: rgba(255,255,255,.78); }
.hero-title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(38px, 5.2vw, 76px); line-height: .9; letter-spacing: -.015em;
  color: #fff; text-shadow: 0 2px 22px rgba(0,8,24,.5);
}
.hero-title--accent { color: var(--harvest); margin-bottom: 14px; }
.hero-sub { margin: 0 auto; max-width: 600px; font-size: clamp(14.5px, 1.4vw, 17px); color: #fff; line-height: 1.6; text-shadow: 0 1px 14px rgba(0,8,24,.6); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }

/* Botones ghost sobre fondos oscuros (hero / banda repuestos) */
.hero .btn--ghost, .repuestos-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn--ghost:hover, .repuestos-band .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.hero-stat { padding-right: 26px; border-right: 1px solid rgba(255,255,255,.16); }
.hero-stat:last-child { border-right: 0; }
.hero-stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 46px); line-height: 1; color: var(--harvest); }
.hero-stat span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 6px; display: block; }

@media (max-width: 640px) {
  .hero { min-height: 580px; padding: 36px 0 44px; }
  .hero-overlay { background:
    linear-gradient(to bottom, rgba(0,12,32,.86) 0%, rgba(0,16,42,.5) 34%, rgba(0,16,42,.22) 60%, rgba(0,14,36,.55) 100%); }
}

/* ============== CATÁLOGO ============== */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cat-tab {
  display: inline-flex; align-items: baseline; gap: 9px;
  padding: 11px 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line-2); background: var(--paper);
  transition: all .22s var(--ease);
}
.cat-tab .num { font-family: var(--mono); font-size: 10px; color: var(--ink-soft); letter-spacing: .1em; }
.cat-tab .label { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: .03em; }
.cat-tab .count { font-family: var(--mono); font-size: 10px; color: var(--ink-soft); }
.cat-tab:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.cat-tab.active { background: var(--field); border-color: var(--field); color: #fff; }
.cat-tab.active .num, .cat-tab.active .count { color: rgba(255,255,255,.7); }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 440px)  { .prod-grid { grid-template-columns: 1fr; } }

.prod-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.prod-img { position: relative; aspect-ratio: 4/3; background: var(--bone-2); overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod-card:hover .prod-img img { transform: scale(1.06); }
.prod-img::after { content: ""; position: absolute; inset: 0; background: rgba(10,20,38,0); transition: background .3s; }
.prod-card:hover .prod-img::after { background: rgba(10,20,38,.12); }
.prod-fotos { position: absolute; top: 9px; right: 9px; display: inline-flex; align-items: center; gap: 4px; background: rgba(10,20,38,.7); color: #fff; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; padding: 4px 8px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.prod-fotos svg { width: 11px; height: 11px; }
.prod-body { padding: 15px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.prod-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--field); }
.prod-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: .98; margin: 6px 0 8px; }
.prod-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.prod-spec { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink); font-weight: 500; }
.catalog-note { margin-top: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.catalog-note .dot { width: 7px; height: 7px; background: var(--harvest); border-radius: 50%; }

/* ============== NOSOTROS ============== */
.about { position: relative; overflow: hidden; }
/* Foto de las instalaciones reales a pantalla completa de fondo */
.about-bg { position: absolute; inset: 0; z-index: 0; background: url('../assets/frente_de_ruta_34.webp') center/cover no-repeat; }
/* Velo navy: más fuerte del lado del texto (izq), suave a la derecha
   para que se luzca la foto. */
.about-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(105deg, rgba(0,12,32,.9) 0%, rgba(0,15,40,.72) 46%, rgba(0,16,42,.4) 100%);
}
.about .wrap { position: relative; z-index: 1; }
.about .section-head h2 { text-shadow: 0 2px 18px rgba(0,8,24,.55); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; position: relative; z-index: 1; }
.about-copy { position: relative; z-index: 1; max-width: 680px; }
.about-copy p { font-size: 16.5px; line-height: 1.75; color: rgba(255,255,255,.88); margin: 0 0 18px; text-shadow: 0 2px 16px rgba(0,8,24,.6); }
.about-copy p:last-child { margin-bottom: 0; color: #fff; font-weight: 600; }
.about-feats { display: grid; gap: 14px; }
.about-feat { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.about-feat-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--harvest); display: grid; place-items: center; }
.about-feat-ico svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 2; }
.about-feat h4 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 19px; margin: 0 0 4px; color: #fff; }
.about-feat p { font-size: 13.5px; color: rgba(255,255,255,.72); margin: 0; line-height: 1.55; }
/* Tarjeta del logo New Holland (lado derecho de Nosotros) */
.about-brand { display: flex; align-items: center; justify-content: center; }
.nh-card { width: 100%; max-width: 340px; text-align: center; }
.nh-logo { width: 100%; max-width: 300px; height: auto; margin: 0 auto; display: block; }
.nh-fallback { display: none; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); line-height: .92; color: #fff; letter-spacing: .01em; }
.nh-card-label { display: block; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.66); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-brand { justify-content: flex-start; } }

/* ============== SERVICIOS ============== */
.serv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-2); }
.serv-item { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--line-2); position: relative; transition: padding .3s var(--ease); }
.serv-item:nth-child(odd) { border-right: 1px solid var(--line-2); padding-right: 30px; }
.serv-item:nth-child(even) { padding-left: 30px; }
.serv-num { font-family: var(--mono); font-size: 12px; color: var(--field); letter-spacing: .08em; }
.serv-text h4 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 27px); line-height: 1; margin: 0 0 6px; transition: color .25s; }
.serv-text p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.serv-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; transition: all .25s var(--ease); }
.serv-arrow svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.serv-item:hover h4 { color: var(--field); }
.serv-item:hover .serv-arrow { background: var(--field); border-color: var(--field); color: #fff; }
.serv-item:hover .serv-arrow svg { transform: translateX(2px); }
@media (max-width: 760px) {
  .serv-list { grid-template-columns: 1fr; }
  .serv-item, .serv-item:nth-child(odd), .serv-item:nth-child(even) { padding: 22px 4px; border-right: 0; }
}

/* ============== ENTREGAS ============== */
.ent-wrap { position: relative; }
.ent-viewport { overflow: hidden; }
.ent-track { display: flex; transition: transform .6s var(--ease); }
.ent-slide { min-width: 33.3333%; padding: 0 9px; }
@media (max-width: 860px) { .ent-slide { min-width: 50%; } }
@media (max-width: 560px) { .ent-slide { min-width: 100%; } }
.ent-card { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--sh-md); }
.ent-card img { width: 100%; height: 100%; object-fit: cover; }
.ent-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,16,42,.9) 0%, rgba(0,16,42,.1) 45%, transparent 70%); }
.ent-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2; color: #fff; }
.ent-tipo { display: inline-block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); margin-bottom: 10px; }
.ent-tipo.nuevo { background: var(--harvest); color: var(--ink); }
.ent-tipo.usado { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px); }
.ent-nombre { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: .98; }
.ent-dest { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: rgba(255,255,255,.8); margin-top: 7px; }
.ent-dest svg { width: 12px; height: 12px; flex-shrink: 0; fill: var(--harvest); }
.ent-nav { display: flex; gap: 8px; }
.ent-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); display: grid; place-items: center; color: #fff; transition: all .2s var(--ease); }
.ent-btn:hover { background: var(--harvest); border-color: var(--harvest); color: var(--ink); }
.ent-btn svg { width: 18px; height: 18px; }
.ent-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.ent-progress { flex: 1; min-width: 140px; height: 3px; background: rgba(255,255,255,.16); border-radius: 2px; overflow: hidden; }
.ent-progress-bar { height: 100%; width: 0; background: var(--harvest); }
.ent-counter { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.7); }

/* ============== TESTIMONIOS ============== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; max-width: 560px; } }
.testi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 26px; box-shadow: var(--sh-sm); position: relative; }
.testi::before { content: "“"; position: absolute; top: 8px; right: 22px; font-family: var(--display); font-size: 90px; line-height: 1; color: var(--bone-2); }
.testi-quote { font-size: 16px; line-height: 1.65; color: var(--ink); position: relative; z-index: 1; }
.testi-meta { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--field); color: var(--harvest); font-family: var(--display); font-weight: 800; font-size: 18px; display: grid; place-items: center; }
.testi-name { font-weight: 700; font-size: 14.5px; }
.testi-where { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-soft); }
.testi-note { margin-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.testi-note .dot { width: 7px; height: 7px; background: var(--rust); border-radius: 50%; }

/* ============== CONTACTO ============== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 52px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.info-block.full { grid-column: 1 / -1; }
.info-block h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--field); margin: 0 0 8px; }
.info-block p, .info-block span { font-size: 15.5px; line-height: 1.6; margin: 0; display: block; }
.info-block a:hover { color: var(--field); }
.info-block .hour { font-size: 14px; color: var(--ink-soft); padding: 2px 0; }
.info-block .hour b { color: var(--ink); }
.social-row { display: flex; gap: 10px; }
.social-row .social { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: all .22s var(--ease); }
.social-row .social svg { width: 19px; height: 19px; }
.social-row .social:hover { background: var(--field); color: #fff; border-color: var(--field); transform: translateY(-3px); }
.contact-map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); min-height: 380px; border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ============== LIGHTBOX ============== */
#lb { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; }
#lb.open { display: flex; }
#lb-backdrop { position: absolute; inset: 0; background: rgba(10,20,38,.92); backdrop-filter: blur(6px); cursor: pointer; }
#lb-box { position: relative; z-index: 1; background: var(--bone); width: min(880px, 95vw); max-height: 92vh; overflow-y: auto; border-radius: var(--r-md); display: flex; flex-direction: column; }
#lb-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--bone-2); border: 1px solid var(--line); display: grid; place-items: center; z-index: 2; }
#lb-close svg { width: 16px; height: 16px; }
#lb-header { padding: 26px 26px 0; }
#lb-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--field); margin-bottom: 6px; }
#lb-title { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 4vw, 38px); text-transform: uppercase; line-height: .9; letter-spacing: -.01em; }
#lb-spec { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
#lb-main { position: relative; display: flex; align-items: center; padding: 18px 0; }
#lb-img-wrap { flex: 1; position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bone-2); }
#lb-img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
#lb-counter { position: absolute; bottom: 10px; right: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; background: rgba(10,20,38,.6); color: var(--bone); padding: 3px 8px; border-radius: var(--r-sm); }
#lb-prev, #lb-next { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--bone-2); border: 1px solid var(--line); display: grid; place-items: center; margin: 0 10px; transition: background .2s, color .2s; }
#lb-prev:hover, #lb-next:hover { background: var(--ink); color: var(--bone); }
#lb-prev svg, #lb-next svg { width: 16px; height: 16px; }
#lb-thumbs { display: flex; gap: 8px; padding: 0 26px 16px; overflow-x: auto; }
.lb-thumb { flex-shrink: 0; width: 82px; height: 60px; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: .55; transition: border-color .2s, opacity .2s; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb.active { border-color: var(--field); opacity: 1; }
#lb-desc { padding: 14px 26px 0; margin: 0 26px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
#lb-cta { display: inline-flex; align-items: center; gap: 10px; margin: 18px 26px 26px; background: var(--wpp); color: #fff; padding: 13px 24px; border-radius: var(--r-pill); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; width: fit-content; transition: background .2s; }
#lb-cta:hover { background: var(--wpp-2); }
#lb-cta svg { width: 17px; height: 17px; }
@media (max-width: 600px) {
  #lb-box { width: 100vw; max-height: 100vh; border-radius: 0; }
  #lb-prev, #lb-next { width: 36px; height: 36px; margin: 0 4px; }
  .lb-thumb { width: 60px; height: 45px; }
}

/* ============== REPUESTOS (banda) ============== */
.repuestos-band { background: var(--field-3); color: var(--bone); }
.repuestos-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.repuestos-band .eyebrow { color: rgba(255,255,255,.65); }
.rb-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 56px); line-height: .9; letter-spacing: -.01em; color: #fff; margin: 16px 0 12px; }
.rb-title em { font-style: normal; color: var(--harvest); }
.rb-sub { max-width: 560px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.6; }
.rb-cta { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
@media (max-width: 760px) { .rb-cta { width: 100%; } .rb-cta .btn { width: 100%; } }

/* ============== REPRESENTACIONES ============== */
.rep-intro { max-width: 700px; font-size: 16px; color: var(--ink-soft); line-height: 1.65; margin: -8px 0 34px; }
.rep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .rep-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rep-grid { grid-template-columns: 1fr; } }
.rep-card { display: flex; flex-direction: column; align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.rep-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.rep-logo-plate { position: relative; height: 100px; background: #fff; border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.rep-logo-plate .rep-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 20px 28px; background: #fff; }
.rep-logo-plate .rep-mono { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 34px; color: var(--field); letter-spacing: .02em; }
.rep-body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px 18px; }
.rep-badge { width: 56px; height: 56px; flex-shrink: 0; border-radius: 13px; background: var(--field); color: var(--harvest); font-family: var(--display); font-weight: 800; font-size: 17px; display: grid; place-items: center; letter-spacing: .01em; }
.rep-cat { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--field); }
.rep-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 20px; line-height: 1; margin: 4px 0 6px; }
.rep-desc { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.rep-arrow { flex-shrink: 0; color: var(--ink-soft); transition: transform .25s var(--ease), color .25s; }
.rep-arrow svg { width: 18px; height: 18px; }
.rep-card:hover .rep-arrow { color: var(--field); transform: translate(2px, -2px); }
.rep-note { margin-top: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.rep-note .dot { width: 7px; height: 7px; background: var(--harvest); border-radius: 50%; flex-shrink: 0; }
/* tarjeta como botón (abre modal, no linkea afuera) */
.rep-card { width: 100%; text-align: left; cursor: pointer; }
/* logo dentro del badge del modal (cae al monograma si falta el archivo) */
.rep-badge { position: relative; overflow: hidden; }
.rep-badge .rep-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 7px; }
.rep-badge.lg .rep-logo { padding: 9px; }
.rep-more { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--field); transition: gap .2s var(--ease); }
.rep-more svg { width: 14px; height: 14px; }
.rep-card:hover .rep-more { gap: 9px; }

/* ── Modal de representaciones ── */
.rep-modal-bg { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.rep-modal-bg.open { display: flex; }
.rep-modal-backdrop { position: absolute; inset: 0; background: rgba(10,20,38,.92); backdrop-filter: blur(6px); cursor: pointer; }
.rep-modal { position: relative; z-index: 1; background: var(--bone); width: min(560px, 95vw); max-height: 92vh; overflow-y: auto; border-radius: var(--r-md); box-shadow: var(--sh-lg); }
.rep-modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--bone-2); border: 1px solid var(--line); display: grid; place-items: center; z-index: 3; }
.rep-modal-close svg { width: 16px; height: 16px; }
.rep-modal-gallery { position: relative; background: var(--bone-2); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: 22px; }
.rep-gimg { width: 100%; max-height: 340px; object-fit: contain; display: block; transition: opacity .25s; }
.rep-gnav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: var(--sh-sm); display: grid; place-items: center; transition: background .2s, color .2s; }
.rep-gnav.prev { left: 12px; } .rep-gnav.next { right: 12px; }
.rep-gnav:hover { background: var(--ink); color: #fff; }
.rep-gnav svg { width: 16px; height: 16px; }
.rep-gcounter { position: absolute; top: 12px; right: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; background: rgba(10,20,38,.6); color: var(--bone); padding: 3px 8px; border-radius: var(--r-sm); }
.rep-gdots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.rep-gdot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: all .25s var(--ease); }
.rep-gdot.on { background: #fff; width: 18px; border-radius: 4px; }
.rep-modal-body { padding: 28px; }
.rep-modal-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.rep-badge.lg { width: 64px; height: 64px; font-size: 20px; border-radius: 15px; }
.rep-modal-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 4vw, 36px); line-height: .95; margin-top: 3px; }
.rep-modal-desc { font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; }
.rep-modal-desc + .rep-modal-desc { margin-top: 13px; }
.rep-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rep-chip { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; background: var(--bone-2); color: var(--ink); padding: 7px 13px; border-radius: var(--r-pill); }
.rep-modal-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; background: var(--wpp); color: #fff; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; padding: 13px 24px; border-radius: var(--r-pill); transition: background .2s; }
.rep-modal-cta:hover { background: var(--wpp-2); }
.rep-modal-cta svg { width: 17px; height: 17px; }
@media (max-width: 600px) { .rep-modal { width: 100vw; max-height: 100vh; border-radius: 0; } }
