/* ── TOKENS ── */
:root {
  --vino:        #58111A;
  --vino-deep:   #3A0810;
  --vino-light:  #8B2635;
  --oro:         #C9A84C;
  --marfil:      #FDFBF7;
  --marfil-dark: #F0EBE1;
  --gris:        #2C2C2C;
  --gris-soft:   #6B6B6B;
  --blanco:      #FFFFFF;
  --display:     'Cormorant Garamond', serif;
  --body:        'Montserrat', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--marfil);
  color: var(--gris);
  font-family: var(--body);
  font-weight: 300;
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  background: var(--marfil-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-botanical {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
 

}

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #3A0810 0%, #58111A 40%, #7A1F30 70%, #3A0810 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    #4907074d 0%,
    rgba(58,8,16,0.1) 40%,
    rgba(58,8,16,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero-eyebrow {
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-names {
  font-family: var(--display);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--blanco);
  line-height: 1.05;
  opacity: 0;
  animation: fadeUp 1.1s ease 0.6s forwards;
}

.hero-names span {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.4em;
  color: var(--oro);
  margin: 0.5rem 0;
}

.hero-date {
  font-family: var(--display);
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 600;
  color: var(--blanco);
  line-height: 1;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeUp 1.1s ease 0.9s forwards;
}

.hero-date-label {
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 1.5s forwards;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--oro), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── SECCIONES BASE ── */
section { padding: 6rem 2rem; }

.section-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
 
}

.section-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.2rem;
  display: block;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--vino);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--oro);
  margin: 0 auto 2rem;
}

.body-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--gris-soft);
  max-width: 540px;
  margin: 0 auto;
}

/* ── COUNTDOWN ── */
.countdown-section {


  padding: 5rem 2rem;
background: linear-gradient(160deg, #3A0810 0%, #58111A 30%, #3A0810 70%, #3A0810 100%);
}

.countdown-section .section-title { color: var(--blanco); }

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-top: 3rem;
  flex-wrap: wrap;
}

.countdown-item { text-align: center; }

.countdown-num {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  color: var(--oro);
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.5rem;
  display: block;
}


.countdown-sep {
  font-family: var(--display);
  font-size: 3rem;
  color: rgba(255,255,255,0.2);
  align-self: center;
  padding-bottom: 1rem;
}

/* ── DETALLES ── */
.detalles-section { background: var(--marfil-dark); }

.detalles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  text-align: center;
}

.detalle-lugar { padding: 2rem 1.5rem; 
text-align: center;
padding: 1.5rem;
}
.detalle-card {
  text-align: center;
  padding: 1.5rem;
}

.detalle-card .detalle-sub {
  text-align: center;
}

.detalle-lugar .detalle-sub {
  text-align: center;
}

.detalle-lugar .detalle-sub a {
  text-align: center;
  display: block;
}




.detalle-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.2rem;
  opacity: 0.9;
}

.detalle-titulo {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 0.8rem;
  display: block;
}

.detalle-valor {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--vino);
  line-height: 1.3;
}

.detalle-sub {
  font-size: 0.75rem;
  color: var(--gris-soft);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* ── CÓDIGO DE VESTIMENTA ── */
.vestimenta-section{
  background: var(--marfil-dark);
  border: 0px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 2.5rem 2rem;
}

#vestimenta .detalle-titulo {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gris-soft);
  display: block;
  margin-bottom: 0.3rem;
}

#vestimenta .detalle-valor {
  font-family: var(--display);
  font-size: 2rem;
  font-style: italic;
  color: var(--vino);
  display: block;
  margin-bottom: 1.5rem;
}

.vestimenta-iconos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.vestimenta-amp {
  font-family: var(--display);
  font-size: 2rem;
  font-style: italic;
  color: var(--oro);
  line-height: 1;
}

.vestimenta-texto {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(88, 17, 26, 0.1);
}

