/* ============================================
   REMATES RIVAS — 2026 EDITION
   SMTP Chile · main.css (child theme)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,800;9..144,900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --wine: #A32C2C;
  --wine-dark: #7A1F1F;
  --wine-deep: #4A1212;
  --gold: #C8A664;
  --gold-soft: #E6D4A8;
  --ink: #0E0E0E;
  --ink-soft: #1C1C1C;
  --paper: #F6F2EC;
  --paper-warm: #EDE6DA;
  --line: rgba(14, 14, 14, 0.12);
  --line-soft: rgba(14, 14, 14, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'ss02';
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.serif { font-family: 'Fraunces', Georgia, serif; font-optical-sizing: auto; letter-spacing: -0.02em; }

.mono { font-family: 'JetBrains Mono', monospace; }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announce {
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 50;
}
.announce-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.announce-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.announce-item::after {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
  margin-left: 60px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 242, 236, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--wine);
  line-height: 1;
}
.nav-logo-text small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin-top: 3px;
  opacity: 0.6;
}

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--wine); }
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-menu a:hover::after { transform: scaleX(1); }

/* Dropdown categorías */
.has-dropdown { position: relative; }
.has-dropdown > a::after { display: none !important; }
/* Puente invisible que evita que el hover se interrumpa al cruzar el gap */
.has-dropdown::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -8px;
  right: -8px;
  height: 14px;
  transform: translateY(100%);
  z-index: 201;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(14,14,14,0.10);
  padding: 6px;
  list-style: none;
  min-width: 190px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 200;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: block;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown li a::after { display: none !important; }
.nav-dropdown li a:hover { background: var(--paper-warm); color: var(--wine); }

/* ============================================
   REVEAL SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ============================================
   PAGE STATS STRIP
   ============================================ */
.page-stats-strip {
  background: var(--wine);
  padding: 56px 0;
}
.page-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.page-stat { }
.page-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  display: block;
  line-height: 1;
}
.page-stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,242,236,0.65);
  display: block;
  margin-top: 10px;
}

/* ============================================
   PAGE SECTION + BODY TYPOGRAPHY
   ============================================ */
.page-section {
  background: var(--paper);
  padding: 80px 0 100px;
}
.page-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}
/* Tipografía del contenido WP */
.page-body h2 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--wine);
  margin: 56px 0 18px;
  padding-left: 18px;
  border-left: 4px solid var(--wine);
  line-height: 1.2;
}
.page-body h2:first-child,
.page-body > div > h2:first-child,
.page-body .rivas-page-content > h2:first-child { margin-top: 0; }
.page-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 12px;
}
.page-body p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(14,14,14,0.72);
  margin-bottom: 14px;
}
.page-body ul, .page-body ol {
  list-style: none;
  padding: 0;
  margin: 14px 0 24px;
}
.page-body ul li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(14,14,14,0.72);
  border-bottom: 1px solid var(--line-soft);
}
.page-body ul li:last-child { border-bottom: none; }
.page-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wine);
  flex-shrink: 0;
}
.page-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, var(--wine) 0%, transparent 100%);
  margin: 56px 0;
  opacity: 0.25;
}
.page-body strong { color: var(--ink); font-weight: 600; }
.page-body a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   PAGE CTA BOTTOM
   ============================================ */
.page-cta {
  background: var(--ink);
  padding: 80px 32px;
  text-align: center;
}
.page-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 14px;
}
.page-cta p {
  color: rgba(246,242,236,0.6);
  font-size: 16px;
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.page-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-ghost-light {
  color: var(--paper);
  border: 1px solid rgba(246,242,236,0.3);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost-light:hover { border-color: var(--paper); background: rgba(246,242,236,0.08); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-primary {
  background: var(--wine);
  color: var(--paper);
}
.btn-primary:hover { background: var(--wine-dark); transform: translateY(-1px); }
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
.btn-dark:hover { background: var(--ink-soft); transform: translateY(-1px); }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
  position: relative;
  height: calc(100vh - 100px);
  min-height: 680px;
  max-height: 880px;
  background: var(--ink);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  cursor: pointer;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-slide.active .hero-bg { transform: scale(1.15); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(14, 14, 14, 0.85) 0%,
    rgba(14, 14, 14, 0.55) 45%,
    rgba(14, 14, 14, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 48px;
  color: var(--paper);
}
.hero-content-intro {
  grid-template-columns: 1fr;
  text-align: center;
}
.hero-content-intro > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.hero-content-intro .hero-eyebrow { justify-content: center; }
.hero-content-intro .hero-sub { margin-left: auto; margin-right: auto; }
.hero-content-intro .hero-ctas { justify-content: center; }
.hero-intro-logo {
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.6));
}
.hero-intro-logo img { width: 200px; height: auto; display: block; margin: 0 auto; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.2s;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero-slide.active .hero-eyebrow { opacity: 1; transform: translateY(0); }

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s;
}
.hero-title span {
  display: block;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-soft);
  margin-top: 6px;
  letter-spacing: -0.01em;
}
.hero-slide-intro .hero-title span {
  font-size: clamp(32px, 4.5vw, 62px);
  margin-top: 0;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-soft);
}
.hero-slide.active .hero-title { opacity: 1; transform: translateY(0); }

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  max-width: 520px;
  color: rgba(246, 242, 236, 0.8);
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.55s;
}
.hero-slide.active .hero-sub { opacity: 1; transform: translateY(0); }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.7s;
}
.hero-slide.active .hero-ctas { opacity: 1; transform: translateY(0); }

