
/* ==========================================================================
   YOIGO ESPAÑA - STYLESHEET OFICIAL RÉPLICA 1:1
   ========================================================================== */

:root {
  --yg-purple-dark: #380a42;
  --yg-purple-hero: #461154;
  --yg-magenta: #a31d77;
  --yg-magenta-hover: #891462;
  --yg-magenta-light: #e6b3df;
  --yg-green: #43a047;
  --yg-green-hover: #388e3c;
  --yg-blue: #00a8e0;
  --yg-dark: #222222;
  --yg-gray-bg: #f5f5f7;
  --yg-border: #e0e0e0;
  --yg-text-muted: #666666;
  --yg-font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --yg-font-heading: 'Plus Jakarta Sans', 'Nunito', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--yg-font);
  background-color: #ffffff;
  color: var(--yg-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.yg-top-bar {
  background-color: var(--yg-magenta);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  height: 32px;
  display: flex;
  align-items: center;
}

.yg-top-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.yg-top-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yg-top-left a.active {
  color: #ffffff;
}

.yg-top-left a:not(.active) {
  color: var(--yg-magenta-light);
}

.yg-sep {
  color: rgba(255, 255, 255, 0.4);
}

.yg-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yg-phone-text a {
  font-weight: 900;
  color: #ffffff;
}

.yg-link-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.yg-lang {
  cursor: pointer;
}

.btn-yg-admin {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-yg-admin:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* El administrador existe, pero no interrumpe la página comercial. Ctrl + Alt + A lo abre. */
.btn-yg-admin { display: none !important; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.yg-header {
  background: #ffffff;
  border-bottom: 1px solid #ebebeb;
  height: 64px;
  display: flex;
  align-items: center;
}

.yg-header-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.yg-logo-box {
  display: flex;
  align-items: center;
}

.yg-logo-link {
  display: flex;
  align-items: center;
}

.yg-header-actions {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-yg-soycliente {
  background: #ffffff;
  color: var(--yg-magenta);
  border: 1.5px solid var(--yg-magenta);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-yg-soycliente:hover {
  background: rgba(163, 29, 119, 0.05);
}

/* ==========================================================================
   CATEGORY NAVIGATION
   ========================================================================== */
.yg-category-nav {
  background: #ffffff;
  border-bottom: 1px solid #ebebeb;
  padding: 10px 0;
}

.yg-category-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 20px;
}

.yg-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #555555;
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s;
}

.yg-cat-item:hover,
.yg-cat-item.active {
  color: var(--yg-magenta);
}

.yg-cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.yg-hero-section {
  background: linear-gradient(135deg, #4c105b 0%, #35083f 100%);
  color: #ffffff;
  padding: 40px 0 45px 0;
  position: relative;
  overflow: hidden;
}

.yg-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 20px;
  align-items: center;
}

/* Columna Izquierda */
.yg-hero-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.yg-hero-badge-frame {
  background: #ffffff;
  color: #111111;
  font-family: var(--yg-font-heading);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  padding: 8px 16px;
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  line-height: 1.25;
}

.yg-hero-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
}

.yg-hero-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yg-feat-icon {
  font-size: 18px;
}

.badge-5g-pill {
  background: transparent;
  border: 1.5px solid #ffffff;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 900;
  padding: 1px 6px;
  margin-left: 4px;
}

.yg-streaming-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
}

.st-badge {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.3px;
}

.st-netflix {
  color: #e50914;
}

.st-disney {
  color: #ffffff;
  font-style: italic;
}

.st-hbo {
  color: #ffffff;
}

.st-plus {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

/* Círculo de Precio */
.yg-hero-price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 5px;
}

.yg-price-circle-badge {
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 6px 18px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
}

.yg-price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.yg-num {
  font-family: var(--yg-font-heading);
  font-size: 56px;
  font-weight: 900;
  line-height: 0.9;
}

.yg-price-sub {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.yg-cents {
  font-size: 18px;
  font-weight: 900;
}

.yg-period {
  font-size: 13px;
  font-weight: 800;
}

.yg-duration {
  font-size: 11px;
  font-weight: 700;
  color: #e6b3df;
}

.yg-price-after {
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  margin-top: 3px;
  letter-spacing: 0.5px;
}

.btn-yg-white-pill {
  background: #ffffff;
  color: #111111;
  border: none;
  font-family: var(--yg-font-heading);
  font-size: 14px;
  font-weight: 900;
  padding: 12px 26px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-yg-white-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* Columna Central: Teléfono Mockup */
.yg-hero-device-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.yg-phone-mockup-wrapper {
  position: relative;
  width: 170px;
  height: 290px;
}

.yg-phone-frame {
  width: 100%;
  height: 100%;
  background: #1e1e24;
  border-radius: 28px;
  border: 4px solid #4a4a58;
  padding: 6px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  position: relative;
}

.yg-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #b0e0e6 0%, #e0c3fc 50%, #8ec5fc 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.yg-galaxy-text {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.yg-phone-pen {
  position: absolute;
  left: -20px;
  bottom: 20px;
  width: 6px;
  height: 130px;
  background: #ffffff;
  border-radius: 4px;
  transform: rotate(20deg);
  box-shadow: -2px 5px 12px rgba(0,0,0,0.3);
}

.yg-badge-add-mobile {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.yg-badge-green {
  background: var(--yg-green);
  color: #ffffff;
  font-family: var(--yg-font-heading);
  font-size: 13px;
  font-weight: 900;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Columna Derecha: Tarjeta de Llamada Comercial */
.yg-hero-callback-col {
  display: flex;
  justify-content: flex-end;
}

.yg-callback-card {
  background: #ffffff;
  color: var(--yg-dark);
  border-radius: 16px;
  padding: 24px 22px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
  text-align: center;
}

.yg-avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.yg-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yg-card-title {
  font-family: var(--yg-font-heading);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 4px;
}

.yg-highlight-blue {
  color: var(--yg-blue);
}

.yg-card-subtitle {
  font-size: 12px;
  color: var(--yg-text-muted);
  font-weight: 700;
  margin-bottom: 16px;
}

.yg-form-group {
  margin-bottom: 10px;
}

.yg-input-select,
.yg-input-tel {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #dcdcdc;
  border-radius: 8px;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}

.yg-input-select:focus,
.yg-input-tel:focus {
  border-color: var(--yg-green);
}

.btn-yg-green-submit {
  background: var(--yg-green);
  color: #ffffff;
  border: none;
  font-family: var(--yg-font-heading);
  font-size: 14px;
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.btn-yg-green-submit:hover {
  background: var(--yg-green-hover);
}

.btn-yg-green-submit:active {
  transform: scale(0.98);
}

.yg-schedule-note {
  font-size: 10px;
  color: #888888;
  margin-top: 10px;
  font-weight: 700;
}

/* ==========================================================================
   COBERTURA STRIP
   ========================================================================== */
.yg-coverage-bar {
  background: #ffffff;
  border-bottom: 1px solid #ebebeb;
  padding: 14px 0;
}

.yg-coverage-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.yg-cov-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--yg-font-heading);
  font-size: 14px;
  font-weight: 900;
  color: #222222;
}

.btn-yg-outline-check {
  background: #ffffff;
  border: 1.5px solid #333333;
  color: #111111;
  font-family: var(--yg-font-heading);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-yg-outline-check:hover {
  background: #111111;
  color: #ffffff;
}

/* ==========================================================================
   CATALOGO DE TARIFAS: OFERTAS FIBRA MOVIL Y TV
   ========================================================================== */
.yg-main-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.yg-section-heading {
  text-align: center;
  font-family: var(--yg-font-heading);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #111111;
  margin-bottom: 35px;
}

.yg-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Tarjeta de Tarifa Yoigo */
.yg-plan-card {
  background: #ffffff;
  border: 1.5px solid #d9d9d9;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}

.yg-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  border-color: var(--yg-magenta);
}

.yg-card-ribbon {
  color: #ffffff;
  font-family: var(--yg-font-heading);
  font-size: 12.5px;
  font-weight: 900;
  text-align: center;
  padding: 8px 12px;
  letter-spacing: 0.5px;
}

.ribbon-blue {
  background: #2f357b;
}

.ribbon-green {
  background: #00a651;
}

.ribbon-purple {
  background: var(--yg-magenta);
}

.yg-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.yg-speed-pill-wrap {
  margin-bottom: 12px;
}

.yg-speed-pill {
  background: var(--yg-blue);
  color: #ffffff;
  font-family: var(--yg-font-heading);
  font-size: 13px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 20px;
  display: inline-block;
}

.yg-plan-title {
  font-family: var(--yg-font-heading);
  font-size: 18px;
  font-weight: 900;
  color: #111111;
  margin-bottom: 16px;
  line-height: 1.3;
}

.yg-plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  font-size: 13.5px;
  color: #444444;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yg-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.yg-plan-features li::before {
  content: "✓";
  color: var(--yg-green);
  font-weight: 900;
}

.yg-card-footer {
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.yg-card-price-wrap {
  margin-bottom: 16px;
}

.yg-card-price {
  font-family: var(--yg-font-heading);
  font-size: 38px;
  font-weight: 900;
  color: var(--yg-purple-dark);
  line-height: 1;
}

.yg-card-cents {
  font-size: 16px;
}

.yg-card-period {
  font-size: 14px;
  font-weight: 800;
  color: #555555;
}

.yg-card-oldprice {
  font-size: 11.5px;
  color: #888888;
  font-weight: 700;
  margin-top: 2px;
}

.yg-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-yg-contratar {
  background: var(--yg-green);
  color: #ffffff;
  border: none;
  font-family: var(--yg-font-heading);
  font-size: 14px;
  font-weight: 900;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-yg-contratar:hover {
  background: var(--yg-green-hover);
}

.btn-yg-masinfo {
  background: transparent;
  color: var(--yg-magenta);
  border: 1.5px solid var(--yg-magenta);
  font-family: var(--yg-font-heading);
  font-size: 13px;
  font-weight: 800;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-yg-masinfo:hover {
  background: rgba(163, 29, 119, 0.05);
}

/* ==========================================================================
   STICKY BOTTOM BAR
   ========================================================================== */
.yg-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 2px solid var(--yg-magenta);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  z-index: 100;
  padding: 10px 0;
}

.yg-sticky-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.yg-sticky-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yg-live-dot {
  width: 12px;
  height: 12px;
  background: var(--yg-green);
  border-radius: 50%;
  animation: ygPulse 1.8s infinite;
}

@keyframes ygPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(67, 160, 71, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(67, 160, 71, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(67, 160, 71, 0); }
}

.yg-sticky-text {
  display: flex;
  flex-direction: column;
}

.yg-sticky-text strong {
  font-size: 13.5px;
  color: #111111;
}

.yg-sticky-text span {
  font-size: 11.5px;
  color: #666666;
}

.yg-sticky-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yg-sticky-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yg-sticky-form input {
  padding: 8px 14px;
  border: 1.5px solid #cccccc;
  border-radius: 6px;
  font-size: 13px;
  width: 180px;
  outline: none;
}

.yg-sticky-form input:focus {
  border-color: var(--yg-green);
}

.btn-yg-green-action {
  background: var(--yg-green);
  color: #ffffff;
  border: none;
  font-family: var(--yg-font-heading);
  font-size: 13px;
  font-weight: 900;
  padding: 9px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-yg-green-action:hover {
  background: var(--yg-green-hover);
}

.yg-whatsapp-btn {
  background: #25d366;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s;
}

.yg-whatsapp-btn:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.yg-footer {
  background: #f7f7f9;
  border-top: 1px solid #e5e5e5;
  padding: 30px 0;
  font-size: 12px;
  color: #777777;
  text-align: center;
}

.yg-footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.yg-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  font-weight: 700;
}

.yg-footer-links a:hover {
  color: var(--yg-magenta);
}

/* ==========================================================================
   MODALES Y DASHBOARD ADMIN
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 12px;
}

.modal-header h3 {
  font-family: var(--yg-font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--yg-purple-dark);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #888888;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.modal-close-btn:hover {
  color: #111111;
  background: #eeeeee;
}

.modal-desc {
  font-size: 13.5px;
  color: #555555;
  margin-bottom: 16px;
}

.modal-plan-summary {
  background: var(--yg-gray-bg);
  border-left: 4px solid var(--yg-magenta);
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #333333;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #dcdcdc;
  border-radius: 6px;
  font-size: 13.5px;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yg-magenta);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #555555;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 3px;
}

/* Modal Éxito */
.modal-success-card {
  text-align: center;
  max-width: 420px;
}

.success-icon-wrap {
  margin-bottom: 12px;
}

.success-title {
  font-family: var(--yg-font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--yg-green);
  margin-bottom: 8px;
}

.success-msg {
  font-size: 13.5px;
  color: #555555;
  margin-bottom: 18px;
}

.ref-code-box {
  background: #f0fdf4;
  border: 1.5px dashed var(--yg-green);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #2e7d32;
}

.ref-code-box strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

/* Dashboard Admin Grande */
.admin-dashboard-card {
  max-width: 900px;
  padding: 24px;
}

.admin-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.admin-dash-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-dash-logo {
  font-family: var(--yg-font);
  font-size: 24px;
  font-weight: 900;
  color: var(--yg-magenta);
}

.admin-dash-title h2 {
  font-family: var(--yg-font-heading);
  font-size: 18px;
  font-weight: 900;
  color: #222222;
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-export-csv,
.btn-export-json,
.btn-clear-leads {
  background: #f0f0f0;
  border: 1px solid #ccc;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.btn-export-csv:hover,
.btn-export-json:hover {
  background: #e4e4e4;
}

.admin-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 18px;
}

.admin-tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 8px 16px;
  font-family: var(--yg-font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: #666666;
  cursor: pointer;
}

.admin-tab-btn.active {
  color: var(--yg-magenta);
  border-bottom-color: var(--yg-magenta);
}

.admin-panel-content {
  display: none;
}

.admin-panel-content.active {
  display: block;
}

.admin-panel-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  color: #666666;
}

.table-responsive {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  border: 1px solid #e8e8e8;
  padding: 10px 12px;
  text-align: left;
}

.admin-table th {
  background: #fafafa;
  font-weight: 800;
  color: #333333;
}

.admin-badge {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
}

.badge-active { background: #dcfce7; color: #15803d; }
.badge-inactive { background: #fee2e2; color: #b91c1c; }
.badge-pending { background: #fef3c7; color: #b45309; }

.btn-action-edit,
.btn-action-del {
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.btn-action-edit { background: #e0f2fe; color: #0369a1; margin-right: 4px; }
.btn-action-del { background: #fee2e2; color: #b91c1c; }

/* Responsive */
@media (max-width: 960px) {
  .yg-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .yg-hero-left {
    align-items: center;
  }
  .yg-hero-features-list li {
    justify-content: center;
  }
  .yg-hero-device-col {
    display: none;
  }
  .yg-hero-callback-col {
    justify-content: center;
  }
  .yg-plans-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .yg-category-container {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 20px;
  }
  .yg-sticky-left {
    display: none;
  }
  .yg-sticky-container {
    justify-content: center;
  }
}

/* Catálogo Yoigo: composición de oferta de la página comercial actual. */
.yg-category-nav,
.yg-hero-section { display: none; }
.yg-main-content { max-width: 1280px; margin: 34px auto 80px; }
.yg-catalogue-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 24px; }
.yg-section-heading { margin:0; text-align:left; }
.yg-tax-note { border:1px solid #d5d5d5; border-radius:6px; color:#333; font-size:13px; font-weight:800; padding:8px 12px; }
.yg-plans-grid { grid-template-columns: repeat(4, 1fr); gap:16px; }
.yg-plan-card { border:1px solid #d9d9d9; border-radius:8px; }
.yg-card-ribbon { background:#f4f4f4; color:#151515; padding:11px 16px; }
.yg-card-ribbon.ribbon-purple { background:var(--yg-magenta); color:#fff; }
.yg-card-body { padding:20px 18px; text-align:left; }
.yg-speed-pill { background:transparent; color:#222; padding:0; border-radius:0; }
.yg-plan-title { font-size:20px; }
.yg-card-footer { border-top:0; padding-top:10px; }
.yg-card-price { font-size:44px; }
.yg-card-actions { flex-direction:row; }
.yg-card-actions button { flex:1; }

.yg-logo-box text { fill:#a81c7f; }
.yg-benefits-section { background:#f4f1f5; padding:72px 20px; }
.yg-page-container { max-width:1200px; margin:0 auto; }
.yg-kicker { color:#a81c7f; font-weight:900; font-size:13px; letter-spacing:.1em; margin:0 0 10px; }
.yg-benefits-section h2, .yg-faq-section h2 { color:#171717; font-family:var(--yg-font-heading); font-size:32px; line-height:1.12; margin:0 0 30px; }
.yg-benefits-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.yg-benefits-grid article { background:#fff; border-radius:8px; padding:26px; border:1px solid #e2dce5; }
.yg-benefit-mark { display:inline-flex; align-items:center; justify-content:center; min-width:48px; height:48px; border-radius:50%; background:#a81c7f; color:#fff; font-weight:900; font-size:13px; }
.yg-benefits-grid h3 { font-family:var(--yg-font-heading); font-size:20px; margin:18px 0 8px; }
.yg-benefits-grid p { color:#4f4f4f; line-height:1.5; margin:0; }
.yg-faq-section { padding:72px 20px 120px; background:#fff; }
.yg-faq-section details { border-top:1px solid #d8d8d8; padding:18px 0; color:#222; }
.yg-faq-section details:last-child { border-bottom:1px solid #d8d8d8; }
.yg-faq-section summary { cursor:pointer; font-family:var(--yg-font-heading); font-weight:900; font-size:18px; }
.yg-faq-section p { color:#555; margin:14px 0 0; }
@media (max-width:960px) { .yg-benefits-grid { grid-template-columns:1fr; } .yg-benefits-section h2, .yg-faq-section h2 { font-size:27px; } }

@media (max-width: 960px) {
  .yg-plans-grid { grid-template-columns:1fr; max-width:420px; }
}

/* Hero de captación: conserva el tono Yoigo, pero elimina los recursos de stock. */
.yg-category-nav { display:block; }
.yg-hero-section { display:block; padding:48px 0; background:linear-gradient(120deg,#3e0b59 0%,#6f1a75 100%); }
.yg-hero-container { grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr); gap:64px; align-items:center; }
.yg-hero-device-col { display:none; }
.yg-hero-left { gap:20px; max-width:600px; }
.yg-hero-badge-frame { display:inline-block; align-self:flex-start; font-size:32px; line-height:1.08; padding:14px 18px; }
.yg-hero-features-list { border:0; padding:0; font-size:18px; display:grid; gap:12px; }
.yg-feat-icon, .yg-avatar-circle { display:none; }
.yg-callback-card { border-radius:12px; box-shadow:0 18px 38px rgba(0,0,0,.25); padding:30px; }
.yg-callback-card .yg-card-title { font-size:25px; line-height:1.15; margin-top:0; }
.yg-form-legal { color:#6b6b6b; font-size:11px; line-height:1.35; margin:12px 0 0; }
.yg-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
@media (max-width: 960px) {
  .yg-hero-container { grid-template-columns:1fr; gap:28px; }
  .yg-hero-badge-frame { font-size:26px; }
  .yg-hero-callback-col { justify-content:stretch; }
}

/* Pulido final de interacción y adaptación móvil. */
.yg-header a, .yg-header button, .yg-top-bar button { touch-action:manipulation; }
.btn-yg-soycliente, .yg-link-btn, .btn-yg-white-pill, .btn-yg-green-submit, .btn-yg-green-action, .btn-yg-outline-check, .modal-close-btn { min-height:44px; }
.modal-close-btn { min-width:44px; display:inline-grid; place-items:center; }
.yg-callback-form input, .yg-callback-form select, .yg-sticky-form input, .yg-sticky-form button, .form-group input, .form-group select { min-height:44px; }
:where(a, button, input, select, summary):focus-visible {
  outline:3px solid var(--yg-magenta);
  outline-offset:3px;
}
body { padding-bottom:72px; }
@media (max-width:960px) {
  body { padding-bottom:94px; }
  .yg-top-left { display:none; }
  .yg-top-container { justify-content:flex-end; padding-inline:14px; }
  .yg-header-container { padding:10px 14px; }
  .yg-logo-box { width:112px; }
  .btn-yg-soycliente { padding:8px 12px; font-size:.76rem; }
  .yg-sticky-right, .yg-sticky-form { width:100%; }
  .yg-sticky-form { display:flex; flex-wrap:nowrap; }
  .yg-sticky-form input { flex:1; min-width:0; }
  .yg-sticky-form button { white-space:nowrap; padding-inline:14px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; transition-duration:.01ms !important; }
}

.mo-brand-bar {
  background:#fffdf9;
  color:#172033;
  border-bottom:1px solid #e9e2d9;
}
.mo-brand-inner {
  width:min(1180px,calc(100% - 40px));
  min-height:70px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.mo-brand-link { display:inline-flex; align-items:center; gap:10px; color:inherit; text-decoration:none; }
.mo-brand-link > span:last-child { display:grid; line-height:1.1; }
.mo-brand-link strong { font:800 18px "Plus Jakarta Sans",sans-serif; letter-spacing:-.04em; }
.mo-brand-link small { margin-top:4px; color:#697184; font-size:10px; font-weight:700; }
.mo-brand-mark { width:34px; height:34px; display:grid; place-items:center; border-radius:11px; background:#f45134; color:#fff; transform:rotate(-4deg); }
.mo-brand-copy { color:#5f6878; font-size:13px; font-weight:700; }
.mo-brand-cta { display:inline-flex; min-height:42px; align-items:center; padding:0 18px; border-radius:999px; background:#172033; color:#fff; text-decoration:none; font-weight:800; font-size:13px; }
.mo-brand-cta:hover { background:#29344d; }
.mo-disclosure { width:min(1180px,calc(100% - 40px)); margin:28px auto 120px; padding:18px 20px; border:1px solid #e9e2d9; border-left:4px solid #f45134; border-radius:12px; background:#fffdf9; color:#5f6878; font-size:12px; line-height:1.55; display:flex; gap:8px 14px; flex-wrap:wrap; }
.mo-disclosure strong { color:#172033; }
.mo-brand-link:focus-visible,.mo-brand-cta:focus-visible { outline:3px solid #0b8e89; outline-offset:3px; }
@media (max-width:700px) {
  .mo-brand-inner { width:min(100% - 28px,1180px); min-height:62px; }
  .mo-brand-copy,.mo-brand-cta { display:none; }
  .mo-disclosure { width:min(100% - 28px,1180px); margin-bottom:140px; }
  .yg-whatsapp-btn { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}

/* Menuda Oferta: capa independiente */
.yg-top-bar { display:none; }
.mo-brand-bar { background:#fff; border-bottom:2px solid #171717; }
.mo-brand-inner { min-height:68px; }
.mo-wordmark { display:inline-flex!important; align-items:baseline; gap:7px; font:900 20px/1 "Plus Jakarta Sans",sans-serif; letter-spacing:-.055em; }
.mo-wordmark em { padding:4px 6px 5px; background:#ff5b35; color:#fff; font-style:normal; font-size:14px; transform:rotate(-2deg); }
.mo-brand-copy { color:#3f3f3f; font-weight:600; }
.mo-brand-cta { border-radius:0; background:#171717; min-height:44px; }
.yg-header { box-shadow:none; border-bottom:1px solid #d7d7d7; }
.yg-header-container { min-height:74px; }
.yg-category-nav { display:none!important; }
.mo-category-picker { width:min(1180px,calc(100% - 40px)); margin:20px auto; padding:14px 0; border-top:1px solid #bdbdbd; border-bottom:1px solid #bdbdbd; display:grid; grid-template-columns:auto minmax(220px,340px) 1fr; gap:16px 22px; align-items:center; }
.mo-category-picker label { font:900 15px "Plus Jakarta Sans",sans-serif; }
.mo-category-picker select { min-height:44px; padding:8px 38px 8px 12px; border:2px solid #171717; border-radius:0; background:#fff; color:#171717; font:700 15px "Nunito",sans-serif; }
.mo-category-picker span { color:#666; font-size:13px; }
.yg-hero-section { padding:58px 0; background:#f4eef5; color:#171717; border-top:8px solid #8d247e; }
.yg-hero-container { grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr); gap:70px; }
.yg-hero-left { max-width:620px; }
.yg-hero-badge-frame { padding:0; background:transparent; color:#171717; border:0; border-radius:0; font-size:clamp(36px,4.5vw,58px); line-height:.98; letter-spacing:-.055em; text-transform:none; }
.yg-hero-features-list { color:#292929; font-size:17px; border-left:3px solid #8d247e; padding-left:18px; }
.yg-price-circle-badge { border:0; border-radius:0; padding:16px 22px; background:#8d247e; color:#fff; }
.yg-duration { color:#f1d6ec; }
.btn-yg-white-pill { min-height:48px; border:2px solid #171717; border-radius:0; box-shadow:none; text-transform:none; }
.btn-yg-white-pill:hover { box-shadow:none; transform:none; background:#171717; color:#fff; }
.yg-callback-card { border:2px solid #171717; border-radius:0; box-shadow:none; padding:30px; }
.yg-callback-card .yg-card-title { letter-spacing:-.035em; }
.yg-plan-card { border:1.5px solid #171717; border-radius:0; box-shadow:none; }
.yg-plan-card:hover { transform:none; box-shadow:none; border-color:#8d247e; }
.mo-disclosure { border:1px solid #171717; border-left:8px solid #8d247e; border-radius:0; background:#fff; }
@media (max-width:760px) {
  .mo-category-picker { width:min(100% - 28px,1180px); grid-template-columns:1fr; gap:8px; margin:14px auto; }
  .mo-category-picker span { display:none; }
  .yg-hero-section { padding:38px 0; }
  .yg-hero-container { grid-template-columns:1fr; gap:28px; text-align:left; }
  .yg-hero-left { align-items:flex-start; }
  .yg-hero-features-list li { justify-content:flex-start; }
  .yg-hero-badge-frame { font-size:38px; }
  .yg-hero-price-row { flex-wrap:wrap; }
}

/* Menuda Oferta: variante suave 75 */
body { background:#f7f7fa; }
.mo-brand-bar { border-bottom:1px solid #e3e4e9; background:#fff; }
.mo-wordmark em { border-radius:7px; }
.mo-brand-cta { border-radius:12px; box-shadow:0 7px 18px rgba(23,23,23,.12); }
.yg-header { border-bottom:0; box-shadow:0 5px 20px rgba(31,21,34,.06); }
.mo-category-picker { margin:22px auto 26px; padding:16px 18px; border:1px solid #ddd8e1; border-radius:16px; background:#fff; box-shadow:0 10px 28px rgba(58,29,59,.07); }
.mo-category-picker select { border:1.5px solid #8d247e; border-radius:10px; background:#fcf9fc; }
.yg-hero-section { padding:52px 0 60px; border-top:0; background:linear-gradient(125deg,#f5edf5 0%,#f8f5fb 70%,#eee6f5 100%); }
.yg-hero-badge-frame { padding:12px 16px; border-radius:14px; background:rgba(255,255,255,.72); color:#25172a; box-shadow:0 8px 22px rgba(53,35,57,.07); }
.yg-hero-features-list { border-left-width:4px; border-radius:0 12px 12px 0; background:rgba(255,255,255,.55); padding:15px 18px; }
.yg-price-circle-badge { border-radius:15px; box-shadow:0 10px 24px rgba(141,36,126,.2); }
.btn-yg-white-pill { border:0; border-radius:12px; box-shadow:0 8px 20px rgba(39,23,41,.13); }
.btn-yg-white-pill:hover { transform:translateY(-2px); box-shadow:0 12px 24px rgba(39,23,41,.17); }
.yg-callback-card { border:1px solid #e0d9e3; border-radius:20px; box-shadow:0 18px 42px rgba(57,27,58,.13); }
.yg-plan-card { border:1px solid #e0dbe3; border-radius:18px; box-shadow:0 9px 24px rgba(53,35,57,.07); }
.yg-plan-card:hover { transform:translateY(-3px); border-color:#bf8bb8; box-shadow:0 16px 32px rgba(53,35,57,.12); }
.yg-benefits-grid article { border-radius:17px; box-shadow:0 8px 22px rgba(53,35,57,.06); }
.mo-disclosure { border:1px solid #e0dbe3; border-left:5px solid #8d247e; border-radius:14px; background:#fff; }
@media (max-width:760px) {
  .mo-category-picker { border-radius:13px; padding:14px; }
  .yg-hero-section { padding:38px 0 44px; }
  .yg-callback-card { border-radius:17px; }
}
