/* ===========================
   RESET BÁSICO
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #5b247a 0%, #e91e63 50%, #ff6f00 100%);
  color: #fff;
  line-height: 1.6;
}

/* Para asegurarnos de que el texto siempre sea blanco por defecto */
h1, h2, h3, h4, p, span, a, li {
  color: #fff;
}

/* Todas las secciones con un padding base */
section {
  padding: 5rem 2rem;
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Capa oscura sutil para mejorar contraste del texto */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.logo {
  font-size: 4.5rem;
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.gradient {
  background: linear-gradient(to right, #ffd700, #ff6f00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 300;
  margin-bottom: 0.8rem;
}

.description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Botones hero */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-primary,
.btn-secondary,
.btn-plan,
.btn-view,
.btn-whatsapp,
.btn-consult {
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(to right, #ffd700, #ff6f00);
  color: #000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* ===========================
   CÓMO FUNCIONA
=========================== */
.how-it-works {
  background: rgba(0, 0, 0, 0.25);
}

.how-it-works h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(to right, #ffd700, #ff6f00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #000;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.6rem;
}

/* ===========================
   CATÁLOGO
=========================== */
.catalog {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4),
    rgba(123, 31, 162, 0.4)
  );
}

.catalog h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.catalog-subtitle {
  text-align: center;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

/* FIX: inputs y selects con texto visible */
.search-box,
.filter-select {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  border-radius: 999px;
  border: none;
  padding: 0.8rem 1rem;
  min-width: 220px;
  font-size: 0.95rem;
}

.filter-select {
  min-width: 180px;
}

.search-box::placeholder {
  color: #666;
}

.artworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

/* TARJETAS DE OBRAS */
.artwork-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.artwork-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.artwork-image {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.artwork-info {
  padding: 1.5rem;
}

.artwork-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.artwork-details {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.btn-view {
  width: 100%;
  background: linear-gradient(to right, #ffd700, #ff6f00);
  color: #000;
}

/* ===========================
   PARA ARTISTAS
=========================== */
.for-artists {
  background: linear-gradient(
    135deg,
    rgba(233, 30, 99, 0.35),
    rgba(156, 39, 176, 0.35)
  );
  text-align: center;
}

.for-artists h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.artists-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 3rem;
}

.artists-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}

.artist-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.artist-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.artist-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.artist-box p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.artist-subtext {
  font-size: 0.9rem;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   PLANES (EMPRESAS + ARTISTAS)
=========================== */

/* Sección de planes: se usa la misma clase para ambas, diferenciadas por id */
.plans-section {
  width: 100%;
  text-align: center;
  padding: 5rem 2rem;
}

/* Fondo distinto para cada bloque */
#planes {
  background: rgba(0, 0, 0, 0.25);
}

#planes-artistas {
  background: linear-gradient(
    135deg,
    rgba(233, 30, 99, 0.35),
    rgba(156, 39, 176, 0.35)
  );
}

.plans-section > h3 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.plans-section > p {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.plan-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    display: flex;               /* IMPORTANTE */
    flex-direction: column;      /* Acomodamos verticalmente */
    justify-content: space-between;
    height: 100%;                /* Las iguala automáticamente */
}
.plan-card ul {
    flex-grow: 1;  /* Esto empuja el botón hacia abajo */
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.plan-card.popular {
  border-color: #ffd700;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd700;
  color: #000;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-card h4 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.price {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 1rem;
}

.price span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.plan-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-card li {
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.95);
}

/* Botón de planes */
.btn-plan {
  width: 100%;
  background: linear-gradient(to right, #ffd700, #ff6f00);
  color: #000;
}

.btn-plan:hover {
  transform: translateY(-2px);
}
/* ===========================
   GUARDADO DE OBRAS
=========================== */
.storage-section {
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
  padding: 5rem 2rem;
}

.storage-section h3 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.storage-subtitle {
  max-width: 720px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.storage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.storage-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.2rem 2rem 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.storage-card-highlight {
  border-color: #ffd700;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

.storage-card h4 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.storage-tag {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.8rem;
}

.storage-price {
  font-size: 2rem;
  font-weight: 900;
  color: #ffd700;
  margin-bottom: 1rem;
}

.storage-price span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 0.25rem;
}

.storage-card ul {
  list-style: none;
  margin-bottom: 1.8rem;
}

.storage-card li {
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.95);
}

.storage-list-tight li {
  padding: 0.25rem 0;
}

.storage-card .btn-plan {
  width: 100%;
}

/* ===========================
   CONTACTO
=========================== */
.contact {
  background: linear-gradient(135deg, #d84315, #d81b60);
  text-align: center;
}

.contact h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1.8rem;
  font-weight: 800;
}

.contact-info {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-info a {
  color: #ffd700;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Ícono de WhatsApp */
.whatsapp-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.whatsapp-icon img {
  width: 30px;
  height: 30px;
}

.whatsapp-icon:hover {
  opacity: 0.85;
}

/* ===========================
   MODALES
=========================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: linear-gradient(135deg, #5b247a, #e91e63);
  border-radius: 20px;
  padding: 3rem;
  max-width: 600px;
  width: 100%;
  position: relative;
  text-align: center;
}

.modal-large {
  max-width: 900px;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.close:hover {
  color: #ff6b6b;
}

.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.btn-whatsapp {
  background: linear-gradient(to right, #25d366, #128c7e);
  color: #fff;
}

/* ===========================
   DETALLE DE OBRA
=========================== */
.artwork-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.artwork-detail-image {
  width: 100%;
  height: 400px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
}

.artwork-detail-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.back-inline {
  margin-bottom: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
}

.back-inline:hover {
  color: #ffd700;
}

.artwork-detail-row {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.artwork-detail-row strong {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.3rem;
}

.artwork-detail-row span {
  font-size: 1.1rem;
}

.artwork-detail-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.btn-consult {
  width: 100%;
  background: linear-gradient(to right, #25d366, #128c7e);
  color: #fff;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .hero {
    padding-top: 6rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 1.5rem;
  }

  .logo {
    font-size: 3.2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .artwork-detail {
    grid-template-columns: 1fr;
  }

  .plan-card {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 5rem;
  }

  .hero-content {
    padding-inline: 0.5rem;
  }
}
/* Nota aclaratoria antes del guardado de obras */
.storage-note {
  text-align: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 2rem auto 1rem;
  max-width: 700px;
  padding: 0.8rem 1.2rem;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  backdrop-filter: blur(6px);
}
/* Alinear tarjetas del guardado */
.storage-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* distribuye arriba/abajo */
  height: 100%; /* todas misma altura */
  padding-bottom: 2.5rem;
}

.storage-card h4,
.storage-tag,
.storage-price,
.storage-card ul {
  margin-top: 0;
  margin-bottom: 1rem;
}

.storage-price {
  margin-bottom: 1.4rem; /* igualar espacio previo al botón */
}

/* Alineación uniforme del botón */
.storage-card .btn-plan {
  margin-top: auto; /* empuja el botón hacia abajo */
}
/* FAQ */
.faq {
  padding: 4rem 1.5rem;
  background: rgba(255,255,255,0.06);
}

.faq .container {
  max-width: 900px;
  margin: 0 auto;
}

.faq h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.15);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  color: inherit;
  border: 0;
  cursor: pointer;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  display: none;
  padding: 0 18px 16px 18px;
  opacity: 0.95;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-icon {
  font-size: 1.2rem;
  opacity: 0.8;
}
.plan-card ul {
  padding-left: 0;
  margin-left: 0;
}

.plan-card li {
  list-style: none;
  padding-left: 0;
}
.nota-planes {
  max-width: 900px;
  margin: 1.5rem auto 3rem auto;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.85;
}