.hero-cta-primary {
  background: var(--wine);
  color: var(--paper);
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s;
}
.hero-cta-primary:hover { background: var(--wine-dark); transform: translateY(-2px); }
.hero-cta-ghost {
  border: 1px solid rgba(246, 242, 236, 0.3);
  color: var(--paper);
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
}
.hero-cta-ghost:hover { background: rgba(246, 242, 236, 0.1); border-color: var(--paper); }

/* Hero auction card (right side) */
.hero-card {
  background: rgba(246, 242, 236, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(246, 242, 236, 0.18);
  border-radius: 24px;
  padding: 28px;
  color: var(--paper);
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.9s ease 0.5s;
}
.hero-slide.active .hero-card { opacity: 1; transform: translateX(0); }

.hero-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--wine);
  color: var(--paper);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.hero-card-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-card-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.hero-card-meta {
  font-size: 13px;
  color: rgba(246, 242, 236, 0.65);
  margin-bottom: 24px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.countdown-cell {
  background: rgba(14, 14, 14, 0.4);
  border: 1px solid rgba(246, 242, 236, 0.1);
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
}
.countdown-num {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold-soft);
}
.countdown-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.5);
  margin-top: 6px;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 242, 236, 0.12);
}
.hero-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.hero-stat-num small { font-size: 13px; color: rgba(246, 242, 236, 0.5); }
.hero-stat-label {
  font-size: 11px;
  color: rgba(246, 242, 236, 0.55);
  margin-top: 2px;
}

/* Hero controls */
.hero-controls {
  position: absolute;
  bottom: 32px;
  left: 48px;
  right: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 32px; height: 3px;
  background: rgba(246, 242, 236, 0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.hero-dot.active { background: rgba(246, 242, 236, 0.3); width: 64px; }
.hero-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: translateX(-100%);
  animation: dot-fill 6s linear forwards;
}
@keyframes dot-fill { to { transform: translateX(0); } }

.hero-arrows { display: flex; gap: 10px; }
.hero-arrow {
  width: 46px; height: 46px;
  border: 1px solid rgba(246, 242, 236, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  transition: all 0.25s;
}
.hero-arrow:hover { background: var(--paper); color: var(--ink); }

.hero-counter {
  position: absolute;
  top: 32px;
  right: 48px;
  font-family: 'Fraunces', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--paper);
  z-index: 5;
}
.hero-counter strong { font-size: 28px; font-weight: 500; }

/* ============================================
   TICKER STRIP (Stats)
   ============================================ */
.ticker {
  background: var(--ink);
  color: var(--paper);
  padding: 36px 0;
  border-bottom: 1px solid rgba(246, 242, 236, 0.08);
}
.ticker-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.ticker-cell {
  border-left: 1px solid rgba(246, 242, 236, 0.12);
  padding-left: 24px;
}
.ticker-cell:first-child { border-left: none; padding-left: 0; }
.ticker-num {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.ticker-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.6);
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section { padding: 120px 0; }
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--wine);
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 740px;
}
.section-title em { font-style: italic; font-weight: 300; color: var(--wine); }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  flex-shrink: 0;
}
.section-link:hover { color: var(--wine); border-color: var(--wine); }

/* ============================================
   AUCTIONS GRID
   ============================================ */