.vestimenta-cita {
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
  color: var(--gris);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.vestimenta-referencia {
  font-size: 0.75rem;
  color: var(--gris-soft);
  letter-spacing: 0.05em;
}


/* ── FOTO DUO ── */
.foto-section { background: var(--marfil-dark); padding: 0; }

.foto-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;   /* centra el marco dentro de la celda */
  gap: 24px;
  padding: 20px;
}

.foto-frame {
  position: relative;
  padding: 14px;
  background: linear-gradient(135deg, #d4af37, #fbf5b7, #b8860b, #fcf6ba, #d4af37);
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);

  /* clave: limita el tamaño en pantallas grandes */
  width: 100%;
  max-width: 380px;      /* ajusta este valor a tu gusto */
  aspect-ratio: 4 / 5;   /* controla la proporción del marco, no solo la imagen */
}

.foto-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* la imagen se recorta bonito sin deformarse */
  border: 2px solid #fff8dc;
}

.foto-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  pointer-events: none;
}


.foto-placeholder {
  background: var(--marfil-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.foto-placeholder::after {
  content: '';
  position: center;
  inset: 16px;
  border: 1px solid rgba(201,168,76,0.2);
  pointer-events: none;
}

.foto-placeholder-b {
  background: var(--marfil-dark);
}

/* ── HISTORIA ── */
.historia-section { background: var(--marfil-dark); }

.historia-timeline {
  display: grid;
  gap: 3rem;
  margin-top: 3.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.historia-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.historia-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.3rem;
}

.historia-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--vino);
  border: 2px solid var(--oro);
  flex-shrink: 0;
}

.historia-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, var(--oro), transparent);
  min-height: 40px;
  margin-top: 6px;
}

.historia-year {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 0.4rem;
  display: block;
}

.historia-texto {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--vino);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.historia-desc {
  font-size: 0.8rem;
  color: var(--gris-soft);
  line-height: 1.7;
}

/* ── GALERÍA ── */
.galeria-section { background: var(--vino-deep); padding: 6rem 2rem; }
.galeria-section .section-title  { color: var(--blanco); }
.galeria-section .section-eyebrow { color: var(--oro); }
.galeria-section .divider        { background: var(--oro); }
/* MÓVIL: una columna, todos los ítems iguales */
.galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.galeria-item {
  height: 280px;           /* altura fija — sin aspect-ratio */
  background: var(--vino-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-family: var(--display);
  font-style: italic;
  font-size: 0.85rem;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.galeria-item:hover { transform: scale(1.02); }
.galeria-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.galeria-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}
/* DESKTOP: 3 columnas, posición exacta para cada foto */
@media (min-width: 768px) {
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 200px);
  }
  /* El grid controla la altura en desktop */
  .galeria-item { height: auto; }
  /* foto1 → grande arriba-izquierda */
  .galeria-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  /* foto2 → pequeña arriba-derecha fila 1 */
  .galeria-item:nth-child(2) { grid-column: 3;     grid-row: 1;     }
  /* foto3 → pequeña arriba-derecha fila 2 */
  .galeria-item:nth-child(3) { grid-column: 3;     grid-row: 2;     }
  /* foto4 → pequeña abajo-izquierda fila 3 */
  .galeria-item:nth-child(4) { grid-column: 1;     grid-row: 3;     }
  /* foto5 → pequeña abajo-izquierda fila 4 */
  .galeria-item:nth-child(5) { grid-column: 1;     grid-row: 4;     }
  /* foto6 → grande abajo-derecha (espejo de foto1) */
  .galeria-item:nth-child(6) { grid-column: 2 / 4; grid-row: 3 / 5; }
}


.rsvp-section { background: var(--marfil-dark); }

.rsvp-form {
  max-width: 500px;
  margin: 3rem auto 0;
  display: grid;
  gap: 1.2rem;
}

.rsvp-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rsvp-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--vino);
}

