/* ==========================================================================
   CDSC — Sistema de diseño renovado
   Paleta industrial-agro: azul acero + ámbar + verde + neutros
   ========================================================================== */

:root {
  /* Paleta corporativa CDSC (verdes del logo) */
  --navy-900: #1C3A26;   /* verde bosque muy oscuro */
  --navy-800: #2E5D3B;   /* verde bosque (barras grandes del logo) */
  --navy-700: #356B45;
  --steel-600: #2F8F4A;  /* verde medio */
  --steel-400: #5FB56E;
  --amber: #8CC63F;      /* lima (barra clara del logo) — acento/CTA */
  --amber-dark: #5F9E2A; /* lima oscuro para hover/eyebrow */
  --green: #35A94A;      /* verde esmeralda (2ª barra del logo) */
  --green-dark: #2A8A3C;
  --olive: #4E6B3A;      /* verde oliva de las letras CDSC */
  --ink: #17281c;
  --slate: #4c5b50;
  --mist: #f3f7f2;
  --mist-2: #e7efe6;
  --line: #d9e4d7;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 8px rgba(14, 42, 71, 0.06);
  --shadow: 0 12px 34px rgba(14, 42, 71, 0.12);
  --shadow-lg: 0 26px 60px rgba(10, 31, 51, 0.22);
  --maxw: 1180px;

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; color: var(--navy-900); letter-spacing: -0.5px; }
p { margin: 0 0 1rem; color: var(--slate); }
a { color: var(--steel-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--amber-dark); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--amber-dark); margin-bottom: 14px;
}
.section { padding: 92px 0; }
.section--tint { background: var(--mist); }
.section--dark { background: var(--navy-900); color: #cfe0ee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #a9c2d6; }
.center { text-align: center; }
.lead { font-size: 1.16rem; color: var(--slate); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 40px; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: var(--navy-900); box-shadow: 0 8px 22px rgba(246,166,35,.32); }
.btn--amber:hover { background: var(--amber-dark); color: #fff; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(63,174,107,.3); }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--outline { background: transparent; border-color: var(--line); color: var(--navy-800); }
.btn--outline:hover { border-color: var(--amber); color: var(--amber-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--navy-900); letter-spacing: -1px; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--steel-600));
  color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: 0;
}
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .62rem; letter-spacing: 2px; color: var(--slate); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-family: var(--font-head); font-weight: 500; font-size: .96rem; color: var(--navy-800); }
.nav-links a:hover { color: var(--amber-dark); }
.nav-links a.badge-link { color: var(--amber-dark); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(246,166,35,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(246,166,35,.5);} 70% { box-shadow: 0 0 0 10px rgba(246,166,35,0);} 100% { box-shadow: 0 0 0 0 rgba(246,166,35,0);} }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(95,181,110,.35), transparent 60%),
    radial-gradient(800px 500px at 0% 110%, rgba(140,198,63,.22), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
}
.hero .container { padding-top: 96px; padding-bottom: 104px; position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.9rem); max-width: 15ch; }
.hero p { color: #bcd2e5; font-size: 1.2rem; max-width: 56ch; }
.hero .btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .stat b { font-family: var(--font-head); font-size: 2.1rem; color: var(--amber); display: block; line-height: 1; }
.hero-stats .stat span { font-size: .9rem; color: #9fb8cd; }
.hero-grid-lines { position: absolute; inset: 0; z-index: 1; opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d6e3; }
.card .ico {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--mist-2); margin-bottom: 18px; font-size: 1.5rem;
}
.card h3 { font-size: 1.22rem; }
.card p { font-size: .97rem; margin-bottom: 0; }
.card-media { height: 168px; margin: -32px -32px 22px; background-size: cover; background-position: center;
  border-radius: var(--radius) var(--radius) 0 0; position: relative; }
.card-media::after { content:""; position:absolute; inset:0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(16,40,26,0) 40%, rgba(16,40,26,.35)); }
.card--accent { border-top: 4px solid var(--amber); }
.card--green { border-top: 4px solid var(--green); }
.card ul.ticks { list-style: none; margin-top: 14px; }
.card ul.ticks li { position: relative; padding-left: 24px; font-size: .93rem; color: var(--slate); margin-bottom: 7px; }
.card ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* section headers */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px;
  background: linear-gradient(135deg, var(--steel-600), var(--navy-800)); position: relative; }
.split .media .badge-float { position: absolute; bottom: 20px; left: 20px; background: #fff; color: var(--navy-900);
  padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 600; }

/* brand logo (header/footer) */
.brand-logo { height: 54px; width: auto; display: block; }
.nav .brand-logo { height: 52px; }
.site-footer .brand-logo, .brand-logo--white { height: 56px; }
.brand-logo--white { filter: brightness(0) invert(1); } /* logo verde -> blanco sobre footer oscuro */

/* logos strip (fallback text chips) */
.logos { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; justify-content: center; }
.logos .chip {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy-800);
  background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 10px 20px;
}

/* represented brands — real logo grid */
.brands-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.brand-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 18px;
  display: grid; place-items: center; min-height: 112px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.brand-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-tile img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 960px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .brands-grid { grid-template-columns: repeat(2, 1fr); } }