.auctions-grid,
.auction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.auction-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  position: relative;
  color: var(--ink);
}
.auction-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(14, 14, 14, 0.18);
  border-color: transparent;
}
.auction-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-warm);
}
.auction-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.auction-card:hover .auction-img img { transform: scale(1.06); }
.auction-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--wine);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.auction-tag.online { background: var(--wine); }
.auction-tag.presencial { background: var(--ink); }
.auction-tag.finalizado { background: #555; }
.auction-tag .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 1.5s ease infinite;
}

.auction-body { padding: 24px; }
.auction-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(14, 14, 14, 0.55);
  margin-bottom: 12px;
}
.auction-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.auction-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}

.auction-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.auction-lots .num {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.auction-lots .label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.5);
}
.auction-deadline {
  text-align: right;
}
.auction-deadline .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--wine);
}
.auction-deadline .num.done {
  color: #999;
}
.auction-deadline .label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(14, 14, 14, 0.5);
}

/* ============================================
   CATEGORIES (BENTO)
   ============================================ */
.categories {
  background: var(--paper-warm);
  padding: 120px 0;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px;
  gap: 16px;
}
.cat-card {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cat-card.large { grid-column: span 2; grid-row: span 2; }
.cat-card.wide { grid-column: span 2; }
.cat-card:hover { transform: scale(0.99); }
.cat-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.2);
  transition: transform 0.7s ease, filter 0.5s;
}
.cat-card:hover img { transform: scale(1.08); filter: grayscale(0); }
.cat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0) 30%, rgba(14,14,14,0.85) 100%);
}
.cat-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  color: var(--paper);
  z-index: 2;
}
.cat-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  margin-bottom: 8px;
}
.cat-name {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cat-card.large .cat-name { font-size: 44px; }
.cat-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(246, 242, 236, 0.15);
  border: 1px solid rgba(246, 242, 236, 0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.cat-card:hover .cat-arrow { background: var(--wine); border-color: var(--wine); transform: rotate(-45deg); }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.how::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(163, 44, 44, 0.4), transparent 70%);
  pointer-events: none;
}
.how .section-title { color: var(--paper); }
.how .section-eyebrow { color: var(--gold); }
.how .section-eyebrow::before { background: var(--gold); }
.how .section-title em { color: var(--gold-soft); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.step {
  padding: 32px 28px 32px 0;
  border-left: 1px solid rgba(246, 242, 236, 0.15);
  padding-left: 28px;
  position: relative;
}
.step:first-child { border-left: 1px solid rgba(246, 242, 236, 0.3); }
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.step-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}
.step-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(246, 242, 236, 0.65);
  max-width: 240px;
}

/* ============================================
   TRUST / FEATURE STRIP
   ============================================ */