.rsvp-input,
.rsvp-select,
.rsvp-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(88,17,26,0.2);
  border-radius: 2px;
  background: var(--blanco);
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--gris);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.rsvp-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2358111A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

.rsvp-input:focus,
.rsvp-select:focus,
.rsvp-textarea:focus { border-color: var(--vino); }

.rsvp-textarea { resize: vertical; min-height: 90px; }

.rsvp-radios { display: flex; gap: 1rem; }

.rsvp-radio {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  border: 1px solid rgba(88,17,26,0.2);
  border-radius: 2px;
  background: var(--blanco);
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--gris);
  transition: all 0.2s;
}

.rsvp-radio input { display: none; }

.rsvp-radio.selected {
  background: var(--vino);
  color: var(--blanco);
  border-color: var(--vino);
}

.rsvp-btn {
  padding: 1rem 2rem;
  background: var(--vino);
  color: var(--blanco);
  border: none;
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 0.5rem;
}

.rsvp-btn:hover  { background: var(--vino-deep); }
.rsvp-btn:active { transform: scale(0.99); }

.rsvp-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.rsvp-success-title {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--vino);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.rsvp-success-text {
  font-size: 0.8rem;
  color: var(--gris-soft);
}

/* ── FOOTER ── */
footer {
  background: var(--vino-deep);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 3rem 2rem;
}

.footer-names {
  font-family: var(--display);
  font-size: 2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--oro);
  margin-bottom: 0.5rem;
}

.footer-date {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 2rem auto;
}

.footer-copy { font-size: 0.65rem; letter-spacing: 0.1em; }

/* ── ANIMACIONES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

html.reveal-ready .reveal { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .foto-duo               { grid-template-columns: 1fr; height: auto; }
  .foto-placeholder       { height: 260px; }
  .galeria-grid           { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .galeria-item.large     { grid-column: span 2; }
  .countdown-sep          { display: none; }
}



/* ── COLORES A EVITAR ── */
.vestimenta-colores {
  background: var(--marfil-dark);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(88, 17, 26, 0.1);
  text-align: center;
}

.vestimenta-colores-titulo {
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
  color: var(--vino);
  margin-bottom: 0.3rem;
}

.vestimenta-colores-sub {
  font-size: 0.7rem;
  color: var(--gris-soft);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.colores-grid {
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: nowrap;
}

.color-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.color-circulo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}

.color-circulo:hover {
  transform: scale(1.08);
}

.color-nombre {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gris);
  letter-spacing: 0.02em;
}

.color-subtitulo {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gris-soft);
}



/* ── SECCIÓN REGALO ── */
.regalo-section {
  background: var(--marfil-dark); /* fondo más suave */
  padding: 5rem 2rem;
}

.regalo-section .section-inner {
  max-width: 680px;  /* más ancho */
  margin: 0 auto;
  text-align: center;
}

.regalo-section .section-title {
  color: var(--vino);  /* vino sobre fondo claro */
}

.regalo-section .section-eyebrow {
  color: var(--oro);
}

.regalo-section .body-text {
  color: var(--gris-soft);  /* gris sobre fondo claro */
}

.regalo-section .divider {
  background: var(--oro);
}

.regalo-card {
  background: var(--blanco);
  border-radius: 8px;
  padding: 3rem 3.5rem;  /* más padding horizontal */
  max-width: 580px;       /* más ancho */
  margin: 2.5rem auto 0;
  text-align: center;
  box-shadow:
    0 8px 40px rgba(88, 17, 26, 0.1),
    0 0 0 1px rgba(201, 168, 76, 0.15);
  position: relative;
}

.regalo-card::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 6px;
  pointer-events: none;
}