/* sectors */
.sector-tile {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px;
  display: flex; align-items: flex-end; padding: 24px; color: #fff;
  background-color: var(--navy-800); background-size: cover; background-position: center;
  transition: transform .25s, box-shadow .25s; box-shadow: var(--shadow-sm);
}
.sector-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sector-tile:hover .st-inner { transform: translateY(-2px); }
.sector-tile .st-inner { position: relative; z-index: 2; transition: transform .25s; }
.sector-tile .st-tag { display:inline-block; font-family: var(--font-head); font-size:.7rem; letter-spacing:1.5px;
  text-transform:uppercase; background: var(--amber); color: var(--navy-900); padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; font-weight:700; }
.sector-tile.s1 { background-image: linear-gradient(180deg, rgba(10,31,51,.2), rgba(10,31,51,.86)), linear-gradient(135deg,#c9a227,#7a5c12); }
.sector-tile.s2 { background-image: linear-gradient(180deg, rgba(10,31,51,.2), rgba(10,31,51,.86)), linear-gradient(135deg,#2e8a53,#14532d); }
.sector-tile.s3 { background-image: linear-gradient(180deg, rgba(20,45,30,.2), rgba(20,45,30,.86)), linear-gradient(135deg,#2f8f4a,#1c3a26); }
.sector-tile.s4 { background-image: linear-gradient(180deg, rgba(10,31,51,.2), rgba(10,31,51,.86)), linear-gradient(135deg,#7a4a1f,#3d2410); }
.sector-tile.s5 { background-image: linear-gradient(180deg, rgba(10,31,51,.2), rgba(10,31,51,.86)), linear-gradient(135deg,#5a3a86,#2a1a4a); }
.sector-tile.s6 { background-image: linear-gradient(180deg, rgba(10,31,51,.2), rgba(10,31,51,.86)), linear-gradient(135deg,#0e6b6b,#053333); }
.sector-tile h3 { color: #fff; font-size: 1.2rem; margin: 0; }
.sector-tile p { color: rgba(255,255,255,.82); font-size: .88rem; margin: 4px 0 0; }

/* process steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num { counter-increment: step; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.step .num::before { content: counter(step, decimal-leading-zero); }
.step h4 { margin-bottom: 4px; font-size: 1.08rem; }
.step p { margin: 0; font-size: .95rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--amber), var(--amber-dark)); border-radius: var(--radius);
  padding: 52px; text-align: center; color: var(--navy-900); }
.cta-band h2 { color: var(--navy-900); }
.cta-band p { color: #6a4c08; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9fb8cd; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #9fb8cd; display: block; margin-bottom: 9px; font-size: .93rem; }
.site-footer a:hover { color: var(--amber); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #7f99ae; }
.footer-brand p { color: #8ba6bc; font-size: .92rem; margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #7f99ae; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background:
  radial-gradient(700px 400px at 90% -20%, rgba(95,181,110,.3), transparent 60%),
  linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: #bcd2e5; max-width: 60ch; }
.breadcrumbs { font-size: .85rem; color: #85a1b8; margin-bottom: 12px; }
.breadcrumbs a { color: #85a1b8; }

/* ---------- Auction specifics ---------- */
.auction-hero { background:
  radial-gradient(900px 500px at 85% -10%, rgba(140,198,63,.26), transparent 60%),
  linear-gradient(150deg, #10241a, #163021 60%, #1d3b27); color: #fff; position: relative; overflow: hidden; }
.auction-hero .tag { display:inline-flex; gap:8px; align-items:center; background: rgba(140,198,63,.16);
  border:1px solid rgba(140,198,63,.45); color: var(--amber); padding: 7px 15px; border-radius: 30px; font-size:.8rem;
  font-family: var(--font-head); letter-spacing: 1px; text-transform: uppercase; }
.countdown { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.countdown .unit { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  padding: 14px 18px; text-align: center; min-width: 82px; }
.countdown .unit b { font-family: var(--font-head); font-size: 2rem; color: var(--amber); display: block; line-height: 1; }
.countdown .unit span { font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: #b9a888; }

.lot-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-btn { font-family: var(--font-head); font-size: .86rem; padding: 8px 16px; border-radius: 30px;
  border: 1px solid var(--line); background: #fff; color: var(--navy-800); cursor: pointer; transition: .2s; }
.chip-btn.active, .chip-btn:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.lot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lot {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.lot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lot .thumb { height: 190px; background-color: var(--navy-800); background-size: cover; background-position: center;
  position: relative; }
.lot .thumb .lotno { position: absolute; top: 12px; left: 12px; background: var(--amber); color: var(--navy-900);
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 20px; }
.lot .thumb .cat { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.45); color: #fff;
  font-size: .7rem; padding: 4px 9px; border-radius: 20px; letter-spacing: .5px; }
.lot .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.lot .body h3 { font-size: 1.06rem; margin-bottom: 6px; }
.lot .body .desc { font-size: .88rem; color: var(--slate); margin-bottom: 14px; flex: 1; }
.lot .meta { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--mist-2); padding-top: 14px; }
.lot .meta .label { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--slate); }
.lot .meta .price { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy-900); }
.lot .meta .btn { padding: 9px 16px; font-size: .84rem; }

.info-box { background: var(--mist); border-left: 4px solid var(--amber); border-radius: 10px; padding: 22px 26px; }

/* tables */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.table th, .table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.table th { background: var(--navy-800); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .84rem; letter-spacing: .5px; }
.table tr:last-child td { border-bottom: 0; }
.table tr:nth-child(even) td { background: var(--mist); }

/* faq */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-bottom: 14px; }
.faq-item h4 { margin: 0 0 6px; font-size: 1.02rem; }
.faq-item p { margin: 0; font-size: .94rem; }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--font-body);
  font-size: .95rem; color: var(--ink); background: var(--mist); transition: border .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel-400); background: #fff; }

/* mobile nav panel */
.mobile-panel { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .lot-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .lot-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .mobile-panel.open { display: block; position: fixed; inset: 74px 0 0; background: var(--navy-900); z-index: 55; padding: 30px 24px; }
  .mobile-panel.open a { color: #fff; font-family: var(--font-head); font-size: 1.3rem; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* ---------- Promo modal (landing del remate) ---------- */
.promo-overlay { position: fixed; inset: 0; background: rgba(10,24,16,.74); backdrop-filter: blur(5px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; opacity: 0; transition: opacity .3s; }
.promo-overlay.open { display: flex; opacity: 1; }
.promo-modal { background: #fff; border-radius: 18px; max-width: 880px; width: 100%; overflow: hidden;
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr; position: relative;
  transform: translateY(16px) scale(.98); transition: transform .35s; }
.promo-overlay.open .promo-modal { transform: translateY(0) scale(1); }
.promo-modal .pm-media { background-color: var(--navy-800); background-size: cover; background-position: center; min-height: 400px; position: relative; }
.promo-modal .pm-tag { position: absolute; top: 16px; left: 16px; background: var(--amber); color: var(--navy-900);
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 13px; border-radius: 20px; display: inline-flex; gap: 7px; align-items: center; }
.promo-modal .pm-body { padding: 38px 34px; }
.promo-modal .pm-close { position: absolute; top: 12px; right: 14px; z-index: 3; background: rgba(255,255,255,.92);
  border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; color: var(--navy-900); line-height: 1; box-shadow: var(--shadow-sm); }
.promo-modal .pm-close:hover { background: #fff; }
.promo-modal h3 { font-size: 1.65rem; margin-bottom: 10px; }
.pm-stats { display: flex; gap: 20px; margin: 18px 0 24px; flex-wrap: wrap; }
.pm-stats .s b { font-family: var(--font-head); font-size: 1.45rem; color: var(--green-dark); display: block; line-height: 1; }
.pm-stats .s span { font-size: .76rem; color: var(--slate); }
.pm-actions { display: flex; flex-direction: column; gap: 10px; }
.pm-actions .btn { justify-content: center; }
@media (max-width: 680px) {
  .promo-modal { grid-template-columns: 1fr; }
  .promo-modal .pm-media { min-height: 170px; }
  .promo-modal .pm-body { padding: 28px 24px; }
}

/* ---------- Página Representadas ---------- */
.rep-card { display: flex; flex-direction: column; height: 100%; }
.rep-logo { height: 84px; display: grid; place-items: center; background: var(--mist);
  border-radius: 10px; margin: -32px -32px 20px; border-bottom: 1px solid var(--line); padding: 16px; }
.rep-logo img { max-height: 52px; max-width: 78%; width: auto; object-fit: contain; }
.rep-logo .rep-name-fallback { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--navy-800); letter-spacing: .5px; }
.rep-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.rep-card .rep-tag { display:inline-block; font-family:var(--font-head); font-size:.68rem; letter-spacing:1px; text-transform:uppercase;
  color: var(--amber-dark); background: var(--mist-2); padding: 3px 9px; border-radius: 14px; margin-bottom: 12px; align-self: flex-start; }
.rep-card p { font-size: .92rem; flex: 1; }
.rep-card .rep-foot { display:flex; align-items:center; justify-content:space-between; margin-top:14px; padding-top:14px; border-top:1px solid var(--mist-2); }
.rep-card .rep-foot a { font-family:var(--font-head); font-weight:600; font-size:.9rem; }
.rep-gallery { margin-top:18px; }
.rep-gallery .main { width:100%; height:210px; background:#fff; border:1px solid var(--line); border-radius:10px;
  overflow:hidden; display:grid; place-items:center; }
.rep-gallery .main img { width:100%; height:100%; object-fit:contain; padding:10px; }
.rep-gallery .thumbs { display:flex; gap:8px; margin-top:8px; }
.rep-gallery .thumbs .t { flex:1 1 0; height:70px; background:#fff; border:1px solid var(--line); border-radius:8px;
  overflow:hidden; display:grid; place-items:center; }
.rep-gallery .thumbs .t img { width:100%; height:100%; object-fit:contain; padding:6px; }