.trust {
  padding: 120px 0;
  background: var(--paper);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.trust-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
}
.trust-image img { width: 100%; height: 100%; object-fit: cover; }
.trust-badge {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(246, 242, 236, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.trust-badge-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--wine);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
}
.trust-badge-title {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.trust-badge-text { font-size: 12px; color: rgba(14,14,14,0.6); line-height: 1.4; }

.trust-list {
  list-style: none;
  margin-top: 40px;
}
.trust-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: flex-start;
}
.trust-item:last-child { border-bottom: none; }
.trust-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--paper-warm);
  display: flex; align-items: center; justify-content: center;
  color: var(--wine);
  flex-shrink: 0;
}
.trust-item-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.trust-item-text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(14,14,14,0.65);
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  background: var(--paper-warm);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.testimonial-quote {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 1100px;
  margin: 0 auto 40px;
  text-align: center;
}
.testimonial-quote em { font-style: italic; color: var(--wine); }
.testimonial-author {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
}
.testimonial-author .line { width: 32px; height: 1px; background: var(--ink); opacity: 0.3; }
.testimonial-author strong { font-weight: 600; }
.testimonial-author span { color: rgba(14,14,14,0.6); }

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
  position: relative;
  padding: 120px 48px;
  background: var(--wine-deep);
  color: var(--paper);
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/persona-mazo.jpg') center/cover;
  opacity: 0.18;
  filter: grayscale(0.6);
}
.cta-strip-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.cta-strip h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.cta-strip h2 em { font-style: italic; color: var(--gold-soft); }
.cta-strip p {
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 36px;
  color: rgba(246, 242, 236, 0.75);
  line-height: 1.5;
}
.cta-strip-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-strip .btn-primary { background: var(--paper); color: var(--ink); }
.cta-strip .btn-primary:hover { background: #fff; }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: var(--paper);
  padding: 96px 0;
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line-soft);
}
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq-q:hover { color: var(--wine); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line-soft);
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: opacity 0.2s, transform 0.2s;
}
.faq-icon::before { width: 10px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-icon::after  { width: 1.5px; height: 10px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-item.open .faq-icon { background: var(--wine); border-color: var(--wine); }
.faq-item.open .faq-icon::before { background: #fff; }
.faq-item.open .faq-icon::after  { background: #fff; opacity: 0; }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-a-inner a { color: var(--wine); }
.faq-a-inner strong { color: var(--ink); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246,242,236,0.1);
}
.footer-brand img { height: 56px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: 14px;
  color: rgba(246,242,236,0.6);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 20px;
}
.footer h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer ul li {
  font-size: 14px;
  color: rgba(246,242,236,0.7);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer ul li:hover { color: var(--paper); }
.footer ul a {
  font-size: 14px;
  color: rgba(246,242,236,0.7);
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--paper); }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px;
  color: rgba(246,242,236,0.7);
  margin-bottom: 12px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(246,242,236,0.08);
  color: rgba(246,242,236,0.7);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--wine); color: #fff; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(246,242,236,0.4);
}
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom .links a:hover { color: var(--paper); }

/* ============================================
   SINGLE REMATE (single.php)
   ============================================ */
.single-hero {
  background: var(--ink);
  padding: 20px 0 60px;
  position: relative;
  overflow: hidden;
  /* Permite que crezca con el contenido; sin min-height fijo */
}
.single-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.single-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,14,14,0.92) 0%, rgba(14,14,14,0.6) 100%);
}
.single-hero-content {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  color: var(--paper);
}
.single-breadcrumb {
  font-size: 13px;
  color: rgba(246,242,236,0.5);
  margin-bottom: 24px;
}
.single-breadcrumb a { color: rgba(246,242,236,0.6); }
.single-breadcrumb a:hover { color: var(--gold); }
.single-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 860px;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.single-meta-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
}
.single-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.single-badge.online { background: var(--wine); color: var(--paper); }
.single-badge.presencial { background: var(--gold); color: var(--ink); }
.single-badge.finalizado { background: rgba(246,242,236,0.15); color: rgba(246,242,236,0.6); }
.single-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.5s ease infinite; }
.single-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(246,242,236,0.7);
}

.single-body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.single-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}
.single-gallery-main {
  grid-column: span 3;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
}
.single-gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
}
.single-gallery-thumb {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.single-gallery-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.single-gallery-thumb:hover img { transform: scale(1.06); }
.single-content {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(14,14,14,0.8);
  overflow-wrap: break-word;
  word-break: break-word;
}
.single-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  margin: 40px 0 16px;
  color: var(--ink);
}
.single-content p { margin-bottom: 20px; }

/* ── Galería WordPress — shortcode clásico Y block editor ── */

/* Contenedor grid */
.single-content .gallery,
.single-content .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px !important;
  margin: 0 0 32px !important;
  float: none !important;
}

/* Celda */
.single-content .gallery-item,
.single-content .wp-block-gallery figure.wp-block-image {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
  height: 150px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  display: block !important;
}

/* Capa interna del shortcode */
.single-content .gallery-item .gallery-icon {
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Links */
.single-content .gallery-item a,
.single-content .wp-block-gallery figure.wp-block-image a {
  display: block !important;
  height: 100% !important;
}

/* Imágenes */
.single-content .gallery-item img,
.single-content .wp-block-gallery img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
  cursor: zoom-in;
  transition: transform 0.35s;
  border-radius: 0 !important;
}
.single-content .gallery-item img:hover,
.single-content .wp-block-gallery img:hover { transform: scale(1.05); }

/* Ocultar captions y WP margin helpers */
.single-content .gallery-caption,
.single-content figcaption,
.single-content .gallery-item br { display: none !important; }

/* ── Lightbox ──────────────────────────────────────────────── */
#rivas-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#rivas-lightbox.open { display: flex; }
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.93);
}
.lb-img {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  z-index: 1;
}
.lb-close {
  position: fixed;
  top: 18px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.22); }
.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-nav:hover { background: rgba(255,255,255,0.28); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  z-index: 2;
  letter-spacing: 0.05em;
}