.regalo-icono {
  width: 72px;
  height: 72px;
  background: rgba(88, 17, 26, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.regalo-card-titulo {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--vino);
  margin-bottom: 1rem;
}

.regalo-card-texto {
  font-size: 0.88rem;
  color: var(--gris-soft);
  line-height: 1.9;
  max-width: 420px;
  margin: 0 auto;
}

.regalo-separador {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.5rem auto;
  max-width: 220px;
}

.regalo-sep-linea {
  flex: 1;
  height: 1px;
  background: rgba(201, 168, 76, 0.35);
}

.regalo-sep-icono {
  color: var(--oro);
  font-size: 0.7rem;
}

.regalo-frase {
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gris-soft);
  line-height: 1.8;
}

/* ── LINKS GENERALES — botones ── */
.btn-mapa {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: var(--vino);
  color: var(--blanco);
  text-decoration: none;
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, transform 0.1s;
}

.btn-mapa:hover {
  background: var(--vino-deep);
  color: var(--blanco);
  transform: scale(1.02);
}



/* ── TARJETA BANCARIA ── */
.tarjeta-bancaria {
  width: 320px;
  height: 180px;
  background: linear-gradient(135deg, #58111A 0%, #3A0810 50%, #6B1525 100%);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(88, 17, 26, 0.4);
  margin: 2rem auto 0;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Círculos decorativos de fondo */
.tarjeta-bancaria::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
}

.tarjeta-bancaria::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.06);
}

/* Efecto hover — se eleva */
.tarjeta-bancaria:hover {
  transform: translateY(-4px) rotate(1deg);
  box-shadow: 0 30px 60px rgba(88, 17, 26, 0.5);
}

/* Chip dorado */
.tarjeta-chip {
  width: 36px;
  height: 28px;
  background: linear-gradient(135deg, #C9A84C, #E8C96A);
  border-radius: 5px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* Líneas del chip */
.tarjeta-chip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
}

.tarjeta-chip::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

/* Número de tarjeta */
.tarjeta-numero {
  font-family: 'Courier New', monospace;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* Parte inferior */
.tarjeta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

/* Label pequeño */
.tarjeta-label {
  display: block;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3px;
  font-family: var(--body);
}

/* Nombre del titular */
.tarjeta-nombre {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 400;
}

/* Nombre del banco */
.tarjeta-banco {
  font-family: var(--display);
  font-size: 16px;
  color: #C9A84C;
  font-style: italic;
}


/* ── BOTÓN COPIAR ── */
.btn-copiar-numero {
  display: block;
  margin: 1rem auto 0;
  padding: 0.7rem 1.8rem;
  background: transparent;
  color: var(--vino);
  border: 1px solid rgba(88, 17, 26, 0.3);
  border-radius: 4px;
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copiar-numero:hover {
  background: var(--vino);
  color: var(--blanco);
  border-color: var(--vino);
}

/* Estado copiado — cambia a dorado */
.btn-copiar-numero.copiado {
  background: var(--oro);
  color: var(--blanco);
  border-color: var(--oro);
}



/* ── REPRODUCTOR ── */
.reproductor-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
}

.reproductor {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--vino-deep);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50px;
  padding: 10px 16px 10px 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.reproductor:hover {
  border-color: rgba(201, 168, 76, 0.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Ícono nota musical */
.reproductor-icono {
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: girar 4s linear infinite paused;
}

.reproductor-icono.tocando {
  animation-play-state: running;
}

@keyframes girar {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Info */
.reproductor-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reproductor-titulo {
  font-family: var(--display);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--blanco);
  white-space: nowrap;
}

.reproductor-artista {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

/* Botón play/pausa */
.reproductor-btn {
  width: 36px;
  height: 36px;
  background: var(--vino);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.1s;
}

.reproductor-btn:hover {
  background: var(--vino-light);
  transform: scale(1.05);
}

.reproductor-btn:active {
  transform: scale(0.96);
}

/* Responsive — más pequeño en móvil */
@media (max-width: 600px) {
  .reproductor-wrapper {
    bottom: 1rem;
    right: 1rem;
  }

  .reproductor-info {
    display: none; /* oculta el texto en móvil, solo muestra botón */
  }
}