/* ===================================
   Vendecarsubastas – SYSTEM CORE
   Mobile First Architecture
=================================== */

:root {
  --vc-primary: #007bff;
  --vc-dark: #0d1b2a;
  --vc-bg: #f8f9fa;
  --vc-text: #1a1a1a;
  --vc-radius: 18px;
  --vc-radius-sm: 12px;
  --vc-shadow-soft: 0 8px 25px rgba(0,0,0,0.05);
  --vc-shadow-strong: 0 15px 35px rgba(0,0,0,0.12);
}

/* RESET MEJORADO */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--vc-bg);
  color: var(--vc-text);
  line-height: 1.6;
}

/* IMÁGENES */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* CONTENEDOR GLOBAL */
.vc-container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .vc-container {
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .vc-container {
    max-width: 1100px;
  }
}

@media (min-width: 1280px) {
  .vc-container {
    max-width: 1300px;
  }
}

/* TIPOGRAFÍA ESCALABLE */
h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
}

/* BOTONES TÁCTILES */
.vc-btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: 0.3s ease;
  min-height: 48px;
}

.vc-btn-primary {
  background: var(--vc-primary);
  color: #fff;
}

.vc-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--vc-shadow-strong);
}

/* GRID FLEXIBLE */
.vc-grid {
  display: grid;
  gap: 20px;
}

.vc-grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .vc-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}