.single-sidebar {
  position: sticky;
  top: 100px;
}
.single-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
}
.single-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.single-detail-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.single-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.single-detail-label { color: rgba(14,14,14,0.5); min-width: 80px; }
.single-detail-val { font-weight: 500; }
.single-cta-block { margin-top: 24px; }
.single-cta-block .btn { width: 100%; justify-content: center; margin-bottom: 12px; font-size: 15px; padding: 16px 24px; }
.single-cta-block .btn:last-child { margin-bottom: 0; }

.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 100;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* ============================================
   CONTACT PAGE (CTC)
   ============================================ */
.ctc-section {
  background: var(--paper-warm);
  padding: 72px 0 96px;
}
.ctc-container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

/* Eyebrow + headings reutilizables */
.ctc-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 8px;
}
.ctc-heading {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 6px;
}
.ctc-subheading {
  font-size: 14px;
  color: rgba(14,14,14,0.5);
  margin: 0 0 32px;
}

/* Error */
.ctc-error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 500;
}

/* Formulario */
.ctc-form-col {
  background: #fff;
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 4px 40px rgba(14,14,14,0.07);
  border: 1px solid var(--line-soft);
}
.ctc-form-header { margin-bottom: 32px; }

.ctc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ctc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.ctc-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.ctc-req { color: var(--wine); }

.ctc-field input,
.ctc-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
.ctc-field input:focus,
.ctc-field textarea:focus {
  border-color: var(--wine);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(163,44,44,0.1);
}
.ctc-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}
.ctc-field input::placeholder,
.ctc-field textarea::placeholder { color: rgba(14,14,14,0.35); }

/* Select con chevron custom */
.ctc-select-wrap { position: relative; }
.ctc-select-wrap select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 13px 44px 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.ctc-select-wrap select:focus {
  border-color: var(--wine);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(163,44,44,0.1);
}
.ctc-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(14,14,14,0.4);
  pointer-events: none;
}

/* Botón enviar */
.ctc-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: var(--wine);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 4px;
}
.ctc-submit:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(163,44,44,0.3);
}
.ctc-submit:active { transform: translateY(0); }

/* Columna info (panel oscuro) */
.ctc-info-col { }
.ctc-info-card {
  background: var(--ink);
  border-radius: 24px;
  padding: 40px 36px;
  position: sticky;
  top: 100px;
  overflow: hidden;
}
.ctc-info-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--wine);
  opacity: 0.15;
}
.ctc-info-header { margin-bottom: 36px; position: relative; }

.ctc-info-items { margin-bottom: 32px; }
.ctc-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(246,242,236,0.08);
  position: relative;
}
.ctc-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.ctc-info-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(246,242,236,0.07);
  border: 1px solid rgba(246,242,236,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.ctc-info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246,242,236,0.4);
  margin-bottom: 5px;
}
.ctc-info-val {
  font-size: 14px;
  font-weight: 500;
  color: rgba(246,242,236,0.9);
  line-height: 1.55;
  display: block;
}
.ctc-info-val a { color: rgba(246,242,236,0.9); }
.ctc-info-val a:hover { color: #fff; }

/* Botón WhatsApp */
.ctc-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  background: #25D366;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
  margin-bottom: 24px;
}
.ctc-wa-btn:hover { background: #20b858; transform: translateY(-2px); }

/* Mapa */
.ctc-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(246,242,236,0.1);
}

/* Éxito */
.ctc-success {
  background: #fff;
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: 0 4px 40px rgba(14,14,14,0.07);
  border: 1px solid var(--line-soft);
}
.ctc-success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  border: 2px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #16a34a;
}
.ctc-success h2 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.ctc-success p {
  color: rgba(14,14,14,0.6);
  font-size: 16px;
  line-height: 1.65;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .auctions-grid, .auction-grid { grid-template-columns: repeat(2, 1fr); }
  .page-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .ctc-container { grid-template-columns: 1fr; }
  .ctc-info-card { position: static; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 240px); }
  .cat-card.large { grid-column: span 2; grid-row: span 1; }
  .cat-card.wide { grid-column: span 2; }
  .ticker-inner { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-body { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
}
/* Hamburguesa */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay móvil */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 198;
}
.nav.open .nav-mobile-overlay { display: block; }

