/* =========================================================
   ✨ Portal de Clientes — Diseño Moderno
========================================================= */
.clientes-section {
  min-height: 100vh;
  padding: clamp(28px, 5vw, 48px) 16px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(6,182,212,0.16), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(31,45,84,0.22), transparent 60%),
    linear-gradient(180deg, #0b1430 0%, #14234f 100%);
  position: relative;
  overflow: hidden;
}
.clientes-section::before,
.clientes-section::after{
  content:""; position:absolute; width:480px; height:480px; border-radius:50%;
  filter: blur(80px); opacity: .18; pointer-events:none; transition: transform .6s ease;
}
.clientes-section::before{ background: #06B6D4; top:-120px; left:-140px; }
.clientes-section::after{ background: #3b5eff; bottom:-140px; right:-160px; }
.clientes-section:hover::before{ transform: translate3d(0,6px,0); }
.clientes-section:hover::after{ transform: translate3d(0,-6px,0); }

.clientes-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 48px);
  width: 100%; max-width: 1200px; margin: 0 auto;
}
@media (min-width: 880px) { .clientes-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }

.clientes-left { display: grid; place-items: center; }
.redir-mascota {
  width: clamp(200px, 34vw, 320px); height: auto;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.55));
  animation: float-y 4.6s ease-in-out infinite;
  will-change: transform, filter; transform: translateZ(0);
}
@keyframes float-y {
  0%, 100% { transform: translateY(0) }
  50%      { transform: translateY(-10px) }
}

.clientes-card {
  position: relative; text-align: center; padding: clamp(20px, 3.4vw, 44px);
  border-radius: 20px; background: #162145; 
  border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 24px 60px rgba(0,0,0,0.45); isolation: isolate;
}
.clientes-card::after{
  content:""; position:absolute; inset: 0; pointer-events:none; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 35%);
}

.clientes-card h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 800; margin: 0 0 10px; color: #fff; }
.clientes-card .lead { max-width: 62ch; margin: 0 auto 22px; color: rgba(255,255,255,0.85); font-size: clamp(1rem, 1.8vw, 1.1rem); line-height: 1.65; }

.clientes-actions { display: flex; justify-content: center; align-items: center; gap: 12px; }

.btn-gold {
  --btn-h: 48px; display: inline-flex; align-items: center; justify-content: center; height: var(--btn-h);
  padding: 0 22px; border-radius: 12px; background: linear-gradient(180deg, #FCA503, #D27F03);
  color: #141e3d; font-weight: 900; font-size: 1rem; border: 1px solid rgba(0,0,0,0.08); cursor: pointer;
  box-shadow: 0 6px 14px rgba(252,165,3,0.35), inset 0 2px 0 rgba(255,255,255,0.25);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(252,165,3,0.42), inset 0 2px 0 rgba(255,255,255,0.25); }

/* Formulario de Soporte */
.support-form {
  text-align: left;
  background: rgba(255,255,255,0.03);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  font-weight: 600;
}
.form-group input, 
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(10, 18, 41, 0.4);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, 
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(252,165,3,0.15);
}
.form-group select option { background: #141e3d; color: #fff; }

.w-100 { width: 100%; }

#auto.mini { margin-top: 14px; color: #cfd7ff; font-size: .95rem; }
#auto .mini-cancel {
  margin-left: 8px; height: 36px; padding: 0 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35); background: transparent; color: #fff; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
#auto .mini-cancel:hover { background: rgba(255,255,255,0.08); }

/* Cuponera (Wide & Slim) */
.cuponera { margin-top: 20px; width: 100%; }
.cuponera-inner {
  position: relative; width: 100%; margin: 0 auto;
  background: #ffffff; color: #1F2D54; border-radius: 12px;
  border: 1px dashed rgba(31,45,84,0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  overflow: hidden; padding: 12px 24px;
  display: flex; align-items: center; gap: 20px;
}

.perfo {
  position: absolute; top: 0; bottom: 0; width: 14px; pointer-events: none;
  background: radial-gradient(10px 10px at 7px 10px, #0000 8px, rgba(0,0,0,0.05) 9px, #0000 10px) repeat-y;
  background-size: 14px 28px;
}
.perfo-left  { left: -7px; }
.perfo-right { right: -7px; }

.cuponera-head { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cuponera-badge {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(180deg, #FCA503, #D27F03); color: #18224a; font-weight: 900; font-size: 0.85rem;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.25);
}
.cuponera-title { display: none; } /* Hidden in wide version to save space, or merge with desc */

.cuponera-body { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cuponera-desc { margin: 0; color: #2b375f; font-size: 0.88rem; line-height: 1.3; font-weight: 500; }
.cuponera-desc strong { color: #17224c; font-weight: 800; }

.code-copy-wrapper {
  display: flex; align-items: stretch; gap: 0; border-radius: 8px; overflow: hidden;
  border: 1px dashed rgba(252,152,3,0.5); background: rgba(252,152,3,0.03);
  min-width: 180px;
}
.code-copy-wrapper .code-box {
  flex: 1; padding: 8px 12px; font-family: 'Inter', monospace; font-weight: 800; font-size: 0.95rem;
  letter-spacing: 1px; color: #1F2D54; border: none; background: transparent; text-align: center;
}
.btn-copy {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px;
  background: linear-gradient(135deg, #FCA503, #d98200); color: #fff;
  font-weight: 700; font-size: 0.75rem; border: none; cursor: pointer; transition: 0.2s ease;
}
.btn-copy:hover { filter: brightness(1.05); }
.btn-copy.copied { background: #1abc9c !important; }

@media (max-width: 992px) {
  .cuponera-inner { flex-direction: column; text-align: center; gap: 10px; padding: 16px; }
  .cuponera-body { flex-direction: column; gap: 12px; width: 100%; }
  .cuponera-title { display: block; font-size: 1rem; font-weight: 900; }
}

@media (max-width: 879px){ .redir-mascota { width: clamp(160px, 58vw, 240px); } .clientes-card  { padding-top: 0; } }