/* Panel móvil */
.nav-mobile-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--paper);
  z-index: 199;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 48px;
  gap: 0;
  overflow-y: auto;
}
.nav.open .nav-mobile-panel { transform: translateX(0); }
.nav-mobile-panel a {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-panel a:hover { color: var(--wine); }
.nav-mobile-panel .btn {
  margin-top: 28px;
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (max-width: 700px) {
  .nav-burger { display: flex; }
  .nav-menu { display: none; }
  .nav-actions .btn-primary {
    font-size: 11px;
    padding: 8px 12px;
    gap: 5px;
  }
  .nav-actions .btn-primary svg { width: 14px; height: 14px; }
  .nav-inner { padding: 12px 16px; gap: 8px; }
  .container { padding: 0 24px; }
  .auctions-grid, .auction-grid { grid-template-columns: 1fr; }
  .page-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .page-stats-strip { padding: 40px 0; }
  .page-stat-num { font-size: 36px; }
  .page-body { padding: 0 20px; }
  .page-cta { padding: 60px 20px; }
  .ctc-row { grid-template-columns: 1fr; }
  .ctc-form-col { padding: 28px 20px; border-radius: 16px; }
  .ctc-info-card { padding: 28px 20px; border-radius: 16px; }
  .page-cta h2 { font-size: 28px; }
  .section { padding: 80px 0; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .ticker-inner { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-controls { left: 24px; right: 24px; }
  .hero-counter { right: 24px; top: 24px; }
  .hero-content { padding: 0 24px; }
  .cta-strip { padding: 80px 24px; }
  .single-body { padding: 48px 24px; }
  /* single — reducir espacio hero en móvil */
  .single-hero { padding: 24px 0 32px; }
  .single-hero-content { padding: 0 20px; }
  .single-breadcrumb { font-size: 11px; margin-bottom: 12px; }
  .single-title {
    font-size: clamp(16px, 4.2vw, 22px);
    line-height: 1.3;
    margin-bottom: 14px;
  }
  .single-meta-row { gap: 12px; margin-bottom: 20px; }

  .single-gallery { grid-template-columns: repeat(2, 1fr); }
  .single-gallery-main { grid-column: span 2; }
  .whatsapp-float { bottom: 20px; right: 20px; }

  /* Galería WP — 4 columnas en móvil, más pequeñas */
  .single-content .wp-block-gallery,
  .single-content .gallery {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
  }
  .single-content .wp-block-gallery figure,
  .single-content .wp-block-gallery .wp-block-image,
  .single-content .gallery-item {
    height: 80px !important;
  }
}

/* ============================================
   SUPERIR — CREDENCIAL OFICIAL MARTILLERO
   ============================================ */
.superir-strip {
  background: var(--ink);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(246,242,236,0.08);
  padding: 32px 0;
}
.superir-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.superir-seal {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(200,166,100,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
}
.superir-seal::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(200,166,100,0.35);
}
.superir-divider {
  width: 1px; height: 52px;
  background: rgba(246,242,236,0.12);
  flex-shrink: 0;
}
.superir-text { flex: 1; min-width: 220px; }
.superir-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.superir-name {
  font-family: 'Fraunces', serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 1.2;
  margin-bottom: 2px;
}
.superir-sub {
  font-size: 12px;
  color: rgba(246,242,236,0.5);
  line-height: 1.4;
}
.superir-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.superir-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(200,166,100,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  white-space: nowrap;
}
.superir-pill svg { flex-shrink: 0; }
.superir-verify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(200,166,100,0.1);
  border: 1px solid rgba(200,166,100,0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246,242,236,0.5);
  transition: all 0.2s;
  white-space: nowrap;
}
.superir-verify:hover {
  background: rgba(200,166,100,0.2);
  border-color: var(--gold);
  color: var(--gold);
}

/* Versión compacta para footer */
.footer-cred {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(246,242,236,0.08);
  margin-top: 24px;
}
.footer-cred-seal {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(200,166,100,0.5);
  background: rgba(200,166,100,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.footer-cred-text {
  font-size: 11px;
  color: rgba(246,242,236,0.45);
  line-height: 1.5;
}
.footer-cred-text strong {
  display: block;
  font-weight: 600;
  color: rgba(246,242,236,0.65);
  font-size: 12px;
}

@media (max-width: 860px) {
  .superir-inner { padding: 0 24px; gap: 20px; }
  .superir-divider { display: none; }
  .superir-seal { width: 56px; height: 56px; }
}
@media (max-width: 600px) {
  .superir-strip { padding: 24px 0; }
  .superir-inner { gap: 16px; }
  .superir-badges { gap: 8px; }
  .superir-pill { font-size: 11px; padding: 6px 12px; }
  .superir-verify { font-size: 10px; padding: 7px 14px; }
}

/* ============================================
   WORDPRESS — barra admin
   ============================================ */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}
